Week 3.4: Markov & Chebyshev Inequalities
693 words
3 min read
Visual companion
Python
Type and operator map
Python Week 1: the first filter for runtime behavior
View
Revision summary
What this note is really saying
Short form
# Week 3.4: Markov & Chebyshev Inequalities > **Prerequisites:** Expected Value ([Week 3.1: Expected Value](/notes/01-foundation-bsma1004-stats-2-week03-08-expectation)), Variance ([Week 3.2: Variance & Standard Deviation](/notes/01-foundation-bsma1004-stats-2-week03-09-variance)) > **Cross-links:** BSMA3012 (Linear...

Week 3.4: Markov & Chebyshev Inequalities
Prerequisites: Expected Value (Week 3.1: Expected Value), Variance (Week 3.2: Variance & Standard Deviation) Cross-links: BSMA3012 (Linear Stat Models) — concentration bounds Core question: What can we say about tail probabilities using only the mean (and variance)?
1. Intuition: Bounds Without Full Distribution
Often we don't know the full distribution of X, but we know its mean μ (and possibly variance σ2). Can we bound probabilities like P(X≥c) without knowing the whole PMF/PDF?
Yes! Two simple inequalities provide universal bounds:
- Markov: Uses only the mean (for non-negative RVs)
- Chebyshev: Uses mean and variance (for any RV) These are worst-case bounds — they hold for any distribution with the given moments. The actual probability is often much smaller.
2. Markov's Inequality
>P(X≥c)≤cμ.>Theorem (Markov's Inequality) Let X be a non-negative random variable (X≥0) with finite mean μ=E[X]. For any c>0:
Proof:
Example
If the average exam score is 50/100, what fraction of students scored ≥80?
So at most 62.5% could have scored 80 or above. (In reality, likely much less.)
3. Chebyshev's Inequality
>P(∣X−μ∣≥kσ)≤k21.>Theorem (Chebyshev's Inequality) Let X have mean μ and finite variance σ2. For any k>0:
Equivalent forms:
- P(∣X−μ∣≥c)≤c2σ2
- P(μ−kσ<X<μ+kσ)≥1−k21 Proof: Apply Markov to (X−μ)2:
Example
Light bulbs have mean life 800 hours, standard deviation 50 hours. Bound the probability a bulb lasts outside (700,900) hours.
c=100, k=c/σ=100/50=2.
So at least 75% of bulbs last between 700 and 900 hours.
4. Comparison: Actual vs Chebyshev
| Distribution | P(∥X−μ∥≥2σ) | Chebyshev bound | |:-------------|:---------------------------------:|:---------------:| | Normal | ≈0.045 | ≤0.25 | | Binomial(10, 0.5) | ≈0.021 | ≤0.25 | | Uniform | 0 (if range <4σ) | ≤0.25 |
Chebyshev is conservative — it bounds from above, often loosely.
5. Mermaid: Decision Flow
(Diagram)
6. Practice Questions
Q1 (Easy)
A factory produces items with average weight 100g. Give an upper bound on the probability that an item weighs ≥500g.
Full SolutionMarkov (weight is non-negative): P(X≥500)≤500100=0.2. So at most 20% can weigh ≥500g.
Q2 (Medium)
X has mean 5 and variance 4. Bound P(∣X−5∣≥4).
Full Solutionσ=2, k=4/2=2. Chebyshev: P(∣X−5∣≥4)≤1/22=0.25.
Q3 (Hard)
Suppose E[X]=10 and P(X≥20)≤0.1. What is the smallest possible E[X]? Use Markov.
Full SolutionWait — this is the reverse problem. Markov says P(X≥20)≤μ/20.Given P(X≥20)≤0.1, we have μ/20≤0.1⟹μ≤2.But μ=10 is given, so P(X≥20)≤10/20=0.5. The bound 0.1 is tighter than Markov allows — this would require μ≤2, contradicting μ=10. So the situation is impossible if Markov holds with μ=10.
Next topic: Week 4.1: Continuous Random Variables & PDFs — Continuous random variables and probability density functions. Join Discord PreviousWeek 3.3: Covariance & CorrelationNextWeek 4.1: Continuous Random Variables & PDFs