Canonical: https://knowlpedia.com/measure-theory/jensen-inequality-integral/

# Jensen's inequality for integrals

A convexity inequality comparing a convex function of an average with the average of a convex function.

**Jensen's inequality (integral form):** Let \((X,\Sigma,\mu)\) be a measure space with \(\mu(X)=1\). Let \(I\subseteq\mathbb R\) be an interval, let \(f:X\to I\) be measurable and integrable, and let \(\varphi:I\to\mathbb R\) be convex. If \(\varphi\circ f\) is integrable, then
\[
\varphi\Big(\int_X f\,d\mu\Big)\le \int_X \varphi(f)\,d\mu.
\]

This is a fundamental inequality for [convex functions](https://knowlpedia.com/convex-analysis/convex-function-via-epigraph/) applied to the [Lebesgue integral](https://knowlpedia.com/measure-theory/lebesgue-integral/), often used with \(f\) in [L1](https://knowlpedia.com/measure-theory/l1-function/) and \(\varphi\circ f\) integrable. It can be viewed as a measure-theoretic extension of finite-dimensional convexity to averages taken with respect to a [measure](https://knowlpedia.com/measure-theory/measure/) on a [measure space](https://knowlpedia.com/measure-theory/measure-space/).
