In geometry, the trilinear coordinates 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 is the ratio of the perpendicular distances from the point to the sides (extended if necessary) opposite vertices and respectively; the ratio is the ratio of the perpendicular distances from the point to the sidelines opposite vertices and respectively; and likewise for and vertices and .
In the diagram at right, the trilinear coordinates of the indicated interior point are the actual distances, or equivalently in ratio form, for any positive constant . 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 ratio notation
x:y:z
(x,y,z),
(a',b',c')
x:y:z,
(x,y,z)
(2x,2y,2z),
x:y:z={}
2x:2y:2z
The trilinear coordinates of the incenter of a triangle are ; that is, the (directed) distances from the incenter to the sidelines are proportional to the actual distances denoted by, where is the inradius of . Given side lengths we have:
Name; Symbol | Trilinear coordinates | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Vertices | 1:0:0 | Points at the corners of the triangle | ||||||||||
0:1:0 | ||||||||||||
0:0:1 | ||||||||||||
Incenter | 1:1:1 | Intersection of the internal angle bisectors; Center of the triangle's inscribed circle | ||||||||||
Excenters | -1:1:1 | Intersections of the angle bisectors (two external, one internal); Centers of the triangle's three escribed circles | ||||||||||
1:-1:1 | ||||||||||||
1:1:-1 | ||||||||||||
Centroid |
| Intersection of the medians; Center of mass of a uniform triangular lamina | ||||||||||
Circumcenter | \cosA:\cosB:\cosC | Intersection of the perpendicular bisectors of the sides; Center of the triangle's circumscribed circle | ||||||||||
Orthocenter | \secA:\secB:\secC | Intersection of the altitudes | ||||||||||
Nine-point center | \begin{align}&\cos(B-C):\cos(C-A)\ & :\cos(A-B)\end{align} | Center of the circle passing through the midpoint of each side, the foot of each altitude, and the midpoint between the orthocenter and each vertex | ||||||||||
Symmedian point | a:b:c | Intersection of the symmedians – the reflection of each median about the corresponding angle bisector |
Note that, in general, the incenter is not the same as the centroid; the centroid has barycentric coordinates (these being proportional to actual signed areas of the triangles, where = centroid.)
The midpoint of, for example, side has trilinear coordinates in actual sideline distances
(0,\tfrac{\Delta}{b},\tfrac{\Delta}{c})
(0,\tfrac{2\Delta}{a}\cosC,\tfrac{2\Delta}{a}\cosB),
Trilinear coordinates enable many algebraic methods in triangle geometry. For example, three points
\begin{align} P&=p:q:r\\ U&=u:v:w\\ X&=x:y:z\\ \end{align}
are collinear if and only if the determinant
D=\begin{vmatrix} p&q&r\\ u&v&w\\ x&y&z \end{vmatrix}
equals zero. Thus if is a variable point, the equation of a line through the points and is .[1] From this, every straight line has a linear equation homogeneous in . Every equation of the form
lx+my+nz=0
The dual of this proposition is that the lines
\begin{align} p\alpha+q\beta+r\gamma&=0\\ u\alpha+v\beta+w\gamma&=0\\ x\alpha+y\beta+z\gamma&=0 \end{align}
concur in a point if and only if .[1]
Also, if the actual directed distances are used when evaluating the determinant of, then the area of triangle is, where
K=\tfrac{-abc}{8\Delta2}
K=\tfrac{-abc}{8\Delta2}
Two lines with trilinear equations
lx+my+nz=0
l'x+m'y+n'z=0
\begin{vmatrix} l&m&n\\ l'&m'&n'\\ a&b&c\end{vmatrix}=0,
where are the side lengths.
The tangents of the angles between two lines with trilinear equations
lx+my+nz=0
l'x+m'y+n'z=0
\pm
(mn'-m'n)\sinA+(nl'-n'l)\sinB+(lm'-l'm)\sinC | |
ll'+mm'+nn'-(mn'+m'n)\cosA-(nl'+n'l)\cosB-(lm'+l'm)\cosC |
.
Thus two lines with trilinear equations
lx+my+nz=0
l'x+m'y+n'z=0
ll'+mm'+nn'-(mn'+m'n)\cosA-(nl'+n'l)\cosB-(lm'+l'm)\cosC=0.
The equation of the altitude from vertex to side is[1]
y\cosB-z\cosC=0.
The equation of a line with variable distances from the vertices whose opposite sides are is[1]
apx+bqy+crz=0.
The trilinears with the coordinate values being the actual perpendicular distances to the sides satisfy[1]
aa'+bb'+cc'=2\Delta
for triangle sides and area . This can be seen in the figure at the top of this article, with interior point partitioning triangle into three triangles with respective areas
\tfrac{1}{2}aa',\tfrac{1}{2}bb',\tfrac{1}{2}cc'.
The distance between two points with actual-distance trilinears is given by[1]
d2\sin2C=(a1-a
2+(b | |
1-b |
2+2(a | |
1-a |
2)(b1-b2)\cosC
or in a more symmetric way
d2=
abc | |
4\Delta2 |
\left(a(b1-b2)(c2-c1)+b(c1-c2)(a2-a1)+c(a1-a2)(b2-b1)\right).
The distance from a point, in trilinear coordinates of actual distances, to a straight line
lx+my+nz=0
d= | la'+mb'+nc' |
\sqrt{l2+m2+n2-2mn\cosA-2nl\cosB-2lm\cosC |
The equation of a conic section in the variable trilinear point is[1]
rx2+sy2+tz2+2uyz+2vzx+2wxy=0.
It has no linear terms and no constant term.
The equation of a circle of radius having center at actual-distance coordinates is[1]
(x-a')2\sin2A+(y-b')2\sin2B+(z-c')2\sin2C=2r2\sinA\sinB\sinC.
The equation in trilinear coordinates of any circumconic of a triangle is[1]
lyz+mzx+nxy=0.
If the parameters respectively equal the side lengths (or the sines of the angles opposite them) then the equation gives the circumcircle.[1]
Each distinct circumconic has a center unique to itself. The equation in trilinear coordinates of the circumconic with center is[1]
yz(x'-y'-z')+zx(y'-z'-x')+xy(z'-x'-y')=0.
Every conic section inscribed in a triangle has an equation in trilinear coordinates:[1]
l2x2+m2y2+n2z2\pm2mnyz\pm2nlzx\pm2lmxy=0,
with exactly one or three of the unspecified signs being negative.
The equation of the incircle can be simplified to[1]
\pm\sqrt{x}\cos
A | |
2 |
\pm\sqrt{y}\cos
B | |
2 |
\pm\sqrt{z}\cos
C | |
2 |
=0,
while the equation for, for example, the excircle adjacent to the side segment opposite vertex can be written as[1]
\pm\sqrt{-x}\cos
A | |
2 |
\pm\sqrt{y}\cos
B | |
2 |
\pm\sqrt{z}\cos
C | |
2 |
=0.
Many cubic curves are easily represented using trilinear coordinates. For example, the pivotal self-isoconjugate cubic, as the locus of a point such that the -isoconjugate of is on the line is given by the determinant equation
\begin{vmatrix}x&y&z\\ qryz&rpzx&pqxy\\ u&v&w\end{vmatrix}=0.
Among named cubics are the following:
Thomson cubic:, where is centroid and is incenter
Feuerbach cubic:, where is Feuerbach point
Darboux cubic:, where is De Longchamps point
Neuberg cubic:, where is Euler infinity point.
For any choice of trilinear coordinates to locate a point, the actual distances of the point from the sidelines are given by where can be determined by the formula
k=\tfrac{2\Delta}{ax+by+cz}
A point with trilinear coordinates has barycentric coordinates where are the sidelengths of the triangle. Conversely, a point with barycentrics has trilinear coordinates
\tfrac{\alpha}{a}:\tfrac{\beta}{b}:\tfrac{\gamma}{c}.
Given a reference triangle, express the position of the vertex in terms of an ordered pair of Cartesian coordinates and represent this algebraically as a vector using vertex as the origin. Similarly define the position vector of vertex as Then any point associated with the reference triangle can be defined in a Cartesian system as a vector
\vecP=k1\vecA+k2\vecB.
x:y:z=
k1 | |
a |
:
k2 | |
b |
:
1-k1-k2 | |
c |
,
and the conversion formula from the trilinear coordinates to the coefficients in the Cartesian representation is
k1=
ax | |
ax+by+cz |
, k2=
by | |
ax+by+cz |
.
More generally, if an arbitrary origin is chosen where the Cartesian coordinates of the vertices are known and represented by the vectors and if the point has trilinear coordinates, then the Cartesian coordinates of are the weighted average of the Cartesian coordinates of these vertices using the barycentric coordinates as the weights. Hence the conversion formula from the trilinear coordinates to the vector of Cartesian coordinates of the point is given by
\vec{P}= | ax | \vec{A}+ |
ax+by+cz |
by | \vec{B}+ | |
ax+by+cz |
cz | |
ax+by+cz |
\vec{C},
where the side lengths are
\begin{align} &|\vecC-\vecB|=a,\\ &|\vecA-\vecC|=b,\\ &|\vecB-\vecA|=c. \end{align}