🇮🇳 INMO · 2022

INMO 2022

Indian National Mathematical Olympiad 2022 — 6 problems with solutions

INMO 2022

Indian National Mathematical Olympiad 2022. 6 problems. Problems sourced from MathNet (CC BY 4.0). Solutions are expert-authored.


Problem 1

Number Theory Combinatorics
Problem

Let X={0,1,2,3,4,5,6,7,8,9}X=\{0,1,2,3,4,5,6,7,8,9\}. Let SXS \subseteq X be such that any nonnegative integer nn can be written as p+qp+q where the nonnegative integers p,qp, q have all their digits in SS. Find the smallest possible number of elements in SS.

View Solution

We show that 5 numbers will suffice. Take S={0,1,3,4,6}S=\{0,1,3,4,6\}. Observe the following splitting:

nnaabb
000
101
211
303
413
514
633
734
844
936

Thus each digit in a given nonnegative integer is split according to the above and can be written as a sum of two numbers each having digits in SS.

We show that S>4|S|>4. Suppose S4|S| \leq 4. We may take S=4|S|=4 as adding extra numbers to SS does not alter our argument. Let S={a,b,c,d}S=\{a, b, c, d\}. Since the last digit can be any one of the numbers 0,1,2,,90,1,2, \ldots, 9, we must be able to write this as a sum of digits from SS, modulo 10. Thus the collection

A={x+y(mod10)x,yS}A=\{x+y \quad(\bmod 10) \mid x, y \in S\}

must contain {0,1,2,,9}\{0,1,2, \ldots, 9\} as a subset. But AA has at most 10 elements ((42)+4)\left(\binom{4}{2}+4\right). Thus each element of the form x+y(mod10)x+y(\bmod 10), as x,yx, y vary over SS, must give different numbers from {0,1,2,,9}\{0,1,2, \ldots, 9\}.

Consider a+a,b+b,c+c,d+da+a, b+b, c+c, d+d modulo 10. They must give 4 even numbers. Hence the remaining even number must be from the remaining 6 elements obtained by adding two distinct members of SS. We may assume that even number is a+b(mod10)a+b(\bmod 10). Then a,ba, b must have same parity. If any one of c,dc, d has same parity as that of aa, then its sum with aa gives an even number, which is impossible. Hence c,dc, d must have same parity, in which case c+d(mod10)c+d(\bmod 10) is even, which leads to a contradiction. We conclude that S5|S| \geq 5.


Problem 2

Algebra
Problem

Let n3n \geq 3 be an integer and let 1<a1a2a3an1 < a_{1} \leq a_{2} \leq a_{3} \leq \cdots \leq a_{n} be nn real numbers such that a1+a2+a3++an=2na_{1} + a_{2} + a_{3} + \cdots + a_{n} = 2n. Prove that

a1a2an1+a1a2an2++a1a2+a1+2a1a2ana_{1} a_{2} \cdots a_{n-1} + a_{1} a_{2} \cdots a_{n-2} + \cdots + a_{1} a_{2} + a_{1} + 2 \leq a_{1} a_{2} \cdots a_{n}
View Solution

We use Chebyshev’s inequality. Observe

n(a1a2an1+a1a2an2++a1+1)=(a1a2an1+a1a2an2++a1+1)((an1)+(an11)++(a11))n(a1a2an1(an1)++a1(a21)+1(a11))n(a1a2an1)\begin{aligned} & n\left(a_{1} a_{2} \cdots a_{n-1} + a_{1} a_{2} \cdots a_{n-2} + \cdots + a_{1} + 1\right) \\ & \quad = \left(a_{1} a_{2} \cdots a_{n-1} + a_{1} a_{2} \cdots a_{n-2} + \cdots + a_{1} + 1\right)\left(\left(a_{n} - 1\right) + \left(a_{n-1} - 1\right) + \cdots + \left(a_{1} - 1\right)\right) \\ & \quad \leq n\left(a_{1} a_{2} \cdots a_{n-1}\left(a_{n} - 1\right) + \cdots + a_{1}\left(a_{2} - 1\right) + 1\left(a_{1} - 1\right)\right) \\ & \quad \leq n\left(a_{1} a_{2} \cdots a_{n} - 1\right) \end{aligned}

It follows that

a1a2an1+a1a2an2++a1+1a1a2an1a_{1} a_{2} \cdots a_{n-1} + a_{1} a_{2} \cdots a_{n-2} + \cdots + a_{1} + 1 \leq a_{1} a_{2} \cdots a_{n} - 1

