1. Home
  2. Explore
  3. Mathematics
  4. Ptolemy’s Theorem

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Ptolemy’s Theorem

Ptolemy’s Theorem and Inversion in the Plane

Ptolemy’s theorem

A cyclic quadrilateral is a quadrilateral whose four vertices lie on one circle. Label its vertices in order as AAA, BBB, CCC, and DDD. Its sides are ABABAB, BCBCBC, CDCDCD, and DADADA, and its diagonals are ACACAC and BDBDBD.

Ptolemy’s theorem: In a cyclic quadrilateral, the sum of the products of opposite sides equals the product of the diagonals:

AB⋅CD+BC⋅DA=AC⋅BD.AB\cdot CD+BC\cdot DA=AC\cdot BD.AB⋅CD+BC⋅DA=AC⋅BD.

The order of the vertices around the circle matters: the opposite side pairs are ABABAB with CDCDCD, and BCBCBC with DADADA. The theorem applies to any cyclic quadrilateral, regardless of its particular shape.


How Ptolemy’s theorem includes the Pythagorean theorem

The Pythagorean theorem says that in a right triangle with legs of lengths aaa and bbb and hypotenuse of length ccc,

a2+b2=c2.a^2+b^2=c^2.a2+b2=c2.

To obtain this result from Ptolemy’s theorem, place two identical copies of the right triangle together, flipping one copy so they form a rectangle. The rectangle’s side lengths are aaa and bbb, and both of its diagonals have length ccc.

A rectangle is cyclic: its four vertices lie on a circle. Applying Ptolemy’s theorem to the rectangle gives

a⋅a+b⋅b=c⋅c,a\cdot a+b\cdot b=c\cdot c,a⋅a+b⋅b=c⋅c,

which simplifies to

a2+b2=c2.a^2+b^2=c^2.a2+b2=c2.

Thus, the Pythagorean theorem is a special case of Ptolemy’s theorem. In this sense, Ptolemy’s theorem is more general: it can establish the Pythagorean result, while the Pythagorean theorem concerns only right triangles.


Inversion in the plane

Inversion is a transformation defined relative to a chosen circle, called the circle of inversion. Let its center be OOO and its radius be rrr. Every point PPP other than OOO is mapped to a point P′P'P′ on the same ray from OOO, chosen so that

OP⋅OP′=r2.OP\cdot OP'=r^2.OP⋅OP′=r2.

This equation is the key distance rule for inversion.

  • If PPP is outside the circle, then P′P'P′ is inside it.

  • If PPP is inside the circle, then P′P'P′ is outside it.

  • If PPP lies on the circle, then OP=rOP=rOP=r, so OP′=rOP'=rOP′=r as well. Therefore, every point on the circle remains fixed.

  • The center OOO is not assigned a point in the ordinary plane. As PPP approaches OOO, its image moves arbitrarily far away; points arbitrarily far from OOO have images arbitrarily close to OOO.

Inversion is not a uniform rescaling. The image distance depends on how far each point is from the center: points near OOO are sent far away, while distant points are brought close to OOO.

Inversion applied twice

Inverting a point twice returns it to its starting position. If PPP maps to P′P'P′, then

OP⋅OP′=r2.OP\cdot OP'=r^2.OP⋅OP′=r2.

Applying the same rule to P′P'P′ gives a point at distance r2/OP′=OPr^2/OP'=OPr2/OP′=OP from OOO, on the same ray as PPP. It is therefore PPP again. Inversion is consequently an involution: applying it twice leaves every point unchanged.


How inversion transforms lines and circles

The effect of inversion on a line or circle depends on whether it passes through the center OOO.

Lines through the center

A line through OOO maps to itself. Every point on the line maps to another point on that same line, although points inside and outside the inversion circle exchange positions.

Lines not through the center

A line that does not pass through OOO maps to a circle that does pass through OOO. Points far along the original line map close to OOO, which explains why the image bends around and approaches the center.

Circles through the center

A circle that passes through OOO maps to a line that does not pass through OOO. This is the transformation used to simplify the configuration in the proof of Ptolemy’s theorem.

Circles not through the center

A circle that does not pass through OOO maps to another circle that does not pass through OOO.

Together, these facts give the central line-and-circle relationships:

  • Lines through OOO map to themselves.

  • Lines not through OOO map to circles through OOO.

  • Circles through OOO map to lines not through OOO.

  • Circles not through OOO map to circles not through OOO.


