Two directions of Jensen’s inequality
Let X equal 1 or 4, each with probability one half. Compare with and with . Explain the opposite directions.
Worked answer
, , and , so the convex square gives . , while , so concavity of log reverses the inequality. Both are strict because X is nonconstant and each function has strict curvature over the support.