Ptolemy's theorem

Ptolemy's theorem

ptolemy

One of the most famous geometry theorems from antiquity is the following theorem named after the astronomer and mathematician Ptolemy of Alexandria (approx. 85-165 AD). His (incorrect) geocentric model of the solar system was so useful for navigation and predicting the seasons that it lasted for 1400 years. (View the embedded YouTube video at the bottom of this page).
'.....'Ptolemy developed extensive trigonometrical methods using the so-called chord function Crd (which is related to the our modern day sine function by sin ⁡a = 1/120​(Crd 2a)) to produce tables of trigonometric values.

Ptolemy's theorem
For a (convex) cyclic quadrilateral, the sum of the products of the two pairs of opposite sides equals the product of the diagonals. In symbols: AB × CD + BC × DA = AC × BD.
(Note: If ABCD is a rectangle, this reduces to Pythagoras's theorem; so it is also generalization of the theorem of Pythagoras.)

Explore
The dynamic sketch below illustrates this theorem.
1. Drag any of the vertices in the dynamic sketch below and observe how the measured distances change, but the relationship given above remains true.
2. Also ensure that you drag ABCD so that it becomes crossed. What do you notice?

 

Ptolemy's theorem

Challenge
3. Can you prove Ptolemy's theorem? Can you prove it in more than one way?
(If stuck, view some of the references and links given further down.)
4. Formulate a converse. Investigate whether it is true or not by giving a proof or counter-example.
5. Can you generalize Ptolemy's theorem further to cyclic hexagons, octagons, etc.?

Ptolemy Inequality & Converse
6. Click on the 'Link to Ptolemy Inequality' button to navigate to a new sketch. Explore the sketch by dragging any of the vertices. What do you now notice about the relationship between the sum of the products of the two pairs of opposite sides and the product of the diagonals?
7. The preceding sketch illustrates the following inequality: for any quadrilateral ABCD, AB⋅CD + BC⋅AD ≥ AC⋅BD, with equality only holding when ABCD is cyclic (& convex).
8. This in turn implies (or is equivalent to) the converse which can be stated as: if the sum of the products of the two pairs of opposite sides of a quadrilateral equals the product of its diagonals, then the quadrilateral is cyclic.
Challenge
9. Can you prove the inequality (and converse)?
(If stuck, view some of the references and links given further down.)

Generalization
10. Click on the 'Link to Hexagon generalization' button to navigate to a new sketch. Explore the sketch by dragging any of the vertices. What do you now notice about the observed measurements?
11. Formulate a conjecture from your observations in 10.
12. Prove your conjecture by applying Ptolemy's theorem (to the cyclic quadrilaterals ABDE, BCEF and CDFA). Can you generalize further?

Some Applications of Ptolemy
Ptolemy's theorem is a very powerful theorem and is often useful in proving many diverse results. Since it also frequently appears in mathematics competitions for talented high school students, it is essential for them to know.
a) One can use Ptolemy's theorem (as Ptolemy did) to easily derive the composite angle formulae for the sine function, namely, sin (A + B) and sin (A - B) - see for example De Villiers (2012).
b) It provides an almost immediate proof of Van Schooten's theorem, which states that if ABC is an equilateral triangle inscribed in a circle and P is a point on arc BC, then PA = PB + PC.
c) Here are a couple more interesting applications of Ptolemy's theorem from Posamentier (2002):
'.....'i) The ratio of the diagonals of a (convex) cyclic quadrilateral in terms of its sides is given by:
AC BD= AB⋅AD+BC⋅DC DC⋅AD+BC⋅AB