This gives the required inequality.


Problem 3

Combinatorics
Problem

A stromino is a 3×13 \times 1 rectangle. Show that a 5×55 \times 5 board divided into twenty-five 1×11 \times 1 squares cannot be covered by 16 strominos such that each stromino covers exactly three unit squares of the board and every unit square is covered by either one or two strominos. (A stromino can be placed either horizontally or vertically on the board.)

View Solution

Suppose on the contrary that it is possible to cover the board with 16 strominos such that each unit square is covered by either one or two strominos. If there are kk squares that are covered by exactly one stromino then 2(25k)+k=16×3=482(25-k)+k=16 \times 3=48 and hence k=2k=2. Thus there are exactly two squares which are covered by only one stromino.

We colour the board with three colours red, blue, green as follows. The square corresponding to the ii-th row and the jj-th column is coloured red if i+j0(mod3)i+j \equiv 0 \pmod{3}, green if i+j1(mod3)i+j \equiv 1 \pmod{3} and blue otherwise. Then there are 9 red squares, 8 green squares and 8 blue squares. Note that each stromino covers exactly one square of each colour. Therefore the two squares that are covered by only one stromino are both red. For each such square i+j0(mod3)i+j \equiv 0 \pmod{3} where ii and jj are its row and column number.

We now colour the board with a different scheme. We colour the square corresponding to the ii-th row and the jj-th column red if ij0(mod3)i-j \equiv 0 \pmod{3}, green if ij1(mod3)i-j \equiv 1 \pmod{3} and blue otherwise. Again, there are 9 red squares and hence the two squares covered by only one stromino are both red. For each such square ij0(mod3)i-j \equiv 0 \pmod{3} where ii and jj are its row and column number. Thus, each of the two squares covered by only one stromino satisfies i+j0(mod3)i+j \equiv 0 \pmod{3} and ij0(mod3)i-j \equiv 0 \pmod{3} where ii and jj are its row and column number. This implies that i=j=3i=j=3. This is a contradiction because there is only one such square.


Problem 4

Number Theory Algebra
Problem

Suppose r2r \geq 2 is an integer, and let m1,n1,m2,n2,,mr,nrm_{1}, n_{1}, m_{2}, n_{2}, \cdots, m_{r}, n_{r} be 2r2 r integers such that

minjmjni=1\left|m_{i} n_{j}-m_{j} n_{i}\right|=1

for any two integers ii and jj satisfying 1i<jr1 \leq i<j \leq r. Determine the maximum possible value of rr.

View Solution

Let m1,n1,m2,n2m_{1}, n_{1}, m_{2}, n_{2} be integers satisfying m1n2m2n1=±1m_{1} n_{2}-m_{2} n_{1}= \pm 1. By changing the signs of m2,n2m_{2}, n_{2} if need be, we may assume that

m1n2m2n1=1m_{1} n_{2}-m_{2} n_{1}=1

If m3,n3m_{3}, n_{3} are integers satisfying m1n3m3n1=±1m_{1} n_{3}-m_{3} n_{1}= \pm 1, again we may assume (by changing their signs if necessary) that

m1n3m3n1=1m_{1} n_{3}-m_{3} n_{1}=1

So m1(n2n3)=n1(m2m3)m_{1}\left(n_{2}-n_{3}\right)=n_{1}\left(m_{2}-m_{3}\right). As m1,n1m_{1}, n_{1} are relatively prime, m1m_{1} divides m2m3m_{2}-m_{3}; say, m2m3=m1am_{2}-m_{3}=m_{1} a for some integer aa. Thus, we get n2n3=n1an_{2}-n_{3}=n_{1} a. In other words,

m3=m2m1a,n3=n2n1am_{3}=m_{2}-m_{1} a, \quad n_{3}=n_{2}-n_{1} a

Now, if m2n3n2m3=±1m_{2} n_{3}-n_{2} m_{3}= \pm 1, we get

±1=m2(n2n1a)n2(m2m1a)=(m1n2m2n1)a=a\pm 1=m_{2}\left(n_{2}-n_{1} a\right)-n_{2}\left(m_{2}-m_{1} a\right)=\left(m_{1} n_{2}-m_{2} n_{1}\right) a=a

Thus, m3=m2m1a=m2±m1,n3=n2n1a=n2±n1m_{3}=m_{2}-m_{1} a=m_{2} \pm m_{1}, \quad n_{3}=n_{2}-n_{1} a=n_{2} \pm n_{1}. Now if we were to have another pair of integers m4,n4m_{4}, n_{4} such that

