I am trying to proof that:
Let f $\in$ $C^2(R,R)$,$f''>0$, and $E[f(X)]=f(E[X])$. I am trying to proof that X should be a constant.
I know that $f(E[X])\leq E[f(X)]$, this holds because of the Jensen inequality. Which states
f($\sum\nolimits_{k=1}^n \lambda_kx_k$)$\leq$ $\sum\nolimits_{k=1}^n \lambda_kf(x_k)$ If equality holds, this meanes that f is linear. My problem now is, that if f is two times coutinously differentiable, that would mean that $f''$ should equal 0. (i am assuming X is defined on finitely many points)