RMO Mock Paper 5 · IMOolympiad.com · Original practice

6 questions · 180 minutes · Written proofs

Move from finding an answer to explaining a complete argument. State your assumptions, justify the main step and account for every case.

Original independent practice. Use the suggested time for a full attempt; keep hints and solutions closed. Questions are not official RMO questions. No selection or score prediction is implied.

Question 1

Find all positive integer triples a≤b≤ca\le b\le c satisfying abc=2(a+b+c)abc=2(a+b+c).

Hint 1

Use a+b+c≤3ca+b+c\le3c to bound a.

Hint 2

Treat a=1 and a=2 separately, completing a product each time.

Worked solution 1

Because a≤b≤ca\le b\le c, we have a2c≤abc=2(a+b+c)≤6ca^2c\le abc=2(a+b+c)\le6c. Dividing by positive cc gives a2≤6a^2\le6, so a=1a=1 or 2. If a=1a=1, then (b−2)(c−2)=6(b-2)(c-2)=6. Neither b=1b=1 nor b=2b=2 solves the original equation, so both factors are positive. The ordered factor pairs are (1,6),(2,3)(1,6),(2,3), giving (1,3,8),(1,4,5)(1,3,8),(1,4,5). If a=2a=2, then (b−1)(c−1)=3(b-1)(c-1)=3, and 2≤b≤c2\le b\le c gives only (b−1,c−1)=(1,3)(b-1,c-1)=(1,3), hence (2,2,4)(2,2,4). Direct substitution verifies all three triples.

Answer / conclusion: (1,3,8), (1,4,5), (2,2,4).

Review the idea: Factorisation integer solutions · Triangle inequalities

Question 2

Find every real polynomial PP satisfying P(x2)=P(x)2P(x^2)=P(x)^2 for all real xx, and P(2)=16P(2)=16.

Hint 1

If P(0)=1, inspect the smallest positive power with nonzero coefficient.

Hint 2

If P(0)=0, factor out the smallest power of x first.

Worked solution 2

At zero, P(0)=P(0)2P(0)=P(0)^2, so the constant term is 0 or 1. Suppose a nonconstant polynomial QQ with Q(0)=1Q(0)=1 satisfies the identity. Let kxmkx^m be its lowest nonconstant term, with k≠0,m≥1k\ne0,m\ge1. In Q(x)2Q(x)^2, the coefficient of xmx^m is 2k2k. In Q(x2)Q(x^2), that coefficient is zero: when mm is odd there is no such power, and when it is even the coefficient would come from degree m/2<mm/2<m, which is absent. This contradiction shows that such QQ must be constant 1.

Our polynomial is nonzero and nonconstant because P(2)=16P(2)=16. Therefore P(0)=0P(0)=0, and we may write P(x)=xmQ(x)P(x)=x^mQ(x), m≥1m\ge1, Q(0)≠0Q(0)\ne0. Cancelling the polynomial factor x2mx^{2m} gives Q(x2)=Q(x)2Q(x^2)=Q(x)^2; its constant term is 1. The preceding argument forces Q=1Q=1. Thus P=xmP=x^m, and 2m=162^m=16 gives m=4m=4. The polynomial x4x^4 plainly satisfies both conditions.

Answer / conclusion: P(x)=x⁴.

Review the idea: Polynomial functions · Polynomial roots and multiplicity

Question 3

Triangle ABCABC is acute. Let DD be the foot of the perpendicular from AA to BCBC. The line through DD perpendicular to ACAC meets the line ABAB at EE, and the line through DD perpendicular to ABAB meets the line ACAC at FF. Prove that EF∥BCEF\parallel BC. The intersections may lie on extensions of the sides.

Cross-perpendiculars meet the extensions at E and FABCDEFOriginal construction; the proof does not rely on the drawing.

Hint 1

Choose A=(0,0)A=(0,0), B=(b,0)B=(b,0), C=(u,v)C=(u,v), with 0<u<b0<u<b and v>0v>0. Write D=(d,e)D=(d,e). What equation follows from AD⊥BCAD\perp BC?

Hint 2

Use DF⊥ABDF\perp AB to find F. Then use the slope of DE to find E and compare the slopes of EF and BC.

Worked solution 3

We use ordinary coordinates and slopes. The slope of a nonvertical line is its vertical change divided by its horizontal change. For two perpendicular lines with finite nonzero slopes, the slopes are negative reciprocals: turning a line through 90∘90^\circ interchanges the horizontal and vertical changes and reverses one sign. Parallel nonvertical lines have equal slopes.

Choose A=(0,0)A=(0,0), B=(b,0)B=(b,0), and C=(u,v)C=(u,v), where b>0b>0 and v>0v>0. The angles at AA and BB are acute, so the perpendicular projection of CC onto ABAB lies strictly between A,BA,B. Hence 0<u<b0<u<b. Write D=(d,e)D=(d,e). Because the triangle is acute, its altitude foot DD lies strictly inside segment BCBC; thus u<d<bu<d<b and e>0e>0.