'.........'(An (almost) immediate corollary of this result is that each diagonal can be expressed in terms of its sides. For example, AC2= (AB⋅DC+BC⋅AD)(AB⋅AD+BC⋅DC) DC⋅AD+BC⋅AB '.........'and BD2 can be similarly expressed.)
'.....'ii) If a point P is chosen inside a parallelogram ABCD such that ∠APB is supplementary to ∠CPD, then AB⋅AD = BP⋅DP + AP⋅CP.
'.....'iii) If a square ABCD is inscribed in a circle and a point P is on arc BC, then PD PA= PA+PC PB+PD
'.....'iv) If a regular pentagon ABCDE is inscribed in a circle and a point P is on arc BC, then PA + PD = PB + PC + PE.
'.....'v) If regular hexagon ABCDEF is inscribed in a circle and a point P is on arc BC, then PE + PF = PA + PB + PC + PD.
'.....'vi) A triangle inscribed in a circle of radius 5 has two sides of length 5 and 6. Find the length of the third side of the triangle.
'.........'(While this problem can be solved by other means, using Ptolemy's theorem is rather elegant).

References
Amarasinghe, I. S. (2013). A Concise Elementary Proof of the Ptolemy's Theorem. Global Journal of Advanced Research on Classical and Modern Geometries, Vol.2, Issue 1, pp. 20-25.
Bencze, M. (2011). Generalization of Ptolemy's Theorems. Journal of Science and Arts, Year 11, No. 1(14), pp. 45-48.
Derrick, W. & Herstein, J. (2012). Proof Without Words: Ptolemy's Theorem. The College Mathematics Journal, Vol. 43, No. 5 (Nov), p 386.
De Villiers, M. (2012). Deriving the composite formulae for sine from Ptolemy. Learning & Teaching Mathematics, no. 13 (Dec), p. 19.
Man, Y-K. (2019). An Elementary Proof of Ptolemy’s Theorem. Learning & Teaching Mathematics, No. 27, pp. 23-25.
Padyala, R. (2021). An Easy Proof of Ptolemy’s Theorem. At Right Angles, Nov, pp. 66-68.
Pillay, P. (2020). 1000 Mathematics Olympiad Problems. South African Mathematics Foundation (SAMF).
Posamentier, A.S. (2002). Applications of Ptolemy's theorem. Advanced Euclidean Geometry, Key College Publishing, pp. 133-139.
Pritchard, C. (2013). A Tour around the Geometry of the Cyclic Quadrilateral. Paper presented at the School of Science, Mathematics and Technology Education, University of KwaZulu Natal, Edgewood Campus, 12 April 2013.
Shirali, S. (2016). How to prove it: Ptolemy's theorem. At Right Angles, Vol. 5, No. 3 (Nov), pp. 53-57.
Tran, Q.H & Tran, M.D. (2024). A (Triangle) Generalization of Ptolemy's theorem. The Teaching of Mathematics, Vol. XXVII, No. 2, pp. 104–111.
Zhu, Q. (2016). An Introduction to Ptolemy's Theorem, September 05.

Related Links
IMO 2014 Problem 4 - Geometry
An extension of the IMO 2014 Problem 4
Some Quadrilateral Inequalities involving Sides & Diagonals
Some Properties of Bicentric Isosceles Trapezia & Right Kites
Cyclic Quadrilateral Alternate Angle Sum (Rethinking Proof activity, incl. generalization to cyclic 2n-gons)
Duncan Gregory's Cyclic Hexagon Alternate Angles Sum Theorem
A generalization of the Cyclic Quadrilateral Angle Sum theorem
Bretschneider's Quadrilateral Area Formula & Brahmagupta's Formula
Nine-point centre (anticentre or Euler centre) & Maltitudes of Cyclic Quadrilateral
Carnot's (or Bottema's) Perpendicularity Theorem & Some Generalizations
Thabit's Generalization of the Theorem of Pythagoras
A Generalization of the Theorem of Pythagoras by Hannes du Plooy
Pythagorean & Orthodiagonal Quadrilaterals & Some Properties
The theorem of Hippocrates (470 – c. 410 BC)
A generalization of a Parallelogram Theorem by Apollonius
Intersecting Circles Investigation (with proof of Pythagoras)
Cosine-Sine Angle Rule
Semi-regular Angle-gons and Side-gons (Generalizations of rectangles & rhombi)
A Generalization of the British Flag theorem to Semi-regular Angle-gons
Alternate sides cyclic-2n-gons and Alternate angles circum-2n-gons (Generalizations of isosceles trapezia & kites)

External Links
Ptolemy's theorem (Wikipedia)
Ptolemy's inequality (Wikipedia)
Ptolemy (Wikipedia)
Claudius Ptolemy Biography (MacTutor)
Ptolemy's Theorem (Cut The Knot)
Ptolemy Theorem - Proof Without Words (Cut The Knot)
Van Schooten's theorem (Wikipedia)
Ptolemy’s Theorem (Chapel Hill Math Circle, Nov. 9, 2024)
Aimssec Lesson Activities (African Institute for Mathematical Sciences Schools Enrichment Centre)
UCT Mathematics Competition Training Material
SA Mathematics Olympiad Questions and worked solutions for past South African Mathematics Olympiad papers can be found at this link.
(Note, however, that prospective users will need to register and log in to be able to view past papers and solutions.)

Some YouTube videos
How to Prove Ptolemy's Theorem for Cyclic Quadrilaterals (Mohamed Omar)
Ptolemy's Theorem (On The Spot STEM)
A Beautiful Proof of Ptolemy's Theorem (MathyJaphy)
Ptolemy’s Theorem, the Almagest and Visual Proof (Mathologer)
A Miraculous Proof of Ptolemy's theorem using Inversion (Numberphile)

********************************
Free Download of Geometer's Sketchpad & Learning/Instructional Modules on various topics

********************************

Here is a YouTube video that shows how the same movement of the planets across the night sky (on earth) is accurately modelled by 3 different models, namely, the Ptolemaic, Copernican and Tycho Brahe. Though emerging empirical evidence from about the 1400's clearly proved that the Copernican model was the correct one, the other two modelled the measured observations nearly as accurately. Of course, it helped tremendously that the Copernican model turned out to be much simpler and easier to apply.

********************************

Back to "Dynamic Geometry Sketches"

Back to "Student Explorations"

Michael de Villiers, created with WebSketchpad, 25 June 2026.