I have to prove the following inequality: $$4xy\sqrt{e^x}\sqrt{e^y}\leq (x+y)(ye^x+xe^y).$$
It's not explicitly stated that I have to use convexity as a proof however it is suggested, and I really don't understand how I'm supposed to do it I understand the definition of convexity but I'm not sure how to apply it here.
The inequality does not necessarily hold if $x$ and $y$ are of opposite sign (consider $y=-1$ and large $x > 0$).
For $x, y> 0$ you can rewrite the inequality as $$ \frac{e^{\frac{x+y}2}}{\frac{x+y}2} \le \frac 12 \left( \frac{e^x}{x} + \frac{e^y}{y}\right) \,, $$ that hopefully helps to solve the problem using convexity.
For $x,y < 0$ you can proceed similarly.