{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "5ZA6VRDNB9"
    },
    {
      "field": "uses",
      "target": "E8QJJVC1KV"
    },
    {
      "field": "uses",
      "target": "MV45MQ12YE"
    }
  ],
  "body": "\n## Summary\n\nGauss–Legendre quadrature is [[Gaussian quadrature|FP37BTP93K]] for the constant weight $1$ on the interval $[-1, 1]$.\nIts $n$ nodes are the zeros of the [[Legendre polynomial|QFYGJVA996]] $P_n$, and it integrates every polynomial of degree at most $2n - 1$ exactly.\nAn integral over any bounded interval $[a, b]$ is handled by a linear change of variable.\nIt is the default Gaussian rule for smooth functions on a bounded interval.\n\n## Explanations\n\n### L1 human\n\nTo integrate a function over $[-1, 1]$, sample it at a few special points and add the samples with special weights.\nThe points are not equally spaced: they crowd towards the two ends of the interval.\nWith two points, at $\\pm 1/\\sqrt{3}$, and weights $1$, the rule already gives the exact integral of every cubic.\nFor example, for $f(x) = x^2$ it gives $1/3 + 1/3 = 2/3$, which is $\\int_{-1}^{1} x^2\\,dx$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "65D32",
      "41A55",
      "33C45"
    ],
    "name": "Gauss–Legendre quadrature",
    "same_as": {
      "wikidata": "Q85762846",
      "wikipedia": "Gauss–Legendre quadrature"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Gauss–Legendre_quadrature"
      }
    ],
    "specializes": [
      "FP37BTP93K"
    ],
    "tag": "RGGXDRCJVE"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/RGGXDRCJVE/",
  "links": [
    {
      "field": "specializes",
      "target": "FP37BTP93K"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/RGGXDRCJVE.md",
  "msc": [
    "65D32",
    "41A55",
    "33C45"
  ],
  "name": "Gauss–Legendre quadrature",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/RGG/RGGXDRCJVE.md",
  "status": null,
  "tag": "RGGXDRCJVE",
  "uri": "m2://RGGXDRCJVE",
  "url": "https://tamnd.github.io/math2/wiki/gauss-legendre-quadrature/",
  "writing": {
    "tag": "RGGXDRCJVE",
    "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
      }
    ]
  }
}
