Circumcircle

In geometry, the circumscribed circle or circumcircle of a triangle is a circle that passes through all three vertices. The center of this circle is called the circumcenter of the triangle, and its radius is called the circumradius. The circumcenter is the point of intersection between the three perpendicular bisectors of the triangle's sides, and is a triangle center.

More generally, an $n$-sided polygon with all its vertices on the same circle, also called the circumscribed circle, is called a cyclic polygon, or in the special case $n = 4$, a cyclic quadrilateral. All rectangles, isosceles trapezoids, right kites, and regular polygons are cyclic, but not every polygon is.

Straightedge and compass construction


The circumcenter of a triangle can be constructed by drawing any two of the three perpendicular bisectors. For three non-collinear points, these two lines cannot be parallel, and the circumcenter is the point where they cross. Any point on the bisector is equidistant from the two points that it bisects, from which it follows that this point, on both bisectors, is equidistant from all three triangle vertices. The circumradius is the distance from it to any of the three vertices.

Alternative construction
An alternative method to determine the circumcenter is to draw any two lines each one departing from one of the vertices at an angle with the common side, the common angle of departure being 90° minus the angle of the opposite vertex. (In the case of the opposite angle being obtuse, drawing a line at a negative angle means going outside the triangle.)

In coastal navigation, a triangle's circumcircle is sometimes used as a way of obtaining a position line using a sextant when no compass is available. The horizontal angle between two landmarks defines the circumcircle upon which the observer lies.

Cartesian coordinates
In the Euclidean plane, it is possible to give explicitly an equation of the circumcircle in terms of the Cartesian coordinates of the vertices of the inscribed triangle. Suppose that
 * $$\begin{align}

\mathbf{A} &= (A_x, A_y) \\ \mathbf{B} &= (B_x, B_y) \\ \mathbf{C} &= (C_x, C_y) \end{align}$$

are the coordinates of points $Q$. The circumcircle is then the locus of points $$\mathbf v = (v_x,v_y)$$ in the Cartesian plane satisfying the equations
 * $$\begin{align}

|\mathbf{v} - \mathbf{u}|^2 &= r^2 \\ |\mathbf{A} - \mathbf{u}|^2 &= r^2 \\ |\mathbf{B} - \mathbf{u}|^2 &= r^2 \\ |\mathbf{C} - \mathbf{u}|^2 &= r^2 \end{align}$$

guaranteeing that the points $△ABC$ are all the same distance $A, B, C$ from the common center $$\mathbf u$$ of the circle. Using the polarization identity, these equations reduce to the condition that the matrix
 * $$\begin{bmatrix}

|\mathbf{v}|^2 & -2v_x & -2v_y & -1 \\ |\mathbf{A}|^2 & -2A_x & -2A_y & -1 \\ |\mathbf{B}|^2 & -2B_x & -2B_y & -1 \\ |\mathbf{C}|^2 & -2C_x & -2C_y & -1 \end{bmatrix}$$

has a nonzero kernel. Thus the circumcircle may alternatively be described as the locus of zeros of the determinant of this matrix:
 * $$\det\begin{bmatrix}

|\mathbf{v}|^2 & v_x & v_y & 1 \\ |\mathbf{A}|^2 & A_x & A_y & 1 \\ |\mathbf{B}|^2 & B_x & B_y & 1 \\ |\mathbf{C}|^2 & C_x & C_y & 1 \end{bmatrix}=0.$$

Using cofactor expansion, let
 * $$\begin{align}

S_x &= \frac{1}{2}\det\begin{bmatrix} |\mathbf{A}|^2 & A_y & 1 \\ |\mathbf{B}|^2 & B_y & 1 \\ |\mathbf{C}|^2 & C_y & 1 \end{bmatrix}, \\[5pt] S_y &= \frac{1}{2}\det\begin{bmatrix} A_x & |\mathbf{A}|^2 & 1 \\ B_x & |\mathbf{B}|^2 & 1 \\ C_x & |\mathbf{C}|^2 & 1 \end{bmatrix}, \\[5pt] a &= \det\begin{bmatrix} A_x & A_y & 1 \\ B_x & B_y & 1 \\ C_x & C_y & 1 \end{bmatrix}, \\[5pt] b &= \det\begin{bmatrix} A_x & A_y & |\mathbf{A}|^2 \\ B_x & B_y & |\mathbf{B}|^2 \\ C_x & C_y & |\mathbf{C}|^2 \end{bmatrix} \end{align}$$

