Skip to content
Part IA Easter Term

Chebyshev's Inequality

Motivation

Markov’s inequality uses only the mean. Chebyshev’s inequality uses both mean and variance to get stronger bounds on deviations.

Statement

For any random variable XX with finite mean μ\mu and finite variance σ2\sigma^2:

P(Xμkσ)1k2P(|X - \mu| \geq k\sigma) \leq \frac{1}{k^2}

for any k>0k > 0.

Alternative Form

P(Xμa)σ2a2P(|X - \mu| \geq a) \leq \frac{\sigma^2}{a^2}

Proof

Apply Markov’s inequality to (Xμ)2(X - \mu)^2, which is non-negative with mean σ2\sigma^2:

P(Xμa)=P((Xμ)2a2)E[(Xμ)2]a2=σ2a2P(|X - \mu| \geq a) = P((X - \mu)^2 \geq a^2) \leq \frac{E[(X - \mu)^2]}{a^2} = \frac{\sigma^2}{a^2}

Substitute a=kσa = k\sigma:

P(Xμkσ)σ2k2σ2=1k2P(|X - \mu| \geq k\sigma) \leq \frac{\sigma^2}{k^2\sigma^2} = \frac{1}{k^2}

Interpretation

| kk | P(Xμkσ)P(|X - \mu| \geq k\sigma) | |-----|----------------------------| | 1 | 1\leq 1 (useless bound) | | 2 | 0.25\leq 0.25 | | 3 | 0.11\leq 0.11 |

For ANY distribution (with finite variance), at most 25% of values lie beyond 2 standard deviations from the mean, and at most 11% beyond 3 standard deviations.

Compare to normal: For N(μ,σ2)N(\mu, \sigma^2), P(Xμ2σ)0.05P(|X - \mu| \geq 2\sigma) \approx 0.05 and P(Xμ3σ)0.003P(|X - \mu| \geq 3\sigma) \approx 0.003. Chebyshev gives worst-case bounds.

Visualisation

Chebyshev's inequality

Example

Test scores have mean 70 and variance 100 (SD = 10). What proportion might score below 50 or above 90?

X7020=2σ|X - 70| \geq 20 = 2\sigma.

P(X7020)14P(|X - 70| \geq 20) \leq \frac{1}{4}

At most 25% can be more than 20 points from the mean.

For a normal distribution, this would be about 5%: Chebyshev is conservative.

Example: Sample Mean

Let Xˉn=1ni=1nXi\bar{X}_n = \frac{1}{n}\sum_{i=1}^n X_i where XiX_i are i.i.d. with mean μ\mu and variance σ2\sigma^2.

E[Xˉn]=μE[\bar{X}_n] = \mu and Var(Xˉn)=σ2/n\text{Var}(\bar{X}_n) = \sigma^2/n.

P(Xˉnμϵ)σ2/nϵ2=σ2nϵ2P\left(|\bar{X}_n - \mu| \geq \epsilon\right) \leq \frac{\sigma^2/n}{\epsilon^2} = \frac{\sigma^2}{n\epsilon^2}

This decays as nn \to \infty: the sample mean concentrates around μ\mu.

One-Sided Chebyshev

For P(Xμa)P(X - \mu \geq a) (one direction only), we can use:

P(Xμa)σ2σ2+a2P(X - \mu \geq a) \leq \frac{\sigma^2}{\sigma^2 + a^2}

Better than two-sided Chebyshev of σ2/a2\sigma^2/a^2 when a/σ<1a/\sigma < 1.

Comparison with Markov

InequalityInformation RequiredBound
MarkovE[X]E[X], X0X \geq 0P(Xa)E[X]/aP(X \geq a) \leq E[X]/a
ChebyshevE[X]E[X], Var(X)\text{Var}(X)$P(

Chebyshev is stronger but requires variance (and is symmetric about the mean).

Application: Proving Convergence

Given ϵ>0\epsilon > 0 and nn samples:

P(Xˉnμϵ)σ2nϵ2P(|\bar{X}_n - \mu| \geq \epsilon) \leq \frac{\sigma^2}{n\epsilon^2}

For any ϵ>0\epsilon > 0, choose N>σ2/ϵ2δN > \sigma^2/\epsilon^2 \cdot \delta to ensure P(Xˉnμϵ)<δP(|\bar{X}_n - \mu| \geq \epsilon) < \delta for all nNn \geq N.

Summary

PropertyStatement
ConditionFinite μ\mu and σ2\sigma^2
Inequality$P(
Alternative$P(
StrengthWorks for any distribution
WeaknessOften conservative