Let E be a left affine space over a field K and T its translation space.
(a) For a mapping f of E into a left vector space L over K to be affine, it is necessary and sufficient that
f(t+x)−f(x)=f(t+y)−f(y)
f(λt+x)−f(x)=λf(t+x)−f(x))
for all λ∈K,t∈T,x,y in E. Let x↦[x] be the canonical injection of E into the vector space Ks(E) of formal linear combinations of elements of E and let N be the subspace of Ks(E) generated by the elements
[t+x]−[x]−[t+y]+[y]
[λt+x]−[x]−λ[t+x]+λ[x]
for λ∈K,t∈T,x,y in E; finally, let V be the quotient space of Ks(E) by N and ϕ the mapping of E into V which associates with every x∈E the class of [x] modulo N. Then ϕ is an affine mapping and for every affine mapping f of E into a left vector space L over K, there exists one and only one linear mapping g of V into L such that f=g∘ϕ.
(b) Let ϕ0:T→V be the linear mapping associated with ϕ, so that ϕ(t+x)−ϕ(x)=ϕ0(t). Show that ϕ (and therefore also ϕ0) is injective (consider the mapping x↦x−a of E into T for some a∈E); for every family (λi)i∈I of elements of K with finite support and every family (xi)i∈I of elements of E,
i∑λiϕ(xi)=ϕ0(i∑λixi)if i∑λi=0
i∑λiϕ(xi)=μϕ0(i∑μ−1λixi)if i∑λi=μ=0.
Deduce that ϕ0(T) is a hyperplane passing through 0 in V and ϕ(E) a hyperplane parallel to ϕ0(T).