In geometry, Descartes's theorem states that for every four kissing, or mutually tangent circles, the radii of the circles satisfy a certain quadratic equation. By solving this equation, one can construct a fourth circle tangent to three given, mutually tangent circles. The theorem is named after René Descartes, who stated it in 1643.

Frederick Soddy's 1936 poem The Kiss Precise summarizes the theorem in terms of the bends (signed inverse radii) of the four circles:

Special cases of the theorem apply when one or two of the circles is replaced by a straight line (with zero bend) or when the bends are integers or square numbers. A version of the theorem using complex numbers allows the centers of the circles, and not just their radii, to be calculated. With an appropriate definition of curvature, the theorem also applies in spherical geometry and hyperbolic geometry. In higher dimensions, an analogous quadratic equation applies to systems of pairwise tangent spheres or hyperspheres.

History Geometrical problems involving tangent circles have been pondered for millennia. In ancient Greece of the third century BC, Apollonius of Perga devoted an entire book to the topic, [Tangencies]. It has been lost, and is known largely through a description of its contents by Pappus of Alexandria and through fragmentary references to it in medieval Islamic mathematics. However, Greek geometry was largely focused on straightedge and compass construction. For instance, the problem of Apollonius, closely related to Descartes's theorem, asks for the construction of a circle tangent to three given circles which need not themselves be tangent. Instead, Descartes's theorem is formulated using algebraic relations between numbers describing geometric forms. This is characteristic of analytic geometry, a field pioneered by René Descartes and Pierre de Fermat in the first half of the 17th century.

Descartes discussed the tangent circle problem briefly in 1643, in two letters to Princess Elisabeth of the Palatinate. Descartes initially posed to the princess the problem of Apollonius. After Elisabeth's partial results revealed that solving the full problem analytically would be too tedious, he simplified the problem to the case in which the three given circles are mutually tangent, and in solving this simplified problem he came up with the equation describing the relation between the radii, or curvatures, of four pairwise tangent circles. This result became known as Descartes's theorem. Descartes did not provide the reasoning through which he found this relation.

Japanese mathematics frequently concerned problems involving circles and their tangencies, and Japanese mathematician Yamaji Nushizumi stated a form of Descartes's circle theorem in 1751. Like Descartes, he expressed it as a polynomial equation on the radii rather than their curvatures. The special case of this theorem for one straight line and three circles was recorded on a Japanese sangaku tablet from 1824.

Descartes's theorem was rediscovered in 1826 by Jakob Steiner, in 1842 by Philip Beecroft, and in 1936 by Frederick Soddy. Soddy chose to format his version of the theorem as a poem, The Kiss Precise, and published it in Nature. The kissing circles in this problem are sometimes known as Soddy circles. Soddy also extended the theorem to spheres, and in another poem described the chain of six spheres each tangent to its neighbors and to three given mutually tangent spheres, a configuration now called Soddy's hexlet. Thorold Gosset and several others extended the theorem and the poem to arbitrary dimensions; Gosset's version was published the following year. The generalization is sometimes called the Soddy–Gosset theorem, although both the hexlet and the three-dimensional version were known earlier, in sangaku and in the 1886 work of Robert Lachlan. A generalization for multiple kissing circles in two dimensions was proved in 2025.

Multiple proofs of the theorem have been published. Steiner's proof uses Pappus chains and Viviani's theorem. Proofs by Philip Beecroft and by H. S. M. Coxeter involve four more circles, passing through triples of tangencies of the original three circles; Coxeter also provided a proof using inversive geometry. Additional proofs involve arguments based on symmetry, calculations in exterior algebra, or algebraic manipulation of Heron's formula (for which see ). The result also follows from the observation that the Cayley–Menger determinant of the four coplanar circle centers is zero.

Statement

Descartes's theorem is most easily stated in terms of the circles' curvatures. The signed curvature (or bend) of a circle is defined where is its radius. The larger a circle, the smaller is the magnitude of its curvature, and vice versa. The sign in (represented by the symbol) is positive for a circle that is externally tangent to the other circles. For an internally tangent circle that circumscribes the other circles, the sign is negative. If a straight line is considered a degenerate circle with zero curvature (and thus infinite radius), Descartes's theorem also applies to a line and three circles that are all three mutually tangent (see Generalized circle).

For four circles that are tangent to each other at six distinct points, with curvatures Descartes's theorem says:

If one of the four curvatures is considered to be a variable, and the rest to be constants, this is a quadratic equation. To find the radius of a fourth circle tangent to three given kissing circles, the quadratic equation can be solved as

The symbol indicates that in general this equation has two solutions, and any triple of tangent circles has two tangent circles (or degenerate straight lines). Problem-specific criteria may favor one of these two solutions over the other in any given problem.

