ArticleslgStudy

mathematics

Affine transformation

Affine transformation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Affine transformation rather than just read about it. In short: In Euclidean geometry, an affine transformation or affinity (from the Latin, affinis, "connected with") is a geometric transformation that preserves lines and parallelism, but not necessarily Euclidean distances and angles. 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 pres…

Affine transformation — main illustration
Affine transformation — illustration

Key takeaways

  • Affine transformation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Affine transformation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Affine transformation from memory before moving on to harder problems.

Reference excerpt

In Euclidean geometry, an affine transformation or affinity (from the Latin, affinis, "connected with") is a geometric transformation that preserves lines and parallelism, but not necessarily Euclidean distances and angles. 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:

For every d-dimensional affine subspace S of X, then f (S) is also a d-dimensional affine subspace of X. 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.

Structure By the definition of an affine space, V acts on X, so that, for every pair (x,𝐯) in X × V there is associated a point y in X. We can denote this action by v→(x)=y. Here we use the convention that v→=𝐯 are two interchangeable notations for an element of V. By fixing a point c in X one can define a function mc : X → V by mc(x) = cx→. For any c, this function is one-to-one, and so, has an inverse function mc−1 : V → X given by mc−1(𝐯)=v→(c). These functions can be used to turn X into a vector space (with respect to the point c) by defining:

x+y=mc−1(mc(x)+mc(y)), for all x,y in X, and rx=mc−1(rmc(x)), for all r in k and x in X. This vector space has origin c and formally needs to be distinguished from the affine space X, but common practice is to denote it by the same symbol and mention that it is a vector space after an origin has been specified. This identification permits points to be viewed as vectors and vice versa. For any linear transformation λ of V, we can define the function L(c, λ) : X → X by L(c,λ)(x)=mc−1(λ(mc(x)))=c+λ(cx→). Then L(c, λ) is an affine transformation of X which leaves the point c fixed. It is a linear transformation of X, viewed as a vector space with origin c. Let σ be any affine transformation of X. Pick a point c in X and consider the translation of X by the vector 𝐰=cσ(c)→, denoted by Tw. Translations are affine transformations and the composition of affine transformations is an affine transformation. For this choice of c, there exists a unique linear transformation λ of V such that σ(x)=T𝐰(L(c,λ)(x)). That is, an arbitrary affine transformation of X is the composition of a linear transformation of X (viewed as a vector space) and a translation of X. This representation of affine transformations is often taken as the definition of an affine transformation (with the choice of origin being implicit).

Representation As shown above, an affine map is the composition of two functions: a translation and a linear map. Ordinary vector algebra uses matrix multiplication to represent linear maps, and vector addition to represent translations. Formally, in the finite-dimensional case, if the linear map is represented as a multiplication by an invertible matrix A and the translation as the addition of a vector 𝐛, an affine map f acting on a vector 𝐱 can be represented as 𝐲=f(𝐱)=A𝐱+𝐛.

Augmented matrix

… excerpt ends here. Continue reading the full article.

Illustrations

Affine transformation: An image of a fern-like fractal (Barnsley's fern) that exhibits affine self-similarity. Each of the leaves of the fern is related to each other leaf by an affine transformation. For instance, the red leaf can be transformed into both the dark blue leaf and any of the light blue leaves by a combination of reflection, rotation, scaling, and translation.
An image of a fern-like fractal (Barnsley's fern) that exhibits affine self-similarity. Each of the leaves of the fern is related to each other leaf by an affine transformation. For instance, the red leaf can be transformed into both the dark blue leaf and any of the light blue leaves by a combination of reflection, rotation, scaling, and translation.
Affine transformation: The one-parameter group of squeeze mappings preserves areas, here illustrated with hyperbolic sectors.
The one-parameter group of squeeze mappings preserves areas, here illustrated with hyperbolic sectors.
Affine transformation illustration
Affine transformation illustration
Affine transformation illustration

Worked examples

Example 1 — a first encounter with Affine transformation

Start with the simplest possible case. Write down what Affine transformation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Affine transformation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Affine transformation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Affine transformation

In research
Affine transformation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Affine transformation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Affine transformation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Affine geometry, Transformation (function), so understanding it makes those chapters shorter.
In everyday life
Look for Affine transformation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Affine transformation” →

How to study Affine transformation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Affine transformation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Affine transformation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Affine transformation in simple terms?

In Euclidean geometry, an affine transformation or affinity (from the Latin, affinis, "connected with") is a geometric transformation that preserves lines and parallelism, but not necessarily Euclidean distances and angles. More generally, an affine transformation is an automorphism of an affine sp…

Why does Affine transformation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Affine transformation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Affine transformation.

Tags

  • Affine geometry
  • Transformation (function)

Keep exploring