Discrete math · Discrete probability
The average value of a random quantity can be found by adding up simple pieces, even when the pieces are not independent.