# Simple algebra question - proving $a^2+b^2 \geqslant 2ab$

How to prove that $$a^2+b^2 \geqslant 2ab$$ is true, where $a$ and $b$ are both real numbers?

-
In this question of yours I showed you why that is true. Maybe the only detail missing is that for any $x\in\Bbb R$, $x^2\geq 0$. –  Pedro Tamaroff Nov 21 '12 at 4:02

Remember that for any $x \in \mathbb{R}$, we have that $x^2 \geq 0$ i.e. square of any real number is non-negative.

Hence, $$(a-b)^2 \geq 0$$ since $a,b \in \mathbb{R}$. Expand $(a-b)^2$ and rearrange to get what you want. \begin{align} (a-b)^2 & \geq 0\\ a^2 + b^2 - 2ab & \geq 0\\ a^2 + b^2 & \geq 2ab \end{align}

-

Remember that any real number squared is non-negative, and

$$a^2+b^2\geq 2ab\Longleftrightarrow a^2-2ab+b^2=(a-b)^2\geq 0\,\,...$$

-