{
  "aliases": [
    "reversing-order-of-integration"
  ],
  "backlinks": null,
  "body": "\n## Statement\n\nLet $D \\subseteq \\mathbb{R}^2$ be a region that has two descriptions,\n$$D = \\{(x, y) : a \\le x \\le b, \\ \\varphi_1(x) \\le y \\le \\varphi_2(x)\\} = \\{(x, y) : c \\le y \\le d, \\ \\psi_1(y) \\le x \\le \\psi_2(y)\\},$$\nwhere $\\varphi_1 \\le \\varphi_2$ are continuous on $[a, b]$ and $\\psi_1 \\le \\psi_2$ are continuous on $[c, d]$.\nLet $f \\colon D \\to \\mathbb{R}$ be continuous.\nThen\n$$\\int_a^b \\int_{\\varphi_1(x)}^{\\varphi_2(x)} f(x, y) \\, dy \\, dx = \\int_c^d \\int_{\\psi_1(y)}^{\\psi_2(y)} f(x, y) \\, dx \\, dy,$$\nand both equal the double integral of $f$ over $D$.\n\n## Remarks\n\nThe proof applies [[Fubini's theorem|0R0T1VWH5X]] on a rectangle that contains $D$ to $f$ times the indicator function of $D$.\nThe main work is to describe $D$ again in the other order. One way is to sketch the region.\nExample: $\\int_0^1 \\int_x^1 e^{y^2} \\, dy \\, dx$ has no elementary inner antiderivative. The region is $0 \\le x \\le y \\le 1$, so the integral equals $\\int_0^1 \\int_0^y e^{y^2} \\, dx \\, dy = \\int_0^1 y e^{y^2} \\, dy = (e - 1)/2$.\nFor unbounded regions or discontinuous integrands, a change of order needs extra hypotheses.\n\n## Explanations\n\n### L1 human\n\nAn iterated integral over a region can sometimes be hard in one order and easy in the other.\nChanging the order means describing the same region by slicing it in the other direction, and then integrating in the new order.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "aliases": [
      "reversing-order-of-integration"
    ],
    "kind": "statement",
    "msc": [
      "26B15"
    ],
    "name": "Changing the order of integration",
    "role": "proposition",
    "same_as": {
      "wikidata": "Q3825182",
      "wikipedia": "Order of integration (calculus)"
    },
    "sources": [
      {
        "locator": "Problem statement",
        "url": "https://en.wikipedia.org/wiki/Order_of_integration_(calculus)"
      },
      {
        "locator": "Double integral over a normal domain",
        "url": "https://en.wikipedia.org/wiki/Multiple_integral"
      }
    ],
    "tag": "0H60H1Q0SX",
    "uses": [
      "0R0T1VWH5X",
      "0P4WX7Y502",
      "0TXCQ9CST1"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0H60H1Q0SX/",
  "links": [
    {
      "field": "uses",
      "target": "0R0T1VWH5X"
    },
    {
      "field": "uses",
      "target": "0P4WX7Y502"
    },
    {
      "field": "uses",
      "target": "0TXCQ9CST1"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0H60H1Q0SX.md",
  "msc": [
    "26B15"
  ],
  "name": "Changing the order of integration",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0H6/0H60H1Q0SX.md",
  "status": null,
  "tag": "0H60H1Q0SX",
  "uri": "m2://0H60H1Q0SX",
  "url": "https://math2.tamnd.com/wiki/changing-the-order-of-integration/",
  "writing": {
    "tag": "0H60H1Q0SX",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
