Lemma › Guides › Ptolemy's theorem in olympiad problems: statement, proof, uses
Guide

Ptolemy's theorem in olympiad problems: statement, proof, uses

Ptolemy's theorem gives an exact equation among the six distances determined by four points on a circle. When the problem is about lengths in a cyclic figure, it is the first thing to try, and many "show that one length is the sum of two others" problems are this theorem in disguise.

The statement

Let ABCDABCD be a convex quadrilateral inscribed in a circle, with the vertices in that order. Then

AC⋅BD=AB⋅CD+BC⋅DA.AC \cdot BD = AB \cdot CD + BC \cdot DA.

The product of the diagonals equals the sum of the products of opposite sides. For any four points in the plane, not necessarily on a circle, the left side is at most the right side, and equality holds exactly when the four points lie on a circle in that order. That is Ptolemy's inequality, and its equality case is the converse: if the four points are labelled so that AC⋅BD=AB⋅CD+BC⋅DAAC \cdot BD = AB \cdot CD + BC \cdot DA, then they lie on a circle in the order A,B,C,DA, B, C, D.

The proof

In a convex quadrilateral the diagonal BDBD lies inside angle ABCABC, so ∠CBD<∠ABC\angle CBD < \angle ABC. Hence the ray from BB that makes the angle ∠CBD\angle CBD with BABA lies inside angle ABCABC, and it meets the segment ACAC at a point EE. So EE is on ACAC with ∠ABE=∠CBD\angle ABE = \angle CBD. Two pairs of triangles are similar.

Triangles ABEABE and DBCDBC have ∠ABE=∠DBC\angle ABE = \angle DBC by the choice of EE, and ∠BAE=∠BAC=∠BDC\angle BAE = \angle BAC = \angle BDC because both stand on the arc BCBC. So they are similar, and AE/DC=AB/DBAE/DC = AB/DB. That gives AE⋅BD=AB⋅CDAE \cdot BD = AB \cdot CD.

For the second pair, ∠ABD=∠ABC−∠DBC=∠ABC−∠ABE=∠EBC\angle ABD = \angle ABC - \angle DBC = \angle ABC - \angle ABE = \angle EBC. Also ∠BDA=∠BCA\angle BDA = \angle BCA on the arc ABAB. So triangles ABDABD and EBCEBC are similar, and EC/AD=BC/BDEC/AD = BC/BD. That gives EC⋅BD=BC⋅ADEC \cdot BD = BC \cdot AD.

Add the two results. Since AE+EC=ACAE + EC = AC, you get AC⋅BD=AB⋅CD+BC⋅DAAC \cdot BD = AB \cdot CD + BC \cdot DA.

When to reach for it

The statement uses a cyclic quadrilateral, so every angle fact you know about those is available as well.

Example: a quadrilateral with integer lengths

On the circle x2+y2=25x^2 + y^2 = 25, take A=(5,0)A = (5,0), B=(3,4)B = (3,4), C=(−4,3)C = (-4,3) and D=(0,−5)D = (0,-5). They appear in that order around the circle.

The squared distances are AB2=20AB^2 = 20, BC2=50BC^2 = 50, CD2=80CD^2 = 80, DA2=50DA^2 = 50, and both diagonals have square 9090. The left side of Ptolemy is 90⋅90=90\sqrt{90}\cdot\sqrt{90} = 90. The right side is 2080+5050=40+50=90\sqrt{20}\sqrt{80} + \sqrt{50}\sqrt{50} = 40 + 50 = 90.

Example: a point on the circumcircle of an equilateral triangle

Let ABCABC be equilateral and PP a point on the arc BCBC that does not contain AA. Show that PA=PB+PCPA = PB + PC.

The points AA, BB, PP, CC are on a circle in that order. Ptolemy gives PA⋅BC=AB⋅PC+AC⋅BPPA \cdot BC = AB \cdot PC + AC \cdot BP. All three sides of the triangle are equal to some ss, so cancel it: PA=PC+PBPA = PC + PB.

Test it with PP opposite AA. On a circle of radius 11, PA=2PA = 2 is a diameter, PB=PC=1PB = PC = 1, and 2=1+12 = 1 + 1.

Example: the regular heptagon

Label the vertices of a regular heptagon A1,…,A7A_1, \dots, A_7. There are only three distinct chord lengths: the side a=A1A2a = A_1A_2, the short diagonal b=A1A3b = A_1A_3 and the long diagonal c=A1A4c = A_1A_4. Show that

1a=1b+1c.\frac1a = \frac1b + \frac1c.

Look at the cyclic quadrilateral A1A2A3A5A_1A_2A_3A_5. Its sides are A1A2=aA_1A_2 = a, A2A3=aA_2A_3 = a, A3A5=bA_3A_5 = b and A5A1=cA_5A_1 = c. Its diagonals are A1A3=bA_1A_3 = b and A2A5=cA_2A_5 = c. Ptolemy says b⋅c=a⋅b+a⋅cb \cdot c = a \cdot b + a \cdot c. Divide both sides by abcabc. The left side becomes 1/a1/a, the term abab becomes 1/c1/c, and the term acac becomes 1/b1/b. So 1/a=1/b+1/c1/a = 1/b + 1/c.

Numerically, with the circumradius 11, a=2sin⁡(π/7)≈0.868a = 2\sin(\pi/7) \approx 0.868, b=2sin⁡(2π/7)≈1.564b = 2\sin(2\pi/7) \approx 1.564 and c=2sin⁡(3π/7)≈1.950c = 2\sin(3\pi/7) \approx 1.950, and the reciprocals check out.

Where it goes wrong

What to do with this

Next time a cyclic quadrilateral has a length in the question, write Ptolemy down before you start any angle chase. Then ask whether you can add a point on the circle to make a quadrilateral that gives an equation with the length you want. The similar triangles technique page has the ratio rules used in the proof, and the guide to similar-triangle ratio tricks shows more places where a ratio of products turns up. The problem archive has more geometry to try it on.

Related guides

Techniques in this guide

Competitions this guide helps with

Train it on Lemma

Every technique here is taught explicitly, in order. 128 lessons, 1237 curated problems and unlimited generated practice at six difficulties. Free to start, no card, and the paid plan opens with 3 free days.

Find your level