🏠
Guest Not signed in

Linearity of expectation: decompose, then sum

$E[X+Y] = E[X] + E[Y]$ holds even when $X$ and $Y$ are dependent. This one identity collapses 70% of expectation problems.

Method · Expectation Linearity
Intro

Linearity of expectation says $E[X + Y] = E[X] + E[Y]$ for any two random variables — independent or not, correlated or not. That’s the most-leveraged identity in interview probability, because it lets you trade a complicated joint distribution for a sum of trivial marginals. The recipe: decompose the quantity you want into a sum of simple pieces (often 0/1 indicators), compute each piece’s expectation in isolation, add. Independence is never checked because it’s never needed.

βœ“ Intro Β· expand
Independent · Legal