Jensen's Inequality
For a curved function, the average of the outputs isn't the output of the average — curvature creates a predictable gap. It explains volatility drag, why insurance exists, and why geometric returns trail arithmetic ones.
Prerequisites: Expected Value, Expectation, Variance & Moments
There's a trap that catches people constantly: they compute an average and then plug it into a formula, assuming the answer is the average of what the formula would have given. When the formula is a straight line, that's fine. When it curves, it's wrong — and Jensen's inequality tells you exactly which way it's wrong and by how much.
A function is convex if it bows upward, like a cup or a bowl — think , or , or for positive . For a convex function , the average of the outputs always sits at or above the output of the average:
If the function bows downward — concave, like or — the inequality flips, and the average output sits at or below the output of the average. The two sides are equal only when the function is a straight line, or when has no randomness at all. Every bit of spread in , combined with every bit of curvature in , opens a gap between the two — the Jensen gap.
The most important special case
Set , which is convex. Jensen says , and the gap between the two is exactly the variance. So the fact that variance can never be negative is just Jensen's inequality in disguise. This is the template for everything else: curvature turns randomness into a systematic, one-directional bias.
For a convex (bowl) function, ; for a concave (dome) function it flips. The gap is created by spread times curvature — the more varies, the wider it opens.
Worked example: volatility drag
This is where Jensen pays rent for a trader. Suppose an investment gains one period and loses the next. The arithmetic average return is , which sounds like you broke even. But wealth compounds by multiplying, and $100 becomes
You're down . Where did the money go? Growth over time is governed by the log of the return factors, and is concave. Jensen (flipped, for concave) says the average of the logs is below the log of the average:
The left side drives compound growth; the right side is what the naive arithmetic mean would promise. The gap between them is volatility drag — the steady tax that swings impose on compounded wealth. Per period here the geometric growth is , a real loss, even though the arithmetic mean was a cheerful zero. This concavity gap is the mathematical heart of the The Kelly Criterion and of why lower-volatility paths compound faster.
Another quick one: averages of reciprocals
Because is convex for positive , Jensen gives . So the average of reciprocals overshoots the reciprocal of the average — a trap when someone averages ratios, speeds, or per-unit costs and expects the "obvious" answer. If a route is driven at mph out and mph back, the average speed is not but the harmonic mean mph, and that is Jensen at work.
Mnemonic: convex catches the expectation on top — is the larger side for a bowl-shaped . Whenever you're tempted to "average, then plug in," ask whether the function curves. If it does, the shortcut is biased, and you now know which direction.
The direction of the inequality flips entirely between convex and concave, and mixing them up is a classic error. , , and utility-of-wealth curves are concave, so for them the average output is the smaller side — the opposite of the case most people memorize first.
Where it shows up
Jensen underlies the arithmetic-mean-beats-geometric-mean fact, the existence of a risk premium (a risk-averse investor has concave utility, so they'll pay to remove variance — that's insurance), the non-negativity of KL divergence and entropy bounds, and the log-optimal growth logic behind position sizing. Any time a curved function meets a random input, Jensen is quietly setting the direction of the error.
Related concepts
Practice in interviews
Further reading
- Blitzstein & Hwang, Introduction to Probability, ch. 10
- Boyd & Vandenberghe, Convex Optimization, ch. 3