Affine space


In mathematics, an affine space is a geometric structure that generalizes some of the properties of Euclidean spaces in such a way that these are independent of the concepts of distance and measure of angles, keeping only the properties related to parallelism and ratio of lengths for parallel line segments.
In an affine space, there is no distinguished point that serves as an origin. Hence, no vector has a fixed origin and no vector can be uniquely associated to a point. In an affine space, there are instead displacement vectors, also called translation vectors or simply translations, between two points of the space. Thus it makes sense to subtract two points of the space, giving a translation vector, but it does not make sense to add two points of the space. Likewise, it makes sense to add a displacement vector to a point of an affine space, resulting in a new point translated from the starting point by that vector.
Any vector space may be considered as an affine space, and this amounts to forgetting the special role played by the zero vector. In this case, the elements of the vector space may be viewed either as points of the affine space or as displacement vectors or translations. When considered as a point, the zero vector is called the origin. Adding a fixed vector to the elements of a linear subspace of a vector space produces an affine subspace. One commonly says that this affine subspace has been obtained by translating the linear subspace by the translation vector. In finite dimensions, such an affine subspace is the solution set of an inhomogeneous linear system. The displacement vectors for that affine space are the solutions of the corresponding homogeneous linear system, which is a linear subspace. Linear subspaces, in contrast, always contain the origin of the vector space.
The dimension of an affine space is defined as the dimension of the vector space of its translations. An affine space of dimension one is an affine line. An affine space of dimension 2 is an affine plane. An affine subspace of dimension in an affine space or a vector space of dimension is an affine hyperplane.

Informal description

The following characterization may be easier to understand than the usual formal definition: an affine space is what is left of a vector space after you've forgotten which point is the origin. Imagine that Alice knows that a certain point is the actual origin, but Bob believes that another point—call it —is the origin. Two vectors, and, are to be added. Bob draws an arrow from point to point and another arrow from point to point, and completes the parallelogram to find what Bob thinks is, but Alice knows that he has actually computed
Similarly, Alice and Bob may evaluate any linear combination of and, or of any finite set of vectors, and will generally get different answers. However, if the sum of the coefficients in a linear combination is 1, then Alice and Bob will arrive at the same answer.
If Alice travels to
then Bob can similarly travel to
Under this condition, for all coefficients, Alice and Bob describe the same point with the same linear combination, despite using different origins.
While only Alice knows the "linear structure", both Alice and Bob know the "affine structure"—i.e. the values of affine combinations, defined as linear combinations in which the sum of the coefficients is 1. A set with an affine structure is an affine space.

Definition

An affine space is a set together with a vector space, and a transitive and free action of the additive group of on the set. The elements of the affine space are called points, and the elements of the associated vector space are called vectors, translations, or sometimes free vectors. Explicitly, the definition above means that the action is a mapping, generally denoted as an addition,
that has the following properties.
  1. Right identity:
  2. :, where is the zero vector in
  3. Associativity:
  4. :
  5. Free and transitive action:
  6. : For every, the mapping is a bijection.
The first two properties are simply defining properties of a group action. The third property characterizes free and transitive actions, the onto character coming from transitivity, and then the injective character follows from the action being free. There is a fourth property that follows from 1, 2 above:
  1. Existence of one-to-one translations
  2. :For all, the mapping is a bijection.
Property 3 is often used in the following equivalent form.
  1. Subtraction:
  2. :For every in, there exists a unique, denoted, such that.
Another way to express the definition is that an affine space is a principal homogeneous space for the action of the additive group of a vector space. Homogeneous spaces are by definition endowed with a transitive group action, and for a principal homogeneous space such a transitive action is by definition free.

Subtraction and Weyl's axioms

The properties of the group action allows for the definition of subtraction for any given ordered pair of points in, producing a vector of. This vector, denoted or, is defined to be the unique vector in such that
Existence follows from the transitivity of the action, and uniqueness follows because the action is free.
This subtraction has the two following properties, called Weyl's axioms:
  1. , there is a unique point such that
