If $a$ is directly proportional to $b$ and also directly proportional to $c$,
is it true that $a$ is directly proportional to $bc?$ (It seems like it is true.)
Here is what I did, and I have a feeling I have made a pretty big mistake somewhere:
From the given info, we have $$\frac{a}{b}=x$$ for some constant $x,$ and $$\frac{a}{c}=y$$ for some constant $y.$ Multiplying the two equations gives $${a}^2=bc(xy),$$ where $xy$ is a constant.
So, ${a}^2$ is directly proportional to $bc.$
Update: Now for my real doubt. My physics textbook states the following:
Let two objects $A$ and $B$ of masses $M$ and $m$ lie at a distance $d$ from each other. Let the force of attraction between two objects be $F$. According to the universal law of gravitation, the force between two objects is directly proportional to the product of their masses; that is, $F ∝ M m.$ And the force between two objects is inversely proportional to the square of the distance between them; that is, $F ∝\frac1{d^2}.$ Combining the proportionalities we get $F ∝ \displaystyle\frac{Mm}{d^2}$.
So, does it mean that my textbook is wrong? Doesn't the combination of the two proportionalities result in $F^2$ being directly proportional to $\displaystyle\frac{Mm}{d^2}?$