barycentric coordinates (original) (raw)
Let A be an affine space (over a field F). It is known if a set S={v1,…,vn} of elements in A is affinely independent, then every element v in the affine subspace spanned by S can be uniquely written as a affine combination of v1,…,vn:
v=k1v1+⋯+knvn (k1+⋯+kn=1) |
---|
It is also not hard to see that there is a subset S of A such that S is affinely independent and the span of S is A. If A is finite dimensional, then S is finite, and that every element of A can then be expressed uniquely as a finite affine combination of elements of S. Because of the existence and uniquess of this expression, we can write every element v∈A as
(k1,…,kn) iff v=k1v1+⋯+knvn. |
---|
The expression (k1,…,kn) is called the barycentric coordinates of v (given S). Each ki is called a component
of the barycentric coordinates of v.
Remarks.
- •
Unlike the Euclidean space, v+w and kv with 1≠k∈F defined by coordinate-wise addition and scalar multiplication do not make sense in an affine space. If v=(k1,…,kn) and w=(m1,…,mn), then (k1+m1)+⋯+(kn+mn)=2 and v+w:=(k1+m1,…,kn+mn) would be meaningless. - •
Similarly, 𝟎:=(0,…,0) does not exist in an affine space for the simple reason that 𝟎 is not an affine combination of any subset of an affine space A (0≠1). The notion of an origin has no place in an affine space. - •
However, any finite affine combination of any set of points in an affine space is always a point in the space. This can be easily illustrated by the use of barycentric coordinates. For example, take v=(k1,…,kn) and w=(m1,…,mn). Let
A direct calculation shows that u has barycentric coordinates
which means it lies in the affine space. - •
If F is ordered, then we can form sets in an affine space consisting of points with non-negative barycentric coordinates. Given a set S of affinely independent points, a set G is called the affine polytope spanned by S if G consists of all points that are in the span of S and have non-negative barycentric coordinates via S. A point in G is said to lie on the surface of the polytope if it has at least one zero component, otherwise it is an interior point (having all positive components). In the language of algebraic topology, this is also known as a simplex.