In a cyclic quadrilateral ABCD the product of the diagonals equals the sum of the products of the opposite sides: AC⋅BD=AB⋅CD+AD⋅BC
Lesson 3 of 3Show all lessonsHide
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 a and b inside a circle. Its diagonals are diameters of length d. Pythagoras says d⋅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 ABCD is a cyclic quadrilateral, then AC⋅BD=AB⋅CD+AD⋅BC.
Proof. Choose the point K on the diagonal AC with ∠ABK=∠DBC.
First pair. In triangles ABK and DBC, ∠ABK=∠DBC by the choice of K, and ∠BAK=∠BAC=∠BDC (same segment). So they are similar, and ABAK=DBDC. That gives AK⋅BD=AB⋅CD.
Second pair. Add ∠KBD to both equal angles: ∠ABD=∠KBC. Also ∠ADB=∠ACB=∠KCB (same segment). So triangles ABD and KBC are similar, and BCKC=BDAD. That gives KC⋅BD=AD⋅BC.
Add.(AK+KC)⋅BD=AB⋅CD+AD⋅BC, and AK+KC=AC.
For a quadrilateral that is not cyclic, the left side is smaller: AC⋅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
The equilateral triangle. Let ABC be equilateral with side s, and P on the arc BC away from A. Ptolemy on ABPC: PA⋅s=PB⋅s+PC⋅s. So PA=PB+PC.
The regular pentagon. Let the side be s and the diagonal d. Four corners of the pentagon make a cyclic quadrilateral with three sides s, one side d and both diagonals d. Ptolemy gives d2=s2+sd. So sd=21+5≈1.618, the golden ratio.
The diagonals from the sides. With a=AB, b=BC, c=CD and d=DA, the cosine rule in triangles ABC and ADC, with cosD=−cosB, gives 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 a, b, c, d:
s=2a+b+c+d,
P=(s−a)(s−b),Q=(s−c)(s−d),
K=PQ.
Put d=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 AC. The area is 21(ab+cd)sinB, since sinD=sinB. The cosine rule twice gives cosB=2(ab+cd)a2+b2−c2−d2. Put this into sin2B=1−cos2B and factorise the difference of squares twice.
A worked example
A cyclic quadrilateral ABCD has AB=7cm, BC=24cm, CD=20cm and DA=15cm, and AC=25cm. Find BD and the area.
A diameter.72+242=625=252 and 152+202=625. So the angles at B and D are right angles, and AC is a diameter.
Ptolemy.25⋅BD=7×20+15×24=140+360=500, so BD=20cm.
Area, two ways. The two right triangles give 21×7×24+21×15×20=84+150=234cm2. Brahmagupta with s=33cm gives 26×9×13×18cm2=234cm2. 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.
Common mistakes
Pairing the wrong sides. Multiply opposite sides: AB with CD, and AD with BC.
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.ABCD must go round the circle in order, or the diagonals change.
Remember these
Ptolemy: AC⋅BD=AB⋅CD+AD⋅BC for a cyclic ABCD; otherwise <.
Equilateral triangle, P on the arc BC: PA=PB+PC.
Regular pentagon: sd=21+5.
Brahmagupta: 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.
A cyclic quadrilateral has AB=5cm, CD=6cm, AD=4cm, BC=7cm and BD=8cm. Find AC.
ABC is equilateral and P is on the arc BC with PB=2cm and PC=3cm. Find PA.
Find the area of a cyclic quadrilateral with sides 3cm, 4cm, 5cm and 6cm.
Use Ptolemy to prove Pythagoras' theorem.
A quadrilateral has AC⋅BD=40cm2 and AB⋅CD+AD⋅BC=45cm2. 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.
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.