On this page
If you know only the average of something that can never be negative, how often can it be huge? Markov's inequality answers that with one line of algebra, and it leads straight to Chebyshev's inequality.
What is Markov's inequality?
Markov's inequality states that if X is a non-negative random variable and a > 0, then P(X ≥ a) ≤ E[X]/a (Wikipedia: Markov's inequality). In words: the chance that X reaches a is at most its average divided by a.
Put a = k·E[X] and it reads P(X ≥ k·E[X]) ≤ 1/k. So a non-negative quantity reaches twice its mean with probability at most 1/2, and ten times its mean with probability at most 1/10 (Wikipedia).
A quick picture: a mock test is marked so nobody can score below zero, and the class average is 60. Pick a student at random. Markov says the chance they scored 240 or more is at most 60/240 = 1/4. No spread or shape is needed, only the mean and the fact that marks are never negative.
The result is named after the Russian mathematician Andrey Markov (1856–1922), though it appeared earlier in the work of his teacher Pafnuty Chebyshev, which is why some analysis books call it Chebyshev's inequality (MacTutor biography of Markov; Wikipedia).
How do you prove Markov's inequality in one line?
Compare X with a simpler variable that equals a when X ≥ a and 0 otherwise. Write it as a·1{X ≥ a}.
If X < a, the simpler variable is 0, and X ≥ 0.
If X ≥ a, the simpler variable is a, and X ≥ a.
So a·1{X ≥ a} ≤ X in every outcome. Take expectations of both sides; the expectation of an indicator is a probability, so a·P(X ≥ a) ≤ E[X]. Divide by a and you are done. The diagram at the top of this post shows exactly this: for x ≥ 0 the line y = x never dips below the step.
When is Markov's inequality tight?
The proof throws something away in two places: it ignores the values of X below a, and it treats every value above a as if it were exactly a. Both losses vanish when X takes only the values 0 and a. Let X = a with probability p and 0 otherwise. Then E[X] = pa, and the bound E[X]/a = p equals P(X ≥ a) exactly. Markov's inequality holds with equality for distributions supported on {0, a} (Wikipedia).
That is why the bound is usually loose: it must hold for every non-negative distribution with that mean, this two-point one included.
How does Markov's inequality lead to Chebyshev?
Markov works for any non-negative variable, so feed it a clever one. Let μ = E[X] and Y = (X − μ)², which is never negative and has E[Y] = Var(X) = σ². For any b > 0:
P(|X − μ| ≥ b) = P(Y ≥ b²) ≤ E[Y]/b² = σ²/b²
That is Chebyshev's inequality, derived exactly this way on probabilitycourse.com. Put b = kσ and it says the chance of landing k or more standard deviations from the mean is at most 1/k².
So for any distribution with a finite variance, at least 75% of the probability lies within two standard deviations of the mean (Wikipedia: Chebyshev's inequality).
Which bound should you use? A worked example
This follows the binomial examples on probabilitycourse.com, with n = 100. Toss a fair coin 100 times and let X be the number of heads, so E[X] = 50 and Var(X) = 100 × 1/2 × 1/2 = 25. How likely are 75 or more heads?
Markov: P(X ≥ 75) ≤ 50/75 = 2/3.
Chebyshev: 75 heads means |X − 50| ≥ 25, so the chance is at most 25/25² = 1/25 = 0.04.
Knowing the variance moved the bound from two in three to one in twenty-five. The true chance is far smaller again; to see that you need the shape of the distribution, not just two numbers.
Match the tool to what you know:
Only the mean is known and X ≥ 0: use Markov.
The mean and the variance are known: use Chebyshev, which is usually much sharper far from the mean.
The whole distribution is known: compute the probability itself.
The bound comes out at 1 or more: it is true but useless, so a is too small.
If expectation and variance still feel shaky, the Fermi Concept Library covers every concept in mathematics, each with its own lesson and its place in the map. If you understand the idea but keep reaching for the wrong method, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer.


