- Jensen's inequality
In
mathematics , Jensen's inequality, named after the Danish mathematicianJohan Jensen , relates the value of aconvex function of anintegral to the integral of the convex function. It was proved by Jensen in 1906 [Jensen, J. "Sur les fonctions convexes et les inégalités entre les valeurs moyennes".] . Given its generality, the inequality appears in many forms depending on the context, some of which are presented below. In its simplest form the inequality states,"the convex transformation of a mean is less than or equal to the mean after convex transformation."The finite form of the equation was the logo of Institute for Mathematical Sciences at
University of Copenhagen until 2006.tatements
The classical form of Jensen's inequality involves several numbers and weights. The inequality can be stated quite generally using measure theory, or the equivalent probabilist notation. In this probabilistic setting the inequality can be further generalized to its "full strength".
Finite form
For a real
convex function φ, numbers "xi" in its domain, and positive weights "ai", Jensen's inequality can be stated as::
and the inequality is clearly reversed if φ is concave.
As a particular case, if the weights "ai" are all equal to unity, then
:
For instance, the log("x") function is "concave" (note that we can use Jensen's to prove convexity or concavity, if it holds for two real numbers whose functions are taken), so substituting in the previous formula, this establishes the (logarithm of) the familiar arithmetic mean-geometric mean inequality:
:
The variable "x" may, if required, be a function of another variable (or set of variables) "t", so that "x""i" = "g"("t""i"). All of this carries directly over to the general continuous case: the weights "ai" are replaced by a non-negative integrable function "f"("x"), such as a probability distribution, and the summations replaced by integrals.
Measure-theoretic and probabilistic form
Let (Ω,A,μ) be a measure space, such that μ(Ω) = 1. If "g" is a real-valued function that is μ-integrable, and if φ is a measurable
convex function on the real axis, then::
The same result can be equivalently stated in a
probability theory setting, by a simple change of notation. Let be aprobability space , "X" an integrable real-valuedrandom variable and φ a measurableconvex function . Then::
In this probability setting, the measure μ is intended as a probability , the integral with respect to μ as an
expected value , and the function "g" as arandom variable "X".General inequality in a probabilistic setting
More generally, let "T" be a real
topological vector space , and "X" a "T"-valued integrable random variable. In this general setting, "integrable" means that for any element "z" in thedual space of "T": , there exists an element in "T", such that . Then, for any measurable convex function φ and any sub-σ-algebra of ::
Here stands for the expectation conditioned to the σ-algebra . This general statement reduces to the previous ones when the topological vector space "T" is the
real axis , and is the trivial σ-algebra .Proofs
A proof of Jensen's inequality can be provided in several ways, and three different proofs corresponding to the different statements above will be offered. Before embarking on these mathematical derivations, however, it is worth analyzing an intuitive graphical argument based on the probabilistic case where "X" is a real number (see figure). Assuming a hypothetical distribution of "X" values, one can immediately identify the position of and its image in the graph. Noticing that for convex mappings the corresponding distribution of "Y" values is increasingly "stretched out" for increasing values of "X", it is easy to see that the distribution of "Y" is broader than that of "X" in the interval corresponding to "X" > "X"0 and narrower in "X" < "X"0 for any "X"0; in particular, this is also true for . Consequently, in this picture the expectation of "Y" will always shift upwards with respect to the position of , and this "proves" the inequality, i.e.
:
the equality taking place when is not strictly convex, e.g. when it is a straight line.
The proofs below formalize this intuitive notion.
Proof 1 (finite form)
If "λ"1 and "λ"2 are two arbitrary positive real numbers such that "λ"1 + "λ"2 = 1 then convexity of implies
:
This can be easily generalized: if "λ"1, "λ"2, ..., "λ""n" are positive real numbers such that "λ"1 + ... + "λ""n" = 1, then
:
for any "x"1, ..., "x""n". This "finite form" of the Jensen's inequality can be proved by induction: by convexity hypotheses, the statement is true for "n" = 2. Suppose it is true also for some "n", one needs to prove it for "n" + 1. At least one of the "λ""i" is strictly positive, say "λ"1; therefore by convexity inequality:
:
Since , one can apply the induction hypotheses to the last term in the previous formula to obtain the result, namely the finite form of the Jensen's inequality.
In order to obtain the general inequality from this finite form, one needs to use a density argument. The finite form can be re-written as:
:
where "μ"n" is a measure given by an arbitrary
convex combination ofDirac delta s::
Since convex functions are continuous, and since convex combinations of Dirac deltas are weakly dense in the set of probability measures (as could be easily verified), the general statement is obtained simply by a limiting procedure.
Proof 2 (measure-theoretic form)
Let "g" be a real-valued μ-integrable function on a measure space Ω, and let "φ" be a convex function on the real numbers. Define the right-handed derivative of φ at "x" as
:
Since φ is convex, the quotient of the right-hand side is decreasing when "t" approaches 0 from the right, and bounded below by any term of the form
:
where "t" < 0, and therefore, the limit does always exist.
Now, let us define the following:
:
:
:
Then for all "x", "ax" + "b" ≤ "φ"("x"). To see that, take "x" > "x"0, and define "t" = "x" − "x"0 > 0. Then,
:
Therefore,
:
as desired. The case for "x" < "x"0 is proven similarly, and clearly "ax"0 + "b" = "φ"("x"0).
φ("x"0) can then be rewritten as
:
But since μ(Ω) = 1, then for every real number "k" we have
:
In particular,
:
Proof 3 (general inequality in a probabilistic setting)
Let be an integrable random variable that takes value in a real topological vector space "T". Since is convex, for any , the quantity
:
is decreasing as θ approaches 0+. In particular, the "subdifferential" of "φ" evaluated at "x" in the direction "y" is well-defined by
:
It is easily seen that the subdifferential is linear in "y" and, since the infimum taken in the right-hand side of the previous formula is smaller than the value of the same term for "θ" = 1, one gets
:
In particular, for an arbitrary sub-σ-algebra we can evaluate the last inequality when to obtain
:
Now, if we take the expectation conditioned to on both sides of the previous expression, we get the result since:
:
by the linearity of the subdifferential in the "y" variable, and well-known properties of the
conditional expectation .Applications and special cases
Form involving a probability density function
Suppose Ω is a measurable subset of the real line and "f"("x") is a non-negative function such that
:
In probabilistic language, "f" is a
probability density function .Then Jensen's inequality becomes the following statement about convex integrals:
If "g" is any real-valued measurable function and φ is convex over the range of "g", then
:
If "g"("x") = "x", then this form of the inequality reduces to a commonly used special case:
:
Alternative finite form
If is some finite set , and if is a
counting measure on , then the general form reduces to a statement about sums::
provided that
There is also an infinite discrete form.
tatistical physics
Jensen's inequality is of particular importance in statistical physics when the convex function is an exponential, giving:
:
where angle brackets denote
expected value s with respect to someprobability distribution in therandom variable "X".The proof in this case is very simple (cf. Chandler, Sec. 5.5). The desired inequality follows directly, by writing
:
and then applying the inequality:
to the final exponential.
Information theory
If "p"("x") is the true probability distribution for "x", and "q"("x") is another distribution, then applying Jensen's inequality for the random variable "Y"("x") = "q"("x")/"p"("x") and the function φ("y") = −log("y") gives
:
:
:
:
a result called
Gibbs' inequality .It shows that the average message length is minimised when codes are assigned on the basis of the true probabilities "p" rather than any other distribution "q". The quantity that is non-negative is called the
Kullback-Leibler distance of "q" from "p".Rao-Blackwell theorem
If "L" is a convex function, then from Jensen's inequality we get
:
So if δ("X") is some
estimator of an unobserved parameter θ given a vector of observables "X"; and if "T"("X") is asufficient statistic for θ; then an improved estimator, in the sense of having a smaller expected loss "L", can be obtained by calculating:
the expected value of δ with respect to θ, taken over all possible vectors of observations "X" compatible with the same value of "T"("X") as that observed.
This result is known as the
Rao-Blackwell theorem .ee also
*
Law of averages References
*cite book|author=Walter Rudin|title=Real and Complex Analysis|publisher=McGraw-Hill|year=1987|id=ISBN 0-07-054234-1
*cite book|author=David Chandler|title=Introduction to Modern Statistical Mechanics|publisher=Oxford|year=1987|id=ISBN 0-19-504277-8
*cite journal
last = Jensen
first = Johan Ludwig William Valdemar
authorlink = Johan Jensen
year = 1906
title = [http://www.springerlink.com/content/r55q1411g840j446/ Sur les fonctions convexes et les inégalités entre les valeurs moyennes]
journal =Acta Mathematica
volume = 30
pages = 175–193
doi = 10.1007/BF02418571External links
*
* Jensen's inequality served as the logo for the [http://www.math.ku.dk/ma/en/ Mathematics department of Copenhagen University]Footnotes
Wikimedia Foundation. 2010.