The slope of BCBC is v/(u−b)v/(u-b), while the slope of ADAD is e/de/d. Their perpendicularity gives ed⋅vu−b=−1,ev=d(b−u).\frac{e}{d}\cdot\frac{v}{u-b}=-1,\qquad ev=d(b-u). The line ACAC has equation y=(v/u)xy=(v/u)x. Since DFDF is perpendicular to the horizontal line ABAB, it is the vertical line x=dx=d. Therefore F=(d,vdu).F=\left(d,\frac{vd}{u}\right).

Since DE⊥ACDE\perp AC, its slope is −u/v-u/v; as it passes through DD, its equation is y−e=−uv(x−d).y-e=-\frac{u}{v}(x-d). At EE, the coordinate yy is zero because EE lies on line ABAB. Solving for its horizontal coordinate gives xE=d+evu=d+d(b−u)u=bdu.x_E=d+\frac{ev}{u}=d+\frac{d(b-u)}{u}=\frac{bd}{u}. Hence E=(bd/u,0)E=(bd/u,0). These computations allow points on the entire side lines, so they include the possible extensions.

Finally, the horizontal difference d−bd/u=d(u−b)/ud-bd/u=d(u-b)/u is nonzero, because d>0d>0 and u<bu<b. The slope of EFEF is therefore vd/u−0d−bd/u=vu−b,\frac{vd/u-0}{d-bd/u}=\frac{v}{u-b}, exactly the slope of BCBC. The two distinct points E,FE,F thus determine a line parallel to BCBC, as required.

Answer / conclusion: EF is parallel to BC.

Review the idea: Similar triangles · Trigonometry in geometry

Question 4

Twelve positions around a circle are labelled 1,2,…,121,2,\ldots,12. Four positions are coloured red and the rest blue. No two red positions are adjacent. For each red position count the blue positions before the next red position clockwise. Exactly two of these four counts must be even. How many colourings are possible? Rotations of a colouring are counted separately when the labels change.

Hint 1

Temporarily distinguish one of the four red positions as the starting point.

Hint 2

There are two positive even gaps and two positive odd gaps, with total 8.

Worked solution 4

Choose a distinguished red position. Reading clockwise from it gives four positive gap lengths g1,g2,g3,g4g_1,g_2,g_3,g_4 summing to 8. Choose which two are even in (42)=6\binom42=6 ways. Their smallest positive values are 2 and 2; the odd gaps have smallest values 1 and 1. These minima total 6. The remaining 2 must be added to exactly one of the four gaps, preserving parity, giving four choices. Thus there are 6⋅4=246\cdot4=24 ordered gap lists.

There are 12 choices of the labelled starting position, so we have counted 12⋅2412\cdot24 pairs consisting of a colouring and a distinguished red position. Each valid colouring has exactly four choices of its distinguished red position, even if it has rotational symmetry. Therefore the number of colourings is 12⋅24/4=7212\cdot24/4=72.

Answer / conclusion: 72 colourings.

Review the idea: Circular permutations · Combinations with repetition

Question 5

For positive x,y,zx,y,z with xyz=1xyz=1, prove 1x2+y2+1+1y2+z2+1+1z2+x2+1≤1.\frac{1}{x^2+y^2+1}+\frac{1}{y^2+z^2+1}+\frac{1}{z^2+x^2+1}\le1. Determine all equality cases.

Hint 1

Put a=x², b=y², c=z²; then abc=1.

Hint 2

Clear the positive denominators and express the difference using s=a+b+c and q=ab+bc+ca.

Worked solution 5

Put a=x2a=x^2, b=y2b=y^2, c=z2c=z^2. These numbers are positive and abc=(xyz)2=1abc=(xyz)^2=1. Set s=a+b+cs=a+b+c, q=ab+bc+caq=ab+bc+ca, and T=1+sT=1+s. The three denominators 1+a+b,1+b+c,1+c+a1+a+b,1+b+c,1+c+a are then T−c,T−a,T−bT-c,T-a,T-b, respectively.

