HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Power of a Point, Cyclic Quadrilaterals and Ptolemy
  1. 1Angles in a circle and cyclic quadrilaterals
  2. 2Power of a point and the radical axis
  3. 3Ptolemy's theorem and Brahmagupta's formula
  1. Mathematics
  2. /Power of a Point, Cyclic Quadrilaterals and Ptolemy
  3. /Ptolemy's theorem and Brahmagupta's formula

Course 31.2·Lesson 3 of 3

Ptolemy's theorem and Brahmagupta's formula

In a cyclic quadrilateral ABCDABCDABCD the product of the diagonals equals the sum of the products of the opposite sides: AC⋅BD=AB⋅CD+AD⋅BCAC \cdot BD = AB \cdot CD + AD \cdot BCAC⋅BD=AB⋅CD+AD⋅BC

Lesson 3 of 3Show all lessonsHide
Power of a Point, Cyclic Quadrilaterals and Ptolemy
  1. 1Angles in a circle and cyclic quadrilaterals
  2. 2Power of a point and the radical axis
  3. 3Ptolemy's theorem and Brahmagupta's formula

Try the code and the simulations beside the lesson.

What you will be able to do

  • prove Ptolemy's theorem with two pairs of similar triangles;
  • use it for lengths in regular polygons and on equilateral triangles;
  • find the area of a cyclic quadrilateral with Brahmagupta's formula.

A rectangle in a circle

Draw a rectangle with sides aaa and bbb inside a circle. Its diagonals are diameters of length ddd. Pythagoras says d⋅d=a⋅a+b⋅bd \cdot d = a \cdot a + b \cdot bd⋅d=a⋅a+b⋅b. Read this as: product of the diagonals equals the sum of the products of opposite sides. Ptolemy, about 1900 years ago, found that the same holds for every quadrilateral in a circle.

Ptolemy's theorem

Theorem. If ABCDABCDABCD is a cyclic quadrilateral, then AC⋅BD=AB⋅CD+AD⋅BCAC \cdot BD = AB \cdot CD + AD \cdot BCAC⋅BD=AB⋅CD+AD⋅BC.

Proof. Choose the point KKK on the diagonal ACACAC with ∠ABK=∠DBC\angle ABK = \angle DBC∠ABK=∠DBC.

  1. First pair. In triangles ABKABKABK and DBCDBCDBC, ∠ABK=∠DBC\angle ABK = \angle DBC∠ABK=∠DBC by the choice of KKK, and ∠BAK=∠BAC=∠BDC\angle BAK = \angle BAC = \angle BDC∠BAK=∠BAC=∠BDC (same segment). So they are similar, and AKAB=DCDB\dfrac{AK}{AB} = \dfrac{DC}{DB}ABAK​=DBDC​. That gives AK⋅BD=AB⋅CDAK \cdot BD = AB \cdot CDAK⋅BD=AB⋅CD.
  2. Second pair. Add ∠KBD\angle KBD∠KBD to both equal angles: ∠ABD=∠KBC\angle ABD = \angle KBC∠ABD=∠KBC. Also ∠ADB=∠ACB=∠KCB\angle ADB = \angle ACB = \angle KCB∠ADB=∠ACB=∠KCB (same segment). So triangles ABDABDABD and KBCKBCKBC are similar, and KCBC=ADBD\dfrac{KC}{BC} = \dfrac{AD}{BD}BCKC​=BDAD​. That gives KC⋅BD=AD⋅BCKC \cdot BD = AD \cdot BCKC⋅BD=AD⋅BC.
  3. Add. (AK+KC)⋅BD=AB⋅CD+AD⋅BC(AK + KC) \cdot BD = AB \cdot CD + AD \cdot BC(AK+KC)⋅BD=AB⋅CD+AD⋅BC, and AK+KC=ACAK + KC = ACAK+KC=AC.

For a quadrilateral that is not cyclic, the left side is smaller: AC⋅BD<AB⋅CD+AD⋅BCAC \cdot BD < AB \cdot CD + AD \cdot BCAC⋅BD<AB⋅CD+AD⋅BC. This is Ptolemy's inequality. Equality holds exactly for cyclic quadrilaterals, so it is also a test for four points on a circle.

A circle with a cyclic quadrilateral ABCD. The four sides AB, BC, CD and DA are drawn in blue and the two diagonals AC and BD in red. A point K on the diagonal AC is marked, with the line BK drawn so that angle ABK equals angle DBC.