we then have $$a|\mathbf v|^2 - 2\mathbf{Sv} - b = 0$$ where $$\mathbf S = (S_x, S_y),$$ and – assuming the three points were not in a line (otherwise the circumcircle is that line that can also be seen as a generalized circle with $A, B, C, v$ at infinity) – $$\left|\mathbf v - \tfrac{\mathbf S}{a}\right|^2 = \tfrac{b}{a} + \tfrac{|\mathbf S|^2}{a^2},$$ giving the circumcenter $$\tfrac{\mathbf S}{a}$$ and the circumradius $$\sqrt{\tfrac{b}{a} + \tfrac{|\mathbf S|^2}{a^2}}.$$ A similar approach allows one to deduce the equation of the circumsphere of a tetrahedron.

Parametric equation
A unit vector perpendicular to the plane containing the circle is given by
 * $$\widehat{n} = \frac{(P_2 - P_1) \times (P_3 - P_1)}{| (P_2 - P_1) \times (P_3 - P_1)|}.

$$

Hence, given the radius, $r$, center, $r$, a point on the circle, $S$ and a unit normal of the plane containing the circle, $Pc$ one parametric equation of the circle starting from the point $P0$ and proceeding in a positively oriented (i.e., right-handed) sense about $\widehat n,$ is the following:
 * $$\mathrm{R} (s) = \mathrm{P_c} +

\cos\left(\frac{\mathrm{s}}{\mathrm{r}}\right) (P_0 - P_c) + \sin\left(\frac{\mathrm{s}}{\mathrm{r}}\right) \left[\widehat{n} \times(P_0 - P_c)\right]. $$

Trilinear and barycentric coordinates
An equation for the circumcircle in trilinear coordinates $P0$ is $$\tfrac{a}{x} + \tfrac{b}{y} + \tfrac{c}{z} =0.$$ An equation for the circumcircle in barycentric coordinates $x : y : z$ is $$\tfrac{a^2}{x} + \tfrac{b^2}{y} + \tfrac{c^2}{z} =0.$$

The isogonal conjugate of the circumcircle is the line at infinity, given in trilinear coordinates by $$ax+by+cz=0$$ and in barycentric coordinates by $$x+y+z=0.$$

Higher dimensions
Additionally, the circumcircle of a triangle embedded in three dimensions can be found using a generalized method. Let $x : y : z$ be three-dimensional points, which form the vertices of a triangle. We start by transposing the system to place $A, B, C$ at the origin:
 * $$\begin{align}

\mathbf{a} &= \mathbf{A}-\mathbf{C}, \\ \mathbf{b} &= \mathbf{B}-\mathbf{C}. \end{align}$$

The circumradius $\widehat n$ is then
 * $$r = \frac

{\left\|\mathbf{a}\right\|\left\|\mathbf{b}\right\|\left\|\mathbf{a} - \mathbf{b}\right\|} {2 \left\|\mathbf{a}\times\mathbf{b}\right\|} = \frac{\left\|\mathbf{a} - \mathbf{b}\right\|}{2 \sin\theta} = \frac{\left\|\mathbf{A} - \mathbf{B}\right\|}{2 \sin\theta}, $$ where $r$ is the interior angle between $C$ and $a$. The circumcenter, $b$, is given by
 * $$p_0 = \frac{(\left\|\mathbf{a}\right\|^2\mathbf{b} - \left\|\mathbf{b}\right\|^2\mathbf{a})

\times (\mathbf{a} \times \mathbf{b})} {2 \left\|\mathbf{a}\times\mathbf{b}\right\|^2} + \mathbf{C}.$$

This formula only works in three dimensions as the cross product is not defined in other dimensions, but it can be generalized to the other dimensions by replacing the cross products with following identities:
 * $$\begin{align}

\mathbf{u} \times (\mathbf{v} \times \mathbf{w}) &= (\mathbf{u} \cdot \mathbf{w})\mathbf{v} - (\mathbf{u} \cdot \mathbf{v})\mathbf{w}, \\ \left\|\mathbf{u} \times \mathbf{v}\right\|^2 &= \left\|\mathbf{u}\right\|^2 \left\|\mathbf{v}\right\|^2 - (\mathbf{u} \cdot \mathbf{v})^2. \end{align}$$

This gives us the following equation for the circumradius $θ$:


 * $$r = \frac

{\left\|\mathbf{a}\right\|\left\|\mathbf{b}\right\|\left\|\mathbf{a} - \mathbf{b}\right\|} {2 \sqrt{\left\|\mathbf{a}\right\|^{2}\left\|\mathbf{b}\right\|^2 - (\mathbf{a} \cdot \mathbf{b})^2}} $$

