# Incenter

In geometry, the incenter of a triangle is a triangle center, a point defined for any triangle in a way that is independent of the triangle's placement or scale. The incenter may be equivalently defined as the point where the internal angle bisectors of the triangle cross, as the point equidistant from the triangle's sides, as the junction point of the medial axis and innermost point of the grassfire transform of the triangle, and as the center point of the inscribed circle of the triangle.
Together with the centroid, circumcenter, and orthocenter, it is one of the four triangle centers known to the ancient Greeks, and the only one of the four that does not in general lie on the Euler line. It is the first listed center, X(1), in Clark Kimberling's Encyclopedia of Triangle Centers, and the identity element of the multiplicative group of triangle centers.
For polygons with more than three sides, the incenter only exists for tangential polygons: those that have an incircle that is tangent to each side of the polygon. In this case the incenter is the center of this circle and is equally distant from all sides.

## Definition and construction

It is a theorem in Euclidean geometry that the three interior angle bisectors of a triangle meet in a single point. In Euclid's Elements, Proposition 4 of Book IV proves that this point is also the center of the inscribed circle of the triangle. The incircle itself may be constructed by dropping a perpendicular from the incenter to one of the sides of the triangle and drawing a circle with that segment as its radius.
The incenter lies at equal distances from the three line segments forming the sides of the triangle, and also from the three lines containing those segments. It is the only point equally distant from the line segments, but there are three more points equally distant from the lines, the excenters, which form the centers of the excircles of the given triangle. The incenter and excenters together form an orthocentric system.
The medial axis of a polygon is the set of points whose nearest neighbor on the polygon is not unique: these points are equidistant from two or more sides of the polygon. One method for computing medial axes is using the grassfire transform, in which one forms a continuous sequence of offset curves, each at some fixed distance from the polygon; the medial axis is traced out by the vertices of these curves. In the case of a triangle, the medial axis consists of three segments of the angle bisectors, connecting the vertices of the triangle to the incenter, which is the unique point on the innermost offset curve. The straight skeleton, defined in a similar way from a different type of offset curve, coincides with the medial axis for convex polygons and so also has its junction at the incenter.

## Proofs
### Ratio proof

Let the bisection of $\angle {BAC}$ and ${\overline {BC}}$ meet at $D$, and the bisection of $\angle {ABC}$ and ${\overline {AC}}$ meet at $E$, and ${\overline {AD}}$ and ${\overline {BE}}$ meet at ${I}$.
And let ${\overline {CI}}$and ${\overline {AB}}$ meet at ${F}$.
Then we have to prove that ${\overline {CI}}$ is the bisection of $\angle {ACB}$.
In $\triangle {ACF}$, ${\overline {AC}}:{\overline {AF}}={\overline {CI}}:{\overline {IF}}$, by the Angle bisector theorem.
In $\triangle {BCF}$, ${\overline {BC}}:{\overline {BF}}={\overline {CI}}:{\overline {IF}}$.
Therefore, ${\overline {AC}}:{\overline {AF}}={\overline {BC}}:{\overline {BF}}$, so that ${\overline {AC}}:{\overline {BC}}={\overline {AF}}:{\overline {BF}}$.
So ${\overline {CF}}$ is the bisection of $\angle {ACB}$.

### Perpendicular proof

A line that is an angle bisector is equidistant from both of its lines when measuring by the perpendicular. At the point where two bisectors intersect, this point is perpendicularly equidistant from the final angle's forming lines (because they are the same distance from this angles opposite edge), and therefore lies on its angle bisector line.

## Relation to triangle sides and vertices
### Trilinear coordinates

The trilinear coordinates for a point in the triangle give the ratio of distances to the triangle sides. Trilinear coordinates for the incenter are given by
    $1:1:1.$
The collection of triangle centers may be given the structure of a group under coordinatewise multiplication of trilinear coordinates; in this group, the incenter forms the identity element.

### Barycentric coordinates

The barycentric coordinates for a point in a triangle give weights such that the point is the weighted average of the triangle vertex positions. Barycentric coordinates for the incenter are given by
    $a:b:c$