Three uses

  1. The equilateral triangle. Let ABCABCABC be equilateral with side sss, and PPP on the arc BCBCBC away from AAA. Ptolemy on ABPCABPCABPC: PA⋅s=PB⋅s+PC⋅sPA \cdot s = PB \cdot s + PC \cdot sPA⋅s=PB⋅s+PC⋅s. So PA=PB+PCPA = PB + PCPA=PB+PC.
  2. The regular pentagon. Let the side be sss and the diagonal ddd. Four corners of the pentagon make a cyclic quadrilateral with three sides sss, one side ddd and both diagonals ddd. Ptolemy gives d2=s2+sdd^2 = s^2 + sdd2=s2+sd. So ds=1+52≈1.618\dfrac{d}{s} = \dfrac{1 + \sqrt{5}}{2} \approx 1.618sd​=21+5​​≈1.618, the golden ratio.
  3. The diagonals from the sides. With a=ABa = ABa=AB, b=BCb = BCb=BC, c=CDc = CDc=CD and d=DAd = DAd=DA, the cosine rule in triangles ABCABCABC and ADCADCADC, with cos⁡D=−cos⁡B\cos D = -\cos BcosD=−cosB, gives AC2=(ac+bd)(ad+bc)ab+cdAC^2 = \dfrac{(ac + bd)(ad + bc)}{ab + cd}AC2=ab+cd(ac+bd)(ad+bc)​.

Brahmagupta's formula

The Indian mathematician Brahmagupta (7th century) gave the area of a cyclic quadrilateral with sides aaa, bbb, ccc, ddd:

s=a+b+c+d2,\displaystyle s = \dfrac{a + b + c + d}{2},s=2a+b+c+d​,
P=(s−a)(s−b),Q=(s−c)(s−d),\displaystyle P = (s - a)(s - b), \qquad Q = (s - c)(s - d),P=(s−a)(s−b),Q=(s−c)(s−d),
K=PQ.\displaystyle K = \sqrt{PQ}.K=PQ​.

Put d=0d = 0d=0 and the quadrilateral becomes a triangle. The formula turns into Heron's formula, which the last course proves. The formula is only for cyclic quadrilaterals. A general quadrilateral needs an angle as well.

Where it comes from. Split along ACACAC. The area is 12(ab+cd)sin⁡B\tfrac{1}{2}(ab + cd)\sin B21​(ab+cd)sinB, since sin⁡D=sin⁡B\sin D = \sin BsinD=sinB. The cosine rule twice gives cos⁡B=a2+b2−c2−d22(ab+cd)\cos B = \dfrac{a^2 + b^2 - c^2 - d^2}{2(ab + cd)}cosB=2(ab+cd)a2+b2−c2−d2​. Put this into sin⁡2B=1−cos⁡2B\sin^2 B = 1 - \cos^2 Bsin2B=1−cos2B and factorise the difference of squares twice.

A worked example

A cyclic quadrilateral ABCDABCDABCD has AB=7 cmAB = 7\ \text{cm}AB=7 cm, BC=24 cmBC = 24\ \text{cm}BC=24 cm, CD=20 cmCD = 20\ \text{cm}CD=20 cm and DA=15 cmDA = 15\ \text{cm}DA=15 cm, and AC=25 cmAC = 25\ \text{cm}AC=25 cm. Find BDBDBD and the area.

  1. A diameter. 72+242=625=2527^2 + 24^2 = 625 = 25^272+242=625=252 and 152+202=62515^2 + 20^2 = 625152+202=625. So the angles at BBB and DDD are right angles, and ACACAC is a diameter.
  2. Ptolemy. 25⋅BD=7×20+15×24=140+360=50025 \cdot BD = 7 \times 20 + 15 \times 24 = 140 + 360 = 50025⋅BD=7×20+15×24=140+360=500, so BD=20 cmBD = 20\ \text{cm}BD=20 cm.
  3. Area, two ways. The two right triangles give 12×7×24+12×15×20=84+150=234 cm2\tfrac{1}{2} \times 7 \times 24 + \tfrac{1}{2} \times 15 \times 20 = 84 + 150 = 234\ \text{cm}^221​×7×24+21​×15×20=84+150=234 cm2. Brahmagupta with s=33 cms = 33\ \text{cm}s=33 cm gives 26×9×13×18 cm2=234 cm2\sqrt{26 \times 9 \times 13 \times 18}\ \text{cm}^2 = 234\ \text{cm}^226×9×13×18​ cm2=234 cm2. They agree.

Practise with new numbers

Try it in Python

