{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $K$ be a field. Let $A$ be an [[affine space|09XNAPTJQ7]] over a $K$-vector space $V$, and let $B$ be an affine space over a $K$-vector space $W$.\nA map $f : A \\to B$ is an affine map if there is a linear map $L : V \\to W$ such that\n$$f(p + v) = f(p) + L(v) \\quad \\text{for each point } p \\text{ of } A \\text{ and each vector } v \\text{ of } V.$$\nThe map $L$ is unique. It is the linear part of $f$, and it satisfies $L(q - p) = f(q) - f(p)$ for all points $p$ and $q$ of $A$.\n\n## Remarks\n\nThe affine maps from $\\mathbb{R}^n$ to $\\mathbb{R}^m$ are the maps $x \\mapsto M x + b$, with $M$ a real $m \\times n$ matrix and $b$ a vector of $\\mathbb{R}^m$.\nAn affine map keeps [[affine combinations|0KJH6SRFZK]]. In particular it sends [[midpoints|0S706JBZBG]] to midpoints.\nAn affine transformation is a bijective affine map from $A$ to itself. The affine transformations of $A$ form a group under composition.\nMathlib's `AffineMap` is this notion, with the linear part as a field of the structure.\n\n## Explanations\n\n### L1 human\n\nAn affine map is a linear map that may also shift the origin. In the plane, examples are rotations, stretches, shears and translations, and the compositions of these. A grid of squares goes to a grid of parallelograms.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "defines": "0JF0TVYGWT",
    "kind": "definition",
    "msc": [
      "51N10"
    ],
    "name": "Affine map",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Affine_transformation"
      }
    ],
    "tag": "0QHX5GGABE",
    "uses": [
      "09XNAPTJQ7"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0QHX5GGABE/",
  "links": [
    {
      "field": "defines",
      "target": "0JF0TVYGWT"
    },
    {
      "field": "uses",
      "target": "09XNAPTJQ7"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0QHX5GGABE.md",
  "msc": [
    "51N10"
  ],
  "name": "Affine map",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0QH/0QHX5GGABE.md",
  "status": null,
  "tag": "0QHX5GGABE",
  "uri": "m2://0QHX5GGABE",
  "url": "https://math2.tamnd.com/wiki/affine-map-definition/",
  "writing": {
    "tag": "0QHX5GGABE",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