m1n4n1m4=±1m_{1} n_{4}-n_{1} m_{4}= \pm 1

we may assume that m1n4n1m4=1m_{1} n_{4}-n_{1} m_{4}=1. As seen above, m4=m2m1,n4=n2n1m_{4}=m_{2} \mp m_{1}, \quad n_{4}=n_{2} \mp n_{1}. But then

m3n4n3m4=(m2±m1)(n2n1)(n2±n1)(m2m1)=±2m_{3} n_{4}-n_{3} m_{4}=\left(m_{2} \pm m_{1}\right)\left(n_{2} \mp n_{1}\right)-\left(n_{2} \pm n_{1}\right)\left(m_{2} \mp m_{1}\right)= \pm 2

Therefore, there can be only 3 pairs of such integers.

Alternate Solution: It is clear that rr can be 3 due to the valid solution m1=1,n1=1,m2=1,n2=2,m3=2,n3=3m_{1}=1, n_{1}=1, m_{2}=1, n_{2}=2, m_{3}=2, n_{3}=3. If possible, let r>3r>3. We observe that:

m1n2n3m2n1n3=±n3m2n3n1m3n2n1=±n1m3n1n2m1n3n2=±n2\begin{aligned} & m_{1} n_{2} n_{3}-m_{2} n_{1} n_{3}= \pm n_{3} \\ & m_{2} n_{3} n_{1}-m_{3} n_{2} n_{1}= \pm n_{1} \\ & m_{3} n_{1} n_{2}-m_{1} n_{3} n_{2}= \pm n_{2} \end{aligned}

Adding, we get ±n1±n2±n3=0\pm n_{1} \pm n_{2} \pm n_{3}=0; which forces at least one of n1,n2,n3n_{1}, n_{2}, n_{3} to be even; WLOG let n1n_{1} be even. Repeating the argument for indices 2,3,42,3,4, we deduce that at least one of n2,n3,n4n_{2}, n_{3}, n_{4} is even; WLOG let n2n_{2} be even. This leads to a contradiction, since m1n2m2n1=1\left|m_{1} n_{2}-m_{2} n_{1}\right|=1 cannot be even. Hence r>3r>3 is not possible, as claimed.


Problem 5

Algebra Number Theory
Problem

Find all pairs of integers (a,b)(a, b) so that each of the two cubic polynomials

x3+ax+b and x3+bx+ax^{3}+a x+b \text{ and } x^{3}+b x+a

has all the roots to be integers.

View Solution

Solution 1.

The only such pair is (0,0)(0,0), which clearly works. To prove this is the only one, let us prove an auxiliary result first.

Lemma If α,β,γ\alpha, \beta, \gamma are reals so that α+β+γ=0\alpha+\beta+\gamma=0 and α,β,γ2|\alpha|,|\beta|,|\gamma| \geq 2, then

αβ+βγ+γα<αβγ|\alpha \beta+\beta \gamma+\gamma \alpha|<|\alpha \beta \gamma|

Proof. Some two of these reals have the same sign; WLOG, suppose αβ>0\alpha \beta>0. Then γ=(α+β)\gamma=-(\alpha+\beta), so by substituting this,

αβ+βγ+γα=α2+β2+αβ, αβγ=αβ(α+β)|\alpha \beta+\beta \gamma+\gamma \alpha|=\left|\alpha^{2}+\beta^{2}+\alpha \beta\right|,\ |\alpha \beta \gamma|=|\alpha \beta(\alpha+\beta)|

So we simply need to show αβ(α+β)>α2+β2+αβ|\alpha \beta(\alpha+\beta)|>\left|\alpha^{2}+\beta^{2}+\alpha \beta\right|. Since α2|\alpha| \geq 2 and β2|\beta| \geq 2, we have

αβ(α+β)=αβ(α+β)2β(α+β)αβ(α+β)=βα(α+β)2α(α+β).\begin{aligned} & |\alpha \beta(\alpha+\beta)|=|\alpha||\beta(\alpha+\beta)| \geq 2|\beta(\alpha+\beta)| \\ & |\alpha \beta(\alpha+\beta)|=|\beta||\alpha(\alpha+\beta)| \geq 2|\alpha(\alpha+\beta)| . \end{aligned}

Adding these and using triangle inequality,

