Skip to main content
Chemistry LibreTexts

Affine mapping

  • Page ID
    17796
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    An affine mapping is any mapping that preserves collinearity and ratios of distances: if three points belong to the same straight line, their images under an affine transformation also belong to the same line. Moreover, the middle point is also conserved under the affine mapping. By contrast, angles and lengths in general are not kept constant by an affine mapping.

    Under an affine mapping:

    • parallel lines remain parallel;
    • concurrent lines remain concurrent (images of intersecting lines intersect);
    • the ratio of length of segments of a given line remains constant;
    • the ratio of areas of two triangles remains constant;
    • ellipses, parabolas and hyperbolas remain ellipses, parabolas and hyperbolas respectively;
    • barycenters of polygons map into the corresponding barycenters.

    Geometric contraction, expansion, dilation, reflection, rotation, shear, similarity transformations, spiral similarities, and translation are all affine transformations, as are their combinations. Affine mappings that keep also distances and angles are called Euclidean mappings.


    Affine mapping is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Online Dictionary of Crystallography.

    • Was this article helpful?