{"id":1193,"date":"2025-10-15T15:16:43","date_gmt":"2025-10-15T15:16:43","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=1193"},"modified":"2025-10-29T15:43:42","modified_gmt":"2025-10-29T15:43:42","slug":"double-integrals-over-basic-regions-learn-it-6","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus3\/chapter\/double-integrals-over-basic-regions-learn-it-6\/","title":{"raw":"Double Integrals over Basic Regions: Learn It 6","rendered":"Double Integrals over Basic Regions: Learn It 6"},"content":{"raw":"<h2 data-type=\"title\">Changing the Order of Integration<\/h2>\r\nAs we have already seen when we evaluate an iterated integral, sometimes one order of integration leads to a computation that is significantly simpler than the other order of integration. Sometimes the order of integration does not matter, but it is important to learn to recognize when a change in order will simplify our work.\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">Reverse the order of integration in the iterated integral [latex]\\displaystyle\\int_{x=0}^{x=\\sqrt2}\\displaystyle\\int_{y=0}^{y=2-x^2}xe^{x^2}dydx[\/latex]. Then evaluate the new iterated integral.[reveal-answer q=\"557138862\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"557138862\"]\r\n\r\nThe region as presented is of Type I. To reverse the order of integration, we must first express the region as Type II. Refer to\u00a0Figure 10.\r\n\r\n[caption id=\"attachment_1346\" align=\"aligncenter\" width=\"560\"]<img class=\"size-full wp-image-1346\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/11\/25060441\/5-2-10.jpeg\" alt=\"This figure consists of two figures labeled Type I and Type II. In the Type I figure, a curve is given as y = 2 minus x squared, which forms a shape with the x and y axes. There is a vertical line with arrows on the end of it within this shape. In the Type II figure, a curve is given as x = the square root of the quantity (2 minus y), which forms a shape with the x and y axes. There is a horizontal line with arrows on the end of it within this shape.\" width=\"560\" height=\"278\" \/> Figure 10.\u00a0Converting a region from Type I to Type II.[\/caption]\r\n<p id=\"fs-id1167794122040\">We can see from the limits of integration that the region is bounded above by [latex]y=2-x^{2}[\/latex] and below by [latex]y=0[\/latex], where [latex]x[\/latex] is in the interval [latex][0,{\\sqrt{2}}][\/latex]. By reversing the order, we have the region bounded on the left by [latex]x=0[\/latex] and on the right by [latex]{x} = {{\\sqrt{2-y}}}[\/latex] where [latex]y[\/latex] is in the interval [latex][0,2][\/latex]. We solved [latex]y=2-x^2[\/latex] in terms of [latex]x[\/latex] to obtain [latex]{x} = {{\\sqrt{2-y}}}[\/latex].<\/p>\r\n<p id=\"fs-id1167793263187\">Hence<\/p>\r\n[latex]\\begin{align}\r\n\r\n\\displaystyle\\int_0^{\\sqrt2}\\displaystyle\\int_0^{2-x^2}xe^{x^2}dydx&amp;=\\displaystyle\\int_0^2\\displaystyle\\int_0^{\\sqrt{2-y}}xe^{x^2}dxdy \\,\\,\\,\\,\\,\\text{ Reverse the order of integration then use substitution} \\\\\r\n\r\n&amp;=\\displaystyle\\int_0^2\\left[\\frac12ex^2\\bigg|_0^{\\sqrt{2-y}}\\right]dy=\\displaystyle\\int_0^2\\frac12(e^{2-y}-1)dy=-\\frac12(e^{2-y}+y)\\bigg|_0^2 \\\\\r\n\r\n&amp;=\\frac12(e^2-3).\r\n\r\n\\end{align}[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">\r\n<p id=\"fs-id1167793521486\">Consider the iterated integral [latex]\\underset{R}{\\displaystyle\\iint}{f(x,y)}{dx} \\ {dy}[\/latex]\u00a0<span style=\"font-size: 1rem; text-align: initial;\">where [latex]{z} = {f(x,y)} = {x-2y}[\/latex]<\/span><span style=\"font-size: 1rem; text-align: initial;\">\u00a0over a triangular region [latex]R[\/latex]<\/span><span style=\"font-size: 1rem; text-align: initial;\">\u00a0that has sides on [latex]x=0,\\text{ }y=0[\/latex]\u00a0<\/span><span style=\"font-size: 1rem; text-align: initial;\">and the line [latex]x+y=1[\/latex].\u00a0<\/span><span style=\"font-size: 1rem; text-align: initial;\">Sketch the region, and then evaluate the iterated integral by<\/span><\/p>\r\n<p style=\"padding-left: 30px;\">a. integrating first with respect to [latex]y[\/latex], and then,<\/p>\r\n<p style=\"padding-left: 30px;\">b. integrating first with respect to [latex]x[\/latex].<\/p>\r\n[reveal-answer q=\"913592004\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"913592004\"]\r\n\r\nA sketch of the region appears in\u00a0Figure 11.\r\n\r\n[caption id=\"attachment_1347\" align=\"aligncenter\" width=\"262\"]<img class=\"size-full wp-image-1347\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/11\/25060520\/5-2-11.jpeg\" alt=\"The line y = 1 minus x is drawn, and it is also marked as x = 1 minus y. There is a shaded region around x = 0 that comes from the y axis, which projects down to make a shaded region marked y = 0 from the x axis.\" width=\"262\" height=\"240\" \/> Figure 11.\u00a0A triangular region\u00a0<span style=\"font-size: 1rem; text-align: initial;\">[latex]R[\/latex]\u00a0<\/span>for integrating in two ways.[\/caption]\r\n<p id=\"fs-id1167793589762\">We can complete this integration in two different ways.<\/p>\r\n<p style=\"padding-left: 30px;\">a. One way to look at it is by first integrating [latex]y[\/latex] from [latex]y=0[\/latex] to [latex]y=1-x[\/latex] vertically and then integrating [latex]x[\/latex] from [latex]x=0[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 \u00a0to\u00a0[latex]x=1[\/latex]:<\/p>\r\n[latex]\\hspace{5cm}\\begin{align}\r\n\r\n\\underset{R}{\\displaystyle\\iint}f(x,y)dxdy&amp;=\\displaystyle\\int_{x=0}^{x=1}\\displaystyle\\int_{y=0}^{y=1-x}(x-2y)dydx=\\displaystyle\\int_{x=0}^{x=1}[xy-2y^2]_{y=0}^{y=1-x}dx \\\\\r\n\r\n&amp;=\\displaystyle\\int_{x=0}^{x=1}\\left[x(1-x)-(1-x)^2\\right]dx=\\displaystyle\\int_{x=0}^{x=1}[-1+3x-2x^2]dx \\\\\r\n\r\n&amp;=\\left[-x+\\frac32x^2-\\frac23x^3\\right]_{x=0}^{x=1}=-\\frac16\r\n\r\n\\end{align}[\/latex]\r\n<p style=\"padding-left: 30px;\">b. The other way to do this problem is by first integrating [latex]x[\/latex] from [latex]x=0[\/latex] to [latex]x=1-y[\/latex] horizontally and then integrating [latex]y[\/latex] from [latex]y=0[\/latex] to\u00a0[latex]y=1[\/latex]:<\/p>\r\n[latex]\\hspace{5cm}\\begin{align}\r\n\r\n\\underset{R}{\\displaystyle\\iint}f(x,y)dxdy&amp;=\\displaystyle\\int_{y=0}^{y=1}\\displaystyle\\int_{x=0}^{x=1-y}(x-2y)dxdy=\\displaystyle\\int_{y=0}^{y=1}[\\frac12x^2-2xy]_{x=0}^{x=1-y}dy \\\\\r\n\r\n&amp;=\\displaystyle\\int_{y=0}^{y=1}\\left[\\frac12(1-y)^2-2y(1-y)\\right]dy=\\displaystyle\\int_{y=0}^{y=1}[\\frac12-3y+\\frac52y^2]dy \\\\\r\n\r\n&amp;=\\left[\\frac12y-\\frac32y^2+\\frac56y^3\\right]_{y=0}^{y=1}=-\\frac16\r\n\r\n\\end{align}[\/latex]\r\n\r\n&nbsp;\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section>","rendered":"<h2 data-type=\"title\">Changing the Order of Integration<\/h2>\n<p>As we have already seen when we evaluate an iterated integral, sometimes one order of integration leads to a computation that is significantly simpler than the other order of integration. Sometimes the order of integration does not matter, but it is important to learn to recognize when a change in order will simplify our work.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">Reverse the order of integration in the iterated integral [latex]\\displaystyle\\int_{x=0}^{x=\\sqrt2}\\displaystyle\\int_{y=0}^{y=2-x^2}xe^{x^2}dydx[\/latex]. Then evaluate the new iterated integral.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q557138862\">Show Solution<\/button><\/p>\n<div id=\"q557138862\" class=\"hidden-answer\" style=\"display: none\">\n<p>The region as presented is of Type I. To reverse the order of integration, we must first express the region as Type II. Refer to\u00a0Figure 10.<\/p>\n<figure id=\"attachment_1346\" aria-describedby=\"caption-attachment-1346\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1346\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/11\/25060441\/5-2-10.jpeg\" alt=\"This figure consists of two figures labeled Type I and Type II. In the Type I figure, a curve is given as y = 2 minus x squared, which forms a shape with the x and y axes. There is a vertical line with arrows on the end of it within this shape. In the Type II figure, a curve is given as x = the square root of the quantity (2 minus y), which forms a shape with the x and y axes. There is a horizontal line with arrows on the end of it within this shape.\" width=\"560\" height=\"278\" \/><figcaption id=\"caption-attachment-1346\" class=\"wp-caption-text\">Figure 10.\u00a0Converting a region from Type I to Type II.<\/figcaption><\/figure>\n<p id=\"fs-id1167794122040\">We can see from the limits of integration that the region is bounded above by [latex]y=2-x^{2}[\/latex] and below by [latex]y=0[\/latex], where [latex]x[\/latex] is in the interval [latex][0,{\\sqrt{2}}][\/latex]. By reversing the order, we have the region bounded on the left by [latex]x=0[\/latex] and on the right by [latex]{x} = {{\\sqrt{2-y}}}[\/latex] where [latex]y[\/latex] is in the interval [latex][0,2][\/latex]. We solved [latex]y=2-x^2[\/latex] in terms of [latex]x[\/latex] to obtain [latex]{x} = {{\\sqrt{2-y}}}[\/latex].<\/p>\n<p id=\"fs-id1167793263187\">Hence<\/p>\n<p>[latex]\\begin{align}    \\displaystyle\\int_0^{\\sqrt2}\\displaystyle\\int_0^{2-x^2}xe^{x^2}dydx&=\\displaystyle\\int_0^2\\displaystyle\\int_0^{\\sqrt{2-y}}xe^{x^2}dxdy \\,\\,\\,\\,\\,\\text{ Reverse the order of integration then use substitution} \\\\    &=\\displaystyle\\int_0^2\\left[\\frac12ex^2\\bigg|_0^{\\sqrt{2-y}}\\right]dy=\\displaystyle\\int_0^2\\frac12(e^{2-y}-1)dy=-\\frac12(e^{2-y}+y)\\bigg|_0^2 \\\\    &=\\frac12(e^2-3).    \\end{align}[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">\n<p id=\"fs-id1167793521486\">Consider the iterated integral [latex]\\underset{R}{\\displaystyle\\iint}{f(x,y)}{dx} \\ {dy}[\/latex]\u00a0<span style=\"font-size: 1rem; text-align: initial;\">where [latex]{z} = {f(x,y)} = {x-2y}[\/latex]<\/span><span style=\"font-size: 1rem; text-align: initial;\">\u00a0over a triangular region [latex]R[\/latex]<\/span><span style=\"font-size: 1rem; text-align: initial;\">\u00a0that has sides on [latex]x=0,\\text{ }y=0[\/latex]\u00a0<\/span><span style=\"font-size: 1rem; text-align: initial;\">and the line [latex]x+y=1[\/latex].\u00a0<\/span><span style=\"font-size: 1rem; text-align: initial;\">Sketch the region, and then evaluate the iterated integral by<\/span><\/p>\n<p style=\"padding-left: 30px;\">a. integrating first with respect to [latex]y[\/latex], and then,<\/p>\n<p style=\"padding-left: 30px;\">b. integrating first with respect to [latex]x[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q913592004\">Show Solution<\/button><\/p>\n<div id=\"q913592004\" class=\"hidden-answer\" style=\"display: none\">\n<p>A sketch of the region appears in\u00a0Figure 11.<\/p>\n<figure id=\"attachment_1347\" aria-describedby=\"caption-attachment-1347\" style=\"width: 262px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1347\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/11\/25060520\/5-2-11.jpeg\" alt=\"The line y = 1 minus x is drawn, and it is also marked as x = 1 minus y. There is a shaded region around x = 0 that comes from the y axis, which projects down to make a shaded region marked y = 0 from the x axis.\" width=\"262\" height=\"240\" \/><figcaption id=\"caption-attachment-1347\" class=\"wp-caption-text\">Figure 11.\u00a0A triangular region\u00a0<span style=\"font-size: 1rem; text-align: initial;\">[latex]R[\/latex]\u00a0<\/span>for integrating in two ways.<\/figcaption><\/figure>\n<p id=\"fs-id1167793589762\">We can complete this integration in two different ways.<\/p>\n<p style=\"padding-left: 30px;\">a. One way to look at it is by first integrating [latex]y[\/latex] from [latex]y=0[\/latex] to [latex]y=1-x[\/latex] vertically and then integrating [latex]x[\/latex] from [latex]x=0[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 \u00a0to\u00a0[latex]x=1[\/latex]:<\/p>\n<p>[latex]\\hspace{5cm}\\begin{align}    \\underset{R}{\\displaystyle\\iint}f(x,y)dxdy&=\\displaystyle\\int_{x=0}^{x=1}\\displaystyle\\int_{y=0}^{y=1-x}(x-2y)dydx=\\displaystyle\\int_{x=0}^{x=1}[xy-2y^2]_{y=0}^{y=1-x}dx \\\\    &=\\displaystyle\\int_{x=0}^{x=1}\\left[x(1-x)-(1-x)^2\\right]dx=\\displaystyle\\int_{x=0}^{x=1}[-1+3x-2x^2]dx \\\\    &=\\left[-x+\\frac32x^2-\\frac23x^3\\right]_{x=0}^{x=1}=-\\frac16    \\end{align}[\/latex]<\/p>\n<p style=\"padding-left: 30px;\">b. The other way to do this problem is by first integrating [latex]x[\/latex] from [latex]x=0[\/latex] to [latex]x=1-y[\/latex] horizontally and then integrating [latex]y[\/latex] from [latex]y=0[\/latex] to\u00a0[latex]y=1[\/latex]:<\/p>\n<p>[latex]\\hspace{5cm}\\begin{align}    \\underset{R}{\\displaystyle\\iint}f(x,y)dxdy&=\\displaystyle\\int_{y=0}^{y=1}\\displaystyle\\int_{x=0}^{x=1-y}(x-2y)dxdy=\\displaystyle\\int_{y=0}^{y=1}[\\frac12x^2-2xy]_{x=0}^{x=1-y}dy \\\\    &=\\displaystyle\\int_{y=0}^{y=1}\\left[\\frac12(1-y)^2-2y(1-y)\\right]dy=\\displaystyle\\int_{y=0}^{y=1}[\\frac12-3y+\\frac52y^2]dy \\\\    &=\\left[\\frac12y-\\frac32y^2+\\frac56y^3\\right]_{y=0}^{y=1}=-\\frac16    \\end{align}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/section>\n","protected":false},"author":15,"menu_order":11,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1193","chapter","type-chapter","status-publish","hentry"],"part":432,"module-header":"- Select Header -","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/users\/15"}],"version-history":[{"count":4,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1193\/revisions"}],"predecessor-version":[{"id":1854,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1193\/revisions\/1854"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/parts\/432"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1193\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=1193"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=1193"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=1193"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=1193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}