Trilinear coordinates


In geometry, the trilinear coordinates x:y:z of a point relative to a given triangle describe the relative directed distances from the three sidelines of the triangle. Trilinear coordinates are an example of homogeneous coordinates. The ratio x:y is the ratio of the perpendicular distances from the point to the sides opposite vertices A and B respectively; the ratio y:z is the ratio of the perpendicular distances from the point to the sidelines opposite vertices B and C respectively; and likewise for z:x and vertices C and A.
In the diagram at right, the trilinear coordinates of the indicated interior point are the actual distances, or equivalently in ratio form, ka' :kb' :kc' for any positive constant k. If a point is on a sideline of the reference triangle, its corresponding trilinear coordinate is 0. If an exterior point is on the opposite side of a sideline from the interior of the triangle, its trilinear coordinate associated with that sideline is negative. It is impossible for all three trilinear coordinates to be non-positive.
The name "trilinear coordinates" is sometimes abbreviated to "trilinears".

Notation

The ratio notation x:y:z for trilinear coordinates is different from the ordered triple notation for actual directed distances. Here each of x, y, and z has no meaning by itself; its ratio to one of the others does have meaning. Thus "comma notation" for trilinear coordinates should be avoided, because the notation, which means an ordered triple, does not allow, for example, =, whereas the "colon notation" does allow x : y : z = 2x : 2y : 2z.

Examples

The trilinear coordinates of the incenter of a triangle ABC are 1 : 1 : 1; that is, the distances from the incenter to the sidelines BC, CA, AB are proportional to the actual distances denoted by, where r is the inradius of triangle ABC. Given side lengths a, b, c we have:
Note that, in general, the incenter is not the same as the centroid; the centroid has barycentric coordinates 1 : 1 : 1
The midpoint of, for example, side BC has trilinear coordinates in actual sideline distances for triangle area, which in arbitrarily specified relative distances simplifies to The coordinates in actual sideline distances of the foot of the altitude from A to BC are which in purely relative distances simplifies to

Formulas

Collinearities and concurrencies

Trilinear coordinates enable many algebraic methods in triangle geometry. For example, three points
are collinear if and only if the determinant
equals zero. Thus if x:y:z is a variable point, the equation of a line through the points P and U is D = 0. From this, every straight line has a linear equation homogeneous in x, y, z. Every equation of the form lx+my+nz = 0 in real coefficients is a real straight line of finite points unless l : m: n is proportional to a : b : c, the side lengths, in which case we have the locus of points at infinity.
The dual of this proposition is that the lines
concur in a point if and only if D = 0.
Also, if the actual directed distances are used when evaluating the determinant of D, then the area of triangle PUX is KD, where K = abc/8∆2 if triangle PUX has the same orientation as triangle ABC, and K = –abc/8∆2 otherwise.

Parallel lines

Two lines with trilinear equations and are parallel if and only if
where a, b, c are the side lengths.

Angle between two lines

The tangents of the angles between two lines with trilinear equations and are given by

Perpendicular lines

Thus two lines with trilinear equations and are perpendicular if and only if

Altitude

The equation of the altitude from vertex A to side BC is

Line in terms of distances from vertices

The equation of a line with variable distances p, q, r from the vertices A, B, C whose opposite sides are a, b, c is

Actual-distance trilinear coordinates

The trilinears with the coordinate values a', b', c' being the actual perpendicular distances to the sides satisfy
for triangle sides a, b, c and area. This can be seen in the figure at the top of this article, with interior point P partitioning triangle ABC into three triangles PBC, PCA, and PAB with respective areas aa' , bb' , and cc' .

Distance between two points

The distance d between two points with actual-distance trilinears a' i : b' i : c' i is given by

Distance from a point to a line

The distance d from a point a' 0 : b' 0 : c' 0, in trilinear coordinates of actual distances, to a straight line lx + my + nz = 0 is

Quadratic curves

The equation of a conic section in the variable trilinear point x : y : z is
It has no linear terms and no constant term.
The equation of a circle of radius r having center at actual-distance coordinates is

Circumconics

The equation in trilinear coordinates x, y, z of any circumconic of a triangle is
If the parameters l, m, n respectively equal the side lengths a, b, c then the equation gives the circumcircle.
Each distinct circumconic has a center unique to itself. The equation in trilinear coordinates of the circumconic with center x' : y' : z' is

Inconics

Every conic section inscribed in a triangle has an equation in trilinear coordinates:
with exactly one or three of the unspecified signs being negative.
The equation of the incircle can be simplified to
while the equation for, for example, the excircle adjacent to the side segment opposite vertex A can be written as

Cubic curves

Many cubic curves are easily represented using trilinear coordinates. For example, the pivotal self-isoconjugate cubic Z, as the locus of a point X such that the P-isoconjugate of X is on the line UX is given by the determinant equation
Among named cubics Z are the following:

Conversions

Between trilinear coordinates and distances from sidelines

For any choice of trilinear coordinates x:y:z to locate a point, the actual distances of the point from the sidelines are given by a' = kx, b' = ky, c' = kz where k can be determined by the formula in which a, b, c are the respective sidelengths BC, CA, AB, and ∆ is the area of ABC.

Between barycentric and trilinear coordinates

A point with trilinear coordinates x : y : z has barycentric coordinates ax : by : cz where a, b, c are the sidelengths of the triangle. Conversely, a point with barycentrics α : β : γ has trilinear coordinates α/a : β/b : γ/c.

Between Cartesian and trilinear coordinates

Given a reference triangle ABC, express the position of the vertex B in terms of an ordered pair of Cartesian coordinates and represent this algebraically as a vector B, using vertex C as the origin. Similarly define the position vector of vertex A as A. Then any point P associated with the reference triangle ABC can be defined in a Cartesian system as a vector P = k1A + k2B. If this point P has trilinear coordinates x : y : z then the conversion formula from the coefficients k1 and k2 in the Cartesian representation to the trilinear coordinates is, for side lengths a, b, c opposite vertices A, B, C,
and the conversion formula from the trilinear coordinates to the coefficients in the Cartesian representation is
More generally, if an arbitrary origin is chosen where the Cartesian coordinates of the vertices are known and represented by the vectors A, B and C and if the point P has trilinear coordinates x : y : z, then the Cartesian coordinates of P are the weighted average of the Cartesian coordinates of these vertices using the barycentric coordinates ax, by and cz as the weights. Hence the conversion formula from the trilinear coordinates x, y, z to the vector of Cartesian coordinates P of the point is given by
where the side lengths are |CB| = a, |AC| = b and |BA| = c.