Key idea of this section
P(X ≥ a) ≤ E X / a (X ≥ 0), P(|X − μ| ≥ a) ≤ σ²/a², φ(E X) ≤ E φ(X) (φ convex) P(X ≥ a) ≤ inft>0 e−ta E etX
Markov and Chebyshev
Theorem 6.1 (Markov's inequality). If X ≥ 0 and a > 0, then P(X ≥ a) ≤ E X / a.
Proof. Pointwise, a · 1{X ≥ a} ≤ X. Take expectations. ∎
Applied to an increasing function ψ ≥ 0 of |X|, it gives P(|X| ≥ a) ≤ E ψ(|X|)/ψ(a). With ψ(x) = x² and X replaced by X − μ, this is Chebyshev's inequality:
P(|X − μ| ≥ a) ≤ Var X / a²
Both inequalities are sharp in the sense that equality is attained by suitable two- or three-point laws: X taking the value a with probability p and 0 otherwise gives equality in Markov's inequality. Their value lies in generality, not precision. A one-sided refinement is Cantelli's inequality, P(X − μ ≥ a) ≤ σ²/(σ² + a²) for a > 0.
Jensen, Hölder and the Lᵖ spaces
Theorem 6.2 (Jensen's inequality). If φ is convex on an interval containing the values of X, and X and φ(X) are integrable, then φ(E X) ≤ E φ(X).
Proof. A convex function lies above each of its supporting lines: for c = E X there is a slope m with φ(x) ≥ φ(c) + m(x − c) for all x. Put x = X and take expectations; the linear term has mean zero. ∎
Consequences include (E X)² ≤ E X², eE X ≤ E eX, and the AM–GM inequality (apply Jensen to −log with X uniform on a finite list). For 1 ≤ p < q, applying Jensen to the convex function x ↦ xq/p and the variable |X|ᵖ gives Lyapunov's inequality
‖X‖p = (E|X|ᵖ)1/p ≤ (E|X|q)1/q = ‖X‖q
so on a probability space Lq ⊆ Lᵖ. (This fails on infinite measure spaces such as ℝ with Lebesgue measure.) Hölder's inequality, E|XY| ≤ ‖X‖p ‖Y‖q for 1/p + 1/q = 1, has the Cauchy–Schwarz inequality E|XY| ≤ √(E X² · E Y²) as its case p = q = 2; and Minkowski's inequality ‖X + Y‖p ≤ ‖X‖p + ‖Y‖p makes Lᵖ a normed space (after identifying a.s. equal variables), which is complete for every p ≥ 1.
Exponential bounds: the Chernoff method
Markov's inequality applied to etX gives, for every t > 0, P(X ≥ a) ≤ e−ta M(t). Optimising over t is the Chernoff method. For a sum Sₙ of n i.i.d. copies of X, the bound becomes exp(−n supt [ta − log M(t)]), and the exponent
I(a) = supt∈ℝ [ta − log M(t)]
is the Legendre transform of the cumulant generating function. Cramér's theorem (1938) states that this is the exact exponential rate: (1/n) log P(Sₙ ≥ na) → −I(a) for a > E X, provided M is finite near 0. This is the first theorem of large deviations theory. For Bernoulli(p) summands, I(a) = a log(a/p) + (1 − a) log((1 − a)/(1 − p)), the relative entropy of Bernoulli(a) with respect to Bernoulli(p).
Theorem 6.3 (Hoeffding's inequality). If X₁, …, Xₙ are independent with aᵢ ≤ Xᵢ ≤ bᵢ and Sₙ = ∑ Xᵢ, then for t > 0
P(Sₙ − E Sₙ ≥ t) ≤ exp(−2t² / ∑ᵢ (bᵢ − aᵢ)²)
The proof bounds each factor by Hoeffding's lemma, E es(X − E X) ≤ exp(s²(b − a)²/8), which follows from convexity of x ↦ esx on [a, b] together with a second-order Taylor estimate of the resulting logarithm; then optimise s.
Worked example 6.4 (comparing the bounds). Let S be the number of heads in 100 fair tosses, so E S = 50 and Var S = 25. Consider P(S ≥ 75).
Markov: P(S ≥ 75) ≤ 50/75 ≈ 0.667 Chebyshev: P(S ≥ 75) ≤ P(|S − 50| ≥ 25) ≤ 25/625 = 0.04 Hoeffding: P(S ≥ 75) ≤ exp(−2 · 25²/100) = e−12.5 ≈ 3.73 × 10⁻⁶ Chernoff: P(S ≥ 75) ≤ exp(−100 · I(0.75)) ≈ e−13.08 ≈ 2.08 × 10⁻⁶ Exact: P(S ≥ 75) ≈ 2.82 × 10⁻⁷
Here I(0.75) = 0.75 log 1.5 + 0.25 log 0.5 ≈ 0.1308. The polynomial bounds are useless for small tail probabilities; the exponential bounds have essentially the right exponent and miss only a sub-exponential factor of order 1/√n.
Exercise
- (a)A nonnegative random variable has mean 4. What is the largest possible value of P(X ≥ 10)? Give a law attaining it.
- (b)Show that E[1/X] ≥ 1/E X for a positive random variable X.
- (c)For Sₙ ~ Binomial(n, 1/2), use Hoeffding's inequality to find n large enough that P(|Sₙ/n − 1/2| ≥ 0.05) ≤ 0.01.
Show solution
Answers: (a) 0.4, by Markov; attained by X = 10 with probability 0.4 and X = 0 otherwise. (b) x ↦ 1/x is convex on (0, ∞), so Jensen gives 1/E X ≤ E[1/X]. (c) The two-sided bound is 2 exp(−2n(0.05)²) = 2e−n/200; this is at most 0.01 when n ≥ 200 log 200 ≈ 1059.7, so n = 1060 suffices.