The program puts four points on a circle at chosen angles, measures the sides and diagonals, and checks Ptolemy's theorem and Brahmagupta's formula. The area is also found from the coordinates by the shoelace formula.

Read it first. Then run it. Do both sides of each check agree?

1. Change the four angles to [10, 95, 200, 290]. Do the checks still hold?

2. Move one point off the circle by multiplying its coordinates by 1.2. Which check fails, and which side is larger?

Common mistakes

  • Pairing the wrong sides. Multiply opposite sides: ABABAB with CDCDCD, and ADADAD with BCBCBC.
  • Using Ptolemy for any quadrilateral. It holds with equality only when the four corners are on a circle.
  • Brahmagupta for a kite or a general shape. The formula needs a cyclic quadrilateral.
  • The order of the corners. ABCDABCDABCD must go round the circle in order, or the diagonals change.

Remember these

  • Ptolemy: AC⋅BD=AB⋅CD+AD⋅BCAC \cdot BD = AB \cdot CD + AD \cdot BCAC⋅BD=AB⋅CD+AD⋅BC for a cyclic ABCDABCDABCD; otherwise <<<.
  • Equilateral triangle, PPP on the arc BCBCBC: PA=PB+PCPA = PB + PCPA=PB+PC.
  • Regular pentagon: ds=1+52\dfrac{d}{s} = \dfrac{1 + \sqrt{5}}{2}sd​=21+5​​.
  • Brahmagupta: K=(s−a)(s−b)(s−c)(s−d)K = \sqrt{(s - a)(s - b)(s - c)(s - d)}K=(s−a)(s−b)(s−c)(s−d)​.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. A cyclic quadrilateral has AB=5 cmAB = 5\ \text{cm}AB=5 cm, CD=6 cmCD = 6\ \text{cm}CD=6 cm, AD=4 cmAD = 4\ \text{cm}AD=4 cm, BC=7 cmBC = 7\ \text{cm}BC=7 cm and BD=8 cmBD = 8\ \text{cm}BD=8 cm. Find ACACAC.
  1. ABCABCABC is equilateral and PPP is on the arc BCBCBC with PB=2 cmPB = 2\ \text{cm}PB=2 cm and PC=3 cmPC = 3\ \text{cm}PC=3 cm. Find PAPAPA.
  1. Find the area of a cyclic quadrilateral with sides 3 cm3\ \text{cm}3 cm, 4 cm4\ \text{cm}4 cm, 5 cm5\ \text{cm}5 cm and 6 cm6\ \text{cm}6 cm.
  1. Use Ptolemy to prove Pythagoras' theorem.
  1. A quadrilateral has AC⋅BD=40 cm2AC \cdot BD = 40\ \text{cm}^2AC⋅BD=40 cm2 and AB⋅CD+AD⋅BC=45 cm2AB \cdot CD + AD \cdot BC = 45\ \text{cm}^2AB⋅CD+AD⋅BC=45 cm2. Is it cyclic?

References

  • H. S. M. Coxeter and S. L. Greitzer, Geometry Revisited, Chapter 2, on Ptolemy's theorem and Brahmagupta's formula.

Enroll free in Power of a Point, Cyclic Quadrilaterals and Ptolemy

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (4)

A cyclic quadrilateral ABCD has sides AB = 33 cm, BC = 56 cm, CD = 52 cm and DA = 39 cm, and its…Hard · High School (11–12) · by StemPy Lab
A regular heptagon A₁A₂ … A₇ is drawn in a circle of radius 1 m…Advanced · High School (11–12) · by StemPy Lab
An equilateral triangle ABC is drawn in a circle…Hard · High School (11–12) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Power of a Point, Cyclic Quadrilaterals and Ptolemy
← Power of a point and the radical axisNext →

Discussion (0)

Log in to join the discussion.

Loading…

. That is Ptolemy's theorem. It proves
PA=PB+PCPA = PB + PCPA=PB+PC
for a point on the arc of an equilateral triangle and gives the golden ratio in a regular pentagon. Brahmagupta's formula gives the area of a cyclic quadrilateral from its four sides.
about 30 min1 simulation2 practice questions1 Python program5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

A regular pentagon ABCDE has side 10 cm…Advanced · High School (11–12) · by StemPy Lab

Python Labs (1)

Ptolemy and Brahmagupta on a circlePython Lab · by StemPy Lab

Question Sets (1)

Circles and Ptolemy: Concept Check10 questions · by StemPy Lab

Notes (1)

Circles and Ptolemy: Quick RevisionNote · by StemPy Lab