{
  "aliases": [
    "dimension-formula"
  ],
  "backlinks": null,
  "body": "\n## Statement\n\nLet $F$ be a field, let $V$ be a vector space over $F$, and let $U$ and $W$ be finite-dimensional [[linear subspaces|00YC1D652K]] of $V$.\nThen\n$$\\dim(U + W) + \\dim(U \\cap W) = \\dim U + \\dim W,$$\nwhere $U + W$ is the [[sum of the subspaces|0JMTY8MF54]] and $\\dim$ is the [[dimension|03GSZ8RTZJ]].\n\n## Remarks\n\nThe proof extends a basis of $U \\cap W$ to a basis of $U$ and to a basis of $W$.\nTogether, these vectors form a basis of $U + W$.\nAnother proof applies the [[rank–nullity theorem|0W4FSW1TVB]] to the map $U \\times W \\to V$, $(u, w) \\mapsto u - w$.\nTwo planes through the origin in $\\R^3$ with $U \\ne W$ have $\\dim(U + W) = 3$, so $\\dim(U \\cap W) = 1$.\n\n## Explanations\n\n### L1 human\n\nThe formula counts dimensions like a count of elements in a union of two sets.\nWe add the two dimensions, but then the common part is counted twice, so we subtract it once.\nTwo different planes through the origin in space always share at least a line.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "dimension-formula"
    ],
    "kind": "statement",
    "msc": [
      "15A03"
    ],
    "name": "Grassmann's formula",
    "role": "theorem",
    "sources": [
      {
        "locator": "Properties",
        "url": "https://en.wikipedia.org/wiki/Dimension_(vector_space)"
      }
    ],
    "tag": "06HTJNCMPA",
    "uses": [
      "0RMKABS2S5",
      "0V33SPH7RR",
      "05G2G0P224"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/06HTJNCMPA/",
  "links": [
    {
      "field": "uses",
      "target": "0RMKABS2S5"
    },
    {
      "field": "uses",
      "target": "0V33SPH7RR"
    },
    {
      "field": "uses",
      "target": "05G2G0P224"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/06HTJNCMPA.md",
  "msc": [
    "15A03"
  ],
  "name": "Grassmann's formula",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/06H/06HTJNCMPA.md",
  "status": null,
  "tag": "06HTJNCMPA",
  "uri": "m2://06HTJNCMPA",
  "url": "https://math2.tamnd.com/wiki/grassmanns-formula/",
  "writing": {
    "tag": "06HTJNCMPA",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
