AIMO Initial Selection Mock Paper 2 · IMOolympiad.com · Original practice

6 written-solution problems · Two three-problem sessions; confirm timing in your invitation

Invitational selection preparation. These paired sets use the question count in the released 2022 archive. The current organiser overview says 180 minutes per examination, while that archived paper says 240 minutes. We do not treat either as a confirmed duration for your next invitation.

Original independent practice in English. Not an official paper or predicted selection test. Keep hints and solutions closed during your attempt.

How to review your proof

Check that you have used every condition, justified the main idea, covered all cases and stated the conclusion. A different complete proof can also be correct. This is a self-review checklist; written proofs are not automatically marked.

Session 1 · 3 problems · invitation determines timing

Question 1

Prove that no right triangle with positive integer side lengths has area equal to a positive integer square.

Hint 1

Choose a counterexample with the least hypotenuse and reduce it to a primitive integer right triangle.

Hint 2

For a primitive triple write its legs as u2−v2u^2-v^2 and 2uv2uv. The four numbers u,v,u+v,u−vu,v,u+v,u-v are pairwise coprime, so a square product forces each to be a square.

Worked solution 1

Assume a counterexample exists and choose one with the least hypotenuse. Write its square area as k2k^2, where k is a positive integer. Every integer right triangle has an even leg: two odd leg squares would sum to 2 modulo 4, which is not a square. Its area is therefore an integer. Our chosen triangle is primitive: if all sides had a common factor g>1g>1, division by gg would give an integer right triangle with area (k/g)2(k/g)^2. An integer that is a rational square is an integer square, as reducing the fraction shows its denominator must be 1. This would give a smaller counterexample.

Primitive-triple bridge. The legs cannot both be odd, since two odd squares sum to 2 modulo 4. Write the odd leg XX, even leg YY, and odd hypotenuse ZZ. Any prime dividing two sides of a right triangle divides the third as well, by the equation X2+Y2=Z2X^2+Y^2=Z^2. In a primitive triple the sides are therefore pairwise coprime. A common divisor of (Z+X)/2(Z+X)/2 and (Z−X)/2(Z-X)/2 divides both their sum Z and their difference X, so it must be 1. These two positive integers are consequently coprime and their product is (Y/2)2(Y/2)^2. Unique prime factorisation forces them to be squares u2,v2u^2,v^2. Therefore X=u2−v2X=u^2-v^2, Y=2uvY=2uv, Z=u2+v2Z=u^2+v^2, where u>v>0u>v>0, gcd⁡(u,v)=1\gcd(u,v)=1, and u,vu,v have opposite parity: they cannot both be even by coprimality, and if both were odd then X and Z would both be even.

The area is uv(u+v)(u−v)uv(u+v)(u-v). These four positive factors are pairwise coprime: common divisors of uu or vv with either sum or difference divide both u,vu,v; a common divisor of u+vu+v and u−vu-v divides 2u,2v2u,2v, and both factors are odd. Since their product is a square, write u=a2,v=b2,u+v=c2,u−v=d2.\begin{gathered}u=a^2,\\ v=b^2,\\ u+v=c^2,\\ u-v=d^2.\end{gathered}

The integers c,dc,d are odd. Moreover uu cannot be even: then u=a2u=a^2 is 0 modulo 4 and v=b2v=b^2 is 1 modulo 4, making u−vu-v equal to 3 modulo 4. Thus uu is odd, vv is even, and bb is even.

Set h=(c+d)/2h=(c+d)/2 and j=(c−d)/2j=(c-d)/2. They are positive integers because c>d>0c>d>0. Direct calculation gives h2+j2=c2+d22=u=a2,2hj=c2−d22=v=b2.\begin{gathered}h^2+j^2=\frac{c^2+d^2}{2}=u=a^2,\\ 2hj=\frac{c^2-d^2}{2}=v=b^2.\end{gathered} Thus h,j,ah,j,a form an integer right triangle whose area is hj/2=(b/2)2hj/2=(b/2)^2. Its hypotenuse aa is smaller than u2+v2u^2+v^2, the original hypotenuse. This contradicts minimality and completes the descent.

