An affine space is a structure in geometry that retains the displacement operations of a vector space without specifying an origin. Its elements are points: subtracting two points produces a vector, and adding a vector to a point produces another point. Addition of arbitrary points and scalar multiplication of individual points are not intrinsically defined. This distinction allows geometric constructions to be expressed independently of the choice of coordinate origin. (people.math.harvard.edu)
Definition and displacement
Let be a vector space over a field . An affine space modeled on is a nonempty set equipped with an operation
satisfying
and the requirement that, for every , there is exactly one with . This vector is denoted . Equivalently, the additive group of has a free and transitive group action on . (people.math.harvard.edu)
The vector space is called the translation space or direction space. Point differences obey
Choosing a point identifies with through , but a different choice gives a different identification. Thus an affine space can acquire a vector-space structure after an origin is chosen, although that origin is not part of its original structure. (people.math.harvard.edu)
Coordinates, dimension, and frames
For finite-dimensional , the dimension of is . An origin , together with a basis , gives unique coordinates through
Changing the origin and basis changes coordinates by , with invertible. Unlike a purely linear coordinate change, this includes a translation term. (cis.upenn.edu)
Points are affinely independent when the vectors are linearly independent. In dimension , an ordered collection of affinely independent points is an affine frame. Every point then has unique barycentric coordinates relative to that frame: coefficients whose sum is one. Two distinct points form a frame for a line; three noncollinear points form one for a plane. (cis.upenn.edu)
Affine combinations and convexity
The affine counterpart of a linear combination is an affine combination
Its intrinsic meaning is
The condition on the coefficients makes this expression independent of : shifting the auxiliary origin changes the displacement sum by exactly the compensating amount. The notation therefore does not imply unrestricted addition of points. (cis.upenn.edu)
For distinct points , the points , with , constitute their line. Over the real numbers, restricting to gives the segment between them. More generally, an affine combination with nonnegative coefficients is a convex combination. A convex set contains all such combinations of its points. Affine sets contain every affine combination, including combinations with negative coefficients, so every real affine set is convex, but the converse fails. (kdd.cs.ksu.edu)
Affine subspaces and linear equations
A nonempty affine subspace has the form
where is a linear subspace of the translation space. Its direction space is , and its dimension is . Its affine structure does not depend on which point of is used as . In a vector space, it is a linear subspace precisely when it contains the zero vector. (cis.upenn.edu)
A consistent system of linear equations gives a central example. If is one solution, the entire solution set is
where is the null space of the matrix . Subtracting two solutions gives a null-space vector; adding any null-space vector to a solution gives another solution. An inconsistent system has an empty solution set, not a nonempty affine space. A single nontrivial linear equation defines an affine hyperplane. (jhc.sjtu.edu.cn)
Affine maps and homogeneous coordinates
An affine map has an associated linear map between direction spaces, satisfying
It preserves affine combinations. In coordinates, its form is ; it is bijective exactly when its linear part is invertible. A general affine map can collapse a line to a point, whereas a bijective affine map preserves lines, incidence, and parallelism. (wwwevs.mathematik.tu-darmstadt.de)
Using homogeneous coordinates, the coordinate column is extended to , and the map becomes
Displacements are represented by , so the translation term affects points but not vectors. Successive affine transformations can consequently be composed using ordinary matrix multiplication, a representation used in computer graphics. (dgp.toronto.edu)
Relation to Euclidean geometry
An affine structure alone supplies neither lengths nor angles. Equipping its real direction space with a positive-definite inner product adds Euclidean measurements. General invertible affine maps may stretch or shear figures, so they need not preserve these measurements. Nevertheless, constructions defined by affine combinations remain meaningful: the centroid of a triangle is the combination of its three vertices with coefficients , independently of the coordinate origin. (maths.tcd.ie)