2αβ(α+β)2β(α+β)+2α(α+β)2β(α+β)+α(α+β)2(α2+β2+2αβ)>2(α2+β2+αβ)=2α2+β2+αβ\begin{aligned} 2|\alpha \beta(\alpha+\beta)| & \geq 2|\beta(\alpha+\beta)|+2|\alpha(\alpha+\beta)| \geq 2|\beta(\alpha+\beta)+\alpha(\alpha+\beta)| \\ & \geq 2\left(\alpha^{2}+\beta^{2}+2 \alpha \beta\right)>2\left(\alpha^{2}+\beta^{2}+\alpha \beta\right) \\ & =2\left|\alpha^{2}+\beta^{2}+\alpha \beta\right| \end{aligned}

Here we have used the fact that α2+β2+2αβ=(α+β)2\alpha^{2}+\beta^{2}+2 \alpha \beta=(\alpha+\beta)^{2} and α2+β2+αβ=(α+β2)2+3β24\alpha^{2}+\beta^{2}+\alpha \beta=\left(\alpha+\frac{\beta}{2}\right)^{2}+\frac{3 \beta^{2}}{4} are both nonnegative. This proves our claim.

For our main problem, suppose the roots of x3+ax+bx^{3}+a x+b are the integers r1,r2,r3r_{1}, r_{2}, r_{3} and the roots of x3+bx+ax^{3}+b x+a are the integers s1,s2,s3s_{1}, s_{2}, s_{3}. By Vieta’s relations, we have

r1+r2+r3=0=s1+s2+s3r1r2+r2r3+r3r1=a=s1s2s3s1s2+s2s3+s3s1=b=r1r2r3\begin{gathered} r_{1}+r_{2}+r_{3}=0=s_{1}+s_{2}+s_{3} \\ r_{1} r_{2}+r_{2} r_{3}+r_{3} r_{1}=a=-s_{1} s_{2} s_{3} \\ s_{1} s_{2}+s_{2} s_{3}+s_{3} s_{1}=b=-r_{1} r_{2} r_{3} \end{gathered}

If all six of these roots had an absolute value of at least 2, by our lemma, we would have

b=s1s2+s2s3+s3s1<s1s2s3=r1r2+r2r3+r3r1<r1r2r3=b|b|=\left|s_{1} s_{2}+s_{2} s_{3}+s_{3} s_{1}\right|<\left|s_{1} s_{2} s_{3}\right|=\left|r_{1} r_{2}+r_{2} r_{3}+r_{3} r_{1}\right|<\left|r_{1} r_{2} r_{3}\right|=|b|

which is absurd. Thus at least one of them is in the set {0,1,1}\{0,1,-1\}; WLOG, suppose it’s r1r_{1}.

  1. If r1=0r_{1}=0, then r2=r3r_{2}=-r_{3}, so b=0b=0. Then the roots of x3+bx+a=x3+ax^{3}+b x+a=x^{3}+a are precisely the cube roots of a-a, and these are all real only for a=0a=0. Thus (a,b)=(0,0)(a, b)=(0,0), which is a solution.

  2. If r1=±1r_{1}= \pm 1, then ±1±a+b=0\pm 1 \pm a+b=0, so aa and bb can’t both be even. If a=s1s2s3a=-s_{1} s_{2} s_{3} is odd, then s1,s2,s3s_{1}, s_{2}, s_{3} are all odd, so s1+s2+s3s_{1}+s_{2}+s_{3} cannot be zero. Similarly, if bb is odd, we get a contradiction.

The proof is now complete.

View Solution

Solution 2.

The only such pair is (0,0)(0,0), which clearly works. Let us prove this is the only one. In what follows, we use ν2(n)\nu_{2}(n) to denote the largest integer kk so that 2kn2^{k} \mid n for any non-zero nZn \in \mathbb{Z}.

If one of the cubics has 0 as a root, say the first one, then 03+0a+b=00^{3}+0 \cdot a+b=0, so b=0b=0. Then the roots of x3+bx+a=x3+ax^{3}+b x+a=x^{3}+a are precisely the cube roots of a-a, and these are all real only for a=0a=0. Thus (a,b)=(0,0)(a, b)=(0,0).

So suppose none of the roots are zero. Take the cubic x3+ax+bx^{3}+a x+b, and suppose its roots are x,y,zx, y, z. We cannot have ν2(x)=ν2(y)=ν2(z)\nu_{2}(x)=\nu_{2}(y)=\nu_{2}(z); indeed, if we had x=2kx1,y=2ky1,z=2kz1x=2^{k} x_{1}, y=2^{k} y_{1}, z=2^{k} z_{1} for odd x1,y1,z1x_{1}, y_{1}, z_{1}, then

