{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "TTC40N49M6"
    }
  ],
  "body": "\n## Statement\n\nLet $H$ be a real or complex [[Hilbert space|HM2HHE3J51]].\nLet $C$ be a nonempty [[closed|0ZCK8DQYN1]] [[convex|02AS45T3H9]] subset of $H$, and let $x \\in H$.\nThen there is exactly one $y \\in C$ such that\n$$\\norm{x - y} = \\inf_{z \\in C} \\norm{x - z}.$$\nThis point $y$ is the only point of $C$ with $\\operatorname{Re} \\ip{x - y}{z - y} \\le 0$ for all $z \\in C$.\n\n## Remarks\n\nThe idea of the proof: let $d$ be the infimum and take $z_n \\in C$ with $\\norm{x - z_n} \\to d$.\nThe [[parallelogram law|026HPGYGS4]] gives $\\norm{z_n - z_m}^2 = 2 \\norm{x - z_n}^2 + 2 \\norm{x - z_m}^2 - 4 \\norm{x - (z_n + z_m)/2}^2$.\nBy convexity the midpoint lies in $C$, so the last norm is at least $d$, and $(z_n)$ is a Cauchy sequence.\nCompleteness and closedness give a limit $y \\in C$, and the same identity gives uniqueness.\n\nWhen $C$ is a closed linear subspace $M$, the condition becomes $x - y \\perp M$.\nThen $y$ is the [[orthogonal projection|0B8KZRT28M]] of $x$ on $M$, and $H = M \\oplus M^\\perp$ with the [[orthogonal complement|0XJXTBCB2T]] $M^\\perp$.\nFor finite-dimensional $M$ this is the [[closest point property|0MCDDSCB9Z]].\n\nThe hypotheses matter.\nIf $C$ is not closed, such as an open ball not containing $x$, there may be no nearest point.\nIf $C$ is not convex, such as a circle in $\\R^2$ and $x$ its center, the nearest point need not be unique.\nIn the Banach space $\\R^2$ with the max norm, the nearest point of the line $\\set{(t, 1)}$ to $0$ is not unique.\n\n## Explanations\n\n### L1 human\n\nFrom any point there is exactly one nearest point in a closed convex set.\nThe segment from the point to its nearest point meets the set at a right angle or wider.\nThis is what makes orthogonal projection work in infinite dimensions.\n\n### L2 human\n\nThe theorem is the base of Hilbert space geometry.\nIt gives the orthogonal decomposition $H = M \\oplus M^\\perp$, the existence of orthogonal projections and the Riesz representation theorem.\nIn optimisation and approximation it shows that least squares problems over closed convex sets have unique solutions.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "about": [
      "HM2HHE3J51",
      "0B8KZRT28M"
    ],
    "kind": "statement",
    "msc": [
      "46C05"
    ],
    "name": "Hilbert projection theorem",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q3527215",
      "wikipedia": "Hilbert projection theorem"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Hilbert_projection_theorem"
      }
    ],
    "tag": "J5YNTHQMFX",
    "uses": [
      "HM2HHE3J51",
      "02AS45T3H9",
      "0ZCK8DQYN1",
      "026HPGYGS4",
      "0XJXTBCB2T",
      "0MCDDSCB9Z"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/J5YNTHQMFX/",
  "links": [
    {
      "field": "about",
      "target": "HM2HHE3J51"
    },
    {
      "field": "about",
      "target": "0B8KZRT28M"
    },
    {
      "field": "uses",
      "target": "HM2HHE3J51"
    },
    {
      "field": "uses",
      "target": "02AS45T3H9"
    },
    {
      "field": "uses",
      "target": "0ZCK8DQYN1"
    },
    {
      "field": "uses",
      "target": "026HPGYGS4"
    },
    {
      "field": "uses",
      "target": "0XJXTBCB2T"
    },
    {
      "field": "uses",
      "target": "0MCDDSCB9Z"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/J5YNTHQMFX.md",
  "msc": [
    "46C05"
  ],
  "name": "Hilbert projection theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/J5Y/J5YNTHQMFX.md",
  "status": null,
  "tag": "J5YNTHQMFX",
  "uri": "m2://J5YNTHQMFX",
  "url": "https://math2.tamnd.com/wiki/hilbert-projection-theorem/",
  "writing": {
    "tag": "J5YNTHQMFX",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