and the following equation for the cicumcenter $p0$:


 * $$p_0 = \frac{((\left\|\mathbf{a}\right\|^2\mathbf{b} - \left\|\mathbf{b}\right\|^2\mathbf{a})

\cdot \mathbf{b}) \mathbf{a} -                  ((\left\|\mathbf{a}\right\|^2\mathbf{b} - \left\|\mathbf{b}\right\|^2\mathbf{a}) \cdot \mathbf{b}) \mathbf{a}}                 {2 (\left\|\mathbf{a}\right\|^{2}\left\|\mathbf{b}\right\|^2 - (\mathbf{a} \cdot \mathbf{b})^2)}           + \mathbf{C} $$

which can be simplified to:


 * $$p_0 = \frac{\left\|\mathbf{a}\right\|^{2}\left\|\mathbf{b}\right\|^{2}(\mathbf{a} + \mathbf{b})

- (\mathbf{a}\cdot\mathbf{b})(\left\|\mathbf{a}\right\|^{2}\mathbf{b} + \left\|\mathbf{b}\right\|^{2}\mathbf{a})} {2 (\left\|\mathbf{a}\right\|^{2}\left\|\mathbf{b}\right\|^2 - (\mathbf{a} \cdot \mathbf{b})^2)} + \mathbf{C} $$

Cartesian coordinates
The Cartesian coordinates of the circumcenter $$U = \left(U_x, U_y\right)$$ are
 * $$\begin{align}

U_x &= \frac{1}{D}\left[(A_x^2 + A_y^2)(B_y - C_y) + (B_x^2 + B_y^2)(C_y - A_y) + (C_x^2 + C_y^2)(A_y - B_y)\right] \\[5pt] U_y &= \frac{1}{D}\left[(A_x^2 + A_y^2)(C_x - B_x) + (B_x^2 + B_y^2)(A_x - C_x) + (C_x^2 + C_y^2)(B_x - A_x)\right] \end{align}$$

with
 * $$D = 2\left[A_x(B_y - C_y) + B_x(C_y - A_y) + C_x(A_y - B_y)\right].\,$$

Without loss of generality this can be expressed in a simplified form after translation of the vertex $r$ to the origin of the Cartesian coordinate systems, i.e., when $$A' = A-A = (A'_x,A'_y) = (0,0).$$ In this case, the coordinates of the vertices $$B'=B-A$$ and $$C'=C-A$$ represent the vectors from vertex $A$ to these vertices. Observe that this trivial translation is possible for all triangles and the circumcenter $$U' = (U'_x, U'_y)$$ of the triangle $p0$ follow as
 * $$\begin{align}

U'_x &= \frac{1}{D'}\left[C'_y({B'_x}^2 + {B'_y}^2) - B'_y({C'_x}^2 + {C'_y}^2)\right], \\[5pt] U'_y &= \frac{1}{D'}\left[B'_x({C'_x}^2 + {C'_y}^2) - C'_x({B'_x}^2 + {B'_y}^2)\right] \end{align}$$

with
 * $$D' = 2(B'_x C'_y - B'_y C'_x). \,$$

Due to the translation of vertex $A'$ to the origin, the circumradius $A$ can be computed as
 * $$r = \|U'\| = \sqrt{{U'_x}^2 + {U'_y}^2}$$

and the actual circumcenter of $△A'B'C'$ follows as
 * $$U = U' + A$$

Trilinear coordinates
The circumcenter has trilinear coordinates


 * $$\cos \alpha : \cos \beta : \cos \gamma$$

where $r$ are the angles of the triangle.

In terms of the side lengths $α, β, γ$, the trilinears are


 * $$a\left(b^2 + c^2 - a^2\right) : b\left(c^2 + a^2 - b^2\right) : c\left(a^2 + b^2 - c^2\right).$$

Barycentric coordinates
The circumcenter has barycentric coordinates



a^2\left(b^2 + c^2 - a^2\right):\; b^2\left(c^2 + a^2 - b^2\right):\; c^2\left(a^2 + b^2 - c^2\right),\, $$

where $a, b, c$ are edge lengths $a, b, c$ respectively) of the triangle.

In terms of the triangle's angles $\overline{BC}, \overline{CA}, \overline{AB}$, the barycentric coordinates of the circumcenter are


 * $$\sin 2\alpha :\sin 2\beta :\sin 2\gamma .$$

Circumcenter vector
Since the Cartesian coordinates of any point are a weighted average of those of the vertices, with the weights being the point's barycentric coordinates normalized to sum to unity, the circumcenter vector can be written as


 * $$U = \frac

