콘텐츠로 이동

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,

\[ \begin{aligned} \int_{-\infty}^{\infty}|x|^kf(x)\,dx &=\int_{|x|\leq1}|x|^kf(x)\,dx+\int_{|x|>1}|x|^kf(x)\,dx\\ &\leq\int_{|x|\leq1}f(x)\,dx+\int_{|x|>1}|x|^mf(x)\,dx\\ &\leq1+\int_{-\infty}^{\infty}|x|^mf(x)\,dx\\ &=1+E(|X|^m)<\infty. \end{aligned} \]

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\),

\[ P[u(X)\geq c]\leq\frac{E[u(X)]}{c}. \]

Proof

Suppose \(X\) is continuous with pdf \(f\), and let \(A=\{x:u(x)\geq c\}\). Because \(u(x)f(x)\geq0\),

\[ \begin{aligned} E[u(X)] &=\int_Au(x)f(x)\,dx+\int_{A^c}u(x)f(x)\,dx\\ &\geq\int_Au(x)f(x)\,dx\\ &\geq c\int_Af(x)\,dx\\ &=cP[u(X)\geq c]. \end{aligned} \]

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\),

\[ P(|X-\mu|\geq k\sigma)\leq\frac{1}{k^2}, \]

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\),

\[ P(|X-\mu|\geq k\sigma) =P[(X-\mu)^2\geq k^2\sigma^2] \leq\frac{\sigma^2}{k^2\sigma^2}=\frac{1}{k^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

\[ P(|X-\mu| \geq k\sigma)=P(|X| \geq 1)=\frac{1}{4}. \]

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\),

\[ \phi[\gamma x+(1-\gamma)y] \leq \gamma\phi(x)+(1-\gamma)\phi(y). \]

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

\[ \phi[E(X)] \leq E[\phi(X)]. \]

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\):

\[ \phi(x)=\phi(\mu)+\phi^{\prime}(\mu)(x-\mu)+\frac{\phi^{\prime\prime}(\zeta)(x-\mu)^2}{2}, \]

where \(\zeta\) lies between \(x\) and \(\mu\). Convexity makes the remainder nonnegative, so

\[ \phi(x)\geq\phi(\mu)+\phi^{\prime}(\mu)(x-\mu). \]

Taking expectations and using \(E[X-\mu]=0\) gives

\[ E[\phi(X)]\geq\phi(\mu)=\phi[E(X)]. \]

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

\[ \mathrm{AM}=\frac{1}{n}\sum_{i=1}^{n}a_i, \qquad \mathrm{GM}=(a_1a_2\cdots a_n)^{1/n}, \qquad \mathrm{HM}=\frac{1}{\frac{1}{n}\sum_{i=1}^{n}\frac{1}{a_i}}. \]

These means satisfy

\[ \mathrm{HM}\leq\mathrm{GM}\leq\mathrm{AM}. \]

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:

\[ E(X)=\frac{1}{n}\sum_{i=1}^{n}a_i. \]

Since \(-\log x\) is convex, Jensen's inequality gives

\[ -\log\left(\frac{1}{n}\sum_{i=1}^{n}a_i\right) \leq E(-\log X) =-\frac{1}{n}\sum_{i=1}^{n}\log a_i =-\log(a_1a_2\cdots a_n)^{1/n}. \]

Equivalently,

\[ \log\left(\frac{1}{n}\sum_{i=1}^{n}a_i\right) \geq\log(a_1a_2\cdots a_n)^{1/n}, \]

so

\[ (a_1a_2\cdots a_n)^{1/n} \leq\frac{1}{n}\sum_{i=1}^{n}a_i. \]

Thus \(\mathrm{GM}\leq\mathrm{AM}\).

Replacing each \(a_i\) in this inequality by the positive number \(1/a_i\) yields

\[ \frac{1}{n}\sum_{i=1}^{n}\frac{1}{a_i} \geq\left(\frac{1}{a_1}\frac{1}{a_2}\cdots\frac{1}{a_n}\right)^{1/n}. \]

Taking reciprocals gives

\[ \frac{1}{\frac{1}{n}\sum_{i=1}^{n}\frac{1}{a_i}} \leq(a_1a_2\cdots a_n)^{1/n}. \]

Hence \(\mathrm{HM}\leq\mathrm{GM}\), and combining the two inequalities gives \(\mathrm{HM}\leq\mathrm{GM}\leq\mathrm{AM}\).