The theorem does not apply to systems of circles with more than two circles tangent to each other at the same point. It requires that the points of tangency be distinct. When more than two circles are tangent at a single point, there can be infinitely many such circles, with arbitrary curvatures; see pencil of circles.

Locating the circle centers To determine a circle completely, not only its radius (or curvature), but also its center must be known. The relevant equation is expressed most clearly if the Cartesian coordinates are interpreted as a complex number . The equation then looks similar to Descartes's theorem and is therefore called the complex Descartes theorem. Given four circles with curvatures and centers the following equality holds in addition to :

Once has been found using , one may proceed to calculate by solving as a quadratic equation, leading to a form similar to :

Again, in general there are two solutions corresponding to the two solutions The plus/minus sign in the above formula does not necessarily correspond to the plus/minus sign in the formula

Special cases

Three congruent circles When three of the four circles are congruent, their centers form an equilateral triangle, as do their points of tangency. The two possibilities for a fourth circle tangent to all three are concentric, and reduces to

One or more straight lines

If one of the three circles is replaced by a straight line tangent to the remaining circles, then its curvature is zero and drops out of For instance, then can be factorized

and simplifies

Taking the square root of both sides leads to another alternative formulation of this case

which has been described as "a sort of demented version of the Pythagorean theorem".

If two circles are replaced by lines, the tangency between the two replaced circles becomes a parallelism between their two replacement lines. In this case, is reduced to the trivial

This corresponds to the observation that, for all four curves to remain mutually tangent, the other two circles must be

Integer curvatures

When four tangent circles described by all have integer curvatures, the alternative fourth circle described by the second solution to the equation must also have an integer curvature. This is because both solutions differ from an integer by the square root of an integer, and so either solution can only be an integer if this square root, and hence the other solution, is also an integer. Every four integers that satisfy the equation in Descartes's theorem form the curvatures of four tangent Integer quadruples of this type are also closely related to Heronian triangles, triangles with integer sides and

Starting with any four mutually tangent circles, and repeatedly replacing one of the four with its alternative solution (Vieta jumping), in all possible ways, leads to a system of infinitely many tangent circles called an Apollonian gasket. When the initial four circles have integer curvatures, so does each replacement, and therefore all of the circles in the gasket have integer curvatures. Any four tangent circles with integer curvatures belong to exactly one such gasket, uniquely described by its root quadruple of the largest four largest circles and four smallest curvatures. This quadruple can be found, starting from any other quadruple from the same gasket, by repeatedly replacing the smallest circle by a larger one that solves the same Descartes equation, until no such reduction is possible.

A root quadruple is said to be primitive if it has no nontrivial common divisor. Every primitive root quadruple can be found from a factorization of a sum of two squares, as the To be primitive, it must satisfy the additional Factorizations of sums of two squares can be obtained using the sum of two squares theorem. Any other integer Apollonian gasket can be formed by multiplying a primitive root quadruple by an arbitrary integer, and any quadruple in one of these gaskets (that is, any integer solution to the Descartes equation) can be formed by reversing the replacement process used to find the root quadruple. For instance, the gasket with root shown in the figure, is generated in this way from the factorized sum of two squares

Ford circles

The special cases of one straight line and integer curvatures combine in the Ford circles. These are an infinite family of circles tangent to the of the Cartesian coordinate system at its rational points. Each fraction (in lowest terms) has a circle tangent to the line at the point with curvature . Three of these curvatures, together with the zero curvature of the axis, meet the conditions of Descartes's theorem whenever the denominators of two of the corresponding fractions sum to the denominator of the third. The two Ford circles for fractions and (both in lowest terms) are tangent When they are tangent, they form a quadruple of tangent circles with the and with the circle for their mediant .

The Ford circles belong to a special Apollonian gasket with root bounded between two parallel lines, which may be taken as the and the This is the only Apollonian gasket containing a straight line, and not bounded within a negative-curvature circle. The Ford circles are the circles in this gasket that are tangent to the .

Geometric progression

When the four radii of the circles in Descartes's theorem are assumed to be in a geometric progression with the curvatures are also in the same progression (in reverse). Plugging this ratio into the theorem gives the equation

which has only one real solution greater than one, the ratio

where is the golden ratio. If the same progression is continued in both directions, each consecutive four numbers describe circles obeying Descartes's theorem. The resulting double-ended geometric progression of circles can be arranged into a single spiral pattern of tangent circles, called Coxeter's loxodromic sequence of tangent circles. It was first described, together with analogous constructions in higher dimensions, by H. S. M. Coxeter in 1968.

Soddy circles of a triangle