0=x+y+z=2k(x1+y1+z1)0=x+y+z=2^{k}\left(x_{1}+y_{1}+z_{1}\right)

But x1+y1+z1x_{1}+y_{1}+z_{1} is odd, and hence non-zero, so this cannot happen.

Thus we can assume WLOG that ν2(x)>ν2(y)\nu_{2}(x)>\nu_{2}(y). Then the third root is (x+y)-(x+y). Similarly, the three roots of x3+bx+ax^{3}+b x+a can be written as p,q,(p+q)p, q,-(p+q) where ν2(p)>ν2(q)\nu_{2}(p)>\nu_{2}(q). By Vieta’s relations,

xyx(x+y)y(x+y)=(x2+xy+y2)=a=pq(p+q)pqp(p+q)q(p+q)=(p2+pq+q2)=b=xy(x+y)\begin{gathered} x y-x(x+y)-y(x+y)=-\left(x^{2}+x y+y^{2}\right)=a=p q(p+q) \\ p q-p(p+q)-q(p+q)=-\left(p^{2}+p q+q^{2}\right)=b=x y(x+y) \end{gathered}

Suppose x=2kx1x=2^{k} x_{1} and y=2y1y=2^{\ell} y_{1} for odd x1,y1x_{1}, y_{1} and k>k>\ell; in particular k>0k>0. Then

xy(x+y)=2kx12y1(2kx1+2y1)=2k+2x1y1(2kx1+y1)x y(x+y)=2^{k} x_{1} \cdot 2^{\ell} y_{1} \cdot\left(2^{k} x_{1}+2^{\ell} y_{1}\right)=2^{k+2 \ell} x_{1} y_{1}\left(2^{k-\ell} x_{1}+y_{1}\right)

Here x1y1(2kx1+y1)x_{1} y_{1}\left(2^{k-\ell} x_{1}+y_{1}\right) is clearly odd, so ν2(xy(x+y))=k+2\nu_{2}(x y(x+y))=k+2 \ell.

Also,

x2+xy+y2=22kx12+2kx12y1+22y12=22(22k2x12+2kx1y1+y12)x^{2}+x y+y^{2}=2^{2 k} x_{1}^{2}+2^{k} x_{1} \cdot 2^{\ell} y_{1}+2^{2 \ell} y_{1}^{2}=2^{2 \ell}\left(2^{2 k-2 \ell} x_{1}^{2}+2^{k-\ell} x_{1} y_{1}+y_{1}^{2}\right)

Again, all the terms in the second factor are even except y12y_{1}^{2}, so the entire factor is odd. This means ν2(x2+xy+y2)=2\nu_{2}\left(x^{2}+x y+y^{2}\right)=2 \ell.

Therefore

ν2(xy(x+y))>ν2(x2+xy+y2)\nu_{2}(x y(x+y))>\nu_{2}\left(x^{2}+x y+y^{2}\right)

Similarly, one may show

ν2(pq(p+q))>ν2(p2+pq+q2)\nu_{2}(p q(p+q))>\nu_{2}\left(p^{2}+p q+q^{2}\right)

But then

ν2(b)=ν2(xy(x+y))>ν2(x2+xy+y2)=ν2(pq(p+q))>ν2(p2+pq+q2)=ν2(b)\nu_{2}(b)=\nu_{2}(x y(x+y))>\nu_{2}\left(x^{2}+x y+y^{2}\right)=\nu_{2}(p q(p+q))>\nu_{2}\left(p^{2}+p q+q^{2}\right)=\nu_{2}(b)

Here we have used the fact that ν2(n)=ν2(n)\nu_{2}(n)=\nu_{2}(-n) for any integer nn. But this is a contradiction, proving our claim.


Problem 6

Geometry
Problem

Betal marks 20212021 points on the plane such that no three are collinear, and draws all possible line segments joining these. He then chooses any 10111011 of these line segments, and marks their midpoints. Finally, he chooses a line segment whose midpoint is not marked yet, and challenges Vikram to construct its midpoint using only a straightedge. Can Vikram always complete this challenge?

Note: A straightedge is an infinitely long ruler without markings, which can only be used to draw the line joining any two given distinct points.

Note

This problem originally includes a geometry diagram. The diagram is omitted in this version.

View Solution

Solution 1.

