Skip to content

← Math Further 9–12

Why Does Ptolemy’s Theorem Work?

Topic 43 · Grades 9–12 · Circles: cyclic quadrilaterals, Ptolemy’s theorem, tangents and the power of a point

What this builds on from class
In this unit 11 sections
  1. Four posts, one rule
  2. When do four points lie on a circle?
  3. Why it works
  4. Off the circle
  5. A pentagon gives the golden ratio
  6. The first table of trigonometry
  7. Lines that touch a circle
  8. The power of a point
  9. Where this is used
  10. Questions
  11. Where to go next

Nirjala’s town has a new park with a round pond in the middle, 65 meters across, and four lamp posts standing right on its edge. A footbridge runs straight across the water from one lamp post to another. Nirjala has a long measuring tape and a question for her math club: how far apart are the other two lamp posts, straight across the water, where nobody can walk with a tape?

She walks round the edge and measures what she can reach. Call the posts A, B, C and D, in order round the pond. From A to B is 25 m, from B to C 39 m, from C to D 60 m, and from D back to A 52 m. The footbridge, from A to C, is 56 m. That leaves BD, over the water.

Guess first. How far is it from B to D, straight across the water?

Pick an answer to see why.

Try it

Four lamp posts round a pond

Drag the lamp posts round the edge of the pond. The page measures the four sides and the two lines across. Can you find a rule that links the two lines across to the four sides, wherever the posts stand? When you have a guess, press Multiply.

ABCD
AB
25.0 m
BC
39.0 m
CD
60.0 m
DA
52.0 m
AC (across)
56.0 m
BD (across)
63.0 m

Drag any post round the edge. Six distances change. What stays the same?

Hint
Answer

Four posts, one rule

The rule you found in the pond is Ptolemy’s theorem: for any four points A, B, C, D in order round a circle,

AC×BD=AB×CD+BC×DA. AC \times BD = AB \times CD + BC \times DA.

In words: the product of the two diagonals equals the sum of the products of the two pairs of opposite sides. A four-sided shape whose corners all lie on one circle is a cyclic quadrilateral, so the theorem is about every cyclic quadrilateral there is.

Now try the rule on shapes you know. Put the four posts at the corners of a rectangle: all four corners of a rectangle lie on one circle (its diagonals are equal and cut each other in half, so the crossing point is the same distance from all four corners). In a rectangle with sides a and b and diagonal d, the opposite sides are equal and so are the two diagonals, and Ptolemy’s theorem says

d×d=a×a+b×b,that is,d2=a2+b2. d \times d = a \times a + b \times b, \quad\text{that is,}\quad d^2 = a^2 + b^2.

That is Pythagoras’ theorem, sitting inside Ptolemy’s. A rectangle 39 m by 52 m would fit in Nirjala’s pond exactly, because 392+522=1,521+2,704=4,225=652 39^2 + 52^2 = 1{,}521 + 2{,}704 = 4{,}225 = 65^2 : its diagonal is the pond’s diameter.

When do four points lie on a circle?

Ptolemy’s theorem needs all four corners on one circle, so it helps to know when they are. Any three points not in a line have a circle through them (Grade 9’s Circle finds its center where the perpendicular bisectors of two chords cross). A fourth point is usually off it. So most quadrilaterals are not cyclic.

Grade 10’s Circle gives the test. Its Theorem 3 says the opposite angles of a cyclic quadrilateral add up to 180°: in Nirjala’s pond the angles at A and C are about 104.25° and 75.75°. And its converse is true: if one pair of opposite angles adds up to 180°, the four corners lie on one circle. A second test is the converse of Grade 10’s Theorem 2 (angles standing on the same arc are equal): if ∠BAC = ∠BDC, with A and D on the same side of BC, then A, B, C, D lie on one circle.

Which of these shapes is cyclic, whatever its size?

Pick an answer to see why.

Why it works

Measuring a hundred ponds wouldn’t prove the rule for the hundred and first. Here is the proof usually given, which needs only two things you have met: similar triangles (Grade 9’s Triangle: two triangles with the same angles have their sides in the same ratio) and Grade 10’s angles on the same arc.

