Lably
Skip to content

Affine transformation

Geometric transformation that preserves lines but not angles nor the origin

  • 11 min read
  • 9 chapters
Drawing explaining fractal fern (a Barnsley fern here) IFS; IFS stands for «Iterated Function Systems».
António Miguel de Campos · Public domain

Related on Lably

Through Line (geometry), Parallel (geometry) and Euclidean distance

More generally, an affine transformation is an automorphism of an affine space (Euclidean spaces are specific affine spaces), that is, a function which maps an affine space onto itself while preserving both the dimension of any affine subspaces (meaning that it sends points to points, lines to lines, planes to planes, and so on) and the ratios of the lengths of parallel line segments. Consequently, sets of parallel affine subspaces remain parallel after an affine transformation. An affine transformation does not necessarily preserve angles between lines or distances between points, though it does preserve ratios of distances between points lying on a straight line.

If X is the point set of an affine space, then every affine transformation on X can be represented as the composition of a linear transformation on X and a translation of X. Unlike a purely linear transformation, an affine transformation need not preserve the origin of the affine space. Thus, every linear transformation is affine, but not every affine transformation is linear.

Examples of affine transformations include translation, scaling, homothety, similarity, reflection, rotation, hyperbolic rotation, shear mapping, and compositions of them in any combination and sequence.

Viewing an affine space as the complement of a hyperplane at infinity of a projective space, the affine transformations are the projective transformations of that projective space that leave the hyperplane at infinity invariant, restricted to the complement of that hyperplane.

A generalization of an affine transformation is an affine map (or affine homomorphism or affine mapping) between two (potentially different) affine spaces over the same field k. Let (X, V, k) and (Z, W, k) be two affine spaces with X and Z the point sets and V and W the respective associated vector spaces over the field k. A map f : X → Z is an affine map if there exists a linear map mf : V → W such that mf (x − y) = f (x) − f (y) for all x, y in X.

Definition

Let X be an affine space over a field k, and V be its associated vector space. An affine transformation is a bijection f from X onto itself that is an affine map; this means that a linear map g from V to V is well defined by the equation g(y−x)=f(y)−f(x); here, as usual, the subtraction of two points denotes the free vector from the second point to the first one, and "well-defined" means that y−x=y′−x′ implies that f(y)−f(x)=f(y′)−f(x′).

If the dimension of X is at least two, a semiaffine transformation f of X is a bijection from X onto itself satisfying:

  1. For every d-dimensional affine subspace S of X, then f (S) is also a d-dimensional affine subspace of X.
  2. If S and T are parallel affine subspaces of X, then f (S) and f (T) are parallel.

These two conditions are satisfied by affine transformations, and express what is precisely meant by the expression that "f preserves parallelism".

These conditions are not independent as the second follows from the first. Furthermore, if the field k has at least three elements, the first condition can be simplified to: f is a collineation, that is, it maps lines to lines.

Sign in to keep reading

8 more chapters are free with a Lably account.

More in Geometry