Calculus · real student question

Evaluate the double integral of x*y*e^(x^2*y) over the region D = {-2 <= x <= 0, 0 <= y <= 5pi/2}.

Question

Find the double integral of the function z=xyex2yz=xy\,e^{x^2y} over the region

D={(x,y) | 2x0, 0y5π2}.D=\left\{(x,y)\ \middle|\ -2\le x\le 0,\ 0\le y\le \frac{5\pi}{2}\right\}.

Step-by-step solution

  1. Choose the inner variable to make a substitution available. The exponent x2yx^2y differentiates to 2xy2xy with respect to xx, and the integrand already carries a factor xyxy. So integrate in xx first; integrating in yy first would require integration by parts instead.

  2. Substitute u = x^2 y in the inner integral. Then du=2xydxdu=2xy\,dx, so xydx=12duxy\,dx=\tfrac12\,du. The limits map as x=2u=4yx=-2\Rightarrow u=4y and x=0u=0x=0\Rightarrow u=0 (note xx is negative but x2x^2 is not).

  3. Evaluate the inner integral. 20xyex2ydx=124y0eudu=12(e0e4y)=1e4y2\int_{-2}^{0}xy\,e^{x^2y}\,dx=\frac12\int_{4y}^{0}e^u\,du=\frac12\left(e^0-e^{4y}\right)=\frac{1-e^{4y}}{2}. The reversed uu-limits are what make the result negative for y>0y>0.

  4. Integrate the result in y. 05π/21e4y2dy=12[ye4y4]05π/2=12(5π2e10π4+14)\int_0^{5\pi/2}\frac{1-e^{4y}}{2}\,dy=\frac12\left[y-\frac{e^{4y}}{4}\right]_0^{5\pi/2}=\frac12\left(\frac{5\pi}{2}-\frac{e^{10\pi}}{4}+\frac14\right).

  5. Distribute the one half. The exact value is 5π4+18e10π8\frac{5\pi}{4}+\frac18-\frac{e^{10\pi}}{8}. The exponential term dominates completely, since e10π4.4031×1013e^{10\pi}\approx 4.4031\times 10^{13}.

  6. Numerical check. The closed form evaluates to 5.5039382325749×1012-5.5039382325749\times 10^{12}, and adaptive quadrature of 05π/21e4y2dy\int_0^{5\pi/2}\frac{1-e^{4y}}{2}dy returns 5.5039382325749×1012-5.5039382325749\times 10^{12} as well, agreeing to 13 significant figures.

Answer

5π4+18e10π8\frac{5\pi}{4}+\frac{1}{8}-\frac{e^{10\pi}}{8}

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