Conclusion: No such triangle exists.

Question 2

For positive real numbers a,b,ca,b,c, prove a2b2+bc+c2+b2c2+ca+a2+c2a2+ab+b2≥1.\frac{a^2}{b^2+bc+c^2}+\frac{b^2}{c^2+ca+a^2}+\frac{c^2}{a^2+ab+b^2}\ge1. Determine every equality case.

Hint 1

Use 2bc≤b2+c22bc\le b^2+c^2 in each denominator.

Hint 2

Put x=a2,y=b2,z=c2x=a^2,y=b^2,z=c^2. Prove x/(y+z)+y/(z+x)+z/(x+y)≥3/2x/(y+z)+y/(z+x)+z/(x+y)\ge3/2.

Worked solution 2

Since (b−c)2≥0(b-c)^2\ge0, we have bc≤(b2+c2)/2bc\le(b^2+c^2)/2. Therefore a2b2+bc+c2≥2a23(b2+c2).\frac{a^2}{b^2+bc+c^2}\ge\frac{2a^2}{3(b^2+c^2)}. Do this cyclically and put x=a2,y=b2,z=c2x=a^2,y=b^2,z=c^2. It remains to show that ∑x/(y+z)≥3/2\sum x/(y+z)\ge3/2.

The needed Cauchy–Schwarz step. For positive uiu_i, the inequality ∑ti2/ui≥(∑ti)2/(∑ui)\sum t_i^2/u_i\ge(\sum t_i)^2/(\sum u_i) follows from the square-sum identity (∑ti2/ui)(∑ui)−(∑ti)2=∑i<j(tiuj/ui−tjui/uj)2≥0.\begin{aligned}(\sum t_i^2/u_i)(\sum u_i)-(\sum t_i)^2&=\sum_{i<j}\left(t_i\sqrt{u_j/u_i}-t_j\sqrt{u_i/u_j}\right)^2\\&\ge0.\end{aligned} To verify it, expand each square: for every pair the two square terms and the cross term are exactly the terms left on the left-hand side after cancelling ∑ti2\sum t_i^2. Dividing by the positive sum ∑ui\sum u_i gives the stated inequality. Take (t1,t2,t3)=(x,y,z)(t_1,t_2,t_3)=(x,y,z) and (u1,u2,u3)=(x(y+z),y(z+x),z(x+y))(u_1,u_2,u_3)=(x(y+z),y(z+x),z(x+y)). It gives ∑xy+z≥(x+y+z)22(xy+yz+zx)≥32.\sum\frac{x}{y+z}\ge\frac{(x+y+z)^2}{2(xy+yz+zx)}\ge\frac32. The last step uses x2+y2+z2≥xy+yz+zxx^2+y^2+z^2\ge xy+yz+zx, obtained by adding three squared differences.

Multiplication by 2/32/3 proves the desired bound. Equality in the first three denominator estimates requires b=c,c=a,a=bb=c,c=a,a=b, so a=b=ca=b=c. Conversely, for equal positive variables every fraction is 1/31/3. These and only these triples give equality.

Conclusion: The lower bound is 1, attained exactly when a=b=c.

Question 3

Let ABCDABCD be a convex quadrilateral. Assume ABAB is not parallel to CDCD, and ADAD is not parallel to BCBC. Put P=AB∩CDP=AB\cap CD and Q=AD∩BCQ=AD\cap BC, where the sides may be extended. Prove that the midpoints of ACAC, BDBD, and PQPQ lie on one line.

Newton midpoint line configurationP is the intersection of AB and CD, and Q the intersection of AD and BC. M, N and R are the midpoints of AC, BD and PQ.ABCDPQMNR

Hint 1

