Concentration Inequalities
348 words
2 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
# Concentration Inequalities ## ๐ฏ Learning Objectives - State Markov's, Chebyshev's, and Chernoff's inequalities - Apply concentration bounds to analyze randomized algorithms - Derive tail bounds for sums of independent random variables - Understand the trade-off between tail decay and moment assumptions * * * ## 1...

Concentration Inequalities
๐ฏ Learning Objectives
- State Markov's, Chebyshev's, and Chernoff's inequalities
- Apply concentration bounds to analyze randomized algorithms
- Derive tail bounds for sums of independent random variables
- Understand the trade-off between tail decay and moment assumptions
1.1 Intuition: How Fast Does a Random Variable Concentrate?
Concentration inequalities quantify how quickly a random variable approaches its mean. They're the foundation of randomized algorithm analysis and statistical learning theory.
๐ Key Insight: Under weak assumptions (finite variance โ Chebyshev; boundedness โ Hoeffding; subgaussian โ Chernoff), sums of independent random variables concentrate exponentially fast around their mean.
1.2 Key Inequalities
Markov's Inequality
Pr(Xโฅt)โคtE[X]โforย Xโฅ0Example: If average income is 50k,atmost1/4ofpeopleearn\geq 200k$.
Chebyshev's Inequality
Pr(โฃXโE[X]โฃโฅt)โคt2Var(X)โExample: For Xห from n i.i.d. samples: Pr(โฃXหโฮผโฃโฅฯต)โคnฯต2ฯ2โ
Chernoff Bound (Multiplicative)
For X=โXiโ where Xiโโ[0,1] independent:
Hoeffding's Inequality
For Xiโโ[aiโ,biโ] independent:
1.3 Comparison
| Bound | Assumptions | Decay | Use Case |
|---|---|---|---|
| Markov | Xโฅ0 | 1/t | Generic |
| Chebyshev | Finite variance | 1/t2 | Generic with variance |
| Chernoff | Independent, bounded | exp(โcฮผฮด2) | Sums of bounded variables |
| Hoeffding | Independent, bounded | exp(โ2nt2/(bโa)2) | Sample means |
โ Practice Questions
Q1: Use Chebyshev to bound Pr(โฃXหโฮผโฃโฅฯต) for n i.i.d. samples with variance ฯ2.
SolutionVar(Xห)=ฯ2/n. By Chebyshev: Pr(โฃXหโฮผโฃโฅฯต)โคnฯต2ฯ2โ. Q2: Compare Hoeffding and Chebyshev bounds. Which is tighter for bounded variables? SolutionHoeffding decays as exp(โcnฯต2), exponentially faster than Chebyshev's 1/(nฯต2). For bounded variables, Hoeffding is exponentially tighter. Q3: How many samples n needed to estimate a mean within ยฑ0.01 with 95% confidence for bounded [0,1] variables? SolutionHoeffding: 2exp(โ2n(0.01)2)โค0.05. So exp(โ0.0002n)โค0.025, โ0.0002nโคln(0.025), nโฅln(40)/0.0002โ18449. Join Discord NextRandomized SVD