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 A, B, C, and D. Its sides are AB, BC, CD, and DA, and its diagonals are AC and BD.
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.
The order of the vertices around the circle matters: the opposite side pairs are AB with CD, and BC with DA. 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 a and b and hypotenuse of length c,
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 a and b, and both of its diagonals have length c.
A rectangle is cyclic: its four vertices lie on a circle. Applying Ptolemy’s theorem to the rectangle gives
which simplifies to
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 O and its radius be r. Every point P other than O is mapped to a point P′ on the same ray from O, chosen so that
This equation is the key distance rule for inversion.
If P is outside the circle, then P′ is inside it.
If P is inside the circle, then P′ is outside it.
If P lies on the circle, then OP=r, so OP′=r as well. Therefore, every point on the circle remains fixed.
The center O is not assigned a point in the ordinary plane. As P approaches O, its image moves arbitrarily far away; points arbitrarily far from O have images arbitrarily close to O.
Inversion is not a uniform rescaling. The image distance depends on how far each point is from the center: points near O are sent far away, while distant points are brought close to O.
Inversion applied twice
Inverting a point twice returns it to its starting position. If P maps to P′, then
Applying the same rule to P′ gives a point at distance r2/OP′=OP from O, on the same ray as P. It is therefore P 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 O.
Lines through the center
A line through O 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 O maps to a circle that does pass through O. Points far along the original line map close to O, which explains why the image bends around and approaches the center.
Circles through the center
A circle that passes through O maps to a line that does not pass through O. 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 O maps to another circle that does not pass through O.
Together, these facts give the central line-and-circle relationships:
Lines through O map to themselves.
Lines not through O map to circles through O.
Circles through O map to lines not through O.
Circles not through O map to circles not through O.
How inversion changes distances
The inversion rule gives a formula for the distance from the center to an image point:
For two arbitrary points A and B with images A′ and B′, the distance between the image points is
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,B and by O,B′,A′ are similar: the points’ distances from O change according to the inversion rule, and the included angle at O 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 O. 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 ABCD. Choose one of its vertices, say D, as the center of inversion.
Because the circumcircle of ABCD passes through D, it maps to a line. The image of D 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′, B′, and C′ on the image line.
With the vertices in their cyclic order, the image points lie in order on that line. Therefore,
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 D, the inversion distance formula gives
and
Substitute these expressions into the line-segment addition equation:
3. Clear the common factors and denominators
First, cancel the common factor r2. Then multiply by the common denominator DA⋅DB⋅DC. The result is
This is exactly Ptolemy’s theorem:
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:
Choosing a vertex of the cyclic quadrilateral as the inversion center makes its circumcircle map to a line.
The three remaining vertices map to three collinear points, whose adjacent segment lengths add to the total distance between the outer points.
The inversion distance formula translates that line relationship back into distances in the original quadrilateral.
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.