{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe split $x$ into a combination of the $e_i$ and a part orthogonal to them, and apply the Pythagorean theorem.\n\n1. Let $V$ be an inner product space over $\\mathbb{K} = \\R$ or $\\C$, with [[inner product|0VGSYBWHV2]] $\\ip{\\cdot}{\\cdot}$ and [[induced norm|0KG4D8AP6G]] $\\norm{\\cdot}$. Let $e_1, \\dots, e_k$ be an [[orthonormal family|09VYHEF2VT]] and let $x \\in V$.\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{w}{u}} = \\overline{a} \\ip{u}{w}$. In the same way, $\\ip{u}{\\cdot}$ is additive.\n3. Set $c_i = \\ip{x}{e_i}$, $s = \\sum_{i=1}^{k} c_i e_i$ and $r = x - s$. Then $x = s + r$.\n4. For each $j$, linearity in the first argument and orthonormality give $\\ip{s}{e_j} = \\sum_i c_i \\ip{e_i}{e_j} = c_j$.\n5. So $\\ip{r}{e_j} = \\ip{x}{e_j} - \\ip{s}{e_j} = c_j - c_j = 0$ for each $j$.\n6. By step 2, $\\ip{r}{s} = \\sum_{j} \\overline{c_j} \\ip{r}{e_j} = 0$. So $r$ and $s$ are [[orthogonal|0TS7VZJBWD]].\n7. By the [[Pythagorean theorem|0BVTDM872V]], $\\norm{x}^2 = \\norm{r + s}^2 = \\norm{r}^2 + \\norm{s}^2$.\n8. By step 2 and linearity in the first argument, $\\norm{s}^2 = \\ip{s}{s} = \\sum_{i} \\sum_{j} c_i \\overline{c_j} \\ip{e_i}{e_j}$.\n9. By orthonormality, only the terms with $i = j$ remain. So $\\norm{s}^2 = \\sum_{i} c_i \\overline{c_i} = \\sum_{i=1}^{k} \\abs{c_i}^2$.\n10. Since $\\norm{r}^2 = \\ip{r}{r} \\ge 0$, steps 7 and 9 give $\\sum_{i=1}^{k} \\abs{\\ip{x}{e_i}}^2 = \\norm{s}^2 \\le \\norm{x}^2$.\n\n## Idea\n\nThe vector $s = \\sum_i \\ip{x}{e_i} e_i$ is the part of $x$ along the directions $e_i$, and $x - s$ is orthogonal to all of them. By Pythagoras, $\\norm{x}^2$ is $\\norm{s}^2$ plus a nonnegative remainder. Orthonormality makes $\\norm{s}^2$ the sum of the squared coefficients.\n",
  "commit": "68a8c3dc73fd55004b2796431c607c30960d1a85",
  "front": {
    "kind": "proof",
    "msc": [
      "46C05"
    ],
    "name": "Proof of Bessel's inequality",
    "proves": "0RBT5PB74K",
    "sources": [
      {
        "locator": "Proof",
        "url": "https://en.wikipedia.org/wiki/Bessel's_inequality"
      }
    ],
    "tag": "FHHPA8GQE8",
    "uses": [
      "0VGSYBWHV2",
      "0KG4D8AP6G",
      "09VYHEF2VT",
      "0BVTDM872V",
      "0TS7VZJBWD"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/FHHPA8GQE8/",
  "links": [
    {
      "field": "proves",
      "target": "0RBT5PB74K"
    },
    {
      "field": "uses",
      "target": "0VGSYBWHV2"
    },
    {
      "field": "uses",
      "target": "0KG4D8AP6G"
    },
    {
      "field": "uses",
      "target": "09VYHEF2VT"
    },
    {
      "field": "uses",
      "target": "0BVTDM872V"
    },
    {
      "field": "uses",
      "target": "0TS7VZJBWD"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/FHHPA8GQE8.md",
  "msc": [
    "46C05"
  ],
  "name": "Proof of Bessel's inequality",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/FHH/FHHPA8GQE8.md",
  "status": null,
  "tag": "FHHPA8GQE8",
  "uri": "m2://FHHPA8GQE8",
  "url": "https://math2.tamnd.com/wiki/proof-of-bessels-inequality/",
  "writing": {
    "tag": "FHHPA8GQE8",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
