Count it two ways

Prove an identity by counting the same collection in two different ways. Both answers must be equal, and no algebra is needed.

Level: STEP 2. Uses A-level Mathematics only.

The idea

Many identities with binomial coefficients can be proved by algebra, but the algebra is often long and unilluminating. There is a better way. Find a collection of objects that one side of the identity counts, then count the same collection in a different way so that you get the other side. Both counts are correct, so the two sides are equal.

Recall that (nk)\binom nk is the number of ways to choose kk people from nn.

Example 1: all subsets

Show that

∑k=0n(nk)=2n.\sum_{k=0}^{n}\binom nk=2^n .

Count the committees (of any size, including the empty one) that can be formed from nn people. Counting by size, there are (nk)\binom nk committees of size kk, giving the left-hand side. Counting person by person, each of the nn people is either in or out, giving 2n2^n.

Example 2: a committee with a chair

Show that

∑k=0nk(nk)=n 2n−1.\sum_{k=0}^{n}k\binom nk=n\,2^{n-1} .

Count the ways to choose a committee from nn people and then a chair from within the committee.

  • Choose the committee first: (nk)\binom nk committees of size kk, then kk choices of chair. Summing over kk gives the left-hand side.
  • Choose the chair first: nn ways. Then each of the other n−1n-1 people is in or out of the committee: 2n−12^{n-1} ways. This gives the right-hand side.

The factor kk in a sum is often a sign that something is being chosen from within the group.

Example 3: a sum of squares

Show that

∑k=0n(nk)2=(2nn).\sum_{k=0}^{n}\binom nk^2=\binom{2n}{n}.

A group of 2n2n people consists of nn adults and nn children. The right-hand side counts the ways of choosing nn of them. Now count by the number of adults chosen. If kk adults are chosen, there are (nk)\binom nk ways to choose them, and the other n−kn-k people chosen must be children, in

(nn−k)=(nk)\binom{n}{n-k}=\binom nk

ways. So there are (nk)2\binom nk^2 choices with exactly kk adults, and summing over kk gives the left-hand side.

When to reach for it

  • An identity involving binomial coefficients, especially sums of them.
  • A STEP question that says "by considering the number of ways of ..." It is telling you which collection to count.
  • Products such as (nk)(nn−k)\binom nk\binom{n}{n-k}: they count choices made from two separate groups.

Try this

By counting committees with a chair and a secretary (who may be the same person), show that, for n≥2n\ge2,

∑k=0nk2(nk)=n(n+1) 2n−2.\sum_{k=0}^{n}k^2\binom nk=n(n+1)\,2^{n-2}.
Hint

Committee first gives the left-hand side. For the other count, split into two cases: the chair and the secretary are the same person, or they are different people.

Solution

Choosing a committee of size kk and then a chair and a secretary from within it (with repetition allowed) can be done in (nk)⋅k⋅k\binom nk\cdot k\cdot k ways, and summing over kk gives the left-hand side.

Now choose the officers first.

  • If one person holds both roles, there are nn choices, and the remaining n−1n-1 people are each in or out: n 2n−1n\,2^{n-1} ways.
  • If the roles are held by different people, there are n(n−1)n(n-1) choices, and the remaining n−2n-2 people are each in or out: n(n−1) 2n−2n(n-1)\,2^{n-2} ways.

Adding,

n 2n−1+n(n−1) 2n−2=n 2n−2(2+(n−1))=n(n+1) 2n−2.\begin{aligned}n\,2^{n-1}+n(n-1)\,2^{n-2}&=n\,2^{n-2}\bigl(2+(n-1)\bigr)\\&=n(n+1)\,2^{n-2}.\end{aligned}

Want more like this? STEP 2 Probability and Statistics: Practice Paper 1 teaches ideas of this kind in depth, with exercises and a full STEP question. The STEP Starter Pack has all four modules and three practice papers. Or start free with the STEP sample question.