Maths Olympiad Prep

Track / Stage 6 / 267 of 400 #1267 of 1964

Problem 1267

National Olympiad, first round
Combinatorics Difficulty 6.4 Prove it

Let 0⩽m⩽n0 \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.

Next problem →

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 (0⩽k⩽m)(0 \leqslant k \leqslant m), then choosing the girls ((mk)\left(\binom{m}{k}\right. choices), then the boys ((nn−k)\left(\binom{n}{n-k}\right. choices). Thus:

(m+nm)=∑k=0m(mk)(nn−k)=∑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 (nn−k)=(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,m−k)(k, m-k) with 0⩽k⩽m0 \leqslant k \leqslant m (points on the red diagonal in the figure). The number of paths from (0,0)(0,0) to (k,m−k)(k, m-k) is (mk)\binom{m}{k}, and the number of paths from (k,m−k)(k, m-k) to (n,m)(n, m) is (nn−k)=(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+m−1n+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 u⩾0u \geqslant 0 be an integer such that u⩽n−m+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 j⩾0j \geqslant 0, let PjP_{j} be the property

!

FIGURE 1 - Interlude: the Sierpinski triangle

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

∑k⩾0(nk)(mk)=(m+nm) and ∑k⩾0(nk−1)(mk)=(m+nm−1)′′ \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,n⩾0m, n \geqslant 0 be integers such that m+n=j+1m+n=j+1. We write, using Pascal's relation many times:

∑k⩾0(nk)(mk)=∑k⩾0((n−1k)+(n−1k−1))(mk)=∑k⩾0(n−1k)(mk)+∑k⩾0(n−1k−1)(mk)=(m+n−1m)+(m+n−1m−1)=(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+n−1=j)m+n-1=j).

Similarly, we have:

∑k⩾0(nk−1)(mk)=∑k⩾0(nk−1)((m−1k)+(m−1k−1))=∑k⩾0(nk−1)(m−1k)+∑k⩾0(nk−1)(m−1k−1)=(m+n−1m−2)+(m+n−1m−1)=(m+nm−1) \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+n−1=j)m+n-1=j)

Source: NuminaMath-1.5, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.