I am currently reading the book "The Cauchy-Schwarz Master Class" and they give us the equality $(x-y)^2 \geq 0$ and say that this imply $xy ≤ x^2/2 + y^2/2$
I am having trouble finding out exactly why this is the case. I can plot numbers into the inequality and I can see that it holds, but why does this one equality imply the other?
Just expand!
$$(x-y)^2 \geq 0 \Rightarrow x^2 + y^2 - 2xy > 0 \Rightarrow x^2 + y^2 \geq 2xy \Rightarrow \frac{x^2}{2} + \frac{y^2}{2} \geq xy$$