Theorem 1.7

Let m,n and r be non-negative integers with r≤m,n. Then
(m+nr)=∑k=0r(mr−k)(nk)

Proof:

Suppose there are m items in one set and n (different) items in a second set
Then the total number of ways to pick r related elements from the union of these sets is (m+nr)
Another way to pick r elements from the union is to pick k elements from the first set and then r−k elements from the second set, where k is an integer with 0≤k≤r
This can be done in (mk)(nr−k) ways, using the product rule, and so the total is ∑k=0r(mk)(nr−k)
Therefore, (m+nr)=∑k=0r(mr−k)(nk)