Why it matters

Analyzing randomized algorithms requires expected value. Understanding enables rigorous analysis.

Advertisement

The architecture

E[X] = sum of x × P(X = x).

Linearity: E[X + Y] = E[X] + E[Y]. Even for dependent variables.

Probability toolsExpected valueE[X]LinearityE[X+Y]=E[X]+E[Y]ConcentrationChernoff boundsLinearity often simplifies complex-looking probabilities dramatically
Analysis tools.
Advertisement

How it works end to end

Indicator variables: 1 if event happens, 0 else. Sum + linearity gives count.

Chernoff / Hoeffding: concentration bounds. Deviation from expectation with high probability.