Maths Olympiad Prep

Track / Stage 6 / 250 of 400 #1730 of 2444

Problem 1730

National Olympiad, first round
Algebra Difficulty 6.4 Prove it HMMT February · United States

Let SS be a randomly chosen 6-element subset of the set {0,1,2,,n}\{0,1,2, \ldots, n\}. Consider the polynomial P(x)=iSxiP(x) = \sum_{i \in S} x^{i}. Let XnX_{n} be the probability that P(x)P(x) is divisible by some nonconstant polynomial Q(x)Q(x) of degree at most 3 with integer coefficients satisfying Q(0)0Q(0) \neq 0. Find the limit of XnX_{n} as nn goes to infinity.

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

Solution:
We begin with the following claims:

Claim 1: There are finitely many Q(x)Q(x) that divide some P(x)P(x) of the given form.

Proof: First of all the leading coefficient of QQ must be 1, because if QQ divides PP then P/QP / Q must have integer coefficients too. Note that if S={s1,s2,s3,s4,s5,s6}S=\{s_{1}, s_{2}, s_{3}, s_{4}, s_{5}, s_{6}\} with elements in increasing order, then
P(x)xs6xs5xs4xs1=xs6xs5xs4xs1. |P(x)| \geq |x^{s_{6}}| - |x^{s_{5}}| - |x^{s_{4}}| - \cdots - |x^{s_{1}}| = |x|^{s_{6}} - |x|^{s_{5}} - |x|^{s_{4}} - \cdots - |x|^{s_{1}}.
So all the roots of PP must have magnitude less than 2, and so do all the roots of QQ. Therefore, all the symmetric expressions involving the roots of QQ are also bounded, so by Vieta's Theorem all the coefficients of QQ of a given degree are bounded, and the number of such QQ is therefore finite.

Claim 2: If QQ has a nonzero root that does not have magnitude 1, then the probability that it divides a randomly chosen PP vanishes as nn goes to infinity.

Proof: WLOG suppose that QQ has a root rr with r>1|r| > 1 (similar argument will apply for r<1|r| < 1). Then from the bound given in the proof of Claim 1, it is not difficult to see that s6s5s_{6} - s_{5} is bounded since
P(r)>rs65rs5>rs6s55 |P(r)| > |r|^{s_{6}} - 5|r|^{s_{5}} > |r|^{s_{6} - s_{5}} - 5
which approaches infinity as s6s5s_{6} - s_{5} goes to infinity. By similar argument we can show that s5s4,s4s3,s_{5} - s_{4}, s_{4} - s_{3}, \ldots are all bounded. Therefore, the probability of choosing the correct coefficients is bounded above by the product of five fixed numbers divided by n5/5!n^{5} / 5!, which vanishes as nn goes to infinity.

From the claims above, we see that we only need to consider polynomials with roots of magnitude 1, since the sum of all other possibilities vanishes as nn goes to infinity. Moreover, this implies that we only need to consider roots of unity. Since QQ has degree at most 3, the only possible roots are 1,±i,1±i32,1±i32-1, \pm i, \frac{-1 \pm i \sqrt{3}}{2}, \frac{1 \pm i \sqrt{3}}{2}, corresponding to x+1,x2+1,x2+x+1,x2x+1x+1, x^{2}+1, x^{2}+x+1, x^{2}-x+1 (note that eighth root of unity is impossible because x4+1x^{4}+1 cannot be factored in the rationals).

Now we compute the probability of P(r)=0P(r)=0 for each possible root rr. Since the value of xsx^{s} cycles with ss, and we only care about nn \rightarrow \infty, we may even assume that the exponents are chosen independently at random, with repetition allowed.

Case 1: When r=1r=-1, the number of odd exponents need to be equal to the number of even exponents, which happens with probability (63)26=516\frac{\binom{6}{3}}{2^{6}} = \frac{5}{16}.

Case 2: When r=±ir= \pm i, the number of exponents that are 0 modulo 4 need to be equal to those that are 2 modulo 4, and same for 1 modulo 4 and 3 modulo 4, which happens with probability (60)26(00)(63)26+(62)26(21)(42)26+(64)26(42)(21)26+(66)26(63)(00)26=25256\frac{\binom{6}{0}}{2^{6}} \cdot \frac{\binom{0}{0}\binom{6}{3}}{2^{6}} + \frac{\binom{6}{2}}{2^{6}} \cdot \frac{\binom{2}{1}\binom{4}{2}}{2^{6}} + \frac{\binom{6}{4}}{2^{6}} \cdot \frac{\binom{4}{2}\binom{2}{1}}{2^{6}} + \frac{\binom{6}{6}}{2^{6}} \cdot \frac{\binom{6}{3}\binom{0}{0}}{2^{6}} = \frac{25}{256}.
Note that Case 1 and Case 2 have no overlaps, since the former requires 3 even exponents, and the latter requires 0, 2, 4, or 6 even exponents.

Case 3: When r=1±i32r=\frac{-1 \pm i \sqrt{3}}{2}, the number of exponents that are 0,1,20,1,2 modulo 3 need to be equal to each other, so the probability is (62,2,2)36=1081\frac{\binom{6}{2,2,2}}{3^{6}} = \frac{10}{81}.

Case 4: When r=1±i32r=\frac{1 \pm i \sqrt{3}}{2}, then if nin_{i} is the number of exponents that are ii modulo 66 (i=0,1,2,3,4,5i=0,1,2,3,4,5), then n0n3=n2n5=n4n1=kn_{0}-n_{3}=n_{2}-n_{5}=n_{4}-n_{1}=k for some kk. Since 3kn0+n1++n5=60(mod2)3k \equiv n_{0}+n_{1}+\cdots+n_{5}=6 \equiv 0 \pmod{2}, kk must be one of 2,0,2-2,0,2. When k=0k=0, we have n0+n2+n4=n1+n3+n5n_{0}+n_{2}+n_{4}=n_{1}+n_{3}+n_{5}, which is the same as Case 1. When k=2k=2, we have n0=n2=n4=2n_{0}=n_{2}=n_{4}=2, which is covered in Case 3, and similar for k=2k=-2. Therefore we do not need to consider this case.

Now we deal with over-counting. Since Case 1 and 2 deal with the exponents modulo 4 and Case 3 deal with exponents modulo 3, the probabilities are independent from each other. So by complementary counting, we compute the final probability as
1(151625256)(11081)=11512567181=1001520736 1 - \left(1 - \frac{5}{16} - \frac{25}{256}\right)\left(1 - \frac{10}{81}\right) = 1 - \frac{151}{256} \cdot \frac{71}{81} = \frac{10015}{20736}

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