Definition 1. A function g(x) is called convex if for x, y ā ā and t ā [0, 1],
g(tx + (1 - t)y) ⤠tg(x) + (1 - t)g(y).
Fact 2. If g(x) is twice differentiable, then g(x) is convex if and only if for all x, g''(x) ā„ 0.
Theorem 3 (Jensen's inequality). Suppose g is a convex function. Let X be a RV with E|X| < ā, then
g(E[X]) ⤠E[g(X)].
Example: g(x) = x^2 is convex (since g''(x) = 2 > 0). Thus,
g(E[X]) = (E[X])^2 ⤠E[g(X)] = E[X^2].
1. (a) Verify that x^2 is a convex function by directly using Definition 1.
(b) Without using convexity, prove that
(E[X])^2 ⤠E[X^2].