Their common denominator is positive. Multiplying its factors one at a time gives D=(T−a)(T−b)(T−c)=(T2−(a+b)T+ab)(T−c)=T3−(a+b+c)T2+(ab+bc+ca)T−abc=T3−sT2+qT−1.\begin{aligned}D&=(T-a)(T-b)(T-c)\\&=(T^2-(a+b)T+ab)(T-c)\\&=T^3-(a+b+c)T^2+(ab+bc+ca)T-abc\\&=T^3-sT^2+qT-1.\end{aligned} To add the three fractions, the numerator of each becomes the product of the other two denominators. Thus their common numerator is N=(T−a)(T−b)+(T−b)(T−c)+(T−c)(T−a)=3T2−2(a+b+c)T+(ab+bc+ca)=3T2−2sT+q.\begin{aligned}N&=(T-a)(T-b)+(T-b)(T-c)+(T-c)(T-a)\\&=3T^2-2(a+b+c)T+(ab+bc+ca)\\&=3T^2-2sT+q.\end{aligned} Substituting T=1+sT=1+s simplifies these to D=s2+2s+q+sq,N=s2+4s+3+q.D=s^2+2s+q+sq,\qquad N=s^2+4s+3+q.

The sum of the original fractions is N/DN/D. Since D>0D>0, proving this is at most 1 is equivalent to proving D−N=sq−2s−3=s(q−2)−3≥0.D-N=sq-2s-3=s(q-2)-3\ge0. By AM–GM applied to a,b,ca,b,c, s≥3abc3=3.s\ge3\sqrt[3]{abc}=3. Applying AM–GM to ab,bc,caab,bc,ca, whose product is (abc)2=1(abc)^2=1, gives q≥3(ab)(bc)(ca)3=3.q\ge3\sqrt[3]{(ab)(bc)(ca)}=3. Hence s(q−2)−3≥s−3≥0,s(q-2)-3\ge s-3\ge0, proving the inequality.

For equality, both comparisons must be equalities. Since s>0s>0, the first requires q=3q=3; the second requires s=3s=3. Equality in AM–GM for a,b,ca,b,c gives a=b=ca=b=c, and their product 1 gives a=b=c=1a=b=c=1. Positivity of x,y,zx,y,z then gives x=y=z=1x=y=z=1. Conversely, each fraction is 1/31/3 at these values, so equality holds.

Answer / conclusion: Equality exactly when x=y=z=1.

Review the idea: Arithmetic geometric and harmonic means · Symmetric polynomials

Question 6

Determine the number of ordered pairs (x,y)(x,y) of integers with 0≤x,y≤120\le x,y\le12 satisfying x2+y2≡1(mod13)x^2+y^2\equiv1\pmod{13}. Give a method that does not test all 169 pairs.

Hint 1

List the square residues modulo 13 for x=0,1,…,6x=0,1,\ldots,6. The values 13−x13-x have the same square residues.

Hint 2

For each square residue r, check whether 1−r is also a square residue. Multiply the number of x values by the number of matching y values.

Worked solution 6

We can group the possible values by their square residues instead of testing 169 ordered pairs. For x=0,1,2,3,4,5,6x=0,1,2,3,4,5,6, squaring and reducing modulo 13 gives, respectively, 0,1,4,9,3,12,10.0,1,4,9,3,12,10. For instance, 42=16≡34^2=16\equiv3, 52=25≡125^2=25\equiv12, and 62=36≡10(mod13)6^2=36\equiv10\pmod{13}. The remaining values are 13−6,13−5,…,13−113-6,13-5,\ldots,13-1. Because (13−k)2≡k2(mod13)(13-k)^2\equiv k^2\pmod{13}, they repeat the six nonzero residues, each once.

The table lists every possible square residue r=x2(mod13)r=x^2\pmod{13}, all values of xx producing it, and the required residue 1−r1-r for y2y^2. The table also indicates when the required residue is not a square, so no yy is possible.

Complete square-residue classification modulo 13
Square residue r Values of x (count) Required y² residue: matching y Pair count
0 0 (1 value) 1: y = 1, 12 1 × 2 = 2
1 1, 12 (2 values) 0: y = 0 2 × 1 = 2
3 4, 9 (2 values) 11: not a square residue 0
4 2, 11 (2 values) 10: y = 6, 7 2 × 2 = 4
9 3, 10 (2 values) 5: not a square residue 0
10 6, 7 (2 values) 4: y = 2, 11 2 × 2 = 4
12 5, 8 (2 values) 2: not a square residue 0

For each row, any listed xx can be paired with any listed yy; this is why we multiply their counts. The only admissible ordered square-residue pairs are (0,1),(1,0),(4,10),(10,4)(0,1),(1,0),(4,10),(10,4). The total number of ordered pairs is therefore 1⋅2+2⋅1+2⋅2+2⋅2=12.1\cdot2+2\cdot1+2\cdot2+2\cdot2=12. The table covers all 13 values of xx, and the square-residue list also covers all 13 values of yy, so no other pairs are possible.

Answer / conclusion: 12 ordered pairs.

Review the idea: Complete and reduced residue systems · Number theory theorems

After this paper

Record one idea you missed and one proof or calculation you want to improve. Work through the linked lesson, then try the next paper without hints.

Choose another RMO paper · Find a concept or theorem

Format reference: official RMO programme. Paper content is independently authored practice.