TExcelTAD
Home › Euclidean Geometry: Axiomatics, Constructions & Triangle Theorems › Ptolemy's Theorem, Brahmagupta's Formula, and Harmonic Quadrilaterals

Ptolemy's Theorem, Brahmagupta's Formula, and Harmonic Quadrilaterals

A cyclic quadrilateral is a four-sided polygon whose four vertices all lie on the circumference of a single circle. These shapes form the crown jewels of Euclidean plane geometry, uniting trigonometry, similarity, and metric area formulas.


1. Ptolemy's Theorem

Claudius Ptolemy of Alexandria (c. 150 CE) used this theorem in the Almagest to construct his astronomical table of chords (the forerunner of modern trigonometric sine tables).

Ptolemy’s Theorem: In any cyclic quadrilateral ABCD, the product of the lengths of the diagonals equals the sum of the products of the lengths of opposite sides:\textbf{Ptolemy's Theorem: } \text{In any cyclic quadrilateral } ABCD\text{, the product of the lengths of the diagonals equals the sum of the products of the lengths of opposite sides:}
AC⋅BD=AB⋅CD+BC⋅ADAC \cdot BD = AB \cdot CD + BC \cdot AD
Ptolemy’s Inequality: For ANY quadrilateral in the plane, AC⋅BD≤AB⋅CD+BC⋅AD, with equality if and only if the quadrilateral is cyclic!\textbf{Ptolemy's Inequality: } \text{For ANY quadrilateral in the plane, } AC \cdot BD \le AB \cdot CD + BC \cdot AD\text{, with equality if and only if the quadrilateral is cyclic!}

2. Brahmagupta's Area Formula (628 CE)

Just as Heron's formula computes the area of any triangle from its three sides, Indian mathematician Brahmagupta discovered the exact generalization for cyclic quadrilaterals:

Brahmagupta’s Formula: Area K=(s−a)(s−b)(s−c)(s−d)\textbf{Brahmagupta's Formula: } \text{Area } K = \sqrt{(s - a)(s - b)(s - c)(s - d)}

where a,b,c,da, b, c, d are the four side lengths, and s=a+b+c+d2s = \frac{a + b + c + d}{2} is the semiperimeter.

(Notice that setting d=0d = 0 reduces a quadrilateral to a triangle, and Brahmagupta's formula reduces precisely to Heron's formula K=s(s−a)(s−b)(s−c)K = \sqrt{s(s-a)(s-b)(s-c)}!)


3. Harmonic Quadrilaterals

A cyclic quadrilateral ABCDABCD is called harmonic if the products of its opposite side lengths are equal:

AB⋅CD=BC⋅DAAB \cdot CD = BC \cdot DA

By Ptolemy's theorem, in a harmonic quadrilateral, each product of opposite sides equals half the product of the diagonals:

AB⋅CD=BC⋅DA=12AC⋅BDAB \cdot CD = BC \cdot DA = \frac{1}{2} AC \cdot BD

4. Paper Notebook Worked Example

Problem: A cyclic quadrilateral ABCDABCD has side lengths AB=2AB = 2, BC=3BC = 3, CD=6CD = 6, and DA=7DA = 7.

  1. Compute its exact semiperimeter ss.
  2. Calculate its exact area KK using Brahmagupta's formula.
  3. If diagonal AC=5AC = 5, find the exact length of the other diagonal BDBD using Ptolemy's theorem.

Step-by-step Solution:

  1. Compute the semiperimeter:
s=2+3+6+72=182=9s = \frac{2 + 3 + 6 + 7}{2} = \frac{18}{2} = 9
  1. Apply Brahmagupta's Formula:
s−a=9−2=7,s−b=9−3=6,s−c=9−6=3,s−d=9−7=2s - a = 9 - 2 = 7, \quad s - b = 9 - 3 = 6, \quad s - c = 9 - 6 = 3, \quad s - d = 9 - 7 = 2
K=7×6×3×2=7×36=67≈15.87K = \sqrt{7 \times 6 \times 3 \times 2} = \sqrt{7 \times 36} = 6\sqrt{7} \approx 15.87
  1. Use Ptolemy's Theorem to find diagonal BDBD:
AC⋅BD=AB⋅CD+BC⋅DAAC \cdot BD = AB \cdot CD + BC \cdot DA

Substitute the known values:

(5)⋅BD=(2)(6)+(3)(7)=12+21=33(5) \cdot BD = (2)(6) + (3)(7) = 12 + 21 = 33
BD=335=6.6BD = \frac{33}{5} = 6.6

Geometric Vector Diagram

A B C D Ptolemy's Theorem: AC * BD = AB * CD + BC * DA

Test yourself

What is the area of a cyclic quadrilateral with sides 1,2,3,41, 2, 3, 4 using Brahmagupta's formula?

  1. 24=26\sqrt{24} = 2\sqrt{6}
  2. 1010
  3. 66
  4. 12=23\sqrt{12} = 2\sqrt{3}

Ptolemy's Inequality states that AC⋅BD≤AB⋅CD+BC⋅ADAC \cdot BD \le AB \cdot CD + BC \cdot AD. When does strict equality hold?

  1. If and only if the four vertices lie on a single common circle (cyclic quadrilateral).
  2. If and only if the quadrilateral is a square.
  3. If and only if opposite sides are parallel.
  4. Always, for every polygon.

In a harmonic cyclic quadrilateral ABCDABCD, what is the relationship between the opposite side products AB⋅CDAB \cdot CD and BC⋅DABC \cdot DA?

  1. AB⋅CD=BC⋅DAAB \cdot CD = BC \cdot DA
  2. AB⋅CD=2(BC⋅DA)AB \cdot CD = 2(BC \cdot DA)
  3. AB⋅CD+BC⋅DA=0AB \cdot CD + BC \cdot DA = 0
  4. No fixed relationship exists.