Generalised circle

In geometry, a generalized circle, sometimes called a cline or circline, is a straight line or a circle, the curves of constant curvature in the Euclidean plane.

The natural setting for generalized circles is the extended plane, a plane along with one point at infinity through which every straight line is considered to pass. Given any three distinct points in the extended plane, there exists precisely one generalized circle passing through all three.

Generalized circles sometimes appear in Euclidean geometry, which has a well-defined notion of distance between points, and where every circle has a center and radius: the point at infinity can be considered infinitely distant from any other point, and a line can be considered as a degenerate circle without a well-defined center and with infinite radius (zero curvature). A reflection across a line is a Euclidean isometry (distance-preserving transformation) which maps lines to lines and circles to circles; but an inversion in a circle is not, distorting distances and mapping any line to a circle passing through the reference circles's center, and vice-versa.

However, generalized circles are fundamental to inversive geometry, in which circles and lines are considered indistinguishable, the point at infinity is not distinguished from any other point, and the notions of curvature and distance between points are ignored. In inversive geometry, reflections, inversions, and more generally their compositions, called Möbius transformations, map generalized circles to generalized circles, and preserve the inversive relationships between objects. The extended plane can be identified with the sphere using a stereographic projection. The point at infinity then becomes an ordinary point on the sphere, and all generalized circles become circles on the sphere.

Extended complex plane
The extended Euclidean plane can be identified with the extended complex plane, so that equations of complex numbers can be used to describe lines, circles and inversions.

Bivariate linear equation
A circle $$\Gamma$$ is the set of points $$z$$ in a plane that lie at radius $$r$$ from a center point $$\gamma.$$


 * $$\Gamma(\gamma, r) = \{ z : \text{the distance between } z \text{ and } \gamma \text{ is } r \} $$

In the complex plane, $$\gamma$$ is a complex number and $$\Gamma$$ is a set of complex numbers. Using the property that a complex number multiplied by its conjugate is the square of its modulus (its Euclidean distance from the origin), an implicit equation for $$\Gamma$$ is:


 * $$\begin{align}

r^2 &= \left| z - \gamma \right|^2 = (z-\gamma)\overline{(z-\gamma)} \\[5mu] 0 &= z \bar z - \bar \gamma z - \gamma \bar z + \left(\gamma \bar \gamma - r^2\right). \end{align}$$

This is a homogeneous bivariate linear polynomial equation in terms of the complex variable $$z$$ and its conjugate $$\bar{z},$$ of the form



A z \bar z + B z + C \bar z + D = 0, $$

where coefficients $$A$$ and $$D$$ are real, and $$B$$ and $$C$$ are complex conjugates.

By dividing by $$A$$ and then reversing the steps above, the radius $$r$$ and center $$\gamma$$ can be recovered from any equation of this form. The equation represents a generalized circle in the plane when $$r$$ is real, which occurs when $$AD < BC$$ so that the squared radius $$r^2 = (BC - AD)/A^2$$ is positive. When $$A$$ is zero, the equation defines a straight line.

Complex reciprocal
That the reciprocal transformation $$z \mapsto w = 1/z$$ maps generalized circles to generalized circles is straight-forward to verify:


 * $$\begin{align}

0 &= A z \bar z + B z + C \bar z + D \\[5mu] &= \frac{A}{w\bar w} + \frac{B}{w} + \frac{C}{\bar w} + D \\[5mu] &= A + B \bar w + C w + D w \bar w  \\[5mu] &= D \bar w w + C w + B \bar w + A. \end{align}$$

Lines through the origin ($A = D = 0$) map to lines through the origin; lines not through the origin ($A = 0, D \neq 0$) map to circles through the origin; circles through the origin ($A \neq 0, D =0$) map to lines not through the origin; and circles not through the origin ($A \neq 0, D \neq 0$) map to circles not through the origin.

Complex matrix representation
The defining equation of a generalized circle


 * $$0 = A z \bar z + B z + C \bar z + D$$

can be written as a matrix equation



0 = \begin{pmatrix}z & 1 \end{pmatrix} \begin{pmatrix}A & B \\ C & D \end{pmatrix} \begin{pmatrix}\bar{z} \\ 1 \end{pmatrix}. $$

Symbolically,


 * $$0 = \mathbf{z}^\text{T} \mathfrak C \, \bar{\mathbf{z}},$$

with coefficients placed into an invertible hermitian matrix $$\mathfrak C = {\mathfrak C}^\dagger$$ representing the circle, and $$\mathbf{z} = \begin{pmatrix} z & 1 \end{pmatrix}^\text{T}$$ a vector representing an extended complex number.

Two such matrices specify the same generalized circle if and only if one is a scalar multiple of the other.

To transform the generalized circle represented by $$\mathfrak C$$ by the Möbius transformation $$\mathfrak H,$$ apply the inverse of the Möbius transformation $$\mathfrak G = \mathfrak H^{-1}$$ to the vector $$\mathbf{z}$$ in the implicit equation,


 * $$\begin{align}

0 &= \left({\mathfrak G} \mathbf{z}\right)^\text{T} \mathfrak C \, \overline{( \mathfrak G  \mathbf{z} )} \\ [5mu] &= \mathbf{z}^\text{T} \left({\mathfrak G}^\text{T} \mathfrak C \bar{\mathfrak G} \right) \bar{\mathbf{z}}, \end{align}$$

so the new circle can be represented by the matrix $${\mathfrak G}^\text{T} {\mathfrak C} \bar{\mathfrak G}.$$