Use PP as the origin, with the lines ABAB and CDCD as coordinate axes. Only line equations and midpoints are needed, so the axes need not be perpendicular.

Hint 2

Write A=(a,0),B=(b,0),C=(0,c),D=(0,d)A=(a,0), B=(b,0), C=(0,c), D=(0,d). Subtract the two equations satisfied by QQ.

Worked solution 3

Coordinate bridge. Coordinates may be measured along two nonparallel axes even when they are not perpendicular. Collinearity still has a linear equation, and midpoint coordinates are still coordinate averages. We use no distance or angle formula here.

Take PP as origin and the lines AB,CDAB,CD as axes. Write A=(a,0),B=(b,0),C=(0,c),D=(0,d)A=(a,0),B=(b,0),C=(0,c),D=(0,d). Convexity and distinct vertices ensure a,b,c,d≠0a,b,c,d\ne0, a≠ba\ne b, and c≠dc\ne d. If Q=(u,v)Q=(u,v), its membership of ADAD and BCBC gives du+av=ad,cu+bv=bc.\begin{gathered}du+av=ad,\\ cu+bv=bc.\end{gathered} Subtracting, (d−c)u+(a−b)v=ad−bc.(d-c)u+(a-b)v=ad-bc.

Let the three midpoints be M=(a/2,c/2)M=(a/2,c/2), N=(b/2,d/2)N=(b/2,d/2), and R=(u/2,v/2)R=(u/2,v/2). Each satisfies the linear equation 2(d−c)X+2(a−b)Y=ad−bc.2(d-c)X+2(a-b)Y=ad-bc. For MM and NN, this follows by direct substitution; for RR, it is the equation just obtained. At least one coefficient is nonzero, so the equation describes a genuine line. Therefore M,N,RM,N,R are collinear.

The diagram is one configuration; the coordinate argument allows positive or negative axis coordinates and so also covers intersections on other side extensions.

Conclusion: The three midpoints are collinear.

Session 2 · 3 problems · invitation determines timing

Question 4

A collection F\mathcal F of distinct subsets of an nn-element set has the following properties: every member has odd size, and the intersection of any two different members has even size. Prove that ∣F∣≤n|\mathcal F|\le n, and show that equality is attainable.

Hint 1

For each subcollection, record which ground-set elements occur an odd number of times.

Hint 2

If there are more than nn sets, two subcollections have the same parity record. Use their symmetric difference and count intersections with one selected member.

Worked solution 4

Suppose there are m>nm>n members A1,…,AmA_1,\ldots,A_m. Each of the 2m2^m subcollections determines a parity record of length nn: for each ground-set element, record 0 or 1 according as it occurs an even or odd number of times. There are only 2n2^n possible records. Two distinct subcollections therefore have the same record.

Keep exactly those sets that belong to one of these two subcollections but not both. This gives a nonempty subcollection K\mathcal K in which each ground-set element occurs an even number of times: common sets cancel from the two parity records.

Choose Aj∈KA_j\in\mathcal K. Count T=∑Ai∈K∣Aj∩Ai∣.T=\sum_{A_i\in\mathcal K}|A_j\cap A_i|. Counting element by element, each element of AjA_j is counted an even number of times, so TT is even. Counting term by term, the self-intersection ∣Aj∣|A_j| is odd and every other intersection is even. Thus TT is odd, a contradiction.

Therefore m≤nm\le n. Equality is realised by the nn singleton subsets: their sizes are 1 and different singletons have intersection size 0.

Conclusion: At most n sets; the n singleton sets attain the bound.

Question 5

Find every real polynomial PP which is either constant or can be written as a product of real linear factors, and which satisfies P(x2−1)=P(x−1)P(x+1)P(x^2-1)=P(x-1)P(x+1) for every real xx.

Hint 1

Compare leading coefficients. If there is a nonzero root, choose one with largest absolute value.

Hint 2

A root rr forces both r2+2rr^2+2r and r2−2rr^2-2r to be roots.

Worked solution 5