The answer is ‘yes’. To prove this, we will first prove two lemmas:

Lemma 1 Given any two points A,BA, B, their midpoint MM, and any point CC, Vikram can draw a line parallel to ABA B through CC.

Proof. If CC is on line ABA B we are already done. If not, extend BCB C to XX as shown, draw P=ACXMP = A C \cap X M, and then draw D=BPAXD = B P \cap A X. We claim CDC D is the desired line. Indeed, using Ceva’s theorem on triangle ABXA B X and the fact AM=MBA M = M B, we see that

AMMBBCCXXDDA=1XCCB=XDDA\frac{A M}{M B} \cdot \frac{B C}{C X} \cdot \frac{X D}{D A} = 1 \Longrightarrow \frac{X C}{C B} = \frac{X D}{D A}

This means CDABC D \parallel A B.

Lemma 2 Given two non-parallel segments AB,BCA B, B C and their midpoints M,NM, N, Vikram can draw the midpoint of any other segment XYX Y.

Proof. Assume first XYX Y is not parallel to ABA B or BCB C. Using lemma 1, draw lines 1\ell_1 and 2\ell_2 through XX parallel to ABA B and BCB C respectively, and similarly draw m1m_1 and m2m_2 through YY parallel to ABA B and BCB C respectively. If we draw P=1m2P = \ell_1 \cap m_2 and Q=2m1Q = \ell_2 \cap m_1, then XPYQX P Y Q is a parallelogram, so intersecting PQP Q and XYX Y gives the midpoint of XYX Y.

As for the remaining case, one can draw ACA C and construct the midpoint PP of ACA C by the construction described above. Since XYX Y can be parallel to at most one of the sides AB,BCA B, B C and ACA C, we can pick the two non-parallel sides, and use the above construction to draw the midpoint of XYX Y.

Now for the main problem, note that if no two of the 10111011 chosen segments share an endpoint, then we have at least 21011=20222 \cdot 1011 = 2022 distinct endpoints, a contradiction. Thus there must be two segments ABA B and BCB C which have their midpoints marked. Since no three of the chosen 20212021 points were collinear, ABA B and BCB C are not parallel, so using lemma 2, Vikram can construct the midpoint of any other segment, in particular, the segment chosen by Betal.

View Solution

Solution 2.

As in the previous solution, note that there exist ABA B and ACA C whose midpoints CC^{\prime} and BB^{\prime} are marked. Using the straightedge, Vikram can draw the two medians ACA C^{\prime} and ABA B^{\prime} and obtain their intersection, the centroid GG of ABC\triangle A B C. Now intersecting AGA G with BCB C gives AA^{\prime}, the midpoint of BCB C.

Lemma Given a point PP not on AB,ACA B, A C, Vikram can draw the midpoint of PAP A.

Proof. If PBACP B \parallel A C and PCABP C \parallel A B, then PBACP B A C is a parallelogram, in which case AA^{\prime} constructed above is the midpoint of PAP A. Without loss of generality, we may assume PBACP B \nparallel A C.

Using the straightedge, one can mark the points D=PBACD = P B \cap A C and PBAC=DP B \cap A^{\prime} C^{\prime} = D^{\prime}. Since CAACC A \parallel A^{\prime} C^{\prime}, we have

BDDD=BCCA=1\frac{B D^{\prime}}{D^{\prime} D} = \frac{B C^{\prime}}{C^{\prime} A} = 1

so DD^{\prime} is the midpoint of BDB D. Now in ABD\triangle A B D, two midpoints CC^{\prime} and DD^{\prime} are known, so the midpoint QQ^{\prime} of ADA D can be constructed using the centroid construction outlined before. Let P=CQPAP^{\prime} = C^{\prime} Q^{\prime} \cap P A; this exists as CQBPAPC^{\prime} Q^{\prime} \parallel B P \nparallel A P. As before, CPBPC^{\prime} P^{\prime} \parallel B P, so

APPP=ACCB=1\frac{A P^{\prime}}{P^{\prime} P} = \frac{A C^{\prime}}{C^{\prime} B} = 1

which means PP^{\prime} is the desired midpoint of PAP A.

Now suppose we need to find the midpoint of PQP Q. If P,QP, Q are different points from AA, then one can draw the midpoints of APA P and AQA Q using the lemma. Then by using the centroid of APQ\triangle A P Q, one can find the midpoint of PQP Q as we did for BCB C. If PP or QQ is AA, the above lemma immediately yields the required midpoint.