The inequality is $$\frac{e^x+e^y}{2}>e^\frac{x+y}{2}$$ where $x \neq y$.
This is my first time coming across inequalities of this form thus I really don't know to approach it correctly. Here is what I tried:
Let us define $f(p)=e^p>0$. Then $f'(p)=e^p>0$ and $f''(p)=e^p>0$ for all $p$. Thus the function is real valued and convex? (*)
Therefore, by Jensen's inequality, we have that
$$e^\frac{x+y}{2}=f\left(\frac{1}{2}x+\frac{1}{2}{y}\right) \leq \frac{1}{2}f(x)+\frac{1}{2}f(y)=\frac{e^x+e^y}{2}$$
Since $f''(p)=e^p>0$ is always a strict inequality, then I was thinking this makes the inequality also strict, so that we have
$$e^\frac{x+y}{2}=f\left(\frac{1}{2}x+\frac{1}{2}{y}\right) \lt \frac{1}{2}f(x)+\frac{1}{2}f(y)=\frac{e^x+e^y}{2}$$
My question, (besides asking whether or not this 'proof' is correct), is what is the general strategy of proving such inequalities? And is this a correct application of the Jensen inequality? Was it right to have had concluded that the function is convex at (*)? And a request for a hint to the right answer, in the case that this one is completely wrong. Any feedback is highly appreciated!
EDIT: I appreciate the answers coming in about using the AM-GM inequality, but I'd also like to know if this proof presented here works too.
Your proof is right and the function is indeed convex.
But the inequality like Jensen can be true even the function is not convex.
For example, the function $f(x)=-\cos{x}$ is not convex function on $[0,\pi],$
but the following inequality is true: $$\frac{-\cos{x}-\cos{y}-\cos{z}}{3}\geq-\cos\frac{x+y+z}{3}$$ for all $\{x,y,z\}\subset[0,\pi]$ such that $x+y+z=\pi.$