Calculus · real student question

Evaluate the double integral of (4 - y) over the region D bounded by the lines x = 4, y = -2 and x - y = 0.

Question

Evaluate the double integral

D(4y)dA\iint_D (4-y)\,dA

where DD is the region bounded by the lines x=4x=4, y=2y=-2 and xy=0x-y=0.

Step-by-step solution

  1. Find the three corners. Intersecting the boundary lines in pairs: x=4x=4 with y=2y=-2 gives (4,2)(4,-2); x=4x=4 with y=xy=x gives (4,4)(4,4); y=2y=-2 with y=xy=x gives (2,2)(-2,-2). So DD is the triangle with vertices (2,2)(-2,-2), (4,2)(4,-2) and (4,4)(4,4).

  2. Choose an order of integration. Sweeping vertically is simplest: for each xx between 2-2 and 44, the strip runs from the bottom edge y=2y=-2 up to the slanted edge y=xy=x. That gives 24 ⁣ ⁣2x(4y)dydx\displaystyle\int_{-2}^{4}\!\!\int_{-2}^{x}(4-y)\,dy\,dx. Note x2x\ge -2 throughout, so the upper limit is never below the lower one.

  3. Do the inner integral in yy. 2x(4y)dy=[4yy22]2x=(4xx22)(82)=4xx22+10\displaystyle\int_{-2}^{x}(4-y)\,dy=\left[4y-\frac{y^2}{2}\right]_{-2}^{x}=\left(4x-\frac{x^2}{2}\right)-\left(-8-2\right)=4x-\frac{x^2}{2}+10.

  4. Do the outer integral in xx. 24(4xx22+10)dx=[2x2x36+10x]24\displaystyle\int_{-2}^{4}\left(4x-\frac{x^2}{2}+10\right)dx=\left[2x^2-\frac{x^3}{6}+10x\right]_{-2}^{4}.

  5. Evaluate at the two limits. At x=4x=4: 32646+40=72323=184332-\frac{64}{6}+40=72-\frac{32}{3}=\frac{184}{3}. At x=2x=-2: 8+8620=12+43=3238+\frac{8}{6}-20=-12+\frac43=-\frac{32}{3}. The difference is 1843+323=2163=72\frac{184}{3}+\frac{32}{3}=\frac{216}{3}=72.

  6. Cross-check with the centroid shortcut. The triangle has area 1266=18\tfrac12\cdot 6\cdot 6=18 and centroid yˉ=22+43=0\bar y=\frac{-2-2+4}{3}=0, so D(4y)dA=41818yˉ=720=72\iint_D(4-y)\,dA=4\cdot 18-18\bar y=72-0=72. A numerical Simpson evaluation of the iterated integral also returns 72.072.0.

Answer

7272

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