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 viewed as an affine space; 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 (away from the origin) 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 n – 1 n – 1 n–1 in an affine space or a vector space of dimension n n n is an affine hyperplane.
In R 3 , {\displaystyle \mathbb {R} ^{3},} R3, the upper plane (in blue) P 2 {\displaystyle P_{2}} P2 is not a vector subspace, since 0 ∉ P 2 {\displaystyle \mathbf {0} \notin P_{2}} 0∈/P2 and a + b ∉ P 2 ; {\displaystyle \mathbf {a} +\mathbf {b} \notin P_{2};} a+b∈/P2; it is an affine subspace. Its direction is the lower (green) plane P 1 , {\displaystyle P_{1},} P1, which is a vector subspace. Although a {\displaystyle \mathbf {a} } a and b {\displaystyle \mathbf {b} } b are in P 2 , {\displaystyle P_{2},} P2, their difference is a displacement vector, which does not belong to P 2 , {\displaystyle P_{2},} P2, but belongs to vector space P 1 . {\displaystyle P_{1}.} P1.
Contents
- 1 Informal description
- 2 Definition
- 3 Affine subspaces and parallelism
- 4 Affine map
- 5 Vector spaces as affine spaces
- 6 Relation to Euclidean spaces
- 6.1 Definition of Euclidean spaces
- 6.2 Affine properties
- 7 Affine combinations and barycenter
- 8 Examples
- 9 Affine span and bases
- 10 Coordinates
- 11 Properties of affine homomorphisms
- 12 Axioms
- 13 Relation to projective spaces
- 14 Affine algebraic geometry
- 15 See also
1 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 one has forgotten which point is the origin (or, in the words of the French mathematician Marcel Berger, “An affine space is nothing more than a vector space whose origin we try to forget about, by adding translations to the linear maps”). Imagine that Alice knows that a certain point is the actual origin, but Bob believes that another point—call it
p
p
p—is the origin. Two vectors,
a
a
a and
b
b
b, are to be added. Bob draws an arrow from point
p
p
p to point
a
a
a and another arrow from point
p
p
p to point
b
b
b, and completes the parallelogram to find what Bob thinks is
a
+
b
a + b
a+b, but Alice knows that he has actually computed
p
+
(
a
−
p
)
+
(
b
−
p
)
.
p + (a − p) + (b − p).
p+(a−p)+(b−p).
Similarly, Alice and Bob may evaluate any linear combination of a a a and b b b, 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 1 1, then Alice and Bob will arrive at the same answer.
If Alice travels to
λ
a
+
(
1
−
λ
)
b
λa + (1 − λ)b
λa+(1−λ)b
then Bob can similarly travel to
p
+
λ
(
a
−
p
)
+
(
1
−
λ
)
(
b
−
p
)
=
λ
a
+
(
1
−
λ
)
b
.
p + λ(a − p) + (1 − λ)(b − p) = λa + (1 − λ)b.
p+λ(a−p)+(1−λ)(b−p)=λa+(1−λ)b.
Under this condition, for all coefficients λ + ( 1 − λ ) = 1 λ + (1 − λ) = 1 λ+(1−λ)=1, 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 1 1. A set with an affine structure is an affine space.
Origins from Alice’s and Bob’s perspectives. Vector computation from Alice’s perspective is in red, whereas that from Bob’s is in blue.
2 Definition
An affine space is a set A A A together with a vector space A → {\displaystyle {\overrightarrow {A}}} A, and a transitive and free action of the additive group of A → {\displaystyle {\overrightarrow {A}}} A on the set A A A. The elements of the affine space A A A are called points. The vector space A → {\displaystyle {\overrightarrow {A}}} A is said to be associated to the affine space, and its elements are called vectors, translations, or sometimes free vectors.
Explicitly, the definition above means that the action is a mapping, generally denoted as an addition,
A
×
A
→
→
A
(
a
,
v
)
↦
a
+
v
,
{\displaystyle {\begin{aligned}A\times {\overrightarrow {A}}&\to A\\(a,v)\;&\mapsto a+v,\end{aligned}}}
A×A(a,v)→A↦a+v,
that has the following properties.
- Right identity:
∀ a ∈ A , a + 0 = a {\displaystyle \forall a\in A,\;a+0=a} ∀a∈A,a+0=a, where 0 0 0 is the zero vector in A → {\displaystyle {\overrightarrow {A}}} A - Associativity:
∀ v , w ∈ A → , ∀ a ∈ A , ( a + v ) + w = a + ( v + w ) {\displaystyle \forall v,w\in {\overrightarrow {A}},\forall a\in A,\;(a+v)+w=a+(v+w)} ∀v,w∈A,∀a∈A,(a+v)+w=a+(v+w) (here the last + + + is the addition in A → {\displaystyle {\overrightarrow {A}}} A) - Free and transitive action:
For every a ∈ A {\displaystyle a\in A} a∈A, the mapping A → → A : v ↦ a + v {\displaystyle {\overrightarrow {A}}\to A\colon v\mapsto a+v} A→A:v↦a+v is a bijection.
The first two properties are simply defining properties of a (right) 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 1, 2 1,2 above:
- Existence of one-to-one translations
For all v ∈ A → {\displaystyle v\in {\overrightarrow {A}}} v∈A, the mapping A → A : a ↦ a + v {\displaystyle A\to A\colon a\mapsto a+v} A→A:a↦a+v is a bijection.
Property 3 3 3 is often used in the following equivalent form.
- Subtraction:
For every a , b a, b a,b in A A A, there exists a unique v ∈ A → {\displaystyle v\in {\overrightarrow {A}}} v∈A, denoted b – a b – a b–a, such that b = a + v {\displaystyle b=a+v} b=a+v.
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.
2.1 Subtraction and Weyl’s axioms
The properties of the group action allows for the definition of subtraction for any given ordered pair
(
b
,
a
)
(b, a)
(b,a) of points in
A
A
A, producing a vector of
A
→
{\displaystyle {\overrightarrow {A}}}
A. This vector, denoted
b
−
a
{\displaystyle b-a}
b−a or
a
b
→
{\displaystyle {\overrightarrow {ab}}}
ab, is defined to be the unique vector in
A
→
{\displaystyle {\overrightarrow {A}}}
A such that
a
+
(
b
−
a
)
=
b
.
{\displaystyle a+(b-a)=b.}
a+(b−a)=b.
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:
- ∀ a ∈ A , ∀ v ∈ A → {\displaystyle \forall a\in A,\;\forall v\in {\overrightarrow {A}}} ∀a∈A,∀v∈A, there is a unique point b ∈ A {\displaystyle b\in A} b∈A such that b − a = v . {\displaystyle b-a=v.} b−a=v.
- ∀ a , b , c ∈ A , ( c − b ) + ( b − a ) = c − a . {\displaystyle \forall a,b,c\in A,\;(c-b)+(b-a)=c-a.} ∀a,b,c∈A,(c−b)+(b−a)=c−a.
In Euclidean geometry, the second Weyl’s axiom is commonly called the parallelogram rule.
Affine spaces can be equivalently defined as a point set A A A, together with a vector space A → {\displaystyle {\overrightarrow {A}}} A, 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.
3 Affine subspaces and parallelism
An affine subspace (also called, in some contexts, a linear variety, a flat, or, over the real numbers, a linear manifold) B B B of an affine space A A A is a subset of A A A such that, given a point a ∈ B {\displaystyle a\in B} a∈B, the set of vectors B → = { b − a ∣ b ∈ B } {\displaystyle {\overrightarrow {B}}=\{b-a\mid b\in B\}} B={b−a∣b∈B} is a linear subspace of A → {\displaystyle {\overrightarrow {A}}} A. This property, which does not depend on the choice of a a a, implies that B B B is an affine space, which has B → {\displaystyle {\overrightarrow {B}}} B as its associated vector space.
The affine subspaces of
A
A
A are the subsets of
A
A
A of the form
a
+
V
=
{
a
+
w
:
w
∈
V
}
,
{\displaystyle a+V=\{a+w:w\in V\},}
a+V={a+w:w∈V},
where
a
a
a is a point of
A
A
A, and
V
V
V a linear subspace of
A
→
{\displaystyle {\overrightarrow {A}}}
A.
The linear subspace associated with an affine subspace is often called its direction, 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 V V V, for any point a a a of A A A there is one and only one affine subspace of direction V V V, which passes through a a a, namely the subspace a + V a + V a+V.
Every translation A → A : a ↦ a + v {\displaystyle A\to A:a\mapsto a+v} A→A:a↦a+v 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.
4 Affine map
Given two affine spaces
A
A
A and
B
B
B whose associated vector spaces are
A
→
{\displaystyle {\overrightarrow {A}}}
A and
B
→
{\displaystyle {\overrightarrow {B}}}
B, an affine map or affine homomorphism from
A
A
A to
B
B
B is a map
f
:
A
→
B
{\displaystyle f:A\to B}
f:A→B
such that
f
→
:
A
→
→
B
→
b
−
a
↦
f
(
b
)
−
f
(
a
)
{\displaystyle {\begin{aligned}{\overrightarrow {f}}:{\overrightarrow {A}}&\to {\overrightarrow {B}}\\b-a&\mapsto f(b)-f(a)\end{aligned}}}
f:Ab−a→B↦f(b)−f(a)
is a well defined linear map. By
f
{\displaystyle f}
f being well defined is meant that
b
–
a
=
d
–
c
b – a = d – c
b–a=d–c implies
f
(
b
)
–
f
(
a
)
=
f
(
d
)
–
f
(
c
)
f(b) – f(a) = f(d) – f(c)
f(b)–f(a)=f(d)–f(c).
This implies that, for a point
a
∈
A
{\displaystyle a\in A}
a∈A and a vector
v
∈
A
→
{\displaystyle v\in {\overrightarrow {A}}}
v∈A, one has
f
(
a
+
v
)
=
f
(
a
)
+
f
→
(
v
)
.
{\displaystyle f(a+v)=f(a)+{\overrightarrow {f}}(v).}
f(a+v)=f(a)+f(v).
Therefore, since for any given b b b in A A A, b = a + v b = a + v b=a+v for a unique v , f v, f v,f is completely defined by its value on a single point and the associated linear map f → . {\displaystyle {\overrightarrow {f}}}. f.
4.1 Endomorphisms
Main articles: Affine transformation and Affine group
An affine transformation or endomorphism of an affine space
A
{\displaystyle A}
A is an affine map from that space to itself. One important family of examples is the translations: given a vector
v
→
{\displaystyle {\overrightarrow {v}}}
v, the translation map
T
v
→
:
A
→
A
{\displaystyle T_{\overrightarrow {v}}:A\rightarrow A}
Tv:A→A that sends
a
↦
a
+
v
→
{\displaystyle a\mapsto a+{\overrightarrow {v}}}
a↦a+v for every
a
{\displaystyle a}
a in
A
{\displaystyle A}
A is an affine map. Another important family of examples are the linear maps centred at an origin: given a point
b
{\displaystyle b}
b and a linear map
M
{\displaystyle M}
M, one may define an affine map
L
M
,
b
:
A
→
A
{\displaystyle L_{M,b}:A\rightarrow A}
LM,b:A→A by
L
M
,
b
(
a
)
=
b
+
M
(
a
−
b
)
{\displaystyle L_{M,b}(a)=b+M(a-b)}
LM,b(a)=b+M(a−b)
for every
a
{\displaystyle a}
a in
A
{\displaystyle A}
A.
After making a choice of origin b {\displaystyle b} b, any affine map may be written uniquely as a combination of a translation and a linear map centred at b {\displaystyle b} b
5 Vector spaces as affine spaces
Every vector space V V V may be considered as an affine space over itself. This means that every element of V V V may be considered either as a point or as a vector. This affine space is sometimes denoted ( V , V ) (V, V) (V,V) for emphasizing the double role of the elements of V V V. When considered as a point, the zero vector is commonly denoted o o o (or O O O, when upper-case letters are used for points) and called the origin .
If A A A is another affine space over the same vector space (that is V = A → {\displaystyle V={\overrightarrow {A}}} V=A) the choice of any point a a a in A A A defines a unique affine isomorphism, which is the identity of V V V and maps a a a to o o o. In other words, the choice of an origin a a a in A A A allows us to identify A A A and ( V , V ) (V, V) (V,V) up to a canonical isomorphism. The counterpart of this property is that the affine space A may be identified with the vector space V in which “the place of the origin has been forgotten”.
6 Relation to Euclidean spaces
6.1 Definition of Euclidean spaces
Euclidean spaces (including the one-dimensional line, two-dimensional plane, and three-dimensional space commonly studied in elementary geometry, as well as higher-dimensional analogues) 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
q
(
x
)
q(x)
q(x). The inner product of two vectors
x
x
x and
y
y
y is the value of the symmetric bilinear form
x
⋅
y
=
1
2
(
q
(
x
+
y
)
−
q
(
x
)
−
q
(
y
)
)
.
{\displaystyle x\cdot y={\frac {1}{2}}(q(x+y)-q(x)-q(y)).}
x⋅y=21(q(x+y)−q(x)−q(y)).
The usual Euclidean distance between two points
A
A
A and
B
B
B is
d
(
A
,
B
)
=
q
(
B
−
A
)
.
{\displaystyle d(A,B)={\sqrt {q(B-A)}}.}
d(A,B)=q(B−A).
In older definition of Euclidean spaces through synthetic geometry, vectors are defined as equivalence classes of ordered pairs of points under equipollence (the pairs ( A , B ) (A, B) (A,B) and ( C , D ) (C, D) (C,D) are equipollent if the points A , B , D , C A, B, D, C A,B,D,C (in this order) form a parallelogram). 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.
6.2 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.
7 Affine combinations and barycenter
Let a 1 , . . . , a n a_1, ..., a_n a1,...,an be a collection of n n n points in an affine space, and λ 1 , … , λ n {\displaystyle \lambda _{1},\dots ,\lambda _{n}} λ1,…,λn be n n n elements of the ground field.
Suppose that
λ
1
+
⋯
+
λ
n
=
0
{\displaystyle \lambda _{1}+\dots +\lambda _{n}=0}
λ1+⋯+λn=0. For any two points
o
o
o and
o
′
o'
o′ one has
λ
1
o
a
1
→
+
⋯
+
λ
n
o
a
n
→
=
λ
1
o
′
a
1
→
+
⋯
+
λ
n
o
′
a
n
→
.
{\displaystyle \lambda _{1}{\overrightarrow {oa_{1}}}+\dots +\lambda _{n}{\overrightarrow {oa_{n}}}=\lambda _{1}{\overrightarrow {o'a_{1}}}+\dots +\lambda _{n}{\overrightarrow {o'a_{n}}}.}
λ1oa1+⋯+λnoan=λ1o′a1+⋯+λno′an.
Thus, this sum is independent of the choice of the origin, and the resulting vector may be denoted
λ
1
a
1
+
⋯
+
λ
n
a
n
.
{\displaystyle \lambda _{1}a_{1}+\dots +\lambda _{n}a_{n}.}
λ1a1+⋯+λnan.
When n = 2 , λ 1 = 1 , λ 2 = − 1 {\displaystyle n=2,\lambda _{1}=1,\lambda _{2}=-1} n=2,λ1=1,λ2=−1, one retrieves the definition of the subtraction of points.
Now suppose instead that the field elements satisfy
λ
1
+
⋯
+
λ
n
=
1
{\displaystyle \lambda _{1}+\dots +\lambda _{n}=1}
λ1+⋯+λn=1. For some choice of an origin
o
o
o, denote by
g
{\displaystyle g}
g the unique point such that
λ
1
o
a
1
→
+
⋯
+
λ
n
o
a
n
→
=
o
g
→
.
{\displaystyle \lambda _{1}{\overrightarrow {oa_{1}}}+\dots +\lambda _{n}{\overrightarrow {oa_{n}}}={\overrightarrow {og}}.}
λ1oa1+⋯+λnoan=og.
One can show that
g
{\displaystyle g}
g is independent from the choice of
o
o
o. Therefore, if
λ
1
+
⋯
+
λ
n
=
1
,
{\displaystyle \lambda _{1}+\dots +\lambda _{n}=1,}
λ1+⋯+λn=1,
one may write
g
=
λ
1
a
1
+
⋯
+
λ
n
a
n
.
{\displaystyle g=\lambda _{1}a_{1}+\dots +\lambda _{n}a_{n}.}
g=λ1a1+⋯+λnan.
The point g {\displaystyle g} g is called the barycenter of the a i {\displaystyle a_{i}} ai for the weights λ i {\displaystyle \lambda _{i}} λi. One says also that g {\displaystyle g} g is an affine combination of the a i {\displaystyle a_{i}} ai with coefficients λ i {\displaystyle \lambda _{i}} λi.
8 Examples
- When children find the answers to sums such as 4 + 3 or 4 − 2 by counting right or left on a number line, they are treating the number line as a one-dimensional affine space.
- The space of energies is an affine space for R {\displaystyle \mathbb {R} } R , since it is often not meaningful to talk about absolute energy, but it is meaningful to talk about energy differences. The vacuum energy when it is defined picks out a canonical origin.
- Physical space is often modelled as an affine space for R 3 {\displaystyle \mathbb {R} ^{3}} R3 in non-relativistic settings and R 1 , 3 {\displaystyle \mathbb {R} ^{1,3}} R1,3 in the relativistic setting. To distinguish them from the vector space these are sometimes called Euclidean spaces E ( 3 ) {\displaystyle {\text{E}}(3)} E(3) and E ( 1 , 3 ) {\displaystyle {\text{E}}(1,3)} E(1,3).
- Any coset of a subspace V V V of a vector space is an affine space over that subspace.
- If T T T is a matrix and b b b lies in its column space, the set of solutions of the equation T x = b Tx = b Tx=b is an affine space over the subspace of solutions of T x = 0 Tx = 0 Tx=0.
- The solutions of an inhomogeneous linear differential equation form an affine space over the solutions of the corresponding homogeneous linear equation.
- Generalizing all of the above, if T : V → W T : V → W T :V→W is a linear map and y y y lies in its image, the set of solutions x ∈ V x ∈ V x∈V to the equation T x = y Tx = y Tx=y is a coset of the kernel of T T T , and is therefore an affine space over K e r T Ker T Ker T.
- The space of (linear) complementary subspaces of a vector subspace V V V in a vector space W W W is an affine space, over H o m ( W / V , V ) Hom(W/V, V) Hom(W/V,V). That is, if 0 → V → W → X → 0 0 → V → W → X → 0 0→V→W→X→0 is a short exact sequence of vector spaces, then the space of all splittings of the exact sequence naturally carries the structure of an affine space over H o m ( X , V ) Hom(X, V) Hom(X,V).
- The space of connections (viewed from the vector bundle E → π M {\displaystyle E\xrightarrow {\pi } M} EπM, where M {\displaystyle M} M is a smooth manifold) is an affine space for the vector space of End ( E ) {\displaystyle {\text{End}}(E)} End(E) valued 1-forms. The space of connections (viewed from the principal bundle P → π M {\displaystyle P\xrightarrow {\pi } M} PπM) is an affine space for the vector space of ad ( P ) {\displaystyle {\text{ad}}(P)} ad(P)-valued 1-forms, where ad ( P ) {\displaystyle {\text{ad}}(P)} ad(P) is the associated adjoint bundle.
9 Affine span and bases
For any subset X X X of an affine space A A A, there is a smallest affine subspace that contains it, called the affine span of X X X. It is the intersection of all affine subspaces containing X X X, and its direction is the intersection of the directions of the affine subspaces that contain X X X.
The affine span of X X X is the set of all (finite) affine combinations of points of X X X, and its direction is the linear span of the x − y x − y x−y for x x x and y y y in X . X. X. If one chooses a particular point x 0 x_0 x0, the direction of the affine span of X X X is also the linear span of the x – x 0 x – x_0 x–x0 for x x x in X . X. X.
One says also that the affine span of X X X is generated by X X X and that X X X is a generating set of its affine span.
A set X X X of points of an affine space is said to be affinely independent or, simply, independent, if the affine span of any strict subset of X X X is a strict subset of the affine span of X X X. An affine basis or barycentric frame (see § Barycentric coordinates, below) of an affine space is a generating set that is also independent (that is a minimal generating set).
Recall that the dimension of an affine space is the dimension of its associated vector space. The bases of an affine space of finite dimension n n n are the independent subsets of n + 1 n + 1 n+1 elements, or, equivalently, the generating subsets of n + 1 n + 1 n+1 elements. Equivalently, x 0 , . . . , x n {x_0, ..., x_n} x0,...,xn is an affine basis of an affine space if and only if x 1 − x 0 , . . . , x n − x 0 {x_1 − x_0, ..., x_n − x_0} x1−x0,...,xn−x0 is a linear basis of the associated vector space.
10 Coordinates
There are two strongly related kinds of coordinate systems that may be defined on affine spaces.
10.1 Barycentric coordinates
Let A be an affine space of dimension n over a field k, and {\displaystyle {x_{0},\dots ,x_{n}}}{\displaystyle {x_{0},\dots ,x_{n}}} be an affine basis of A. The properties of an affine basis imply that for every x in A there is a unique (n + 1)-tuple {\displaystyle (\lambda _{0},\dots ,\lambda _{n})}{\displaystyle (\lambda _{0},\dots ,\lambda _{n})} of elements of k such that
{\displaystyle \lambda _{0}+\dots +\lambda _{n}=1}{\displaystyle \lambda _{0}+\dots +\lambda _{n}=1}
and
{\displaystyle x=\lambda {0}x{0}+\dots +\lambda {n}x{n}.}{\displaystyle x=\lambda {0}x{0}+\dots +\lambda {n}x{n}.}
The {\displaystyle \lambda {i}}\lambda {i} are called the barycentric coordinates of x over the affine basis {\displaystyle {x{0},\dots ,x{n}}}{\displaystyle {x_{0},\dots ,x_{n}}}. If the xi are viewed as bodies that have weights (or masses) {\displaystyle \lambda _{i}}\lambda _{i}, the point x is thus the barycenter of the xi, and this explains the origin of the term barycentric coordinates.
The barycentric coordinates define an affine isomorphism between the affine space A and the affine subspace of kn + 1 defined by the equation {\displaystyle \lambda _{0}+\dots +\lambda _{n}=1}{\displaystyle \lambda _{0}+\dots +\lambda _{n}=1}.
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.
10.2 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 A with associated vector space {\displaystyle {\overrightarrow {A}}}\overrightarrow{A}, the origin o belongs to A, and the linear basis is a basis (v1, …, vn) of {\displaystyle {\overrightarrow {A}}}\overrightarrow{A} (for simplicity of the notation, we consider only the case of finite dimension, the general case is similar).
For each point p of A, there is a unique sequence {\displaystyle \lambda _{1},\dots ,\lambda _{n}}{\displaystyle \lambda _{1},\dots ,\lambda _{n}} of elements of the ground field such that
{\displaystyle p=o+\lambda {1}v{1}+\dots +\lambda {n}v{n},}{\displaystyle p=o+\lambda {1}v{1}+\dots +\lambda {n}v{n},}
or equivalently
{\displaystyle {\overrightarrow {op}}=\lambda {1}v{1}+\dots +\lambda {n}v{n}.}{\displaystyle {\overrightarrow {op}}=\lambda {1}v{1}+\dots +\lambda {n}v{n}.}
The {\displaystyle \lambda _{i}}\lambda _{i} are called the affine coordinates of p over the affine frame (o, v1, …, vn).
Example: In Euclidean geometry, Cartesian coordinates are affine coordinates relative to an orthonormal frame, that is an affine frame (o, v1, …, vn) such that (v1, …, vn) is an orthonormal basis.
10.3 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
{\displaystyle (x_{0},\dots ,x_{n}),}{\displaystyle (x_{0},\dots ,x_{n}),}
one deduces immediately the affine frame
{\displaystyle (x_{0},{\overrightarrow {x_{0}x_{1}}},\dots ,{\overrightarrow {x_{0}x_{n}}})=\left(x_{0},x_{1}-x_{0},\dots ,x_{n}-x_{0}\right),}{\displaystyle (x_{0},{\overrightarrow {x_{0}x_{1}}},\dots ,{\overrightarrow {x_{0}x_{n}}})=\left(x_{0},x_{1}-x_{0},\dots ,x_{n}-x_{0}\right),}
and, if
{\displaystyle \left(\lambda _{0},\lambda _{1},\dots ,\lambda _{n}\right)}{\displaystyle \left(\lambda _{0},\lambda _{1},\dots ,\lambda _{n}\right)}
are the barycentric coordinates of a point over the barycentric frame, then the affine coordinates of the same point over the affine frame are
{\displaystyle \left(\lambda _{1},\dots ,\lambda _{n}\right).}{\displaystyle \left(\lambda _{1},\dots ,\lambda _{n}\right).}
Conversely, if
{\displaystyle \left(o,v_{1},\dots ,v_{n}\right)}{\displaystyle \left(o,v_{1},\dots ,v_{n}\right)}
is an affine frame, then
{\displaystyle \left(o,o+v_{1},\dots ,o+v_{n}\right)}{\displaystyle \left(o,o+v_{1},\dots ,o+v_{n}\right)}
is a barycentric frame. If
{\displaystyle \left(\lambda _{1},\dots ,\lambda _{n}\right)}{\displaystyle \left(\lambda _{1},\dots ,\lambda _{n}\right)}
are the affine coordinates of a point over the affine frame, then its barycentric coordinates over the barycentric frame are
{\displaystyle \left(1-\lambda _{1}-\dots -\lambda _{n},\lambda _{1},\dots ,\lambda _{n}\right).}{\displaystyle \left(1-\lambda _{1}-\dots -\lambda _{n},\lambda _{1},\dots ,\lambda _{n}\right).}
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 affinely independent, barycentric coordinates may lead to simpler computation, as in the following example.
10.3.1 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 distances:
The vertices are the points of barycentric coordinates (1, 0, 0), (0, 1, 0) and (0, 0, 1). The lines supporting the edges are the points that have a zero coordinate. The edges themselves are the points that have one zero coordinate and two nonnegative coordinates. The interior of the triangle are the points whose coordinates are all positive. The medians are the points that have two equal coordinates, and the centroid is the point of coordinates (
1
/
3
,
1
/
3
,
1
/
3
).
10.4 Change of coordinates
10.4.1 Case of affine coordinates
10.4.2 Case of barycentric coordinates
11 Properties of affine homomorphisms
11.1 Matrix representation
11.2 Image and fibers
Let
{\displaystyle f\colon E\to F}{\displaystyle f\colon E\to F}
be an affine homomorphism, with
{\displaystyle {\overrightarrow {f}}\colon {\overrightarrow {E}}\to {\overrightarrow {F}}}{\displaystyle {\overrightarrow {f}}\colon {\overrightarrow {E}}\to {\overrightarrow {F}}}
as associated linear map.
The image of f is the affine subspace f(E) of F, which has {\displaystyle {\overrightarrow {f}}({\overrightarrow {E}})}{\displaystyle {\overrightarrow {f}}({\overrightarrow {E}})} 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 x of f(E), the inverse image f–1(x) is an affine subspace of E, of direction {\displaystyle {\overrightarrow {f}}^{-1}(x)}{\displaystyle {\overrightarrow {f}}^{-1}(x)}. This affine subspace is called the fiber of x.
11.3 Projection
See also: Projection (mathematics)
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 these kinds of projections are fundamental in Euclidean geometry.
More precisely, given an affine space E with associated vector space {\displaystyle {\overrightarrow {E}}}\overrightarrow{E}, let F be an affine subspace of direction {\displaystyle {\overrightarrow {F}}}{\overrightarrow {F}}, and D be a complementary subspace of {\displaystyle {\overrightarrow {F}}}{\overrightarrow {F}} in {\displaystyle {\overrightarrow {E}}}\overrightarrow{E} (this means that every vector of {\displaystyle {\overrightarrow {E}}}\overrightarrow{E} may be decomposed in a unique way as the sum of an element of {\displaystyle {\overrightarrow {F}}}{\overrightarrow {F}} and an element of D). For every point x of E, its projection to F parallel to D is the unique point p(x) in F such that
{\displaystyle p(x)-x\in D.}{\displaystyle p(x)-x\in D.}
This is an affine homomorphism whose associated linear map {\displaystyle {\overrightarrow {p}}}{\displaystyle {\overrightarrow {p}}} is defined by
{\displaystyle {\overrightarrow {p}}(x-y)=p(x)-p(y),}{\displaystyle {\overrightarrow {p}}(x-y)=p(x)-p(y),}
for x and y in E.
The image of this projection is F, and its fibers are the subspaces of direction D.
11.4 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 E be an affine space, and D be a linear subspace of the associated vector space {\displaystyle {\overrightarrow {E}}}\overrightarrow{E}. The quotient E/D of E by D is the quotient of E by the equivalence relation such that x and y are equivalent if
{\displaystyle x-y\in D.}{\displaystyle x-y\in D.}
This quotient is an affine space, which has {\displaystyle {\overrightarrow {E}}/D}{\displaystyle {\overrightarrow {E}}/D} as associated vector space.
For every affine homomorphism {\displaystyle E\to F}{\displaystyle E\to F}, the image is isomorphic to the quotient of E by the kernel of the associated linear map. This is the first isomorphism theorem for affine spaces.
12 Axioms
Affine spaces are usually studied by analytic geometry using coordinates, or equivalently vector spaces. They 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.
Coxeter (1969, p. 192) axiomatizes the special case of affine geometry over the reals 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 (Cameron 1991, chapter 2): (in which two lines are called parallel if they are equal or disjoint):
Any two distinct points lie on a unique line.
Given a point and line there is a unique line which contains the point and is parallel to the line
There exist three non-collinear points.
As well as affine planes over fields (or division rings), there are also many non-Desarguesian planes satisfying these axioms. (Cameron 1991, chapter 3) gives axioms for higher-dimensional affine spaces.
Purely axiomatic affine geometry is more general than affine spaces and is treated in a separate article.
13 Relation to projective spaces
An affine space is a subspace of a projective space, which is in turn the quotient of a vector space by an equivalence relation (not by a linear subspace)
Affine spaces are contained in projective spaces. For example, an affine plane can be obtained from any projective plane by removing one 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. Similar constructions hold in higher dimensions.
Further, transformations of projective space that preserve affine space (equivalently, that leave the hyperplane at infinity invariant as a set) 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 (transformations of the complex projective line, or Riemann sphere) are affine (transformations of the complex plane) if and only if they fix the point at infinity.
14 Affine algebraic geometry
In algebraic geometry, an affine variety (or, more generally, an affine algebraic set) 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 (more precisely affine 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 {\displaystyle \mathbb {A} _{k}{n}}\mathbb{A}_kn of dimension n over a field k induces an affine isomorphism between {\displaystyle \mathbb {A} _{k}{n}}\mathbb{A}_kn and the affine coordinate space kn. This explains why, for simplification, many textbooks write {\displaystyle \mathbb {A} _{k}{n}=k{n}}{\displaystyle \mathbb {A} _{k}{n}=k{n}}, and introduce affine algebraic varieties as the common zeros of polynomial functions over kn.[8]
As the whole affine space is the set of the common zeros of the zero polynomial, affine spaces are affine algebraic varieties.
14.1 Ring of polynomial functions
By the definition above, the choice of an affine frame of an affine space {\displaystyle \mathbb {A} _{k}{n}}\mathbb{A}_kn allows one to identify the polynomial functions on {\displaystyle \mathbb {A} {k}{n}}\mathbb{A}_kn with polynomials in n variables, the ith variable representing the function that maps a point to its ith coordinate. It follows that the set of polynomial functions over {\displaystyle \mathbb {A} {k}{n}}\mathbb{A}_kn is a k-algebra, denoted {\displaystyle k\left[\mathbb {A} {k}^{n}\right]}{\displaystyle k\left[\mathbb {A} {k}^{n}\right]}, which is isomorphic to the polynomial ring {\displaystyle k\left[X{1},\dots ,X{n}\right]}{\displaystyle k\left[X{1},\dots ,X{n}\right]}.
When one changes coordinates, the isomorphism between {\displaystyle k\left[\mathbb {A} {k}^{n}\right]}{\displaystyle k\left[\mathbb {A} {k}^{n}\right]} and {\displaystyle k[X{1},\dots ,X{n}]}{\displaystyle k[X_{1},\dots ,X_{n}]} changes accordingly, and this induces an automorphism of {\displaystyle k\left[X_{1},\dots ,X_{n}\right]}{\displaystyle k\left[X_{1},\dots ,X_{n}\right]}, which maps each indeterminate to a polynomial of degree one. It follows that the total degree defines a filtration of {\displaystyle k\left[\mathbb {A} _{k}^{n}\right]}{\displaystyle k\left[\mathbb {A} _{k}^{n}\right]}, 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.
14.2 Zariski topology
See also: 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 (that is sets of the common zeros of polynomial functions over the affine set). 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 (that is the spectrum) of its ring of polynomial functions. When affine coordinates have been chosen, this function maps the point of coordinates {\displaystyle \left(a_{1},\dots ,a_{n}\right)}{\displaystyle \left(a_{1},\dots ,a_{n}\right)} to the maximal ideal {\displaystyle \left\langle X_{1}-a_{1},\dots ,X_{n}-a_{n}\right\rangle }{\displaystyle \left\langle X_{1}-a_{1},\dots ,X_{n}-a_{n}\right\rangle }. This function is a homeomorphism (for the Zariski topology of the affine space and of the spectrum of the ring of polynomial functions) 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 Hilbert’s Nullstellensatz).
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.
14.3 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, {\displaystyle H^{i}\left(\mathbb {A} _{k}^{n},\mathbf {F} \right)=0}{\displaystyle H^{i}\left(\mathbb {A} _{k}^{n},\mathbf {F} \right)=0} for all coherent sheaves F, and integers {\displaystyle i>0}i>0. This property is also enjoyed by all other affine varieties. But also all of the étale 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.
15 See also
Affine hull – Smallest affine subspace that contains a subset
Complex affine space – Affine space over the complex numbers
Exotic affine space – Real affine space of even dimension that is not isomorphic to a complex affine space
Space (mathematics) – Mathematical set with some added structure
Barycentric coordinate system