Mathwords logoMathwords

Cantelli's Inequality — Definition, Formula & Example

Cantelli's Inequality is a probability bound for a single tail of a distribution. It caps the chance that a random variable lands far above its mean (or far below it), and you only need the mean and the variance to use it.

Let XX be a random variable with finite mean μ\mu and finite variance σ2\sigma^2. Then for every λ>0\lambda > 0, P(X−μ≥λ)≤σ2σ2+λ2P(X - \mu \ge \lambda) \le \dfrac{\sigma^2}{\sigma^2 + \lambda^2} and P(X−μ≤−λ)≤σ2σ2+λ2P(X - \mu \le -\lambda) \le \dfrac{\sigma^2}{\sigma^2 + \lambda^2}. Writing λ=kσ\lambda = k\sigma gives the form P(X−μ≥kσ)≤11+k2P(X - \mu \ge k\sigma) \le \dfrac{1}{1 + k^2}. The bound is sharp: a suitable two-point distribution attains it.

Key Formula

P(X−μ≥λ)≤σ2σ2+λ2,λ>0P(X - \mu \ge \lambda) \le \frac{\sigma^2}{\sigma^2 + \lambda^2}, \qquad \lambda > 0
Where:
  • XX = A random variable with finite variance
  • μ\mu = The mean (expected value) of X
  • σ2\sigma^2 = The variance of X
  • λ\lambda = How far above the mean the tail starts (must be positive)

How It Works

The derivation shifts the variable before squaring it. Pick any u≥0u \ge 0. If X−μ≥λX - \mu \ge \lambda, then X−μ+u≥λ+u>0X - \mu + u \ge \lambda + u > 0, so (X−μ+u)2≥(λ+u)2(X - \mu + u)^2 \ge (\lambda + u)^2. Markov's inequality applied to this square gives P(X−μ≥λ)≤σ2+u2(λ+u)2P(X - \mu \ge \lambda) \le \dfrac{\sigma^2 + u^2}{(\lambda + u)^2}. Choosing u=σ2/λu = \sigma^2/\lambda makes the right side as small as possible, and it simplifies to σ2σ2+λ2\dfrac{\sigma^2}{\sigma^2 + \lambda^2}. Chebyshev's Inequality uses no shift and squares X−μX - \mu directly, so it cannot tell the two tails apart.

Worked Example

Problem: Your commute averages 30 minutes, with a standard deviation of 10 minutes. You know nothing else about the distribution. Find an upper bound on the probability that a commute takes 50 minutes or longer.
Step 1: Identify the mean, the standard deviation, and the distance from the mean to the cutoff. Only the upper tail matters, so Cantelli applies.
μ=30,σ=10,λ=50−30=20\mu = 30, \quad \sigma = 10, \quad \lambda = 50 - 30 = 20
Step 2: Substitute into Cantelli's Inequality.
P(X≥50)≤102102+202=100500=15=0.2P(X \ge 50) \le \frac{10^2}{10^2 + 20^2} = \frac{100}{500} = \frac{1}{5} = 0.2
Step 3: Compare with Chebyshev's Inequality, which bounds both tails together. Its bound is weaker for this one-sided question.
P(∣X−30∣≥20)≤102202=14=0.25P(|X - 30| \ge 20) \le \frac{10^2}{20^2} = \frac{1}{4} = 0.25
Answer: At most 20% of commutes take 50 minutes or longer. Cantelli gives this tighter bound because it ignores the lower tail, which Chebyshev's 25% includes.

Why It Matters

In finance, risk managers use Cantelli's Inequality to bound the chance of a loss beyond a threshold when only a portfolio's mean return and variance are known. Losses sit in one tail, so the one-sided bound is the right tool. It also appears in probability and statistics courses as the standard example of improving Chebyshev's bound by using only one tail.

Common Mistakes

Mistake: Using Cantelli's bound for a two-sided event such as ∣X−μ∣≥λ|X - \mu| \ge \lambda.
Correction: Cantelli covers one tail. Doubling it to cover both tails gives 2σ2/(σ2+λ2)2\sigma^2/(\sigma^2 + \lambda^2). That is never better than Chebyshev's σ2/λ2\sigma^2/\lambda^2 once λ≥σ\lambda \ge \sigma. Use Chebyshev for two-sided questions and Cantelli for one-sided ones.

Related Terms