An affine combination is a linear combination of finitely many points or vectors in which the scalar coefficients sum to one. Unlike a convex combination, it permits negative coefficients. Affine combinations describe points on lines, planes, and higher-dimensional affine subspaces, and provide the algebraic foundation for barycentric coordinates. (stanford.edu)
Definition
For points in a vector space over a field , an affine combination has the form
For geometric applications, the field is usually the real numbers. The defining restriction concerns only the sum of the coefficients: individual coefficients may be negative, zero, or greater than one. (stanford.edu)
The same operation is meaningful in an abstract affine space, where points do not have a distinguished zero and cannot ordinarily be added or multiplied by scalars. If is its associated vector space and is any reference point, define
Here each difference is a vector, and adding the resulting vector to produces a point. This is the intrinsic interpretation of the notation . (cis.upenn.edu)
Why the coefficients sum to one
The sum-one condition makes the construction independent of the reference point. To see this directly, replace by . The resulting point is
The last term vanishes when . Thus an affine combination depends on the input points and their coefficients, not on an arbitrary choice of origin. This calculation explains why affine geometry distinguishes combinations of points from unrestricted combinations of vectors. (cis.upenn.edu)
A complementary identity is
where the right-hand side is a vector. Sum-one coefficients therefore describe a point, while sum-zero coefficients describe a displacement vector, without requiring a preferred origin. (cis.upenn.edu)
Geometric interpretation
For two distinct points and , every affine combination can be written as
Over the real numbers, varying over all of traces the entire line through the points. When , the point lies on their line segment; or gives extrapolation beyond an endpoint. (stanford.edu)
For example, if and , then
Both expressions are affine combinations, but only the first is convex.
The affine combinations of three noncollinear points fill their plane. Restricting the coefficients to be nonnegative instead gives the filled triangle, including its boundary. Four noncoplanar points similarly generate three-dimensional affine space, while their convex combinations form a tetrahedron. (cis.upenn.edu)
Affine hull and affine independence
The affine hull of a nonempty set , written , is the set of all finite affine combinations of its points. It is the smallest affine set containing . In a real vector space, affine sets are precisely the sets closed under all such combinations. (stanford.edu)
For a finite collection, eliminating the first coefficient gives
This formula relates affine hulls to linear spans: the affine hull is a translated linear subspace. (cis.upenn.edu)
Points are affinely independent when the difference vectors
are linearly independent. Each point of their affine hull then has a unique affine representation. Its coefficients are called barycentric coordinates relative to the given points. If the points are affinely dependent, the representation need not be unique. (home.zcu.cz)
For example, a point in the plane of a nondegenerate triangle has three barycentric coordinates whose sum is one. It belongs to the triangle exactly when all three coordinates are nonnegative. (cis.upenn.edu)
Preservation by affine maps
An affine map preserves affine combinations. In vector-space coordinates, write it as
where is a linear map and is fixed. The preservation identity follows directly:
because . Consequently, constructing an affine combination before applying an affine transformation gives the same result as transforming the input points first. (cis.upenn.edu)
Computing the coefficients
For specified points and a target point , the defining equations can be assembled into a linear system:
This is simply the coordinate equation together with the sum-one constraint. A solution exists exactly when lies in the affine hull; it is unique exactly when the input points are affinely independent. The final row also connects affine combinations to the representation of points by homogeneous coordinates. (cis.upenn.edu)
Relation to convex combinations
Every convex combination is affine, but the converse is false. The distinction separates two different generated sets:
- Affine combinations generate the affine hull.
- Nonnegative affine combinations generate the convex hull.
The convex hull is contained in the affine hull and is a convex set. Negative coefficients are essential when representing points beyond the convex hull, although their presence alone does not guarantee that the resulting point lies outside it when the input points are affinely dependent. This last qualification follows from the possible nonuniqueness of affine representations. (stanford.edu)
The sum-one condition is therefore a condition of origin independence, not a condition of positivity or boundedness.
References
- Convex Optimizationstanford.edu
- Chapter 2: Basics of Affine Geometrycis.upenn.edu
- Affine Combinations of Points and Barycentric Coordinateshome.zcu.cz