The question is the following:
I wanted to solve this question using the AM-GM inequality first and then trying to prove using cases. However, I am not exactly sure how to proceed.
What I have done so far (for the proof involving AM-GM):
I tried squaring both sides of the inequality (twice) to somehow make a use of the AM-GM inequality for two variables ($\frac{a+b}{2} \ge \sqrt{ab}$), and that is what I have tried doing: $$(x-2\sqrt{xy}+y)^2 \leq (|x-y|)^2$$ $$x^2+6xy+y^2-4x\sqrt{xy}-4y\sqrt{xy} \leq x-y$$
However, this didn't really help me much in finding the desired values of $a$ and $b$ to make the AM-GM inequality work. Could someone perhaps point me to the right direction?
Thanks!