Ptolemy’s Theorem


Ptolemy’s Theorem

Anna
Today we’re exploring a beautiful geometry result: Ptolemy’s theorem. We’ll connect it to the much more familiar Pythagorean theorem, then use a surprising transformation called inversion to prove it.

Michael
Let’s begin with the famous one. If a right triangle has shorter sides of lengths a and b, and hypotenuse c, then a squared plus b squared equals c squared. Many people know the formula, even if they’ve never seen a proof.

Anna
Ptolemy’s theorem is about a different kind of figure: a cyclic quadrilateral. That just means a four-sided shape whose four vertices all lie on one circle. Draw its diagonals as well as its sides, and Ptolemy tells us how the six lengths are related.

Michael
Let’s label the vertices A, B, C, and D in order around the circle. The sides are AB, BC, CD, and DA; the diagonals are AC and BD. Ptolemy says AB times CD, plus BC times DA, equals AC times BD.

Anna
So the product of one pair of opposite sides, plus the product of the other pair of opposite sides, gives the product of the diagonals. The points can be anywhere on the circle, as long as they go around it in that order.

Michael
And the theorem is stronger than Pythagoras in a useful sense: we can get Pythagoras as a special case. Picture a right triangle, then put a congruent copy beside it, flipped over along one of its sides.

Anna
Together, those two triangles make a rectangle. If the original right triangle has legs a and b and hypotenuse c, the rectangle’s opposite sides have lengths a and b, and each diagonal has length c.

Michael
A rectangle is cyclic: its four vertices lie on a circle. So Ptolemy applies. The products of the opposite sides are a times a and b times b, while the product of the diagonals is c times c.

Anna
That gives a squared plus b squared equals c squared. So Pythagoras follows directly from Ptolemy for this rectangle. That’s one reason Ptolemy can be thought of as a broader theorem.

Michael
Now for the proof method. Ptolemy has several proofs, including approaches using plane geometry, trigonometry, or complex numbers. The method we’ll focus on is inversion in the plane, which transforms a circle-based picture into a much simpler one.

Anna
Before defining inversion, think about familiar transformations: reflection, rotation, translation, or dilation. They move or resize a figure, but it remains recognizably the same shape. Inversion is less intuitive: it can turn a line into a circle, or a circle into a line.

Michael
To define it, choose a center O and a circle around O with radius R. For any point X other than O, its image X-prime lies on the ray from O through X, and the distances satisfy OX times OX-prime equals R squared.

Anna
That product rule tells us where the image goes. If X is outside the circle, its image is inside; if X is inside, its image is outside. Points on the circle stay where they are, because their distance from O is already R.

Michael
There’s also a tangent construction that gives the same image: for an external point X, draw a tangent from X to the circle, then use the right-angle geometry of the tangent and radius to locate X-prime on OX. The key result is still OX times OX-prime equals R squared.

Anna
What about the center O itself? The formula would require an image infinitely far away, so inversion is left undefined there. That’s not unusual for a transformation: even the function one over x is undefined at zero, yet it is still useful elsewhere.

Michael
A really important property is that inversion undoes itself. If X maps to X-prime, then inverting X-prime takes us back to X, because the same product rule holds in reverse. Inverting twice therefore restores every point other than the center.

Anna
Now let’s see what happens to lines. A line through O maps to itself: points move along that same line, swapping between the inside and outside portions, while points on the inversion circle remain fixed.

Michael
A line that does not pass through O behaves differently. Its points map onto a circle that does pass through O. Points farther and farther along the line map closer and closer to O, which is why the image bends around instead of staying a line.

Anna
And because inversion applied twice gets us back to the starting figure, a circle through O maps back to a line not through O. The other case is circles that do not pass through O: they map to other circles that do not pass through O.

Michael
So we have a useful summary: lines through the center stay on the same line; lines not through the center become circles through it; and circles through the center become lines. The remaining circles map to circles.

Anna
Let’s return to the cyclic quadrilateral and choose an inversion that simplifies it. We want its circumcircle—the circle through A, B, C, and D—to become a line. For that, the center of inversion must lie on the circumcircle.

Michael
We can make the choice even more useful by placing the center at one of the vertices. Let’s choose D. Since D lies on the circumcircle, that circle maps to a line, and D itself is the one point we leave out because inversion is undefined at its center.

Anna
The other three vertices A, B, and C map to points A-prime, B-prime, and C-prime on that line. With the vertices in their cyclic order, B-prime lies between A-prime and C-prime. So ordinary addition of lengths gives A-prime B-prime plus B-prime C-prime equals A-prime C-prime.

Michael
That is the simple, almost elementary-looking statement we wanted. But we can’t just treat the new lengths as the old ones: inversion does not preserve distances. We need a formula telling us exactly how a segment’s length changes.

Anna
First, the distance from the center changes according to OX times OX-prime equals R squared. A point very close to O therefore maps very far away, and a point far from O maps close to O. Those distances balance to keep their product fixed.

Michael
For two points A and B, the distance formula is A-prime B-prime equals AB times R squared, divided by OA times OB. One way to see it is through similar triangles: the inversion rule gives the matching ratios of distances from O, and the triangles involving A, B, and their images are similar.

Anna
So the formula has a clear structure: take the old segment length AB, multiply by the inversion radius squared, and divide by the two old distances to the center. Everything on the right is measured before inversion.

Michael
Now apply that formula to our three segments on the image line. Since the center is D, A-prime B-prime equals AB times R squared over DA times DB. Likewise, B-prime C-prime equals BC times R squared over DB times DC.

Anna
And A-prime C-prime equals AC times R squared over DA times DC. Substitute all three expressions into the line-length equation, A-prime B-prime plus B-prime C-prime equals A-prime C-prime.

Michael
The equation now has a factor of R squared in every term, so it cancels. Then multiply through by the common denominator DA times DB times DC. The first term becomes AB times DC, and the second becomes BC times DA.

Anna
The right-hand side becomes AC times DB. So we have AB times CD plus BC times DA equals AC times BD. That is exactly Ptolemy’s theorem.

Michael
The hard part was choosing the inversion center cleverly—at a vertex of the cyclic quadrilateral. After that, the proof used two ingredients: similar triangles to understand distances, and the fact that distances along a line add.

Anna
And we’ve seen the connection back to the beginning: Ptolemy gives Pythagoras when the cyclic quadrilateral is a rectangle built from two copies of a right triangle. The supplied material also points toward further applications, including a connection between pentagons and the golden ratio, though it doesn’t develop that argument here.

Michael
That’s the satisfying idea to take away: a complicated-looking relationship among four points on a circle can become a simple addition statement on a line, once we transform the picture in exactly the right way.

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