Markov and Chebyshev Inequalities
How likely is a nonnegative random variable to be far above its own average? Suppose a factory's daily output has mean 100 units. Without knowing anything else about the distribution, can we say anything about the chance of producing more than 500 units on a given day? Remarkably, yes. The bound requires no knowledge of the shape of the distribution at all, only its mean. This is the power of tail inequalities: they trade precision for universality. They give guarantees that hold for every distribution satisfying a mild moment condition. This article develops the two most fundamental tail bounds in probability. Markov's inequality bounds the tail of a nonnegative random variable using only its mean. Chebyshev's inequality sharpens this by using the variance to control deviations from the mean in both directions. These inequalities are typically weak for any single well-understood distribution. Their strength lies elsewhere: they apply universally, need only first or second moments. Crucially, they become the engine behind the proof of the Weak Law of Large Numbers, one of the cornerstones of probability theory. The big picture is this: precise distributional knowledge (exact densities, moment generating functions, and so on) is often unavailable or unnecessary. Markov and Chebyshev let us convert coarse information — an expectation, a variance — into quantitative control over tail probabilities. This is the first step in a hierarchy of increasingly refined tail bounds. These include Chernoff bounds, sub-Gaussian concentration, and martingale inequalities. Such tools pervade modern probability, statistics, and theoretical computer science. This article states and proves both inequalities with full rigor. It builds geometric intuition with figures and works through two asymmetric numerical examples. It shows via explicit counterexamples why each hypothesis (nonnegativity, finite variance) cannot be dropped. It closes by connecting these humble inequalities to their historical origins. It also traces their vast modern footprint, from randomized algorithms to statistical estimation.
- Markov's inequality bounds for nonnegative using only , for any .
- Chebyshev's inequality bounds using the variance .
- Chebyshev is derived from Markov by applying it to the nonnegative variable .
- Both bounds are distribution-free: they use only moments, not the full law of .
- The bounds can be very loose for specific distributions but are tight in the worst case over all distributions with the given moments.
- Key idea: turning a mean or variance into a guaranteed cap on tail probability, with no further assumptions on the distribution.
Where this lives today
Markov's and Chebyshev's inequalities are foundational throughout probability, statistics, and computer science precisely because they require so little. In statistics, Chebyshev's inequality underlies elementary proofs of the consistency of the sample mean as an estimator, connecting directly to the Weak Law of Large Numbers: as sample size grows, the variance of the sample mean shrinks like , and Chebyshev shows the sample mean converges in probability to the true mean. In randomized algorithms and theoretical computer science, Markov and Chebyshev bounds (and their refinements, the Chernoff–Hoeffding bounds) are used to certify that randomized procedures succeed with high probability, for instance in analyzing hashing schemes, streaming algorithms, and load-balancing. In statistical mechanics and information theory, moment-based tail bounds justify concentration-of-measure phenomena central to the behavior of large systems of particles or symbols. In quality control and risk management, Chebyshev-type bounds provide distribution-free guarantees on the probability of extreme deviations when only a mean and variance can be reliably estimated from data. More broadly, these two inequalities are the entry point into the modern theory of Concentration Inequalities, where higher moments or moment generating functions yield exponentially sharper tail control at the cost of stronger assumptions.
:::quiz[If has , what is the tightest bound Markov's inequality gives for ?]
- 0.5
- 0.4 ✓
- 2.5
- 0.04
:::faq[Why does Markov's inequality require only but Chebyshev's requires both mean and variance?] Chebyshev's inequality is not a new, independent result — it is Markov's inequality applied to the transformed variable . Since that transformed variable's expectation is by definition the variance of , the variance enters only because it is literally , the mean of the squared-deviation variable. In other words, Chebyshev needs "the mean of a certain nonnegative variable," and that mean happens to be named the variance when the nonnegative variable is a squared deviation. Any inequality of Markov type on a transformed nonnegative variable will require the mean of that transform to exist and be finite.
Ask the tutor: How does Chebyshev's inequality combine with independence to prove the Weak Law of Large Numbers step by step?
Let be a probability space.
Markov's inequality. Let be a random variable with almost surely, and suppose exists (possibly ). Then for every ,
Chebyshev's inequality. Let be a random variable with finite mean and finite variance . Then for every ,
Equivalently, writing for ,
Intuition
Markov's inequality formalizes a simple accounting fact: if a nonnegative quantity has small average, it cannot too often be very large, because large values would inflate the average beyond what is observed. Concretely, if takes the value or more on a set of probability , then even ignoring all other values,
since the contribution from alone is at least , and the rest of contributes a nonnegative amount. Rearranging gives Markov's inequality directly. This is the entire idea; the proof below simply makes it precise using indicator functions. Chebyshev's inequality is Markov's inequality one level removed: instead of bounding how often itself is large, we bound how often the squared deviation is large, which controls how often strays from in either direction. Since is nonnegative, Markov applies immediately once we recognize that
Intuition (continued): the geometric meaning of Chebyshev
Chebyshev's inequality says the probability mass sitting more than away from the mean is squeezed by : as grows relative to , the allowed tail mass shrinks quadratically. Setting shows the bound depends only on the number of standard deviations , matching the informal "how many sigmas away" language used throughout statistics.
Let be a random variable on with almost surely and . Then for every real number ,
Technique: comparison via indicator functions and monotonicity of expectation. Fix . Define the indicator random variable
Step 1 (pointwise inequality). We claim that for every ,
There are two cases. If , the left side equals and the right side is , so the inequality holds. If , the left side equals , and the right side by hypothesis (since almost surely); hence holds. In both cases the pointwise inequality is valid (on the almost-sure set where ).
Step 2 (monotonicity of expectation). Expectation is monotone: if almost surely and both expectations exist, then . This follows directly from linearity and nonnegativity of expectation applied to , since for any nonnegative random variable (a basic property of the Lebesgue integral defining expectation). Applying this to Step 1,
Step 3 (evaluate the left side). By linearity of expectation and the defining property of indicators, , since the expectation of an indicator of an event equals the probability of that event.
Step 4 (conclude). Combining Steps 2 and 3,
Since , dividing both sides by yields
This holds for every , completing the proof.
∎Let have finite mean and finite variance . Then for every ,
Technique: reduction to Markov's inequality via a nonnegative transform. Define . Since a square is always nonnegative, almost surely, and by hypothesis . Thus satisfies the hypotheses of Markov's Inequality (nonnegativity and finite mean).
Step 1 (rewrite the event). For any , the event is exactly the event , because for real numbers, (both sides of this equivalence require ; squaring is strictly increasing on so it preserves the ordering ). Hence
Step 2 (apply Markov to with threshold ). By Markov's Inequality applied to at level ,
Step 3 (combine). Chaining Steps 1 and 2,
This holds for every . The proof is non-circular: it invokes only Markov's inequality, proved above from first principles (monotonicity and linearity of expectation), and does not presuppose any law-of-large-numbers or concentration result.
∎Worked examples
Example 1 (Markov, asymmetric numbers — factory output). A factory's daily output (in units) is a nonnegative random variable with . Management wants a guaranteed upper bound on the probability that output exceeds units on a given day, without assuming any particular distribution for (perhaps the historical data is too sparse to fit a model reliably). By Markov's inequality with :
So management can be certain — regardless of the true distribution of , as long as and — that on at most about of days will output reach or exceed units. Note this required no variance, no shape assumption, and no independence assumption; it used only the mean and nonnegativity. This is both the strength (universality) and the weakness (looseness) of the bound: if is known to be, say, exactly Normal with mean and small standard deviation, the true probability could be astronomically smaller than .
Example 2 (Chebyshev, asymmetric numbers — exam scores). Suppose exam scores across a large population have mean and variance (so ). We want a guaranteed bound on the probability that a randomly selected student's score deviates from the mean by points or more in either direction, i.e., . Apply Chebyshev's inequality with :
So at most about of students score below or above , regardless of the shape of the score distribution (it need not be Normal, need not be symmetric — only finite mean and variance are used). As a cross-check using the "number of standard deviations" form, gives , so
matching the direct computation (as it must, since both are the same inequality rewritten). This illustrates that Chebyshev's guarantee at "just over standard deviations" is far weaker than the familiar Normal-distribution heuristic (where such a deviation would have probability under ) — a reminder that Chebyshev is a worst-case, distribution-free bound, not a distributional approximation.
Markov's inequality requires almost surely. Without this hypothesis the conclusion can fail entirely. Let take the value with probability and the value with probability . Then
Take . Markov's conclusion, read naively, would assert
which is absurd: a probability cannot be negative. Indeed the true value is , and . The inequality's proof breaks down precisely at Step 1: the pointwise bound used in the case ; here can be very negative, so the pointwise inequality fails, and the whole chain collapses. This shows nonnegativity is not a technical nicety but load-bearing: it is exactly what makes "small mean rarely large" a valid inference. (One can repair the statement for general by applying Markov to instead, giving — but this is a different, weaker statement about , not about itself.)
Scope, edge cases & common traps
| Situation | What happens |
|---|---|
| but | Markov's bound is trivially anything; still true but vacuous. |
| in Markov | Statement is not used this way; can be while bound is meaningless or undefined since inequality was derived for . |
| almost surely; Chebyshev gives for every , forcing equality with the true value — the bound is tight. | |
| (few "sigmas") | Bound , so the inequality is true but vacuous (probabilities are always ). |
| Distribution symmetric & bounded, e.g. each w.p. | Chebyshev is tight: exactly, showing the constant cannot be improved in general. |
| Applying Markov to a signed variable directly | Invalid — see counterexample above; must apply to a nonnegative transform such as or . |
The mathematician behind it
Origins · 1 minAndrey Andreyevich Markov and how this was discovered
Markov was a Russian mathematician trained under Pafnuty Chebyshev at St. Petersburg University, and he became one of the leading figures of the St. Petersburg school of probability. He is best remembered today for Markov chains, sequences of dependent random variables satisfying the memoryless property, which he introduced partly to demonstrate that the law of large numbers could hold even without independence. The inequality bearing his name appears as an elementary tool within his broader development of moment-based probabilistic reasoning, building on and generalizing bounds his teacher Chebyshev had used.
Why is Markov's inequality often called "weak" or "loose"?
Markov's inequality uses only the mean of a nonnegative random variable, discarding all other distributional information (variance, shape, tail decay). For distributions with light tails — such as the Normal or exponential with small parameters — the true tail probability can be many orders of magnitude smaller than Markov's bound. The inequality is tight only for a very particular two-point distribution (mass at and at ), which is rarely the distribution encountered in practice. Its value lies not in numerical sharpness for known distributions, but in its complete universality: it holds for every nonnegative random variable with a finite mean, no matter how little else is known about it, which makes it indispensable as a building block for further results.
Does Chebyshev's inequality assume the distribution is symmetric or bell-shaped?
No. Chebyshev's inequality makes no assumption about symmetry, unimodality, or any particular shape; it only requires a finite mean and finite variance. This is precisely its power and its cost: it applies to any distribution with two finite moments, including highly skewed or multimodal ones, but as a result cannot exploit shape information the way Normal-based rules (like the empirical 68–95–99.7 rule) do. For a Normal distribution specifically, the true tail probability at two standard deviations is about , far below Chebyshev's guaranteed bound of — the gap is the price paid for distribution-free validity.
Can Chebyshev's inequality ever be an equality, or is it always strict?
It can be an exact equality for specific distributions. If takes the values and each with probability , then , and , which equals exactly. This shows the constant in Chebyshev's inequality cannot be improved without further assumptions: there exist distributions making the bound tight, so no universal distribution-free bound with a smaller constant could be correct.
How do Markov and Chebyshev relate to the Weak Law of Large Numbers?
The Weak Law of Large Numbers states that the sample mean of i.i.d. random variables converges in probability to the true mean as sample size grows. The standard elementary proof (assuming finite variance) applies Chebyshev's inequality to the sample mean , whose variance is by properties of Variance of Sums of Random Variables under independence. This gives as , which is exactly the statement of convergence in probability. Chebyshev's inequality is thus the direct mechanism, not just a conceptual analogy, behind this foundational limit theorem.
Is there a one-sided version of Chebyshev's inequality that gives a tighter bound in a single direction?
Yes — this is known as the Cantelli inequality (one-sided Chebyshev), which states that for a random variable with mean and variance , and any ,
This bound is always at least as sharp as applying two-sided Chebyshev and halving, and is proved by a similar Markov-style argument applied to for an optimally chosen shift . It illustrates that the basic Markov–Chebyshev technique is flexible and admits refinements beyond the article's core two results.
Do these inequalities require independence of any random variables?
No. Both Markov's and Chebyshev's inequalities, as stated here, are single-variable statements requiring no independence assumption whatsoever; they hold for any single random variable satisfying the stated moment conditions. Independence becomes relevant only when these inequalities are applied to sums or averages of several random variables (as in the Weak Law of Large Numbers), where independence is used separately, via Variance of Sums of Random Variables, to compute the variance of the sum before Chebyshev is invoked.