We model an algorithm’s performance (e.g., runtime or quality) as a random variable X. The expected value E[X] is only a single summary statistic.
Markov’s Inequality
For any non-negative random variable X and any a > 0: \Pr(X \ge a) \le \frac{E[X]}{a}
For a discrete non-negative random variable X:
\begin{aligned} E[X] &= \sum_x x \cdot \Pr(X = x) \\ &\ge \sum_{x \ge a} x \cdot \Pr(X = x) \\ &\ge \sum_{x \ge a} a \cdot \Pr(X = x) \\ &= a \sum_{x \ge a} \Pr(X = x) \\ &= a \cdot \Pr(X \ge a) \end{aligned}
Dividing by a yields \Pr(X \ge a) \le \frac{E[X]}{a}.
Chebyshev’s Inequality
For any random variable X with mean \mu, variance \mathrm{Var}(X), and any t > 0: \Pr\big(|X - \mu| \ge t\big) \le \frac{\mathrm{Var}(X)}{t^2}
We apply Markov’s Inequality to the non-negative random variable Y = (X - \mu)^2 with threshold a = t^2:
\Pr\big(|X - \mu| \ge t\big) = \Pr\big((X - \mu)^2 \ge t^2\big)
By Markov’s Inequality:
\Pr\big(Y \ge t^2\big) \le \frac{E[Y]}{t^2} = \frac{E[(X - \mu)^2]}{t^2} = \frac{\mathrm{Var}(X)}{t^2}
This completes the proof.
Source: ICMR-NIN Reference Guidelines (2020) & NFHS-5 (2019-21) survey data.
To get exponential tail decay, apply Markov’s Inequality to the exponential function e^{\lambda X} for a tuning parameter \lambda > 0:
\Pr(X \ge t) = \Pr(e^{\lambda X} \ge e^{\lambda t}) \le \frac{E[e^{\lambda X}]}{e^{\lambda t}}
Chernoff Bounds (Multiplicative Form)
Let X = \sum_{i=1}^n X_i be a sum of independent Bernoulli trials with E[X] = \mu. For any 0 < \delta \le 1: \Pr\big(X \ge (1+\delta)\mu\big) \le \exp\left(-\frac{\delta^2 \mu}{3}\right) \Pr\big(X \le (1-\delta)\mu\big) \le \exp\left(-\frac{\delta^2 \mu}{2}\right)
| Goal | Best Bound | Input Requirements |
|---|---|---|
| Quick bound, know only mean | Markov | E[X] (RV must be \ge 0) |
| Bound deviation using variance | Chebyshev | \mathrm{Var}(X) |
| Sum of independent trials | Chernoff | Mutual Independence + Mean |
An estimator \hat{p} has E[\hat{p}] = 0.5 and \mathrm{Var}(\hat{p}) \le \frac{1}{4n}. Give the tightest bound on \Pr(\hat{p} \ge 0.75).
Applications of Tail Bounds & the Probabilistic Method — max load in balls-into-bins, random sampling sample-complexity, and existence proofs.
CS G526: Advanced Algorithms & ComplexityTulasimohan Molli