Calculus · real student question

Compute the double integral of x² − 8y over the rectangle where x runs from −2 to −1 and y runs from 0 to 1.

Question

Evaluate

D(x28y)dxdy,D={2x1, 0y1}\iint_D (x^2-8y)\,dx\,dy, \qquad D=\{-2 \le x \le -1,\ 0 \le y \le 1\}

Step-by-step solution

  1. Recognise the easy case. DD is a rectangle, so both limits are constants and the order of integration does not matter. Take xx first:

    0121(x28y)dxdy\int_0^1 \int_{-2}^{-1} (x^2-8y)\,dx\,dy

  2. Integrate with respect to xx, holding yy constant.

    (x28y)dx=x338yx\int (x^2-8y)\,dx = \frac{x^3}{3}-8yx

  3. Substitute the xx limits. At x=1x=-1: 13+8y-\tfrac{1}{3}+8y. At x=2x=-2: 83+16y-\tfrac{8}{3}+16y. Subtracting,

    (13+8y)(83+16y)=738y\left(-\tfrac{1}{3}+8y\right)-\left(-\tfrac{8}{3}+16y\right) = \tfrac{7}{3}-8y

    The negative xx values are the usual place to slip a sign — note (2)3=8(-2)^3 = -8, not 88.

  4. Integrate the result over yy from 00 to 11.

    01(738y)dy=[73y4y2]01=734=53\int_0^1\left(\tfrac{7}{3}-8y\right)dy = \left[\tfrac{7}{3}y-4y^2\right]_0^1 = \tfrac{7}{3}-4 = -\tfrac{5}{3}

Answer

53-\frac{5}{3}

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