The trick is to cut the diagonal AC into two pieces, AK and KC, and find each piece from a pair of similar triangles. Then the two pieces add up to the whole diagonal. Step through it below.

Try it

The proof, step by step

Press Next step. Each step shades the triangles it uses and shows the numbers for this shape. Change the shape: the same steps work for every one.

ABCD
Shape:
Step 2: AK × BD = AB × CD
23.8 × 63.0 ≈ 25.0 × 60.0 ≈ 1,500
Step 3: KC × BD = BC × DA
32.2 × 63.0 ≈ 39.0 × 52.0 ≈ 2,028
Step 4: AC × BD
(23.8 + 32.2) × 63.0 ≈ 3,528

A cyclic quadrilateral ABCD and its two diagonals. Press Next step.

Here are the steps in words.

  1. Choose the point K on AC so that ∠ABK = ∠DBC. (There is always one: ∠DBC is only part of ∠ABC, so a line from B at that angle to BA meets AC between A and C.)
  2. Triangles ABK and DBC are similar. They have ∠ABK = ∠DBC (that is how K was chosen), and ∠BAK = ∠BAC = ∠BDC, because those two stand on the same arc BC. So their sides are in proportion: AKAB=DCDB \frac{AK}{AB} = \frac{DC}{DB} , which gives AK × BD = AB × CD.
  3. Triangles KBC and ABD are similar too. Their angles at B are equal: each is one of the two equal angles ∠ABK = ∠DBC with the same angle ∠KBD added or taken away. (If K lies between A and the point where BD crosses AC, then ∠ABD = ∠ABK + ∠KBD and ∠KBC = ∠KBD + ∠DBC; if it lies past that point, as in Nirjala’s pond, both are “minus ∠KBD”.) And ∠BCK = ∠BCA = ∠BDA, on the same arc AB. So KCBC=ADBD \frac{KC}{BC} = \frac{AD}{BD} , which gives KC × BD = BC × DA.
  4. Add the two: (AK + KC) × BD = AB × CD + BC × DA. And AK + KC = AC. Proved.

In Nirjala’s pond, AK=25×60÷63≈23.81 AK = 25 \times 60 \div 63 \approx 23.81 m and KC=39×52÷63≈32.19 KC = 39 \times 52 \div 63 \approx 32.19 m, which add up to 56 m, the bridge.

Off the circle

So what happens if one post isn’t on the edge? Try it: in the pond below, D can leave the circle.

Try it

Pull one post off the edge

Drag D into the water or out onto the grass, and watch the two sides of the rule.

ABCD
AB
25.0 m
BC
39.0 m
CD
60.0 m
DA
52.0 m
AC (across)
56.0 m
BD (across)
63.0 m
AC × BD
3,528 m²
AB × CD + BC × DA
1,500 + 2,028 = 3,528 m²
Difference
0 m²

D is on the edge: AC × BD equals AB × CD + BC × DA. Drag D into the water or onto the grass.

Off the circle, the product of the diagonals is always smaller than the sum, and it comes back to equal only when D is back on the edge, between C and A. This is Ptolemy’s inequality: for any four points,

AC×BD≤AB×CD+BC×DA, AC \times BD \le AB \times CD + BC \times DA,

with equality exactly when the points lie, in that order, on a circle (or, the limiting case, in order on one straight line). So the rule works the other way too: if the six distances obey Ptolemy’s equation, the four points are on one circle (or on one line).

A pentagon gives the golden ratio

Draw a regular pentagon ABCDE with sides 1. Its five corners lie on one circle, and its five diagonals are all the same length; call it d. Cover the corner E and look at the quadrilateral ABCD that is left.

ABCDE111ddd
Figure 43.1 Four corners of a regular pentagon with sides 1, all on one circle: three sides of ABCD are the pentagon’s sides, and its fourth side DA and its two diagonals are the pentagon’s diagonals, d.