How inversion changes distances

The inversion rule gives a formula for the distance from the center to an image point:

OP⋅OP′=r2.OP\cdot OP'=r^2.OP⋅OP′=r2.

For two arbitrary points AAA and BBB with images A′A'A′ and B′B'B′, the distance between the image points is

A′B′=r2⋅ABOA⋅OB.A'B'=\frac{r^2\cdot AB}{OA\cdot OB}.A′B′=OA⋅OBr2⋅AB​.

This formula expresses the new distance entirely in terms of the original configuration and the radius of inversion.

It can be understood using similar triangles. The triangles formed by O,A,BO,A,BO,A,B and by O,B′,A′O,B',A'O,B′,A′ are similar: the points’ distances from OOO change according to the inversion rule, and the included angle at OOO is unchanged. Comparing corresponding sides gives the distance formula.

The formula shows why inversion does not preserve lengths. Each distance is multiplied by a factor that depends on both endpoints’ distances from OOO. Segments near the center can become very long, while segments far from the center can become very short.


Proving Ptolemy’s theorem by inversion

The proof uses inversion to turn the circle containing the quadrilateral into a line. A line makes it possible to use the elementary fact that, when three points lie in order on a line, the two adjacent distances add to the distance between the outer points.

1. Choose the center of inversion

Start with a cyclic quadrilateral ABCDABCDABCD. Choose one of its vertices, say DDD, as the center of inversion.

Because the circumcircle of ABCDABCDABCD passes through DDD, it maps to a line. The image of DDD itself is not defined in the ordinary plane, so it is left out of the transformed configuration. The other three vertices map to points A′A'A′, B′B'B′, and C′C'C′ on the image line.

With the vertices in their cyclic order, the image points lie in order on that line. Therefore,

A′B′+B′C′=A′C′.A'B'+B'C'=A'C'.A′B′+B′C′=A′C′.

This is the simple linear relationship that will yield Ptolemy’s theorem.

2. Replace each image distance with its original distance

Since the center is DDD, the inversion distance formula gives

A′B′=r2⋅ABDA⋅DB,A'B'=\frac{r^2\cdot AB}{DA\cdot DB},A′B′=DA⋅DBr2⋅AB​,
B′C′=r2⋅BCDB⋅DC,B'C'=\frac{r^2\cdot BC}{DB\cdot DC},B′C′=DB⋅DCr2⋅BC​,

and

A′C′=r2⋅ACDA⋅DC.A'C'=\frac{r^2\cdot AC}{DA\cdot DC}.A′C′=DA⋅DCr2⋅AC​.

Substitute these expressions into the line-segment addition equation:

r2⋅ABDA⋅DB+r2⋅BCDB⋅DC=r2⋅ACDA⋅DC.\frac{r^2\cdot AB}{DA\cdot DB} +\frac{r^2\cdot BC}{DB\cdot DC} =\frac{r^2\cdot AC}{DA\cdot DC}.DA⋅DBr2⋅AB​+DB⋅DCr2⋅BC​=DA⋅DCr2⋅AC​.

3. Clear the common factors and denominators

First, cancel the common factor r2r^2r2. Then multiply by the common denominator DA⋅DB⋅DCDA\cdot DB\cdot DCDA⋅DB⋅DC. The result is

AB⋅DC+BC⋅DA=AC⋅DB.AB\cdot DC+BC\cdot DA=AC\cdot DB.AB⋅DC+BC⋅DA=AC⋅DB.

This is exactly Ptolemy’s theorem:

AB⋅CD+BC⋅DA=AC⋅BD.AB\cdot CD+BC\cdot DA=AC\cdot BD.AB⋅CD+BC⋅DA=AC⋅BD.

The radius of inversion disappears from the final equation. It helps define the transformation, but the theorem does not depend on its value.


Why the proof works

The proof turns a geometric relationship on a circle into a simple addition statement on a line:

  1. Choosing a vertex of the cyclic quadrilateral as the inversion center makes its circumcircle map to a line.

  2. The three remaining vertices map to three collinear points, whose adjacent segment lengths add to the total distance between the outer points.

  3. The inversion distance formula translates that line relationship back into distances in the original quadrilateral.

  4. Clearing denominators produces the products of opposite sides and the product of the diagonals.

The essential strategy is to choose the inversion center carefully. Placing it at a vertex both converts the circumcircle into a line and removes that vertex from the transformed figure, leaving only three points to consider.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent