Maths Olympiad Prep

Library / /80 of 91

, 2009

Combinatorics Difficulty 7.5 National Olympiad, round 2 Prove it India

Let PP be a path on the vertex set V={1,2,,n}V = \{1, 2, \dots, n\}, where jj is joined to j+1j+1, 1jn11 \le j \le n-1. For each subset AVA \subset V and the induced subgraph G(A)G(A) of PP, define μ(A)=A+O(G(A))\mu(A) = |A| + O(G(A)), where O(G(A))O(G(A)) is the number of components of G(A)G(A), each with an odd number of vertices; μ()=0\mu(\emptyset) = 0.
Let
T(p,r)={AVA=p,μ(A)=2r}, T(p, r) = \{ A \subset V \mid |A| = p, \mu(A) = 2r \},
for rp2rr \le p \le 2r. Prove that
T(p,r)=(nrpr)(np+12rp). |T(p, r)| = \binom{n-r}{p-r} \binom{n-p+1}{2r-p}.
(Example: Let V={1,2,,9}V = \{1, 2, \dots, 9\} and A={{1,2},{4,5,6},{9}}A = \{\{1, 2\}, \{4, 5, 6\}, \{9\}\}. In this case μ(A)=6+2=8\mu(A) = 6+2=8.)

Solution

If p=r=0p = r = 0, we have A=A = \emptyset so that μ(A)=0\mu(A) = 0. In this case T(0,0)={}T(0,0) = \{\emptyset\} and T(0,0)=1|T(0,0)| = 1, which agrees with the formula.

Assume pr1p \ge r \ge 1. Add two two dummy vertices 00, n+1n+1 to PP such that 00 is joined to 11 and nn is joined to n+1n+1. Let
Π=(l1,m1,l2,m2,,lk,mk,lk+1) \Pi = (l_1, m_1, l_2, m_2, \dots, l_k, m_k, l_{k+1})
be an ordered (2k+1)(2k+1)-tuple of positive integers such that
l1+m1+l2+m2++lk+mk+lk+1=n+2.() l_1 + m_1 + l_2 + m_2 + \cdots + l_k + m_k + l_{k+1} = n + 2. \quad (*)
(Thus Π\Pi is an ordered partition of n+2n+2 into 2k+12k+1 parts.) We obtain a subset A=A(Π)A = A(\Pi) of VV from this as follows: starting from the left end of the sequence 0,1,2,,n+1\langle 0, 1, 2, \dots, n+1 \rangle, we omit the first l1l_1 numbers; choose the next m1m_1 numbers; omit the next l2l_2 numbers; choose the next m2m_2 numbers and so on alternately. Finally, we omit the last lk+1l_{k+1} numbers. (Observe, that l11l_1 \ge 1 and lk+11l_{k+1} \ge 1 implies that the dummy vertices 00 and n+1n+1 are not used at all.) The union of kk chosen sets of numbers consisting of m1,m2,,mkm_1, m_2, \dots, m_k elements respectively is defined as AA. We see that A{1,2,3,,n}A \subseteq \{1, 2, 3, \dots, n\}. Conversely, any A{1,2,3,,n}A \subseteq \{1, 2, 3, \dots, n\} gives rise to an ordered 2k+12k+1 tuple of positive integers in a unique way; since 0A0 \notin A and n+1An+1 \notin A, we have l11l_1 \ge 1 and lk+11l_{k+1} \ge 1. Since the ll's are positive, we see that G(A)G(A) has kk components of vertex sizes m1,m2,,mkm_1, m_2, \dots, m_k. If uu of these kk numbers, say, mi1,mi2,,mium_{i_1}, m_{i_2}, \dots, m_{i_u} are odd and the remaining vv numbers, say, mj1,mj2,,mjvm_{j_1}, m_{j_2}, \dots, m_{j_v} are even, 0u,vk0 \le u, v \le k, then u+v=ku+v=k, and O(G(A))=uO(G(A)) = u. Thus μ(A)=m1+m2++mk+u\mu(A) = m_1 + m_2 + \cdots + m_k + u. We count AA for which μ(A)=2r\mu(A) = 2r, 1rn1 \le r \le n. Let mi1,mi2,,mium_{i_1}, m_{i_2}, \dots, m_{i_u} be respectively equal to 2mi11,2mi21,,2miu12m'_{i_1} - 1, 2m'_{i_2} - 1, \dots, 2m'_{i_u} - 1 and mj1,mj2,,mjvm_{j_1}, m_{j_2}, \dots, m_{j_v} be equal to 2mj1,2mj2,,2mjv2m'_{j_1}, 2m'_{j_2}, \dots, 2m'_{j_v}. Then
μ(A)=2mi1+2mi2++2miu+2mj1+2mj2+2mjv=2r. \mu(A) = 2m'_{i_1} + 2m'_{i_2} + \cdots + 2m'_{i_u} + 2m'_{j_1} + 2m'_{j_2} + \cdots 2m'_{j_v} = 2r.
Thus we get
mi1+mi2++miu+mj1+mj2+mjv=r. m'_{i_1} + m'_{i_2} + \cdots + m'_{i_u} + m'_{j_1} + m'_{j_2} + \cdots m'_{j_v} = r.
The number of positive solutions of this is (r1k1)\binom{r-1}{k-1}. Also we have
l1+l2++lk+1=n+2(2ru)=n2r+u+2. l_1 + l_2 + \cdots + l_{k+1} = n + 2 - (2r - u) = n - 2r + u + 2.
The number of positive solutions to this is (n2r+u+1k)\binom{n-2r+u+1}{k}. Thus the number of positive solutions of ()(*) with μ(A)=2r\mu(A) = 2r is
k1(r1k1)(n2r+u+1k). \sum_{k \ge 1} \binom{r-1}{k-1} \binom{n-2r+u+1}{k}.
Since p+u=2rp+u=2r, we have
T(p,r)=k1(r1k1)(n2r+u+1k)(ku). |T(p, r)| = \sum_{k \ge 1} \binom{r-1}{k-1} \binom{n-2r+u+1}{k} \binom{k}{u}.
as any uu of the kk mm's may be chosen to be odd and the rest even, giving rise to the factor (ku)\binom{k}{u}. Using
(nk)(km)=(nm)(nmnk), \binom{n}{k} \binom{k}{m} = \binom{n}{m} \binom{n-m}{n-k},
we get
T(p,r)=(np+1u)k1(r1k1)(np+1unp+1k)=(np+1u)(npu+rnp)=(np+12rp)(nrnp)=(nrpr)(np+12rp); \begin{align*} |T(p, r)| &= \binom{n-p+1}{u} \sum_{k \ge 1} \binom{r-1}{k-1} \binom{n-p+1-u}{n-p+1-k} \\ &= \binom{n-p+1}{u} \binom{n-p-u+r}{n-p} \\ &= \binom{n-p+1}{2r-p} \binom{n-r}{n-p} \\ &= \binom{n-r}{p-r} \binom{n-p+1}{2r-p}; \end{align*}
where we have used Vander Monde identity.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.