where $a$, $b$, and $c$ are the lengths of the sides of the triangle, or equivalently (using the law of sines) by
    $\sin(A):\sin(B):\sin(C)$
where $A$, $B$, and $C$ are the angles at the three vertices.

### Cartesian coordinates

The Cartesian coordinates of the incenter are a weighted average of the coordinates of the three vertices using the side lengths of the triangle relative to the perimeter—i.e., using the barycentric coordinates given above, normalized to sum to unity—as weights. (The weights are positive so the incenter lies inside the triangle as stated above.) If the three vertices are located at $(x_{A},y_{A})$, $(x_{B},y_{B})$, and $(x_{C},y_{C})$, and the sides opposite these vertices have corresponding lengths $a$, $b$, and $c$, then the incenter is at
    ${\bigg{\frac {ax_{A}+bx_{B}+cx_{C}}{a+b+c}},{\frac {ay_{A}+by_{B}+cy_{C}}{a+b+c}}{\bigg )}={\frac {a(x_{A},y_{A})+b(x_{B},y_{B})+c(x_{C},y_{C})}{a+b+c}}.$

### Distances to vertices

Denoting the incenter of triangle ABC as I, the distances from the incenter to the vertices combined with the lengths of the triangle sides obey the equation
    ${\frac {IA\cdot IA}{CA\cdot AB}}+{\frac {IB\cdot IB}{AB\cdot BC}}+{\frac {IC\cdot IC}{BC\cdot CA}}=1.$
Additionally,
    $IA\cdot IB\cdot IC=4Rr^{2},$
where R and r are the triangle's circumradius and inradius respectively.

## Related constructions
### Other centers

The distance from the incenter to the centroid is less than one third the length of the longest median of the triangle.
By Euler's theorem in geometry, the squared distance from the incenter I to the circumcenter O is given by
    $OI^{2}=R(R-2r),$
where R and r are the circumradius and the inradius respectively; thus the circumradius is at least twice the inradius, with equality only in the equilateral case.$^{:p.198}$
The distance from the incenter to the center N of the nine point circle is
    $IN={\frac {1}{2}}(R-2r)<{\frac {1}{2}}R.$
The squared distance from the incenter to the orthocenter H is
    $IH^{2}=2r^{2}-4R^{2}\cos A\cos B\cos C.$
Inequalities include:
    $IG<HG,\quad IH<HG,\quad IG<IO,\quad 2IN<IO.$
The incenter is the Nagel point of the medial triangle (the triangle whose vertices are the midpoints of the sides) and therefore lies inside this triangle. Conversely the Nagel point of any triangle is the incenter of its anticomplementary triangle.
The incenter must lie in the interior of a disk whose diameter connects the centroid G and the orthocenter H (the orthocentroidal disk), but it cannot coincide with the nine-point center, whose position is fixed 1/4 of the way along the diameter (closer to G). Any other point within the orthocentroidal disk is the incenter of a unique triangle.

### Euler line

The Euler line of a triangle is a line passing through its circumcenter, centroid, and orthocenter, among other points. The incenter generally does not lie on the Euler line; it is on the Euler line only for isosceles triangles, for which the Euler line coincides with the symmetry axis of the triangle and contains all triangle centers.
Denoting the distance from the incenter to the Euler line as d, the length of the longest median as v, the length of the longest side as u, the circumradius as R, the length of the Euler line segment from the orthocenter to the circumcenter as e, and the semiperimeter as s, the following inequalities hold:
    ${\frac {d}{s}}<{\frac {d}{u}}<{\frac {d}{v}}<{\frac {1}{3}};$
    $d<{\frac {1}{3}}e;$
    $d<{\frac {1}{2}}R.$

### Area and perimeter splitters

Any line through a triangle that splits both the triangle's area and its perimeter in half goes through the triangle's incenter; every line through the incenter that splits the area in half also splits the perimeter in half. There are either one, two, or three of these lines for any given triangle.

### Relative distances from an angle bisector

Let X be a variable point on the internal angle bisector of A. Then X = I (the incenter) maximizes or minimizes the ratio ${\tfrac {BX}{CX}}$ along that angle bisector.