In Euclidean geometry, the second Weyl's axiom is commonly called the parallelogram rule.
Affine spaces can be equivalently defined as a point set, together with a vector space, and a subtraction satisfying Weyl's axioms. In this case, the addition of a vector to a point is defined from the first Weyl's axioms.

Affine subspaces and parallelism

An affine subspace of an affine space is a subset of such that, given a point, the set of vectors is a linear subspace of. This property, which does not depend on the choice of, implies that is an affine space, which has as its associated vector space.
The affine subspaces of are the subsets of of the form
where is a point of, and a linear subspace of.
The linear subspace associated with an affine subspace is often called its , and two subspaces that share the same direction are said to be parallel.
This implies the following generalization of Playfair's axiom: Given a direction, for any point of there is one and only one affine subspace of direction, which passes through, namely the subspace.
Every translation maps any affine subspace to a parallel subspace.
The term parallel is also used for two affine subspaces such that the direction of one is included in the direction of the other.

Affine map

Given two affine spaces and whose associated vector spaces are and, an affine map or affine homomorphism from to is a map
such that
is a well defined linear map. By being well defined is meant that implies .
This implies that, for a point and a vector, one has
Therefore, since for any given in, for a unique, is completely defined by its value on a single point and the associated linear map.

Vector spaces as affine spaces

Every vector space may be considered as an affine space over itself. This means that every element of may be considered either as a point or as a vector. This affine space is sometimes denoted for emphasizing the double role of the elements of. When considered as a point, the zero vector is commonly denoted and called the origin.
If is another affine space over the same vector space the choice of any point in defines a unique affine isomorphism, which is the identity of and maps to. In other words, the choice of an origin in allows us to identify and up to a canonical isomorphism. The counterpart of this property is that the affine space may be identified with the vector space in which "the place of the origin has been forgotten".

Relation to Euclidean spaces

Definition of Euclidean spaces

are affine spaces.
Indeed, in most modern definitions, a Euclidean space is defined to be an affine space, such that the associated vector space is a real inner product space of finite dimension, that is a vector space over the reals with a positive-definite quadratic form. The inner product of two vectors and is the value of the symmetric bilinear form
The usual Euclidean distance between two points and is
In older definition of Euclidean spaces through synthetic geometry, vectors are defined as equivalence classes of ordered pairs of points under equipollence. It is straightforward to verify that the vectors form a vector space, the square of the Euclidean distance is a quadratic form on the space of vectors, and the two definitions of Euclidean spaces are equivalent.

Affine properties

In Euclidean geometry, the common phrase "affine property" refers to a property that can be proved in affine spaces, that is, it can be proved without using the quadratic form and its associated inner product. In other words, an affine property is a property that does not involve lengths and angles. Typical examples are parallelism, and the definition of a tangent. A non-example is the definition of a normal.
Equivalently, an affine property is a property that is invariant under affine transformations of the Euclidean space.

Affine combinations and barycenter

Let be a collection of points in an affine space, and be elements of the ground field.
Suppose that. For any two points and one has
Thus this sum is independent of the choice of the origin, and the resulting vector may be denoted
When, one retrieves the definition of the subtraction of points.
Now suppose instead that the field elements satisfy. For some choice of an origin, denote by the unique point such that
One can show that is independent from the choice of. Therefore, if
one may write
The point is called the barycenter of the for the weights. One says also that is an affine combination of the with coefficients.

Examples

For any subset of an affine space, there is a smallest affine subspace that contains it, called the affine span of. It is the intersection of all affine subspaces containing, and its direction is the intersection of the directions of the affine subspaces that contain.
The affine span of is the set of all affine combinations of points of, and its direction is the linear span of the for and in. If one chooses a particular point, the direction of the affine span of is also the linear span of the for in.
One says also that the affine span of is generated by and that is a generating set of its affine span.
A set of points of an affine space is said to be affinely independent or, simply, independent, if the affine span of any strict subset of is a strict subset of the affine span of. An or barycentric frame of an affine space is a generating set that is also independent.
Recall the dimension of an affine space is the dimension of its associated vector space. The bases of an affine space of finite dimension are the independent subsets of elements, or, equivalently, the generating subsets of elements. Equivalently, is an affine basis of an affine space if and only if is a linear basis of the associated vector space.

