Calculus · real student question

For the integral of (x - 4y) with x from -1 to 1 and y from 0 to 2: sketch the region of integration, evaluate the double integral over the rectangle, then reverse the order of integration and evaluate again.

Question

Consider the integral

02 ⁣ ⁣11(x4y)dxdy\int_{0}^{2}\!\!\int_{-1}^{1}(x-4y)\,dx\,dy

a) Describe the region of integration.
b) Evaluate the double integral over the rectangular region.
c) Reverse the order of integration and evaluate the resulting integral.

Step-by-step solution

  1. Identify the region. Both pairs of limits are constants, so the region is the rectangle R=[1,1]×[0,2]R=[-1,1]\times[0,2]: two units wide, two units tall, symmetric about the yy-axis.

  2. Spot the symmetry before computing. The rectangle is symmetric in xx about x=0x=0, and xx is an odd function of xx, so 11xdx=0\int_{-1}^{1}x\,dx=0. That kills the first half of the integrand and leaves only the 4y-4y part to integrate.

  3. Do the inner integral in xx. 11(x4y)dx=[x224yx]11=(124y)(12+4y)=8y\displaystyle\int_{-1}^{1}(x-4y)\,dx=\left[\frac{x^2}{2}-4yx\right]_{-1}^{1}=\left(\tfrac12-4y\right)-\left(\tfrac12+4y\right)=-8y, confirming that the xx contribution cancels exactly.

  4. Do the outer integral in yy. 02(8y)dy=[4y2]02=16\displaystyle\int_{0}^{2}(-8y)\,dy=\left[-4y^2\right]_0^2=-16.

  5. Reverse the order and repeat. With constant limits the reversed integral is 11 ⁣ ⁣02(x4y)dydx\displaystyle\int_{-1}^{1}\!\!\int_{0}^{2}(x-4y)\,dy\,dx. Inner: [xy2y2]02=2x8\left[xy-2y^2\right]_0^2=2x-8. Outer: 11(2x8)dx=[x28x]11=(18)(1+8)=16\displaystyle\int_{-1}^{1}(2x-8)\,dx=\left[x^2-8x\right]_{-1}^{1}=(1-8)-(1+8)=-16.

  6. Check the result. Both orders give 16-16. Alternatively, the average value of x4yx-4y over the rectangle is 041=40-4\cdot 1=-4, and multiplying by the area 44 gives 16-16; a numerical Simpson evaluation of the nested integral also returns 16.0-16.0.

Answer

16-16

Need to solve a different problem like this? Open the solver →