{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "YVDWN0KVG4"
    }
  ],
  "body": "\n## Summary\n\nClenshaw–Curtis quadrature integrates a function on $[-1, 1]$ by interpolating it at the points $\\cos(k\\pi/N)$ and integrating the interpolating polynomial exactly.\nThe substitution $x = \\cos\\theta$ turns the problem into a cosine series, so the weights can be computed fast with the discrete cosine transform.\nIts nodes for $N$ are contained in its nodes for $2N$, so doubling $N$ reuses all earlier function values.\nFor many smooth functions it is about as accurate as [[Gauss–Legendre quadrature|RGGXDRCJVE]] with the same number of points.\n\n## Explanations\n\n### L1 human\n\nSample the function at points that are the shadows on the $x$-axis of equally spaced points on a half circle.\nThese points crowd towards the ends of the interval, which avoids the wild oscillations of interpolation at equally spaced points.\nFit the polynomial through the samples and integrate that polynomial exactly.\nFor example, with $N = 2$ the points are $-1, 0, 1$, and the result is [[Simpson's rule|MNXC26G3BQ]].\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "65D32",
      "41A55"
    ],
    "name": "Clenshaw–Curtis quadrature",
    "same_as": {
      "wikidata": "Q5131618",
      "wikipedia": "Clenshaw–Curtis quadrature"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Clenshaw–Curtis_quadrature"
      }
    ],
    "specializes": [
      "ADSVMCY77A"
    ],
    "tag": "VEB7J3C74F"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/VEB7J3C74F/",
  "links": [
    {
      "field": "specializes",
      "target": "ADSVMCY77A"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/VEB7J3C74F.md",
  "msc": [
    "65D32",
    "41A55"
  ],
  "name": "Clenshaw–Curtis quadrature",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/VEB/VEB7J3C74F.md",
  "status": null,
  "tag": "VEB7J3C74F",
  "uri": "m2://VEB7J3C74F",
  "url": "https://tamnd.github.io/math2/wiki/clenshaw-curtis-quadrature/",
  "writing": {
    "tag": "VEB7J3C74F",
    "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
      }
    ]
  }
}