Coordinates

There are two strongly related kinds of coordinate systems that may be defined on affine spaces.

Barycentric coordinates

Let be an affine space over a field of dimension, and be an affine basis of. The properties of an affine basis imply that for every in there is a unique -tuple of elements of such that
and
The are called the barycentric coordinates of over the affine basis. If the are viewed as bodies that have weights , the point is thus the barycenter of the, and this explains the origin of the term barycentric coordinates.
The barycentric coordinates define an affine isomorphism between the affine space and the affine subspace of defined by the equation.
For affine spaces of infinite dimension, the same definition applies, using only finite sums. This means that for each point, only a finite number of coordinates are non-zero.

Affine coordinates

An affine frame of an affine space consists of a point, called the origin, and a linear basis of the associated vector space. More precisely, for an affine space with associated vector space, the origin belongs to, and the linear basis is a basis of .
For each point of, there is a unique sequence of elements of the ground field such that
or equivalently
The are called the affine coordinates of over the affine frame.
Example: In Euclidean geometry, Cartesian coordinates are affine coordinates relative to an orthonormal frame, that is an affine frame such that is an orthonormal basis.

Relationship between barycentric and affine coordinates

Barycentric coordinates and affine coordinates are strongly related, and may be considered as equivalent.
In fact, given a barycentric frame
one deduces immediately the affine frame
and, if
are the barycentric coordinates of a point over the barycentric frame, then the affine coordinates of the same point over the affine frame are
Conversely, if
is an affine frame, then
is a barycentric frame. If
are the affine coordinates of a point over the affine frame, then its barycentric coordinates over the barycentric frame are
Therefore, barycentric and affine coordinates are almost equivalent. In most applications, affine coordinates are preferred, as involving less coordinates that are independent. However, in the situations where the important points of the studied problem are affinity independent, barycentric coordinates may lead to simpler computation, as in the following example.

Example of the triangle

The vertices of a non-flat triangle form an affine basis of the Euclidean plane. The barycentric coordinates allows easy characterization of the elements of the triangle that do not involve angles or distance:
The vertices are the points of barycentric coordinates, and . The lines supporting the edges are the points that have a zero coordinate. The edges themselves are the points that have a zero coordinate and two nonnegative coordinates. The interior of the triangle are the points whose all coordinates are positive. The medians are the points that have two equal coordinates, and the centroid is the point of coordinates.

Change of coordinates

Case of affine coordinates

Case of barycentric coordinates

Properties of affine homomorphisms

Matrix representation

Image and fibers

Let
be an affine homomorphism, with
as associated linear map.
The image of is the affine subspace of , which has as associated vector space. As an affine space does not have a zero element, an affine homomorphism does not have a kernel. However, for any point of, the inverse image of is an affine subspace of, of direction. This affine subspace is called the fiber of.

Projection

An important example is the projection parallel to some direction onto an affine subspace. The importance of this example lies in the fact that Euclidean spaces are affine spaces, and that this kind of projections is fundamental in Euclidean geometry.
More precisely, given an affine space with associated vector space, let be an affine subspace of direction, and be a complementary subspace of in . For every point of, its projection to parallel to is the unique point in such that
This is an affine homomorphism whose associated linear map is defined by
for and in.
The image of this projection is , and its fibers are the subspaces of direction .

Quotient space

Although kernels are not defined for affine spaces, quotient spaces are defined. This results from the fact that "belonging to the same fiber of an affine homomorphism" is an equivalence relation.
Let be an affine space, and be a linear subspace of the associated vector space. The quotient of by is the quotient of by the equivalence relation
This quotient is an affine space, which has as associated vector space.
For every affine homomorphism, the image is isomorphic to the quotient of by the kernel of the associated linear map. This is the first isomorphism theorem for affine spaces.

Affine transformation

Axioms