{a^2\left(b^2 + c^2 - a^2\right)A + b^2\left(c^2 + a^2 - b^2\right)B + c^2\left(a^2 + b^2 - c^2\right)C} {a^2\left(b^2 + c^2 - a^2\right) + b^2\left(c^2 + a^2 - b^2\right)  + c^2\left(a^2 + b^2 - c^2\right)}. $$

Here $α, β, γ$ is the vector of the circumcenter and $U$ are the vertex vectors. The divisor here equals $△ABC$ where $A, B, C$ is the area of the triangle. As stated previously


 * $$\begin{align}

\mathbf{a} &= \mathbf{A}-\mathbf{C}, \\ \mathbf{b} &= \mathbf{B}-\mathbf{C}. \end{align}$$

Cartesian coordinates from cross- and dot-products
In Euclidean space, there is a unique circle passing through any given three non-collinear points $16S 2$. Using Cartesian coordinates to represent these points as spatial vectors, it is possible to use the dot product and cross product to calculate the radius and center of the circle. Let

\mathrm{P_1} = \begin{bmatrix} x_1 \\ y_1 \\ z_1 \end{bmatrix}, \mathrm{P_2} = \begin{bmatrix} x_2 \\ y_2 \\ z_2 \end{bmatrix}, \mathrm{P_3} = \begin{bmatrix} x_3 \\ y_3 \\ z_3 \end{bmatrix} $$

Then the radius of the circle is given by
 * $$\mathrm{r} = \frac

{\left|P_1 - P_2\right| \left|P_2 - P_3\right|\left|P_3 - P_1\right|} {2 \left|\left(P_1 - P_2\right) \times \left(P_2 - P_3\right)\right|} $$

The center of the circle is given by the linear combination
 * $$\mathrm{P_c} = \alpha \, P_1 + \beta \, P_2 + \gamma \, P_3$$

where
 * $$\begin{align}

\alpha = \frac {\left|P_2 - P_3\right|^2 \left(P_1 - P_2\right) \cdot \left(P_1 - P_3\right)} {2 \left|\left(P_1 - P_2\right) \times \left(P_2 - P_3\right)\right|^2} \\ \beta = \frac {\left|P_1 - P_3\right|^2 \left(P_2 - P_1\right) \cdot \left(P_2 - P_3\right)} {2 \left|\left(P_1 - P_2\right) \times \left(P_2 - P_3\right)\right|^2} \\ \gamma = \frac {\left|P_1 - P_2\right|^2 \left(P_3 - P_1\right) \cdot \left(P_3 - P_2\right)} {2 \left|\left(P_1 - P_2\right) \times \left(P_2 - P_3\right)\right|^2} \end{align}$$

Location relative to the triangle
The circumcenter's position depends on the type of triangle:
 * For an acute triangle (all angles smaller than a right angle), the circumcenter always lies inside the triangle.
 * For a right triangle, the circumcenter always lies at the midpoint of the hypotenuse. This is one form of Thales' theorem.
 * For an obtuse triangle (a triangle with one angle bigger than a right angle), the circumcenter always lies outside the triangle.

These locational features can be seen by considering the trilinear or barycentric coordinates given above for the circumcenter: all three coordinates are positive for any interior point, at least one coordinate is negative for any exterior point, and one coordinate is zero and two are positive for a non-vertex point on a side of the triangle.

Angles
The angles which the circumscribed circle forms with the sides of the triangle coincide with angles at which sides meet each other. The side opposite angle $P1, P2, P3$ meets the circle twice: once at each end; in each case at angle $α$ (similarly for the other two angles). This is due to the alternate segment theorem, which states that the angle between the tangent and chord equals the angle in the alternate segment.

Triangle centers on the circumcircle
In this section, the vertex angles are labeled $S$ and all coordinates are trilinear coordinates:
 * Steiner point: the non-vertex point of intersection of the circumcircle with the Steiner ellipse.
 * $$\frac{bc}{b^2 - c^2} : \frac{ca}{c^2 - a^2} : \frac{ab}{a^2 - b^2}$$
 * (The Steiner ellipse, with center = centroid ($A, B, C$), is the ellipse of least area that passes through $ABC$. An equation for this ellipse is $\tfrac{1}{ax} + \tfrac{1}{by} + \tfrac{1}{cz} = 0$.)


 * Tarry point: antipode of the Steiner point
 * $$\sec(A + \omega) : \sec(B + \omega) : \sec(C + \omega)$$


 * Focus of the Kiepert parabola:
 * $$\csc(B-C) : \csc(C-A) : \csc(A-B).$$