Its sides AB, BC and CD are sides of the pentagon, 1 each. Its fourth side, DA, is a diagonal of the pentagon, d. Its two diagonals, AC and BD, are diagonals of the pentagon too. So Ptolemy’s theorem says

d×d=1×1+1×d,that is,d2=d+1. d \times d = 1 \times 1 + 1 \times d, \quad\text{that is,}\quad d^2 = d + 1.

The positive solution of this quadratic equation (Grade 10’s formula) is

d=1+52≈1.618, d = \frac{1 + \sqrt{5}}{2} \approx 1.618,

the golden ratio. Its square is 2.618… 2.618… , exactly one more than itself. The topic Is the Golden Ratio Really Everywhere? finds the same number in the pentagon with similar triangles, and asks where it truly turns up and where it doesn’t.

The first table of trigonometry

Ptolemy didn’t want the theorem for ponds. He was an astronomer, and to work out where the Sun, the Moon and the planets would be on a given night he needed lengths from angles: the chord of an angle, the straight line across a circle between the ends of an arc.

His circle had a diameter of 120 units, and he counted in sixtieths, as astronomers then did. Some chords are easy. The chord of 60° is the radius, 60, because it makes an equilateral triangle with two radii. The chord of 180° is the diameter, 120. From Euclid he had the chords of 72° and 36°, the sides of the regular pentagon and decagon in the circle, which the golden ratio gives. Ptolemy’s theorem turned these into almost all the rest (the chords of 1° and ½°, which halving and adding can’t reach exactly, he pinned down by an approximation): put a diameter as one side of the quadrilateral and the theorem becomes a rule for the chord of the difference of two arcs, or of their sum, or of half an arc.

Halving again and again, and adding and subtracting arcs, Ptolemy filled a table of chords for every half degree from ½° to 180°: 360 entries. In today’s language, the chord of an angle θ in a circle of radius r is 2rsin⁡θ2 2r \sin \frac{\theta}{2} , and his rule for the chord of a difference is the formula for sin (A − B) that Grade 10’s Optional Mathematics proves in its Trigonometry unit.

Lines that touch a circle

Neither Grade 9’s Circle nor Grade 10’s teaches tangents, but Grade 9’s proves the fact they need: the perpendicular from the center to a chord cuts it in half. Put that together with Pythagoras: if the circle has radius r and the chord is a distance m from the center, half the chord is r2−m2 \sqrt{r^2 - m^2} .

OrTtangent
Figure 43.2 Chords further and further from the center get shorter. At a distance equal to the radius, the line meets the circle at one point only, T, and the radius OT is perpendicular to it.

Now slide the chord away from the center, keeping it parallel to itself. As m grows, the chord shrinks. When m reaches r, half the chord is r2−r2=0 \sqrt{r^2 - r^2} = 0 : the line meets the circle at just one point, T, and the radius OT to that point is still perpendicular to it. A line that meets a circle at exactly one point is a tangent, and so:

The tangent at a point is perpendicular to the radius there.

Why one point only? Every other point Q of that line makes a right-angled triangle OTQ, with OQ the hypotenuse, so OQ is longer than OT = r: the rest of the line is outside the circle. And it is the only tangent at T: any other line through T slopes, so the perpendicular from O to it is shorter than OT = r, and it is a chord that meets the circle a second time. Euclid proved the same, in Book III of his Elements, Propositions 16 and 18.

From a point P outside the circle, two tangents can be drawn, touching at T and S.

OPTSrr
Figure 43.3 Two tangents from P. The triangles OTP and OSP have right angles at T and S, equal sides OT = OS (radii) and the same hypotenuse OP, so they are congruent: the two tangents are equal.

The triangles OTP and OSP have a right angle each, OT = OS (radii) and OP in common, so they are congruent (R.H.S., as in Grade 9): the two tangents from a point are equal, PT = PS. Pythagoras gives their length, PT=OP2−r2 PT = \sqrt{OP^2 - r^2} .

The power of a point

One more pattern, which Ptolemy’s theorem doesn’t give but the circle does. Pick any point P and draw a line through it that cuts the circle at A and B. Multiply the two distances, PA × PB. Now turn the line.

Try it

