{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe use an orthonormal basis of $W$ to split each vector, and then show that $W \\cap W^\\perp = \\set{0}$.\n\n1. Let $V$ be an inner product space over $\\mathbb{K} = \\R$ or $\\C$, with [[inner product|0VGSYBWHV2]] $\\ip{\\cdot}{\\cdot}$. Let $W$ be a finite-dimensional [[subspace|0EPTJA5QV4]] of $V$, and let $W^\\perp$ be its [[orthogonal complement|079D68S3AW]].\n2. For all $u, w \\in V$ and $a \\in \\mathbb{K}$, conjugate symmetry and linearity in the first argument give $\\ip{u}{a w} = \\overline{a} \\ip{u}{w}$. In the same way, $\\ip{u}{\\cdot}$ is additive.\n3. $W^\\perp$ is a subspace. Indeed, $\\ip{0}{w} = 0$ for all $w$. If $x, y \\in W^\\perp$ and $a, b \\in \\mathbb{K}$, then $\\ip{a x + b y}{w} = a \\ip{x}{w} + b \\ip{y}{w} = 0$ for all $w \\in W$.\n4. The restriction of $\\ip{\\cdot}{\\cdot}$ to $W$ is an inner product on $W$. So $W$ is a finite-dimensional inner product space, and it has an [[orthonormal basis|0Y85GYEGSF]] $e_1, \\dots, e_k$.\n5. Let $v \\in V$. Set $w = \\sum_{i=1}^{k} \\ip{v}{e_i} e_i$, which lies in $W$, and $w' = v - w$. Then $v = w + w'$.\n6. For each $j$, linearity in the first argument and orthonormality give $\\ip{w}{e_j} = \\ip{v}{e_j}$. So $\\ip{w'}{e_j} = 0$.\n7. Let $u \\in W$. By the [[formula for coordinates|09DZ8CD1AK]] in $W$, $u = \\sum_j a_j e_j$ with $a_j \\in \\mathbb{K}$. By step 2, $\\ip{w'}{u} = \\sum_j \\overline{a_j} \\ip{w'}{e_j} = 0$.\n8. Hence $w' \\in W^\\perp$. So $V = W + W^\\perp$.\n9. Let $x \\in W \\cap W^\\perp$. Since $x \\in W^\\perp$ and $x \\in W$, we get $\\ip{x}{x} = 0$. By positivity of the inner product, $x = 0$.\n10. Let $u \\in W$ and $u' \\in W^\\perp$ with $u + u' = 0$. Then $u = -u'$ lies in $W$ and in the subspace $W^\\perp$. By step 9, $u = 0$, and so $u' = 0$.\n11. By steps 8 and 10 and the equivalent form of the definition of the [[direct sum|041JTZCK9Q]], $V = W \\oplus W^\\perp$.\n\n## Idea\n\nFor an orthonormal basis $e_1, \\dots, e_k$ of $W$, the vector $\\sum_i \\ip{v}{e_i} e_i$ is the part of $v$ in $W$. The remainder has zero inner product with each $e_i$, so it lies in $W^\\perp$. Uniqueness holds because a vector orthogonal to itself is zero.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "46C05"
    ],
    "name": "Proof that a space is the direct sum of a finite-dimensional subspace and its orthogonal complement",
    "proves": "0SP7P0G7KQ",
    "sources": [
      {
        "locator": "Theorem 6.49",
        "url": "https://linear.axler.net/LADR4e.pdf"
      }
    ],
    "tag": "T8GV9PYHDQ",
    "uses": [
      "0VGSYBWHV2",
      "079D68S3AW",
      "041JTZCK9Q",
      "0EPTJA5QV4",
      "0Y85GYEGSF",
      "0FWJ0VW561",
      "09DZ8CD1AK"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/T8GV9PYHDQ/",
  "links": [
    {
      "field": "proves",
      "target": "0SP7P0G7KQ"
    },
    {
      "field": "uses",
      "target": "0VGSYBWHV2"
    },
    {
      "field": "uses",
      "target": "079D68S3AW"
    },
    {
      "field": "uses",
      "target": "041JTZCK9Q"
    },
    {
      "field": "uses",
      "target": "0EPTJA5QV4"
    },
    {
      "field": "uses",
      "target": "0Y85GYEGSF"
    },
    {
      "field": "uses",
      "target": "0FWJ0VW561"
    },
    {
      "field": "uses",
      "target": "09DZ8CD1AK"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/T8GV9PYHDQ.md",
  "msc": [
    "46C05"
  ],
  "name": "Proof that a space is the direct sum of a finite-dimensional subspace and its orthogonal complement",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/T8G/T8GV9PYHDQ.md",
  "status": null,
  "tag": "T8GV9PYHDQ",
  "uri": "m2://T8GV9PYHDQ",
  "url": "https://math2.tamnd.com/wiki/proof-that-a-space-is-the-direct-sum-of-a-finite-dimensional-subspace-and-its-orthogonal-complement/",
  "writing": {
    "tag": "T8GV9PYHDQ",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
