Calculus · real student question

Evaluate the double integral of x + 2y over the region where 1 ≤ x² + y² ≤ 4, y ≥ x, and x ≤ 0.

Question

Evaluate

D(x+2y)dA,D={(x,y):1x2+y24, yx, x0}\iint_D (x + 2y)\,dA, \qquad D = \{(x,y) : 1 \le x^2 + y^2 \le 4,\ y \ge x,\ x \le 0\}

Step-by-step solution

  1. Switch to polar because the region is bounded by circles. Set

    x=rcosθ,y=rsinθ,dA=rdrdθx = r\cos\theta, \qquad y = r\sin\theta, \qquad dA = r\,dr\,d\theta

    The annulus condition becomes simply 1r21 \le r \le 2, independent of θ\theta — that separation is what makes polar worth the change of variables here.

  2. Translate the first angular condition. x0x \le 0 means rcosθ0r\cos\theta \le 0, and since r>0r > 0:

    cosθ0  θ[π2,3π2]\cos\theta \le 0 \ \Longrightarrow \ \theta \in \left[\frac{\pi}{2}, \frac{3\pi}{2}\right]

    This is the left half-plane.

  3. Translate the second angular condition. yxy \ge x means sinθcosθ\sin\theta \ge \cos\theta. Writing the difference as a single sine,

    sinθcosθ=2sin ⁣(θπ4)0  θ[π4,5π4]\sin\theta - \cos\theta = \sqrt{2}\,\sin\!\left(\theta - \frac{\pi}{4}\right) \ge 0 \ \Longrightarrow \ \theta \in \left[\frac{\pi}{4}, \frac{5\pi}{4}\right]

    Intersecting the two ranges gives the wedge

    π2θ5π4\frac{\pi}{2} \le \theta \le \frac{5\pi}{4}

    an angular span of 3π/43\pi/4. Getting this intersection wrong is the main hazard in the problem.

  4. Convert the integrand and pick up the Jacobian.

    (x+2y)dA=r(cosθ+2sinθ)rdrdθ=r2(cosθ+2sinθ)drdθ(x + 2y)\,dA = r(\cos\theta + 2\sin\theta)\cdot r\,dr\,d\theta = r^2(\cos\theta + 2\sin\theta)\,dr\,d\theta

    The extra factor of rr from dAdA is what turns r1r^1 into r2r^2 — omitting it is the classic polar mistake.

  5. The integral separates; do the radial part. Since the rr-limits do not depend on θ\theta:

    12r2dr=[r33]12=813=73\int_1^2 r^2\,dr = \left[\frac{r^3}{3}\right]_1^2 = \frac{8 - 1}{3} = \frac{7}{3}

  6. Do the angular part and combine.

    π/25π/4(cosθ+2sinθ)dθ=[sinθ2cosθ]π/25π/4\int_{\pi/2}^{5\pi/4} (\cos\theta + 2\sin\theta)\,d\theta = \bigl[\sin\theta - 2\cos\theta\bigr]_{\pi/2}^{5\pi/4}

    At θ=5π/4\theta = 5\pi/4 both sine and cosine equal 22-\frac{\sqrt2}{2}, giving 22+2=22-\frac{\sqrt2}{2} + \sqrt2 = \frac{\sqrt2}{2}; at θ=π/2\theta = \pi/2 the bracket is 10=11 - 0 = 1. So the angular integral is 221\frac{\sqrt2}{2} - 1, and

    D(x+2y)dA=73(221)=76(22)0.6834\iint_D (x+2y)\,dA = \frac{7}{3}\left(\frac{\sqrt{2}}{2} - 1\right) = \frac{7}{6}\left(\sqrt{2} - 2\right) \approx -0.6834

    A negative value is expected: the wedge sits mostly where x<0x < 0. Quadrature in polar gives 0.68341751-0.68341751, and a Monte-Carlo check on the raw Cartesian conditions gives 0.681-0.681.

Answer

76(22)0.6834\frac{7}{6}\left(\sqrt{2} - 2\right) \approx -0.6834

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