Method

Barycentric Coordinates

Points, lines, and circumcircle tangents

A method note on homogeneous barycentric coordinates, the circumcircle equation, and tangent lines obtained from their linear terms.

Methods Barycentric coordinates · Vectors · Circle tangents

Coordinates relative to a triangle

Fix a nondegenerate triangle ABCABC, and write

a=BC,b=CA,c=AB.a=BC,\qquad b=CA,\qquad c=AB.

Homogeneous barycentric coordinates are a nonzero triple (x:y:z)(x:y:z) considered up to multiplication by a common nonzero scalar. Thus (1:2:3)(1:2:3) and (2:4:6)(2:4:6) represent the same coordinates. When σ=x+y+z≠0\sigma=x+y+z\ne0, the corresponding finite point has position vector

p=xA+yB+zCσ,\mathbf p=\frac{x\mathbf A+y\mathbf B+z\mathbf C}{\sigma},

where the vectors on the right are taken from any common origin. Dividing by σ\sigma gives normalized coordinates whose sum is 11. This normalization is useful for calculations involving small displacements; homogeneous coordinates are useful when only ratios matter. A triple with sum zero does not represent a finite point in this formula and will not be used here.

The vertices are A=(1:0:0)A=(1:0:0), B=(0:1:0)B=(0:1:0), and C=(0:0:1)C=(0:0:1). The midpoint of BCBC is (0:1:1)(0:1:1). More generally, a point D=(0:y:z)D=(0:y:z) inside the segment BCBC satisfies BD:DC=z:yBD:DC=z:y. The reversal follows directly from

D=yB+zCy+z.\mathbf D=\frac{y\mathbf B+z\mathbf C}{y+z}.

If ADAD is the internal angle bisector, then BD:DC=c:bBD:DC=c:b by the angle bisector theorem, hence D=(0:b:c)D=(0:b:c).

Coordinates need not be positive. For example, (−1:1:1)(-1:1:1) represents the point with position vector −A+B+C-\mathbf A+\mathbf B+\mathbf C, outside the triangle. The algebra below therefore applies beyond its interior.

Once normalized, the three coordinates are uniquely determined: the vectors B−A\mathbf B-\mathbf A and C−A\mathbf C-\mathbf A are independent, and p−A=y(B−A)+z(C−A)\mathbf p-\mathbf A=y(\mathbf B-\mathbf A)+z(\mathbf C-\mathbf A). Thus each finite point has one normalized triple, while its homogeneous representatives form a family of scalar multiples. In particular, the coordinates are weights attached to the three vertices, not distances measured along three axes.

Lines and the circumcircle

A line has a homogeneous linear equation

ℓx+my+nz=0.\ell x+my+nz=0.

Substitution tests whether a point lies on it. Conversely, such an equation defines a Euclidean line when ℓ,m,n\ell,m,n are not all equal: on the normalization plane x+y+z=1x+y+z=1, it is a nonconstant affine linear equation. In particular, BCBC has equation x=0x=0.

Multiplying all three coefficients by the same nonzero constant leaves the line unchanged. To find the line through two known points, substitute their coordinates and solve the resulting two linear equations for ℓ,m,n\ell,m,n, again only up to scale.

To derive the circumcircle equation, take its center OO as origin and its radius as RR. Then

∣A∣2=∣B∣2=∣C∣2=R2.|\mathbf A|^2=|\mathbf B|^2=|\mathbf C|^2=R^2.

Expanding ∣B−C∣2=a2|\mathbf B-\mathbf C|^2=a^2 gives 2B⋅C=2R2−a22\mathbf B\cdot\mathbf C=2R^2-a^2; the other two pairs give the corresponding formulas with bb and cc. Therefore

∣xA+yB+zC∣2=R2(x2+y2+z2)+(2R2−c2)xy+(2R2−a2)yz+(2R2−b2)zx=R2σ2−(a2yz+b2zx+c2xy).\begin{aligned} |x\mathbf A+y\mathbf B+z\mathbf C|^2 &=R^2(x^2+y^2+z^2)\\ &\quad +(2R^2-c^2)xy\\ &\quad +(2R^2-a^2)yz\\ &\quad +(2R^2-b^2)zx\\ &=R^2\sigma^2-(a^2yz+b^2zx+c^2xy). \end{aligned}

After division by σ2\sigma^2,

∣p∣2=R2−F(x,y,z)σ2,F(x,y,z)=a2yz+b2zx+c2xy.\begin{aligned} |\mathbf p|^2&=R^2-\frac{F(x,y,z)}{\sigma^2},\\ F(x,y,z)&=a^2yz+b^2zx+c^2xy. \end{aligned}

A finite point lies on the circumcircle exactly when ∣p∣2=R2|\mathbf p|^2=R^2. Its equation is consequently F(x,y,z)=0F(x,y,z)=0. The derivation uses no positivity assumption on the coordinates.

Tangents from the linear terms

Near BB, use normalized coordinates (u,1−u−v,v)(u,1-u-v,v). Substitution gives the exact expansion

F(u,1−u−v,v)=c2u+a2v−c2u2−a2v2+(b2−a2−c2)uv.\begin{aligned} F(u,1-u-v,v) &=c^2u+a^2v-c^2u^2-a^2v^2\\ &\quad +(b^2-a^2-c^2)uv. \end{aligned}

The terms of first degree describe the tangent at u=v=0u=v=0. Its equation is c2u+a2v=0c^2u+a^2v=0, or, in homogeneous coordinates,

c2x+a2z=0.c^2x+a^2z=0.

At CC, substitute (u,v,1−u−v)(u,v,1-u-v). The linear terms are b2u+a2vb^2u+a^2v, giving the tangent b2x+a2y=0b^2x+a^2y=0.

More generally, for a differentiable plane curve G(U)=0G(U)=0 at a regular point qq, where ∇G(q)≠0\nabla G(q)\ne0, the tangent equation is

∇G(q)⋅(U−q)=0.\nabla G(q)\cdot(U-q)=0.

The gradient is evaluated at the contact point and applied to a displacement. This is not a rule that an arbitrary partial derivative, left as a function of the variable point, may be set equal to zero.

For our homogeneous quadratic FF, write X=(x,y,z)X=(x,y,z), with qq and XX initially normalized. The tangent can be written ∇F(q)⋅X=0\nabla F(q)\cdot X=0: the displacement form loses its constant term because ∇F(q)⋅q=2F(q)=0\nabla F(q)\cdot q=2F(q)=0. The resulting equation is homogeneous and thus applies to every representative of XX. This quadratic also satisfies the symmetry

∇F(q)⋅X=∇F(X)⋅q.\nabla F(q)\cdot X=\nabla F(X)\cdot q.

With q=B=(0,1,0)q=B=(0,1,0), the right-hand side happens to be Fy(X)=a2z+c2xF_y(X)=a^2z+c^2x. Thus setting Fy(X)=0F_y(X)=0 works here because of this symmetry and the particular coordinates of BB, not as a general differentiation rule for tangents.

Intersecting two tangents

Assume that the tangents at BB and CC meet at a finite point PP. Their equations imply

y=−b2a2x,z=−c2a2x.y=-\frac{b^2}{a^2}x,\qquad z=-\frac{c^2}{a^2}x.

Here xx cannot vanish, since that would force all three coordinates to vanish. Choosing x=−a2x=-a^2 gives

P=(−a2:b2:c2).P=(-a^2:b^2:c^2).

The finite-intersection assumption means −a2+b2+c2≠0-a^2+b^2+c^2\ne0. These coordinates and D=(0:b:c)D=(0:b:c) are used in Tangents, Angle Bisectors, and a Common Point.