{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $K$ be a field, let $V$ be a vector space over $K$, and let $A$ be an [[affine space|09XNAPTJQ7]] over $V$.\nA nonempty subset $S$ of $A$ is an affine subspace if $S = p + W$ for a point $p$ of $A$ and a linear subspace $W$ of $V$. This means that\n$$S = p + W = \\{\\, p + w \\;:\\; w \\in W \\,\\}.$$\nThe subspace $W$ is the direction of $S$. It is unique: $W = \\{\\, q - r : q, r \\in S \\,\\}$. The dimension of $S$ is the dimension of $W$.\n\n## Remarks\n\nFor each point $p$ of $S$, $S = p + W$. Thus each point of $S$ can serve as the base point.\nIn $\\mathbb{R}^n$, the affine subspaces of dimension 1 are the [[lines|0MP9BCF6DP]], and those of dimension 2 are the [[planes|0V3XAMF3C1]]. Those of dimension $n - 1$ are the hyperplanes.\nTwo affine subspaces are parallel if they have the same direction.\nMathlib's `AffineSubspace` also allows the empty set. A subset $S$ is an affine subspace in this sense if $c(q - r) + s \\in S$ for all $c \\in K$ and $q, r, s \\in S$.\n\n## Explanations\n\n### L1 human\n\nAn affine subspace is a flat piece of space that need not pass through the origin. A line or a plane that has been moved away from the origin is an example. It is a linear subspace that has been shifted by a translation.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0PYW26VNT6",
    "kind": "definition",
    "msc": [
      "51N10"
    ],
    "name": "Affine subspace",
    "sources": [
      {
        "locator": "Affine subspaces and parallelism",
        "url": "https://en.wikipedia.org/wiki/Affine_space"
      }
    ],
    "tag": "0FBXFBZBH8",
    "uses": [
      "09XNAPTJQ7"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0FBXFBZBH8/",
  "links": [
    {
      "field": "defines",
      "target": "0PYW26VNT6"
    },
    {
      "field": "uses",
      "target": "09XNAPTJQ7"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0FBXFBZBH8.md",
  "msc": [
    "51N10"
  ],
  "name": "Affine subspace",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0FB/0FBXFBZBH8.md",
  "status": null,
  "tag": "0FBXFBZBH8",
  "uri": "m2://0FBXFBZBH8",
  "url": "https://math2.tamnd.com/wiki/affine-subspace-definition/",
  "writing": {
    "tag": "0FBXFBZBH8",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
