Calculus · real student question

Evaluate the double integral of -2x - 2y + 2 over the region 1 <= x <= 2, x <= y <= 3.

Question

Evaluate

12 ⁣ ⁣x3(2x2y+2)dydx\int_1^2\!\!\int_x^3\left(-2x-2y+2\right)dy\,dx

Step-by-step solution

  1. Sketch the region before integrating. The conditions 1x21\le x\le 2 and xy3x\le y\le 3 describe a trapezoidal strip: a vertical slice at abscissa xx runs from the line y=xy=x up to the line y=3y=3, so its length is 3x3-x, shrinking from 22 to 11 as xx goes from 11 to 22. Because the lower limit depends on xx, the yy-integration must be done first in this order.

  2. Integrate in yy with xx held fixed.

    x3(2x2y+2)dy=[2xyy2+2y]y=xy=3\int_x^3\left(-2x-2y+2\right)dy=\left[-2xy-y^2+2y\right]_{y=x}^{y=3}

    At the top, y=3y=3 gives 6x9+6=6x3-6x-9+6=-6x-3. At the bottom, y=xy=x gives 2x2x2+2x=3x2+2x-2x^2-x^2+2x=-3x^2+2x.

  3. Subtract carefully. The lower value is subtracted as a whole, so every sign in it flips:

    (6x3)(3x2+2x)=3x28x3(-6x-3)-\left(-3x^2+2x\right)=3x^2-8x-3

    This is where the usual error occurs — dropping the minus sign in front of 3x2-3x^2 turns the final answer positive.

  4. Integrate the resulting single-variable function.

    12(3x28x3)dx=[x34x23x]12=(8166)(143)=14(6)=8\int_1^2\left(3x^2-8x-3\right)dx=\left[x^3-4x^2-3x\right]_1^2=(8-16-6)-(1-4-3)=-14-(-6)=-8

  5. Explain why a negative answer is correct. The integrand 22x2y2-2x-2y is negative on almost the whole region: on the strip, x1x\ge 1 and y1y\ge 1, so 22x2y222=2<02-2x-2y\le 2-2-2=-2<0. An integral of a function that is negative everywhere on the region must be negative, so 8-8 is the right sign. Its magnitude is also reasonable: the region has area 12(3x)dx=32\int_1^2(3-x)dx=\tfrac32, and the integrand averages 8/1.55.3-8/1.5\approx -5.3, which sits inside its actual range of roughly 10-10 to 2-2.

Answer

8-8

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