{
  "aliases": [
    "change-of-variables-formula"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "0EAR3KNRTN"
    },
    {
      "field": "uses",
      "target": "0W8ETY2AZ6"
    }
  ],
  "body": "\n## Statement\n\nLet $g \\colon [a, b] \\to \\mathbb{R}$ be [[continuously differentiable|06SKCHDQT5]], and let $f$ be continuous on an interval that contains $g([a, b])$.\nThen\n$$\\int_a^b f(g(x)) \\, g'(x) \\, dx = \\int_{g(a)}^{g(b)} f(u) \\, du.$$\n\n## Remarks\n\nLet $F$ be an [[antiderivative|0NC2A3HWGT]] of $f$. By the [[chain rule|0RXX2PT1MQ]], $F \\circ g$ is an antiderivative of $(f \\circ g) \\, g'$. Both sides equal $F(g(b)) - F(g(a))$.\nThe function $g$ need not be injective.\nFor example, with $u = x^2$, $\\int_0^1 2x \\cos(x^2) \\, dx = \\int_0^1 \\cos u \\, du = \\sin 1$.\nMathlib states it as `intervalIntegral.integral_comp_mul_deriv`.\n\n## Explanations\n\n### L1 human\n\nSubstitution is the chain rule read backwards.\nWe replace an expression $g(x)$ by a new variable $u$, and $g'(x) \\, dx$ by $du$.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "aliases": [
      "change-of-variables-formula"
    ],
    "kind": "statement",
    "msc": [
      "26A42"
    ],
    "name": "Integration by substitution",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q1071270",
      "wikipedia": "Integration by substitution"
    },
    "sources": [
      {
        "locator": "Statement for definite integrals",
        "url": "https://en.wikipedia.org/wiki/Integration_by_substitution"
      }
    ],
    "tag": "0D37QFPEZE",
    "uses": [
      "0RXX2PT1MQ",
      "0XYAFCN0PT",
      "0NC2A3HWGT",
      "06SKCHDQT5"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0D37QFPEZE/",
  "links": [
    {
      "field": "uses",
      "target": "0RXX2PT1MQ"
    },
    {
      "field": "uses",
      "target": "0XYAFCN0PT"
    },
    {
      "field": "uses",
      "target": "0NC2A3HWGT"
    },
    {
      "field": "uses",
      "target": "06SKCHDQT5"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0D37QFPEZE.md",
  "msc": [
    "26A42"
  ],
  "name": "Integration by substitution",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0D3/0D37QFPEZE.md",
  "status": null,
  "tag": "0D37QFPEZE",
  "uri": "m2://0D37QFPEZE",
  "url": "https://math2.tamnd.com/wiki/integration-by-substitution/",
  "writing": {
    "tag": "0D37QFPEZE",
    "kind": "statement",
    "level": "W1",
    "next": [
      {
        "what": "edge about out",
        "note": "the concepts that the statement is about",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge proves in",
        "note": "at least one proof node",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge instance_of or illustrates in",
        "note": "one example that shows the statement at work",
        "have": 0,
        "want": 1
      },
      {
        "what": "explanation L2",
        "have": 0,
        "want": 1
      }
    ]
  }
}