Turn a line through a point

Drag P anywhere, then turn the line with the slider. Watch PA × PB. Then drag P outside the circle and turn the line until it just touches.

ABOP
PA
3.19 cm
PB
6.27 cm
PA × PB
20.00 cm²

P is inside the circle. Turn the line: PA and PB change, but PA × PB stays the same.

However the line turns, PA × PB stays the same. The proof needs only the half-chords from before. Let M be the midpoint of the chord AB, so OM is perpendicular to it and AM = MB.

  • P inside the circle. Then PA = AM − PM and PB = AM + PM (or the other way round), so PA×PB=AM2−PM2 PA \times PB = AM^2 - PM^2 . By Pythagoras in the right-angled triangles OMA and OMP, AM2=r2−OM2 AM^2 = r^2 - OM^2 and PM2=OP2−OM2 PM^2 = OP^2 - OM^2 . Subtracting, OM2 OM^2 cancels: PA×PB=r2−OP2 PA \times PB = r^2 - OP^2 .
  • P outside. Now PA = PM − AM and PB = PM + AM, so PA×PB=PM2−AM2=OP2−r2 PA \times PB = PM^2 - AM^2 = OP^2 - r^2 .
  • The tangent. When the line touches at T, PA and PB are both PT, and PT2=OP2−r2 PT^2 = OP^2 - r^2 , as we found.

Every line through P gives the same answer, because r2−OP2 r^2 - OP^2 (or OP2−r2 OP^2 - r^2 ) doesn’t depend on the line at all, only on how far P is from the center. The Swiss mathematician Jakob Steiner gave the number OP2−r2 OP^2 - r^2 a name in 1826: the power of the point P. Three facts, all one fact:

  • Two chords crossing at P: PA × PB = PC × PD (intersecting chords).
  • Two lines from P outside: PA × PB = PC × PD, with the distances from P to each crossing (intersecting secants).
  • A line and a tangent from P: PA×PB=PT2 PA \times PB = PT^2 (tangent and secant).

Euclid has the first and the last (Book III, Propositions 35 and 36), and he says them with pictures: “the rectangle contained by the segments of the one equals the rectangle contained by the segments of the other”. For a Greek geometer, a product of two lengths was a rectangle.

Where this is used

Questions

a. ★ A rhombus has sides 5 cm and diagonals 6 cm and 8 cm. Is it cyclic?

Pick an answer to see why.

b.★

A rectangle with sides 5 cm and 12 cm has its corners on a circle. Use Ptolemy’s theorem to find its diagonal, and say how wide the circle is.

Hint
Answer
c.★★

An isosceles trapezoid has parallel sides 4 cm and 10 cm and slanting sides 5 cm each. Find its diagonals with Ptolemy’s theorem, then check your answer with Pythagoras.

Hint
Answer
d.★★

An equilateral triangle ABC has sides 7 cm, and P is a point on the arc BC of its circle, with PB = 3 cm and PC = 5 cm. Find PA.

Hint
Answer
e.★★

Two chords of a circle cross at P. One is cut into pieces of 3 cm and 8 cm. The other has one piece of 4 cm. How long is the other chord?

Hint
Answer
f.★★

A gate has an arch on top, 6 m wide at the bottom and rising 1 m in the middle. The arch is part of a circle. What is its radius?

Hint
Answer
g.★★

From a point P, a line cuts a circle at A and B, with PA = 4 cm and PB = 16 cm. How long is a tangent from P to the circle?

Hint
Answer
h.★★★

Two circles, with radii 25 cm and 4 cm, touch each other from outside. A straight line touches both, at A and B. How long is AB?

Hint
Answer
i.★★★

In Nirjala’s pond the diagonals AC = 56 m and BD = 63 m cross at a point X. How far is X from each lamp post? Then check your answer with intersecting chords.

Hint
Answer

Where to go next

