If $a, b \in \mathbb{R}_+$ such that $a \neq b$ show that $\sqrt{ab} < \frac{a+b}{2}$
Here is my attempt:
Proof: Suppose that $\sqrt{ab} \geq \frac{a+b}{2}$ , since both sides of the inequality are positive, it follows that: $4ab \geq a^2 +2ab + b^2 \Rightarrow (a-b)^2 \leq 0$, note that the expression $(a-b)^2<0$ does not make sense, then $(a-b)^2=0$ so that $a=b$ which contradicts the hypotesis. Therefore $\sqrt{ab} < \frac{a+b}{2}$.
My only concern is whether it is correct to square an inequality in which both sides are positive.