Proposition 3. Let be three noncollinear
points in
R
. Then every point
in the
plane can be written uniquely in the form
, where
.
Definition. In the Proposition,
are called the barycentric coordinates of
with
respect to
. Let's write
for the barycentric coordinates of a point.
For example, the center of mass of the
triangle
is the obtained by averaging the three
vertices, so has barycentric coordinates
. In fact,
``barycentric'' means ``weight-centered''. As another example,
itself has barycentric coordinates
. See Figure
.
Barycentric coordinates are often handy when you need to do something with a triangle that treats all three vertices the same way. The points inside the triangle are easily identified:
Proposition 4. A point is inside the triangle
(or on an edge) if and only if its three barycentric
coordinates with respect to
are all nonnegative.
Recall that a convex combination is a linear
combination in which the coefficients are nonnegative and
have sum . Thus the points inside the triangle are
the convex combinations of
,
, and
.
Proposition 5. The barycentric coordinates of the point
x with respect to
,
, and
have
the values
,
,
,
where
.
Thus (for example) is obtained by
scaling the two-point relational form for the line through
and
, so is an affine function of position
itself. We could write
x
. The scale
factor of
is just what is needed to
have
, as it should be. In
particular,
is zero on the line through
and
, and is constant on each line parallel to that
line.