{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "N9ZCXH6HV1"
    },
    {
      "field": "uses",
      "target": "TPRFJNZ7S2"
    },
    {
      "field": "uses",
      "target": "W9ARPZGPM6"
    },
    {
      "field": "defines",
      "target": "ZCVB4ZQ0SA"
    }
  ],
  "body": "\n## Summary\n\nThe Lagrange basis polynomials of distinct nodes $x_0, \\dots, x_n$ are $n + 1$ polynomials of degree $n$.\nEach one equals $1$ at its own node and $0$ at the other nodes.\nThey form a basis of the polynomials of degree at most $n$.\nIn this basis the coordinates of a polynomial are its values at the nodes.\nSo the [[Lagrange polynomial|Y7KSGE97GK]] of given data is simply the sum of the basis polynomials weighted by the data values.\n\n## Explanations\n\n### L1 human\n\nThink of each basis polynomial as a switch attached to one node: it is on, with value $1$, at its node and off, with value $0$, at all the others.\nTo get a polynomial with prescribed values, turn on each switch with the strength you want and add them up.\nFor the nodes $0$ and $1$ the two basis polynomials are $1 - x$ and $x$.\nThen the line with value $a$ at $0$ and $b$ at $1$ is $a(1 - x) + bx$.\nThe [[definition|ZCVB4ZQ0SA]] gives the general formula.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "41A05",
      "65D05"
    ],
    "name": "Lagrange basis polynomials",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Lagrange_polynomial"
      }
    ],
    "tag": "DA3CQJ5MJ6"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/DA3CQJ5MJ6/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/DA3CQJ5MJ6.md",
  "msc": [
    "41A05",
    "65D05"
  ],
  "name": "Lagrange basis polynomials",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/DA3/DA3CQJ5MJ6.md",
  "status": null,
  "tag": "DA3CQJ5MJ6",
  "uri": "m2://DA3CQJ5MJ6",
  "url": "https://tamnd.github.io/math2/wiki/lagrange-basis-polynomials/",
  "writing": {
    "tag": "DA3CQJ5MJ6",
    "kind": "concept",
    "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
      }
    ]
  }
}