A constant polynomial P=cP=c must satisfy c=c2c=c^2, so P=0P=0 or P=1P=1. Now suppose the degree is d≥1d\ge1 and the leading coefficient is c≠0c\ne0. The leading coefficients on the two sides are cc and c2c^2, giving c=1c=1.

By the factorisation hypothesis, all dd roots, with multiplicity, are real. If one is nonzero, choose a root rr of largest absolute value M=∣r∣>0M=|r|>0. Substituting x=r+1x=r+1 in the identity makes P(x−1)=P(r)=0P(x-1)=P(r)=0, so r2+2rr^2+2r is a root. Substituting x=r−1x=r-1 similarly shows that r2−2rr^2-2r is a root.

One of these two numbers equals r2+2∣r∣r^2+2|r|, which is positive and strictly larger than ∣r∣|r|. It is therefore a root with absolute value larger than MM, a contradiction. Hence every root is 0. Together with leading coefficient 1 and the stated linear factorisation, this gives P(x)=xdP(x)=x^d.

Finally, every P(x)=xdP(x)=x^d, for an integer d≥0d\ge0, works because (x2−1)d=(x−1)d(x+1)d(x^2-1)^d=(x-1)^d(x+1)^d; the zero polynomial also works. No theorem about nonreal roots is needed, because the real factorisation was part of the question.

Conclusion: P=0 or P(x)=xᵈ for an integer d≥0.

Question 6

Finitely many heaps contain nonnegative integer numbers of counters. On each turn a player chooses one nonempty heap and removes a positive number of counters from it; the player unable to move loses. Prove that the player to move loses under perfect play exactly when the bitwise XOR of the heap sizes is 0. Here XOR adds binary digits modulo 2 without carrying. Hence count the losing ordered positions of three heaps whose sizes belong to {0,1,…,7}\{0,1,\ldots,7\}.

Hint 1

A move changes only one heap size. Track what happens to the XOR when that size changes from aa to bb.

Hint 2

If the XOR is nonzero, use its highest nonzero binary digit to find a heap that can be reduced so that the new XOR is 0.

Worked solution 6

Binary bridge. XOR is performed independently in each binary column. Thus a⊕a=0a\mathbin{\oplus}a=0, and a repeated term cancels. If the current XOR is SS, changing one heap from aa to bb changes the XOR to S⊕a⊕bS\mathbin{\oplus}a\mathbin{\oplus}b.

If S=0S=0, any legal move has b<ab<a, hence a≠ba\ne b. Their binary records differ, so a⊕b≠0a\mathbin{\oplus}b\ne0. Every move from a zero-XOR position therefore leads to a nonzero-XOR position.

If S≠0S\ne0, let its highest 1 occur in binary position jj. At least one heap aa has a 1 in position jj, because their digit sum there is odd. Set b=a⊕Sb=a\mathbin{\oplus}S. Above position jj, aa and bb agree; at position jj, the 1 in aa becomes 0. Therefore 0≤b<a0\le b<a, so reducing this heap to bb is legal. The new XOR is S⊕a⊕(a⊕S)=0S\mathbin{\oplus}a\mathbin{\oplus}(a\mathbin{\oplus}S)=0.

Every move reduces the total number of counters, so play ends. The all-zero position has XOR 0 and is losing. The two properties above, applied by induction on the total, prove that zero-XOR positions are exactly the losing ones.

For three heaps between 0 and 7, choose the first two sizes a,ba,b freely. There is exactly one losing choice of the third: c=a⊕bc=a\mathbin{\oplus}b, which is again between 0 and 7. Thus there are 82=648^2=64 losing ordered positions, including (0,0,0)(0,0,0).

Conclusion: Zero XOR characterises losing positions; there are 64 such ordered triples.

After this paper

Choose one gap in your proof to repair, study the linked idea, and write a complete solution again before the next mock.

Choose another paper · Check your German selection route

Format reference: official organiser information. Questions and explanations are independent practice material.