Skip to main content
KetQat

Appearance

Proof · intermediate

Proof of Hoeffding's inequality

Bound the moment generating function of each centred bounded variable by exp(s^2 (b-a)^2 / 8) using convexity and a second-order Taylor bound (Hoeffding's lemma), multiply over independent terms, apply Markov's inequality to exp(sS) and optimise s.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Hoeffding's lemma. If EY=0\mathbb{E}Y = 0 and a≤Y≤ba \le Y \le b, then E esY≤es2(b−a)2/8\mathbb{E}\, e^{sY} \le e^{s^2 (b - a)^2 / 8} for all s∈Rs \in \R.

If a=ba = b then Y=0Y = 0 and there is nothing to prove, so let a<ba < b; then a≤0≤ba \le 0 \le b because EY=0\mathbb{E}Y = 0. By convexity of y↦esyy \mapsto e^{sy}, for y∈[a,b]y \in [a, b],

esy≤b−yb−a esa+y−ab−a esb.e^{sy} \le \frac{b - y}{b - a}\, e^{sa} + \frac{y - a}{b - a}\, e^{sb} .

Taking expectations and using EY=0\mathbb{E}Y = 0, E esY≤bb−aesa−ab−aesb\mathbb{E}\, e^{sY} \le \frac{b}{b - a} e^{sa} - \frac{a}{b - a} e^{sb}. Put θ=−a/(b−a)∈[0,1]\theta = -a/(b - a) \in [0, 1] and h=s(b−a)h = s(b - a); then sa=−θhsa = -\theta h and the right side equals eL(h)e^{L(h)} with

L(h)=−θh+ln⁡(1−θ+θeh).L(h) = -\theta h + \ln\big(1 - \theta + \theta e^{h}\big) .

Now L(0)=0L(0) = 0, L′(h)=−θ+θeh1−θ+θehL'(h) = -\theta + \frac{\theta e^h}{1 - \theta + \theta e^h} so L′(0)=0L'(0) = 0, and L′′(h)=u(1−u)L''(h) = u(1 - u) with u=θeh1−θ+θeh∈[0,1]u = \frac{\theta e^h}{1 - \theta + \theta e^h} \in [0, 1], so L′′(h)≤1/4L''(h) \le 1/4. By Taylor's theorem with remainder, L(h)≤h2/8=s2(b−a)2/8L(h) \le h^2/8 = s^2 (b - a)^2 / 8.

The inequality. Let Yi=Xi−EXiY_i = X_i - \mathbb{E}X_i, which is centred and takes values in an interval of length bi−aib_i - a_i. For s>0s > 0, by Markov's inequality applied to es(S−ES)e^{s(S - \mathbb{E}S)} and independence,

Pr⁡[S−ES≥t]≤e−st E es∑iYi=e−st∏iE esYi≤exp⁡ ⁣(−st+s28∑i(bi−ai)2).\Pr[S - \mathbb{E}S \ge t] \le e^{-st}\, \mathbb{E}\, e^{s \sum_i Y_i} = e^{-st} \prod_{i} \mathbb{E}\, e^{s Y_i} \le \exp\!\Big( -st + \frac{s^2}{8} \sum_i (b_i - a_i)^2 \Big).

The exponent is minimised at s=4t/∑i(bi−ai)2s = 4t / \sum_i (b_i - a_i)^2, where it equals −2t2/∑i(bi−ai)2-2t^2 / \sum_i (b_i - a_i)^2. The lower tail follows by applying this to −Xi-X_i, and the two-sided bound by the union bound. This is the argument of Hoeffding.

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Wassily Hoeffding (1963). Probability Inequalities for Sums of Bounded Random Variables. Journal of the American Statistical Association 58, 13-30. doi:10.1080/01621459.1963.10500830

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Proof checked line by line against theorem/hoeffding-inequality: Hoeffding's lemma via the convexity chord bound, the function L(h) with L(0) = L'(0) = 0 and L'' = u(1-u) <= 1/4, Taylor bound h^2/8; Chernoff step with independence; optimisation at s = 4t/sum(b_i - a_i)^2 giving -2t^2/sum(b_i - a_i)^2; lower tail and union bound. This is the standard argument of Hoeffding (1963), J. Amer. Statist. Assoc. 58, 13 (metadata via Crossref).

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision f0aa4d4e81cf334e. Source file knowledge/records/proof/hoeffding-inequality.md in the content repository (readable there once it is public).