Other properties
The diameter of the circumcircle, called the circumdiameter and equal to twice the circumradius, can be computed as the length of any side of the triangle divided by the sine of the opposite angle:


 * $$\text{diameter} = \frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}.$$

As a consequence of the law of sines, it does not matter which side and opposite angle are taken: the result will be the same.

The diameter of the circumcircle can also be expressed as
 * $$\begin{align}

\text{diameter} & {}= \frac{abc}{2\cdot\text{area}} = \frac{|AB| |BC| |CA|}{2|\Delta ABC|} \\[5pt] & {}= \frac{abc}{2\sqrt{s(s - a)(s - b)(s - c)}}\\[5pt] & {}= \frac{2abc}{\sqrt{(a + b + c)(-a + b + c)(a - b + c)(a + b - c)}} \end{align}$$

where $A, B, C$ are the lengths of the sides of the triangle and $$s=\tfrac{a+b+c}{2}$$ is the semiperimeter. The expression $$\scriptstyle \sqrt{s(s-a)(s-b)(s-c)}$$ above is the area of the triangle, by Heron's formula. Trigonometric expressions for the diameter of the circumcircle include
 * $$\text{diameter} = \sqrt{\frac{2 \cdot \text{area}}{\sin A \sin B \sin C}}.$$

The triangle's nine-point circle has half the diameter of the circumcircle.

In any given triangle, the circumcenter is always collinear with the centroid and orthocenter. The line that passes through all of them is known as the Euler line.

The isogonal conjugate of the circumcenter is the orthocenter.

The useful minimum bounding circle of three points is defined either by the circumcircle (where three points are on the minimum bounding circle) or by the two points of the longest side of the triangle (where the two points define a diameter of the circle). It is common to confuse the minimum bounding circle with the circumcircle.

The circumcircle of three collinear points is the line on which the three points lie, often referred to as a circle of infinite radius. Nearly collinear points often lead to numerical instability in computation of the circumcircle.

Circumcircles of triangles have an intimate relationship with the Delaunay triangulation of a set of points.

By Euler's theorem in geometry, the distance between the circumcenter $a, b, c$ and the incenter $O$ is


 * $$\overline{OI} = \sqrt{R(R - 2r)},$$

where $I$ is the incircle radius and $r$ is the circumcircle radius; hence the circumradius is at least twice the inradius (Euler's triangle inequality), with equality only in the equilateral case.

The distance between $R$ and the orthocenter $O$ is


 * $$\overline{OH} = \sqrt{R^2 - 8R^2\cos A \cos B \cos C} = \sqrt{9R^2 - (a^2 + b^2 + c^2)}.$$

For centroid $H$ and nine-point center $G$ we have


 * $$\begin{align}

\overline{IG} &< \overline{IO}, \\ 2\overline{IN} &< \overline{IO}, \\ \overline{OI}^2 &= 2R\cdot \overline{IN}. \end{align}$$

The product of the incircle radius and the circumcircle radius of a triangle with sides $N$ is


 * $$rR = \frac{abc}{2(a + b + c)}.$$

With circumradius $a, b, c$, sides $R$, and medians $a, b, c$, we have


 * $$\begin{align}

3\sqrt{3}R &\geq a + b + c \\[5pt] 9R^2 &\geq a^2 + b^2 + c^2 \\[5pt] \frac{27}{4}R^2 &\geq m_a^2 + m_b^2 + m_c^2. \end{align}$$

If median $ma, mb, mc$, altitude $m$, and internal bisector $h$ all emanate from the same vertex of a triangle with circumradius $t$, then


 * $$4R^2 h^2(t^2 - h^2) = t^4(m^2 - h^2).$$

Carnot's theorem states that the sum of the distances from the circumcenter to the three sides equals the sum of the circumradius and the inradius. Here a segment's length is considered to be negative if and only if the segment lies entirely outside the triangle.

If a triangle has two particular circles as its circumcircle and incircle, there exist an infinite number of other triangles with the same circumcircle and incircle, with any point on the circumcircle as a vertex. (This is the $α$ case of Poncelet's porism). A necessary and sufficient condition for such triangles to exist is the above equality $$\overline{OI}=\sqrt{R(R-2r)}.$$

Cyclic polygons


A set of points lying on the same circle are called concyclic, and a polygon whose vertices are concyclic is called a cyclic polygon. Every triangle is concyclic, but polygons with more than three sides are not in general.

Cyclic polygons, especially four-sided cyclic quadrilaterals, have various special properties. In particular, the opposite angles of a cyclic quadrilateral are supplementary angles (adding up to 180° or π radians).