Inequality proof, why isn't squaring by both sides permissible?
Suppose $a$ and $b$ are real numbers. Prove that if $0 < a < b$ then $a^2 < b^2$.
I understand that the normal way to prove this is to multiply $a < b$ by $a$ and then by $b$ and then combine to get $a^2 < ab < b^2$. However, what I don't understand is why can't you just square both sides? Is that breaking any rule?
Likewise when proving: If $0 \le a < b$, and $a^2 < b^2$, then $a < b$. Why isn't taking the square root of both sides done?
I apologize if my tags are incorrect, but i wasn't sure what to put it under.
Solution 1:
Short answer: We can't simply square both sides because that's exactly what we're trying to prove: $$0 < a < b \implies a^2 < b^2$$
More somewhat related details: I think it may be a common misconception that simply squaring both sides of an inequality is ok because we can do it indiscriminately with equalities. Let's take an example: $$x = 2$$ We know we can square both sides to get: $$x^2 = 4$$ But why can we square both sides? It's because squaring both sides is really just a special case of "multiplying both sides of the equality by the same thing." I think most of us are comfortable with the fact that if we have an equation such as $$\dfrac{2y}3 = \dfrac83$$ then to solve it we multiply both sides by $3/2$: \begin{align*} \frac32 \cdot \dfrac{2y}3 &= \dfrac83 \cdot \frac32\\[0.3cm] y &= 4 \end{align*} Well, that's exactly the same concept we used when we squared both sides of $x=2$. Let's take $x=2$ and multiply both sides by $2$: \begin{align*} x &= 2\\ 2 \cdot x &= 2 \cdot 2 \end{align*} On the left-hand side of the last line above, we can replace the $2$ with a $x$ because we already know that $x$ and $2$ are the same thing. So then: \begin{align*} x &= 2\\ 2 \cdot x &= 2 \cdot 2\\ x \cdot x &= 2 \cdot 2\\ x^2 &= 4 \end{align*} I'll reiterate the main point for emphasis: Squaring both sides here worked because we already know that $x$ and $2$ are equal. This is exactly why we can't do the same thing with inequalities in general. If we have $x < 2$ then we can't square both sides, because squaring both sides is a special case of multiplying both sides by the same thing, and if $x < 2$ then $x$ and $2$ are not equal.
If $x < 2$ then $x^2 < 4$ is true if $x$ is, for example, $1$, and $x^2 < 4$ is false if $x$ is, for example, $-3$. So if we want to square both sides of $x < 2$ and still have a true inequality, then we need the additional restriction that $x > 0$. (Actually $x \ge 0$ is sufficient.)
But why is this restriction enough to make squaring both sides of the inequality ok? That's exactly what the original question wants you to answer. Yes, by the time you get to a math course involving proofs you should be very familiar with the fact that $0 < a < b \implies a^2 < b^2$, but now you actually have to explain why it's true. And the proof you outlined in your question (first multiply both sides by $a$, then by $b$) is exactly how we do that.