Stuck on this? Solve it with AI
Calculus · real student question

Evaluate the double integral of x y^2 over the region where x runs from 0 to pi and y runs from 0 to 2 sin x.

Question

Evaluate the double integral

∬Rxy2 dA,R={(x,y):0≤x≤π, 0≤y≤2sin⁡x}.\iint_{R}xy^{2}\,dA,\qquad R=\{(x,y): 0\le x\le\pi,\ 0\le y\le 2\sin x\}.

Step-by-step solution

  1. Choose the order dy dxdy\,dx. The region is bounded below by y=0y=0 and above by the curve y=2sin⁡xy=2\sin x, with xx running over the fixed interval [0,π][0,\pi]. That description is already of the form "constant xx-limits, function yy-limits", so integrating in yy first requires no work:

    ∫0π ⁣ ⁣∫02sin⁡xxy2 dy dx.\int_{0}^{\pi}\!\!\int_{0}^{2\sin x}xy^{2}\,dy\,dx.

    Reversing the order would force us to invert y=2sin⁡xy=2\sin x and split the region at x=π/2x=\pi/2 — much worse.

  2. Do the inner integral, treating xx as a constant.

    ∫02sin⁡xxy2 dy=x[y33]02sin⁡x=x(2sin⁡x)33=83xsin⁡3x.\int_{0}^{2\sin x}xy^{2}\,dy=x\left[\frac{y^{3}}{3}\right]_{0}^{2\sin x}=\frac{x(2\sin x)^{3}}{3}=\frac{8}{3}x\sin^{3}x.

    The cube is what makes the outer integral awkward, so deal with it next.

  3. Linearise sin⁡3x\sin^{3}x with the triple-angle identity. From sin⁡3x=3sin⁡x−4sin⁡3x\sin 3x=3\sin x-4\sin^{3}x we get sin⁡3x=3sin⁡x−sin⁡3x4\sin^{3}x=\dfrac{3\sin x-\sin 3x}{4}. Powers of sine cannot be integrated against xx directly, but single sines can be handled by parts, so:

    83∫0πxsin⁡3x dx=2∫0πxsin⁡x dx−23∫0πxsin⁡3x dx.\frac{8}{3}\int_{0}^{\pi}x\sin^{3}x\,dx=2\int_{0}^{\pi}x\sin x\,dx-\frac{2}{3}\int_{0}^{\pi}x\sin 3x\,dx.

  4. Integrate each piece by parts with u=xu=x. For ∫xsin⁡x dx=−xcos⁡x+sin⁡x\int x\sin x\,dx=-x\cos x+\sin x:

    ∫0πxsin⁡x dx=[−xcos⁡x+sin⁡x]0π=π.\int_{0}^{\pi}x\sin x\,dx=\big[-x\cos x+\sin x\big]_{0}^{\pi}=\pi.

    For ∫xsin⁡3x dx=−xcos⁡3x3+sin⁡3x9\int x\sin 3x\,dx=-\dfrac{x\cos 3x}{3}+\dfrac{\sin 3x}{9}:

    ∫0πxsin⁡3x dx=[−xcos⁡3x3+sin⁡3x9]0π=π3,\int_{0}^{\pi}x\sin 3x\,dx=\left[-\frac{x\cos 3x}{3}+\frac{\sin 3x}{9}\right]_{0}^{\pi}=\frac{\pi}{3},

    using cos⁡3π=−1\cos 3\pi=-1 and sin⁡3π=0\sin 3\pi=0.

  5. Combine and check.

    2(π)−23⋅π3=2π−2π9=16π9≈5.5851.2(\pi)-\frac{2}{3}\cdot\frac{\pi}{3}=2\pi-\frac{2\pi}{9}=\frac{16\pi}{9}\approx 5.5851.

    Numerical integration of 83xsin⁡3x\tfrac{8}{3}x\sin^{3}x over [0,π][0,\pi] returns 5.58505365.5850536, matching 16π9=5.5850536\tfrac{16\pi}{9}=5.5850536. The result is positive, as it must be: x≥0x\ge0 and y2≥0y^{2}\ge0 everywhere on RR.

Answer

16π9≈5.585\frac{16\pi}{9}\approx 5.585

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