Where these facts come from
  • Ptolemy’s theorem, its converse and Ptolemy’s inequality (equality exactly when the quadrilateral is cyclic; the equality for four points in order on a line checked ourselves), the proof with K on AC and the two pairs of similar triangles, the rectangle giving Pythagoras, the pentagon giving the golden ratio, and the sum and difference formulas: Wikipedia, “Ptolemy’s theorem”, read November 2026.
  • The table of chords in Book I of the Almagest (chapter 10 the theorems, chapter 11 the table), a circle of diameter 120, every ½° from ½° to 180°, sexagesimal fractions, the chords of 72° and 36° from Euclid’s Book XIII, the chords of 1° and ½° by an approximation, Ptolemy’s theorem for the half arc, the sum and the difference, Hipparchus’s table only every 7½° (also Wikipedia, “Hipparchus”, read November 2026: the table is lost, its details reconstructed and debated): Wikipedia, “Ptolemy’s table of chords”, read November 2026.
  • Ptolemy in Alexandria, his observations from 127 to 141, the Almagest’s thirteen books, its Greek title and the Arabic al-majisti: J. J. O’Connor and E. F. Robertson, “Claudius Ptolemy”, MacTutor History of Mathematics, read November 2026.
  • Euclid’s Book III, Propositions 16 (the line at right angles to a diameter at its end falls outside the circle) and 18 (the tangent perpendicular to the radius), 21, 22 (opposite angles of a quadrilateral in a circle), 35 (intersecting chords, “the rectangle contained by the segments of the one equals the rectangle contained by the segments of the other”) and 36 (tangent and secant): D. E. Joyce’s edition of Euclid’s Elements, Book III, read November 2026.
  • Which quadrilaterals are always cyclic (squares, rectangles, isosceles trapezoids), a non-square rhombus never, the opposite-angle and side-and-diagonal tests: Wikipedia, “Cyclic quadrilateral”, read November 2026.
  • Brahmagupta’s Brāhmasphuṭasiddhānta of 628, his formulas for the area of a cyclic quadrilateral and the lengths of its diagonals from the sides, and that he didn’t state that they hold only for cyclic quadrilaterals: J. J. O’Connor and E. F. Robertson, “Brahmagupta”, MacTutor History of Mathematics, read November 2026.
  • Aryabhata (476–550), his 24 half-chords every 3°45′ in a circle of radius 3,438: Wikipedia, “Āryabhaṭa’s sine table”; the word “sine” from jyā-ardha (“chord-half”), shortened to jyā or jīva, Arabic jība written jb and read as jayb (“bosom”, “pocket”, “fold”), and Latin sinus (“fold”, “bay”) (Gerard of Cremona; Robert of Chester perhaps earlier): Wikipedia, “Sine and cosine”, both read November 2026.
  • The power of a point, OP2−r2 OP^2 - r^2 , introduced by Jakob Steiner in 1826, and the intersecting chords, intersecting secants and tangent–secant theorems: Wikipedia, “Power of a point”, read November 2026.
  • The distance to the horizon, 2Rh+h2 \sqrt{2Rh + h^2} , with the line of sight a tangent perpendicular to the Earth’s radius, R = 6,371 km, 4.7 km at 1.70 m, about 369 km at 35,000 feet, and refraction adding about 8%: Wikipedia, “Horizon”, read November 2026.
  • The sagitta and its uses for the depth of a lens or mirror and for flattened arcs in walls, ceilings and bridges: Wikipedia, “Sagitta (geometry)”, read November 2026.
  • Our Grades 9 and 10 Circle units, Grade 9’s Triangle (similar triangles) and Grade 10 Optional Mathematics’ Trigonometry, for what the course already teaches.
  • Every number in the topic (the pond’s arcs, angles and the six lengths placed on a circle of diameter 65, the pieces AK and KC, the rectangle, square and pentagon, the chord of 12° and its sexagesimal form, the tangents, chords, plate and arch, the horizon distances, every question’s answer, the equilateral triangle’s point found on its circle, where the pond’s diagonals cross) was computed in checks/textbooks/math-further-9-12/43/tmp/ptolemy_numbers.py, and the pond’s lengths found by searching circles for four points with all six distances whole numbers in ptolemy_search.py beside it.

Found a mistake? Please tell us.