Markov and Chebyshev inequalities

The question
With mean 0 and variance 1, how much probability can you place at least 2 units from the mean?
Build a distribution, then test how close it comes to the limit.
- 1 SeeBuild a distribution with fixed moments.
- 2 TryCompare bounds with actual probabilities.
- 3 ProveTurn a mean into a tail bound.
- 4 ApplyUse the bounds in five problems.
Before you start · 3 quick checks on probability weights, means and squared deviations
Two ideas before you start
2 ideasA tail is an event
Probability bars at three values. Change the cutoff to see which values count.
Add the probabilities of the values that meet the cutoff. A bar on the cutoff counts when the sign is ≥.
Exact definition
For a random variable \(Y\), the upper-tail probability at a cutoff \(a\) is \(P(Y\ge a)\). For a discrete distribution it is the sum of the probability weights at values at least \(a\). A probability is between zero and one. The cutoff is a value of the variable, not a probability.
Distance has no direction
A point and its distance from a fixed mean. Squaring removes the sign of the deviation.
Values equally far below and above the mean make the same contribution per unit of probability to the variance.
Exact definition
Write \(\mu=E[X]\). When the second moment is finite, the variance is \(\sigma^2=E[(X-\mu)^2]\), and the standard deviation is \(\sigma=\sqrt{\sigma^2}\). A two-sided tail is the event \(|X-\mu|\ge t\), with \(t\gt0\). It includes large deviations in either direction. Review the weighted-average definitions in expectation and variance.
What information are we allowed to use?
The mean and variance here are properties of the probability distribution. They are assumed known exactly. A sample average or a sample variance is an estimate and cannot simply replace them in a guaranteed bound without another argument.
No normal shape, symmetry or independence is required for the theorems. Symmetry is used only to make the builder easy to control. The bounds also apply to continuous and mixed distributions. A density, when one exists, supplies probability by area; the builder instead uses point masses.
Make the tail as large as possible
- Move the outer distance b and choose the inner distance c.
- The page adjusts symmetric probability weights to keep mean 0 and variance 1.
- Maximize the probability at or beyond the dashed cutoffs, then press Check my distribution.
Moving tail mass farther out makes each unit of it contribute more to the variance. Holding the variance fixed then requires less mass there. Inner mass away from the mean also uses part of that same variance. The best arrangement spends the variance only where it is needed to count as a tail event.
The score compares your tail probability with the bound, not with a normal curve. A high score means your distribution nearly reaches the largest tail that the stated moments permit. It does not mean that this distribution is a good model for measured data.
How the weights stay valid
There is total probability \(q\) at the outer pair \(-b,b\), split equally, and total probability \(1-q\) at the inner pair \(-c,c\), also split equally. When \(c=0\), the two inner masses merge. The controls have \(0\le c\le1\) and \(b\gt1\), so
\[q=\frac{1-c^2}{b^2-c^2}\]lies between zero and one. Symmetry gives mean zero, and \(qb^2+(1-q)c^2=1\) gives variance one. Zero-height bars carry no probability. This is a family of valid distributions, not an unconstrained search over all possible shapes.
A mean-only bound and an exponential wait
Now compare two ways of using information about a waiting time. The exponential distribution gives a full survival function. Knowing only a mean leaves many possible distributions. Make a prediction before opening the comparison.
The exact exponential value uses its entire distribution. Markov uses nonnegativity and the mean alone. Chebyshev uses the mean and variance, but bounds a two-sided event. A one-sided event is contained in that event, so the same number is still a valid upper bound. It need not be the best one-sided bound.
Use what you found above
Choose a distance k in standard deviations. The readout caps the bound at one, because a probability cannot exceed one. Meet both goals; each new goal resets the distance.
Where the normal distribution fits
The normal-distribution lesson computes tail areas from a specified density. Those areas are probabilities within that model. Chebyshev instead covers every distribution with the stated moments, including the builder's point masses. A normal-tail calculation is therefore not a substitute for a guarantee based only on a mean and variance.
If a bound is larger than the actual probability, nothing has failed. The inequality promised an upper limit. It did not promise an accurate estimate. If a computed bound exceeds one before capping, it supplies no information beyond the probability axioms at that cutoff.
Pay for each tail outcome
Markov. Let \(Y\ge0\) almost surely, with finite mean \(m=E[Y]\), and let \(a\gt0\). Then
\[P(Y\ge a)\le \min(1,m/a).\]Chebyshev. Let \(X\) have finite mean \(\mu\) and finite variance \(\sigma^2\). For any \(t\gt0\),
\[P(|X-\mu|\ge t)\le\min(1,\sigma^2/t^2).\]When \(\sigma\gt0\), set \(t=k\sigma\), with \(k\gt0\), to get the bound \(\min(1,1/k^2)\). When \(\sigma=0\), use the absolute-distance version: \(X=\mu\) almost surely, so every positive-distance tail has probability zero.
Refresher: an indicator counts an event
The indicator \(I_A\) is one when event \(A\) happens and zero otherwise. Its expectation is \(E[I_A]=P(A)\), by the weighted-average definition. Also, if \(U\le V\) almost surely and both have finite expectations, then \(E[U]\le E[V]\): the expectation of the nonnegative difference \(V-U\) is nonnegative. “Almost surely” allows exceptions on an event of probability zero.
These facts need no independence. The indicator and the variable below are functions of the same outcome, so treating them as independent would generally be wrong.
In the first three lines use \(A=\{Y\ge a\}\). The last line applies that result to squared deviations. Each wrong option contains a claim that is false for every allowed cutoff \(a\gt0\) and distance \(t\gt0\).
Why the assumptions matter
Chebyshev avoids the sign problem by applying Markov to a square. The finite-variance assumption makes its expected value finite. If the variance is infinite, this argument gives no finite variance-based bound. A negative mean for a signed variable is not a small upper-tail guarantee.
Equality and boundary points
For Markov, equality in the uncapped bound requires \(Y=a\) on the tail and \(Y=0\) off it, apart from probability-zero exceptions. If, with positive probability, \(Y\) takes a value above \(a\) or a positive value below \(a\), the mean exceeds \(aP(Y\ge a)\), and the inequality is strict.
For Chebyshev with \(t\ge\sigma\gt0\), put equal masses at \(\mu-t\) and \(\mu+t\), totaling \(\sigma^2/t^2\), and place the rest at \(\mu\). This has the required mean and variance and attains the bound. The tail includes its boundary. With a strict sign, those boundary masses no longer count. Moving them just beyond the boundary while adjusting their weights approaches the same bound; for positive variance and \(t\ge\sigma\), it does not attain it.
Choose the event before the formula
Use what you found above. Report probabilities as decimals. Each answer box accepts an absolute error of 0.0001. Hints and worked solutions open with their buttons.
Further reading
- S. Ross, A First Course in Probability, chapter 8, “Limit Theorems.”