Mathwords logoMathwords

Markov's Inequality — Definition, Formula & Example

Markov's inequality is a rule that limits how likely a quantity that is never negative is to be much larger than its average. It needs only the mean. You do not need the shape of the distribution.

Let XX be a random variable with P(X≥0)=1P(X \ge 0) = 1 and finite expected value E[X]E[X]. Then for every constant a>0a > 0, P(X≥a)≤E[X]aP(X \ge a) \le \dfrac{E[X]}{a}. Equivalently, a P(X≥a)≤E[X]a\,P(X \ge a) \le E[X]. This follows from the pointwise inequality X≥a⋅1{X≥a}X \ge a \cdot \mathbf{1}_{\{X \ge a\}}. The bound is attained exactly when XX takes only the values 00 and aa.

Key Formula

P(X≥a)≤E[X]a,X≥0,  a>0P(X \ge a) \le \frac{E[X]}{a}, \qquad X \ge 0,\; a > 0
Where:
  • XX = A nonnegative random variable, such as a time, distance, or count
  • E[X]E[X] = The expected value (mean) of X, which must be finite
  • aa = Any positive threshold value
  • P(X≥a)P(X \ge a) = The probability that X is at least a

Worked Example

Problem: A pizza shop's delivery distances average 3 miles. Distances cannot be negative. Use Markov's inequality to bound the probability that a delivery is 12 miles or longer.
Step 1: Check the conditions. A distance XX is never negative, and the mean is known: E[X]=3E[X] = 3. The threshold is a=12a = 12, which is positive.
X≥0,E[X]=3,a=12X \ge 0, \quad E[X] = 3, \quad a = 12
Step 2: Substitute the mean and the threshold into the inequality.
P(X≥12)≤312=0.25P(X \ge 12) \le \frac{3}{12} = 0.25
Step 3: Compare with a specific model. Suppose the distances actually follow an exponential distribution with mean 3. The exact probability is then far below the bound. Markov's inequality is guaranteed to be true, but it is often loose.
P(X≥12)=e−12/3=e−4≈0.0183≤0.25P(X \ge 12) = e^{-12/3} = e^{-4} \approx 0.0183 \le 0.25
Answer: At most 25% of deliveries can be 12 miles or longer. This holds for every possible distribution of distances with a mean of 3 miles.

Why It Matters

Markov's inequality is the starting point for most tail bounds in probability courses. Chebyshev's inequality is Markov's inequality applied to the nonnegative quantity (X−μ)2(X-\mu)^2. That is why Chebyshev needs the variance and bounds deviations on both sides of the mean, while Markov needs only the mean and bounds the upper tail. In computer science, the same idea is used to show that a randomized algorithm rarely takes much longer than its expected running time.

Common Mistakes

Mistake: Applying the inequality to a variable that can be negative, such as a daily low temperature in degrees Fahrenheit.
Correction: The proof relies on X≥0X \ge 0. If XX can be negative, large positive values can be offset by negative ones, so the bound can fail. Shift the variable so it is nonnegative, or use Chebyshev's inequality instead. Also note that choosing a≤E[X]a \le E[X] gives a bound of at least 1, which tells you nothing.

Related Terms