{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $K$ be a [[compact|0TVJZYB6SH]] [[Hausdorff space|0S1FJ8VEX9]], and let $C(K)$ be the space of continuous functions $K \\to \\R$ with the supremum norm.\nLet $V \\subseteq C(K)$ be a [[linear subspace|00YC1D652K]], let $f \\in C(K)$ and $p^* \\in V$, and let\n$$E = \\set{x \\in K : \\abs{f(x) - p^*(x)} = \\norm{f - p^*}}$$\nbe the set of extreme points of the error.\nThen $p^*$ is a [[best approximation|7N4988HN3P]] of $f$ from $V$ if and only if\n$$\\min_{x \\in E} \\big( f(x) - p^*(x) \\big) \\, p(x) \\le 0 \\quad \\text{for every } p \\in V.$$\n\n## Remarks\n\nThe idea of the proof: suppose some $p \\in V$ has $(f - p^*) p \u003e 0$ on $E$.\nBy compactness this product is positive on an open set $U \\supseteq E$, and $\\abs{f - p^*}$ stays below $\\norm{f - p^*} - \\eta$ for some $\\eta \u003e 0$ off $U$.\nThen $\\norm{f - p^* - t p} \u003c \\norm{f - p^*}$ for small $t \u003e 0$, so $p^*$ is not best.\nConversely, if $q \\in V$ has $\\norm{f - q} \u003c \\norm{f - p^*}$, then $p = q - p^*$ satisfies $(f - p^*) p = (f - p^*)^2 - (f - p^*)(f - q) \u003e 0$ on $E$.\n\nExample: for $f(x) = x^2$ on $[0, 1]$, $V$ the lines and $p^*(x) = x - 1/8$, the set $E$ is $\\set{0, 1/2, 1}$ with error signs $+, -, +$.\nA line $p$ with $p(0) \u003e 0$, $p(1/2) \u003c 0$ and $p(1) \u003e 0$ would have two zeros, so it does not exist, and the criterion shows $p^*$ is best.\n\nFor complex-valued functions the same criterion holds with $\\operatorname{Re} \\big( \\overline{(f(x) - p^*(x))} \\, p(x) \\big)$ in place of the product.\n\n## Explanations\n\n### L1 human\n\nA candidate approximation is best unless some correction pushes in the right direction at every point where the error is worst.\nThe criterion checks exactly this: there must be no $p$ that has the same sign as the error at all the worst points.\n\n### L2 human\n\nThe criterion holds for every linear subspace, not only for polynomials or Haar subspaces.\nFor Haar subspaces it turns into the alternation property of the equioscillation theorem, because a function of a Haar subspace can follow any sign pattern with few sign changes.\nIt is a form of the first-order optimality condition for the convex function $p \\mapsto \\norm{f - p}$.\nSimilar criteria hold in other normed spaces with the norm's subdifferential in place of the product.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "about": [
      "7N4988HN3P"
    ],
    "kind": "statement",
    "msc": [
      "41A50",
      "41A65"
    ],
    "name": "Kolmogorov criterion for best approximation",
    "role": "theorem",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Approximation_theory"
      }
    ],
    "tag": "HKRN90DCWK",
    "uses": [
      "7N4988HN3P",
      "0TVJZYB6SH",
      "0S1FJ8VEX9",
      "00YC1D652K"
    ]
  },
  "kind": "statement",
  "link": "https://tamnd.github.io/math2/node/HKRN90DCWK/",
  "links": [
    {
      "field": "about",
      "target": "7N4988HN3P"
    },
    {
      "field": "uses",
      "target": "7N4988HN3P"
    },
    {
      "field": "uses",
      "target": "0TVJZYB6SH"
    },
    {
      "field": "uses",
      "target": "0S1FJ8VEX9"
    },
    {
      "field": "uses",
      "target": "00YC1D652K"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/HKRN90DCWK.md",
  "msc": [
    "41A50",
    "41A65"
  ],
  "name": "Kolmogorov criterion for best approximation",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/HKR/HKRN90DCWK.md",
  "status": null,
  "tag": "HKRN90DCWK",
  "uri": "m2://HKRN90DCWK",
  "url": "https://tamnd.github.io/math2/wiki/kolmogorov-criterion-for-best-approximation/",
  "writing": {
    "tag": "HKRN90DCWK",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
