Maths Olympiad Prep

Track / Stage 6 / 212 of 400 #1212 of 1964

Problem 1212

National olympiad, first round
Combinatorics Difficulty 6.4 Prove it

Let 0mn0 \leqslant m \leqslant n be integers. Prove that:

k=0m(mk)(nk)=(m+nm) \sum_{k=0}^{m}\binom{m}{k}\binom{n}{k}=\binom{m+n}{m}

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

First solution (by Yassine Hamdi) Consider a group of m\mathrm{m} girls and n\mathrm{n} boys and count in two ways the number of ways to choose a subgroup of nn people. On the one hand, this number is clearly (m+nn)\binom{m+n}{n}. On the other hand, choosing this subgroup amounts to first choosing the number kk of girls who will be in it (0km)(0 \leqslant k \leqslant m), then choosing the girls ((mk)\left(\binom{m}{k}\right. choices), then the boys ((nnk)\left(\binom{n}{n-k}\right. choices). Thus:

(m+nm)=k=0m(mk)(nnk)=k=0m(mk)(nk) \binom{m+n}{m}=\sum_{k=0}^{m}\binom{m}{k}\binom{n}{n-k}=\sum_{k=0}^{m}\binom{m}{k}\binom{n}{k}

where we used the fact that (nnk)=(nk)\binom{n}{n-k}=\binom{n}{k} for the second equality.

Second solution (by Hizir Nuhoglu) Consider a rectangle of length nn and width m\mathrm{m}: We are interested in the paths starting from the bottom left vertex (coordinates (0,0)(0,0)) and

| | | | | | | |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| | | | | | | |
| | | | | | | |

ending at the top right (coordinates (n,m)(\mathfrak{n}, \mathfrak{m})) by making only unit steps to the right or up. According to a TD exercise, their number is (m+nm)\binom{m+n}{m}. On the other hand, any of these paths crosses a point with coordinates (k,mk)(k, m-k) with 0km0 \leqslant k \leqslant m (points on the red diagonal in the figure). The number of paths from (0,0)(0,0) to (k,mk)(k, m-k) is (mk)\binom{m}{k}, and the number of paths from (k,mk)(k, m-k) to (n,m)(n, m) is (nnk)=(nk)\binom{n}{n-k}=\binom{n}{k}. Thus

(m+nm)=k=0m(mk)(nk) \binom{m+n}{m}=\sum_{k=0}^{m}\binom{m}{k}\binom{n}{k}

Third solution and generalization (by Nicolas Heutte) If we consider m+1m+1 numbers in a row a0,a1,,ama_{0}, a_{1}, \ldots, a_{m} and form a "descending" Pascal's triangle from this original row, the m+1m+1-th row will contain a single number which is

a0(m0)+a1(m1)++am(mm) a_{0}\binom{m}{0}+a_{1}\binom{m}{1}+\cdots+\cdots a_{m}\binom{m}{m}

We perform this operation starting from the m+1m+1 first numbers of the n-th row of Pascal's triangle, which are (n0),(n1),,(nm)\binom{n}{0},\binom{n}{1}, \ldots,\binom{n}{m}. We obtain that the number on the n+m1n+m-1-th row in the mm-th place is

k=0m(mk)(nk) \sum_{k=0}^{m}\binom{m}{k}\binom{n}{k}

By construction of Pascal's triangle, this number is also (m+nm)\binom{m+n}{m}, which concludes.

It is possible to generalize this formula: let u0u \geqslant 0 be an integer such that unm+2u \leqslant n-m+2. Then, by performing the previous reasoning, but starting from the m+1m+1 consecutive numbers from the u-th number of the n-th row of Pascal's triangle, we obtain:

k=0m(mk)(nk+u)=(m+nm+u) \sum_{k=0}^{m}\binom{m}{k}\binom{n}{k+u}=\binom{m+n}{m+u}

Fourth solution (by induction) We recall that (mn)=0\binom{m}{n}=0 if n>mn>m or if n<0n<0. We reason by induction on m+nm+n. More precisely, for an integer j0j \geqslant 0, let PjP_{j} be the property

!

FIGURE 1 - Interlude: the Sierpinski triangle

"For all integers m,n0m, n \geqslant 0 such that m+n=jm+n=j, we have:

k0(nk)(mk)=(m+nm) and k0(nk1)(mk)=(m+nm1) \sum_{k \geqslant 0}\binom{n}{k}\binom{m}{k}=\binom{m+n}{m} \quad \text { and } \quad \sum_{k \geqslant 0}\binom{n}{k-1}\binom{m}{k}=\binom{m+n}{m-1}^{\prime \prime}

Initialization: P0\mathrm{P}_{0} is true.

Hereditary: Suppose PjP_{j} is true and prove Pj+1P_{j+1}. Let m,n0m, n \geqslant 0 be integers such that m+n=j+1m+n=j+1. We write, using Pascal's relation many times:

k0(nk)(mk)=k0((n1k)+(n1k1))(mk)=k0(n1k)(mk)+k0(n1k1)(mk)=(m+n1m)+(m+n1m1)=(m+nm) \begin{aligned} \sum_{k \geqslant 0}\binom{n}{k}\binom{m}{k} & =\sum_{k \geqslant 0}\left(\binom{n-1}{k}+\binom{n-1}{k-1}\right)\binom{m}{k} \\ & =\sum_{k \geqslant 0}\binom{n-1}{k}\binom{m}{k}+\sum_{k \geqslant 0}\binom{n-1}{k-1}\binom{m}{k} \\ & =\binom{m+n-1}{m}+\binom{m+n-1}{m-1} \\ & =\binom{m+n}{m} \end{aligned}

where we used the induction hypothesis to write the penultimate equality (which is valid, as m+n1=j)m+n-1=j).

Similarly, we have:

k0(nk1)(mk)=k0(nk1)((m1k)+(m1k1))=k0(nk1)(m1k)+k0(nk1)(m1k1)=(m+n1m2)+(m+n1m1)=(m+nm1) \begin{aligned} \sum_{k \geqslant 0}\binom{n}{k-1}\binom{m}{k} & =\sum_{k \geqslant 0}\binom{n}{k-1}\left(\binom{m-1}{k}+\binom{m-1}{k-1}\right) \\ & =\sum_{k \geqslant 0}\binom{n}{k-1}\binom{m-1}{k}+\sum_{k \geqslant 0}\binom{n}{k-1}\binom{m-1}{k-1} \\ & =\binom{m+n-1}{m-2}+\binom{m+n-1}{m-1} \\ & =\binom{m+n}{m-1} \end{aligned}

where we used the induction hypothesis to write the penultimate equality (which is valid, as m+n1=j)m+n-1=j)

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.