Building Recurrences
Count by splitting on the final move: a tiling ending in a square leaves ways, one ending in a domino leaves , so .
In plain terms. Ask "what could the last piece be?" Each choice reduces to a smaller version of the same problem, giving a recurrence.
Example. Ways to tile a strip with squares and dominoes: — the Fibonacci numbers.
.
In plain terms. Expanding a power of a sum spreads it into terms weighted by "choose" numbers; plugging in clever evaluates tricky sums.
Example. Set : . Set : the alternating sum is .
Expected Value
The expected value of a sum equals the sum of expected values, even when the parts depend on each other.
In plain terms. To find an average total, add up the average of each little piece — you never need the pieces to be independent.
Example. Expected number of heads in flips: each flip contributes , so the total is .