TOPICS
Search

Affine Transformation


An affine transformation is a transformation that preserves affine combinations of points. It preserves collinearity and ratios of directed distances along any line not collapsed to a point. In particular, the midpoint of a line segment maps to the midpoint of its image. The nonsingular affine transformations of R^3 are the projective transformations that preserve the plane at infinity. An affine transformation is also called an affinity.

Geometric contraction, expansion, dilation, reflection, rotation, shear, similarity transformations, spiral similarities, and translation are all affine transformations, as are their combinations. In general, a nonsingular affine transformation is a composition of rotations, reflections, translations, dilations, and shears.

While an affine transformation preserves proportions on uncollapsed lines, it does not necessarily preserve angles or lengths. Any triangle can be transformed into any other by an affine transformation, so all triangles are affine and, in this sense, affine is a generalization of congruent and similar.

A particular example combining rotation and expansion is the rotation-enlargement transformation, with s>0,

[x^'; y^']=s[cosalpha sinalpha; -sinalpha cosalpha][x-x_0; y-y_0]
(1)
=s[cosalpha(x-x_0)+sinalpha(y-y_0); -sinalpha(x-x_0)+cosalpha(y-y_0)].
(2)

Separating the equations,

x^'=(scosalpha)x+(ssinalpha)y-s(x_0cosalpha+y_0sinalpha)
(3)
y^'=(-ssinalpha)x+(scosalpha)y+s(x_0sinalpha-y_0cosalpha).
(4)

This can be also written as

x^'=ax-by+c
(5)
y^'=bx+ay+d,
(6)

where

a=scosalpha
(7)
b=-ssinalpha.
(8)

The scale factor s is then defined by

 s=sqrt(a^2+b^2),
(9)

and the rotation angle, modulo 2pi, by

 alpha=arg(a-bi),
(10)

where arg denotes the complex argument.

An affine transformation of R^n is a map F:R^n->R^n of the form

 F(p)=Ap+q
(11)

for all p in R^n, where A is a linear transformation of R^n. If det(A)>0, the transformation is orientation-preserving; if det(A)<0, it is orientation-reversing.


See also

Affine, Affine Complex Plane, Affine Equation, Affine Geometry, Affine Group, Affine Hull, Affine Plane, Affine Space, Equiaffinity, Euclidean Motion, Special Affine Transformation

Explore with Wolfram|Alpha

References

Croft, H. T.; Falconer, K. J.; and Guy, R. K. Unsolved Problems in Geometry. New York: Springer-Verlag, p. 3, 1991.Gray, A. Modern Differential Geometry of Curves and Surfaces with Mathematica, 2nd ed. Boca Raton, FL: CRC Press, p. 130, 1997.Zwillinger, D. (Ed.). "Affine Transformations." §4.3.2 in CRC Standard Mathematical Tables and Formulae. Boca Raton, FL: CRC Press, pp. 265-266, 1995.

Referenced on Wolfram|Alpha

Affine Transformation

Cite this as:

Weisstein, Eric W. "Affine Transformation." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/AffineTransformation.html

Subject classifications