LightMySky

Concentration Bounds and a High-Probability Guarantee

An expectation says nothing about how often the answer lands far from it. Markov, Chebyshev and the Chernoff bound each buy a sharper statement for a stronger assumption, and they are what turn an average-case claim into one that holds on nearly every run.

No account needed. Progress saves in this browser.

What a learner can do afterwards

  • Apply Markov, Chebyshev and a Chernoff bound to the same quantity and compare what each yields
  • Say what independence buys in the Chernoff bound and what happens without it
  • Turn an expected-time result into a high-probability one and state the failure probability

1 · Read

An expectation averages over all runs, so it says nothing about your run. Concentration bounds cap the chance of landing far from average. Each bound charges a stronger assumption for a tighter cap, and your job is to pick the strongest one your setup allows.

Markov needs only nonnegativity: the chance of reaching k times the average is at most 1/k. Chebyshev adds variance: the chance of missing the mean by k standard deviations is at most 1/k squared. Chernoff needs independent trials and pays exponential tails: big deviations get doubly unlikely as trials grow.

Independence is the price of Chernoff. With independent trials, large strays fade exponentially fast. Without independence the bound does not apply at all, so fall back to Chebyshev when you know variance, or to Markov when you know only the mean.

Good to know

To turn fast on average into fast on nearly every run, name the deviation you fear and plug it into the strongest valid bound. With Markov and k = 4, at most 1/4 of runs stray that far, so at least 3/4 stay close. Report that failure probability alongside the average.

Stronger assumptions buy tighter tails; quote the failure probability, not just the mean.

2 · Watch

Take it off screen

Print a worksheetA4 with an answer key page for grown-ups. No screen, no internet.

Where it sits

Then practise

8 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.

Spotted a problem on this page? Tell us
Concentration Bounds and a High-Probability Guarantee · Computing, ages 22 to 23 · LightMySky