Affine space is usually studied as analytic geometry using coordinates, or equivalently vector spaces. It can also be studied as synthetic geometry by writing down axioms, though this approach is much less common. There are several different systems of axioms for affine space.
axiomatizes affine geometry as ordered geometry together with an affine form of Desargues's theorem and an axiom stating that in a plane there is at most one line through a given point not meeting a given line.
Affine planes satisfy the following axioms :
:
As well as affine planes over fields, there are also many non-Desarguesian planes satisfying these axioms. gives axioms for higher-dimensional affine spaces.

Relation to projective spaces

Affine spaces are subspaces of projective spaces: an affine plane can be obtained from any projective plane by removing a line and all the points on it, and conversely any affine plane can be used to construct a projective plane as a closure by adding a line at infinity whose points correspond to equivalence classes of parallel lines.
Further, transformations of projective space that preserve affine space yield transformations of affine space. Conversely, any affine linear transformation extends uniquely to a projective linear transformation, so the affine group is a subgroup of the projective group. For instance, Möbius transformations are affine if and only if they fix the point at infinity.

Affine algebraic geometry

In algebraic geometry, an affine variety is defined as the subset of an affine space that is the set of the common zeros of a set of so-called polynomial functions over the affine space. For defining a polynomial function over the affine space, one has to choose an affine frame. Then, a polynomial function is a function such that the image of any point is the value of some multivariate polynomial function of the coordinates of the point. As a change of affine coordinates may be expressed by linear functions of the coordinates, this definition is independent of a particular choice of coordinates.
The choice of a system of affine coordinates for an affine space of dimension over a field induces an affine isomorphism between and the affine coordinate space. This explains why, for simplification, many textbooks write, and introduce affine algebraic varieties as the common zeros of polynomial functions over.
As the whole affine space is the set of the common zeros of the zero polynomial, affine spaces are affine algebraic varieties.

Ring of polynomial functions

By the definition above, the choice of an affine frame of an affine space allows one to identify the polynomial functions on with polynomials in variables, the ith variable representing the function that maps a point to its th coordinate. It follows that the set of polynomial functions over is a -algebra, denoted, which is isomorphic to the polynomial ring.
When one changes coordinates, the isomorphism between and changes accordingly, and this induces an automorphism of, which maps each indeterminate to a polynomial of degree one. It follows that the total degree defines a filtration of, which is independent from the choice of coordinates. The total degree defines also a graduation, but it depends on the choice of coordinates, as a change of affine coordinates may map indeterminates on non-homogeneous polynomials.

Zariski topology

Affine spaces over topological fields, such as the real or the complex numbers, have a natural topology. The Zariski topology, which is defined for affine spaces over any field, allows use of topological methods in any case. Zariski topology is the unique topology on an affine space whose closed sets are affine algebraic sets. As, over a topological field, polynomial functions are continuous, every Zariski closed set is closed for the usual topology, if any. In other words, over a topological field, Zariski topology is coarser than the natural topology.
There is a natural injective function from an affine space into the set of prime ideals of its ring of polynomial functions. When affine coordinates have been chosen, this function maps the point of coordinates to the maximal ideal. This function is a homeomorphism of the affine space onto the image of the function.
The case of an algebraically closed ground field is especially important in algebraic geometry, because, in this case, the homeomorphism above is a map between the affine space and the set of all maximal ideals of the ring of functions.
This is the starting idea of scheme theory of Grothendieck, which consists, for studying algebraic varieties, of considering as "points", not only the points of the affine space, but also all the prime ideals of the spectrum. This allows gluing together algebraic varieties in a similar way as, for manifolds, charts are glued together for building a manifold.

Cohomology

Like all affine varieties, local data on an affine space can always be patched together globally: the cohomology of affine space is trivial. More precisely, for all coherent sheaves F, and integers. This property is also enjoyed by all other affine varieties. But also all of the etale cohomology groups on affine space are trivial. In particular, every line bundle is trivial. More generally, the Quillen–Suslin theorem implies that every algebraic vector bundle over an affine space is trivial.