# Show that $2 xy < x^2 + y^2$ for $x$ is not equal to $y$

Show that $2 xy < x^2 + y^2$ for $x$ is not equal to $y$.

Note that $(x-y)^2 \ge 0$ for all real numbers $x$ and $y$, with equality only when $x=y$. Now expand $(x-y)^2$.

A surprisingly large number of useful inequalities follow from the simple observation that any square is non-negative.

If $x\neq y$ then without loss of generality we can assume that $x>y$ $x-y>0\Rightarrow (x-y)^2>0\Rightarrow x^2-2xy+y^2>0\Rightarrow x^2+y^2>2xy$

• If you're taking this approach, you should say something about when $x-y<0$. – Clayton Mar 4 '13 at 7:25
• @Clayton I don't think so. $x$ and $y$ are variables, they can always change their values to satisfy the condition defined/explained/derived above. – hjpotter92 Mar 4 '13 at 7:37
• then WLOG we can say..maybe you should mention it to the OP.. – Belgi Mar 4 '13 at 11:08
• btw, you don't use that x > y, you actually use x != y – RiaD Mar 4 '13 at 12:24

Let $$y=x+a$$ $$a \neq 0$$ then $$2xy=2x(x+a)=2x^2+2ax<2x^2+2ax+a^2$$

see that the difference is exactly 'a' squared.