Vol. I a living index of named laws · est. mmxxvi no ads · no account
The Law Tomeindex of named laws

Jensen's Inequality

also known as — Jensen inequality, The convexity inequality
"For a convex function, the function of the average is at most the average of the function."
In plain English

What does Jensen's Inequality mean?

Jensen's inequality relates the value of a convex function at an average to the average of its values. For a convex function, one that bends upward like a parabola, the function evaluated at the mean of some inputs is at most the mean of the function evaluated at each input; in probability, the function of an expectation is at most the expectation of the function. For a concave function, one bending downward like the logarithm, the inequality reverses. Equality holds only when the inputs are all equal or the function is a straight line over the relevant range. Proved by Johan Jensen in 1906, it is a cornerstone inequality of convex analysis, probability, statistics, and information theory, capturing in one line the essential meaning of convexity.

Run the numbers

Jensen's Inequality calculator

For the convex function x squared, the function of the average never exceeds the average of the function.

f(E[X]) <= E[f(X)], f(x) = x^2

f
A convex function; here x squared
E[X]
The weighted average of the values
f of the average —
Average of f —
Jensen gap —

Computed live from f(E[X]) <= E[f(X)], f(x) = x^2 — the law's own arithmetic, nothing fitted or predicted.

Reliability

Rated Empirical: grounded in studies or measurable evidence. The other 608.

Lineage
1906COINED
How it works

How does Jensen's Inequality work?

The inequality is convexity made quantitative. A convex function lies below any chord connecting two points on its graph, and averaging inputs is a way of moving to a point between them, so the function at the averaged input sits below the correspondingly averaged outputs. Extended from two points to many, or to a whole probability distribution, this says the function of the mean is at most the mean of the function. Formally one uses a supporting line, a tangent that lies below a convex curve everywhere; evaluating the average against this line and comparing gives the result. The size of the gap between the two sides, sometimes called the Jensen gap, measures how strongly the function curves and how spread out the inputs are.

Figure illustrating Jensen's Inequality
Jensen's Inequality — Eli Osherovich · CC BY-SA 3.0 · source
Where you'll see it

What are examples of Jensen's Inequality?

The AM-GM inequality Applying Jensen's inequality to the concave logarithm yields the arithmetic-mean-geometric-mean inequality, that the average of positive numbers is at least their geometric mean.
Information theory Jensen's inequality proves that the Kullback-Leibler divergence between probability distributions is never negative, the Gibbs inequality underlying entropy and coding.
Risk aversion For a concave utility function, the utility of an expected payoff exceeds the expected utility of the gamble, the mathematical face of risk aversion in economics.
Types & variants

What are the types of Jensen's Inequality?

The discrete form§

The finite version, that a convex function of a weighted average of points is at most the weighted average of the function's values, with non-negative weights summing to one.

The concave reversal§

For concave functions the inequality flips, so the function of the average is at least the average of the function, the form used for logarithms and entropies.

Why it matters

Why does Jensen's Inequality matter?

Jensen's inequality is one of the most useful inequalities in mathematics, the bridge between convexity and averaging that appears throughout probability, statistics, information theory, and economics. It proves the arithmetic-mean-geometric-mean inequality, establishes the non-negativity of relative entropy that grounds information theory, expresses risk aversion through concave utility, and supplies bounds in countless proofs where an expectation of a nonlinear function must be controlled. Because convex and concave functions are everywhere, so is Jensen's inequality, and mastering its direction, convex bends the inequality one way and concave the other, is a basic skill of quantitative reasoning.

Working with it

How do you apply Jensen's Inequality?

  • Check convex or concave — identify whether the function bends upward or downward, since that fixes the direction of the inequality between function-of-average and average-of-function.
  • Compare the two averages — for a convex function, expect the function of the mean to be at most the mean of the function; for concave, the reverse.
  • Read the gap as spread — treat the difference between the two sides as a measure of how much the function curves and how dispersed the inputs are, zero only when they coincide.
Where it breaks down

What are the limits of Jensen's Inequality?

The direction of the inequality depends entirely on whether the function is convex or concave, so applying the wrong direction is the usual error and there is no single universal sign. The function must be convex or concave on an interval containing all the inputs, or the support of the random variable, and the relevant averages or expectations must exist and be finite. Equality is not exceptional to worry about but informative: it holds only when the inputs are all equal or the function is affine, so a strict inequality signals genuine curvature and spread. Outside these conditions the inequality simply does not apply.

What it doesn't say

What are common misconceptions about Jensen's Inequality?

The inequality is not one-directional in the abstract; convex functions give function-of-average at most average-of-function, while concave functions reverse it, so the direction must track the curvature. It is about comparing the function of a mean with the mean of a function, not about bounding a function by a constant. And equality does not require the function to be linear everywhere, only affine over the range of the inputs, or the inputs to be identical, so near-equality reflects little curvature or little spread rather than a failure of the inequality.

Is it real?

Is Jensen's Inequality real?

Yes, as far as the evidence goes. Jensen's Inequality is rated Empirical here: it rests on studies or measurements rather than on a saying.

Rated from two sources. 609 of the 1,116 entries carry this rating. How the scale works.

Rarely printedin printed books: one of 196 names in its band, of 903 measured
38 of 51entries in mathematics & proof carry the same rating

The best-known laws are the least likely to rest on measurement.

Origin

Where did Jensen's Inequality come from?

Proved by the Danish mathematician Johan Jensen in his 1906 paper on convex functions and inequalities between mean values, building on earlier related work by Otto Holder, and now central to convex analysis, probability, and information theory.

How the name spread

When did people start saying “Jensen's Inequality”?

1800coined 19062019
How often “Jensen 's Inequality” appears in printed English, which takes hold around 1963 and peaks around 2019. The idea dates to 1906: the phrase took about 57 years to reach print in any quantity, which is the gap this chart measures. Source: Google Books Ngrams.
Known elsewhere as

What is Jensen's Inequality called in other languages?

  • Arabicمتباينة ينسن
  • Germanjensensche Ungleichung
  • Spanishdesigualdad de Jensen
  • Frenchinégalité de Jensen
  • Italiandisuguaglianza di Jensen
  • Japaneseイェンゼンの不等式
  • Portuguesedesigualdade de Jensen
  • RussianНеравенство Йенсена
  • Chinese延森不等式

9 languages, as recorded on Wikidata. These are names the idea already goes by, not translations we made. The whole index by language.

Sources

Sources & further reading

  1. 1Jensen's inequality, Wikipedia. — the convex and concave forms, the probabilistic statement, Jensen 1906, and the AM-GM and Kullback-Leibler applications.secondary
  2. 2Jensen's Inequality, Wolfram MathWorld. — the weighted-average statement and the convex-concave direction with the 1906 citation.secondary

Everything above traces to en.wikipedia.org and mathworld.wolfram.com: two secondary sources, accounts of the original rather than the original itself, which has not been located for this entry. Nothing is written from memory, and the method is written down. Spot an error or a better source? Suggest a fix.

What we checked

  • 1,116entries in the tomeListed one by one on the browse page.
  • 1,116of them citing a sourceOpen any entry: its sources sit at the foot of the page.
  • 2,489source references in allEach is named, and linked wherever the source is online.