1.10. Important Inequalities¶
1.10.1. Markov's and Chebyshev's Inequality¶
Theorem 1.10.1 : Existence of lower moments
Let \(X\) be a random variable, and let \(m\) be a positive integer such that \(E(|X|^m)<\infty\). If \(k\) is a positive integer with \(k\leq m\), then \(E(|X|^k)<\infty\), so the \(k\)th moment exists.
Proof
Suppose \(X\) is continuous with pdf \(f\). For \(|x|\leq1\), we have \(|x|^k\leq1\); for \(|x|>1\), we have \(|x|^k\leq|x|^m\). Therefore,
For a discrete random variable, the same inequalities hold with sums in place of integrals.
Theorem 1.10.2 : Markov's inequality
Let \(u(X)\) be a nonnegative function of a random variable \(X\) with finite expectation. Then, for every \(c>0\),
Proof
Suppose \(X\) is continuous with pdf \(f\), and let \(A=\{x:u(x)\geq c\}\). Because \(u(x)f(x)\geq0\),
Dividing by \(c>0\) proves the inequality.
For a discrete random variable, replace the integrals by sums over the corresponding values of \(X\).
Theorem 1.10.3 : Chebyshev's inequality
Let \(X\) have finite mean \(\mu=E(X)\) and positive finite variance \(0<\sigma^2<\infty\). Then for every \(k>0\),
or equivalently, \(P(|X-\mu|<k\sigma)\geq1-1/k^2\).
Proof
Apply Theorem 1.10.2 with \(u(X)=(X-\mu)^2\) and \(c=k^2\sigma^2>0\). Since \(E[u(X)]=\sigma^2\),
The bound is informative when \(k>1\).
The general threshold form, \(P(|X-\mu|\geq\varepsilon)\leq\sigma^2/\varepsilon^2\) for \(\varepsilon>0\), also follows from Markov's inequality and remains valid when \(\sigma=0\).
Example 1.10.4 : Attaining the probability upper bound
Let the random variable \(X\) of the discrete type have probabilities \(\frac{1}{8}, \frac{6}{8}, \frac{1}{8}\) at the points \(x=-1,0,1\), respectively. Here \(\mu=0\) and \(\sigma^{2}=\frac{1}{4}\). For \(k=2\), we have \(1/k^{2}=\frac{1}{4}\) and
Thus \(P(|X-\mu| \geq k\sigma)\) attains the upper bound \(1/k^{2}=\frac{1}{4}\). Hence the inequality cannot be improved without further assumptions about the distribution of \(X\).
1.10.2. Jensen's Inequality¶
Definition 1.10.5 : Convex function
A function \(\phi\) defined on an interval \((a, b)\), \(-\infty \leq a<b \leq \infty\), is a convex function if for all \(x, y\) in \((a, b)\) and for all \(0<\gamma<1\),
We say \(\phi\) is strictly convex if the above inequality is strict whenever \(x\ne y\).
Theorem 1.10.6 : Derivative criteria for convexity
If \(\phi\) is differentiable on \((a, b)\), then
- (a) \(\phi\) is convex if and only if \(\phi^{\prime}(x) \leq \phi^{\prime}(y)\), for all \(a<x<y<b\).
- (b) \(\phi\) is strictly convex if and only if \(\phi^{\prime}(x)<\phi^{\prime}(y)\), for all \(a<x<y<b\).
If \(\phi\) is twice differentiable on \((a, b)\), then
- (a) \(\phi\) is convex if and only if \(\phi^{\prime\prime}(x) \geq 0\), for all \(a<x<b\).
- (b) \(\phi\) is strictly convex if \(\phi^{\prime\prime}(x)>0\), for all \(a<x<b\).
Theorem 1.10.7 : Jensen's inequality
If \(\phi\) is convex on an open interval \(I\) and \(X\) is a random variable whose support is contained in \(I\) and has finite expectation, then
If \(\phi\) is strictly convex, then the inequality is strict unless \(X\) is a constant random variable.
Proof
For this proof, assume that \(\phi\) has a second derivative, although convexity alone is sufficient for the theorem. Set \(\mu=E[X]\) and use the second-order Taylor expansion about \(\mu\):
where \(\zeta\) lies between \(x\) and \(\mu\). Convexity makes the remainder nonnegative, so
Taking expectations and using \(E[X-\mu]=0\) gives
If \(\phi^{\prime\prime}(x)>0\) throughout \(I\) and \(X\) is not constant, the inequality is strict.
Theorem 1.10.8 : Harmonic and geometric means
Let \(\{a_1,\ldots,a_n\}\) be a finite set of positive numbers. The arithmetic mean (AM), geometric mean (GM), and harmonic mean (HM) are given by
These means satisfy
Proof
Create a distribution for a random variable \(X\) by placing weight \(1/n\) on each of the numbers \(a_1,\ldots,a_n\). Its expectation is the arithmetic mean:
Since \(-\log x\) is convex, Jensen's inequality gives
Equivalently,
so
Thus \(\mathrm{GM}\leq\mathrm{AM}\).
Replacing each \(a_i\) in this inequality by the positive number \(1/a_i\) yields
Taking reciprocals gives
Hence \(\mathrm{HM}\leq\mathrm{GM}\), and combining the two inequalities gives \(\mathrm{HM}\leq\mathrm{GM}\leq\mathrm{AM}\).