Calculus · real student question

Evaluate the integral from x = 0 to 1 of the integral from y = x to root(2 - x^2) of x/root(x^2 + y^2) dy dx by changing the order of integration.

Question

Evaluate 01 ⁣ ⁣x2x2xx2+y2dydx\int_0^1\!\!\int_x^{\sqrt{2-x^2}}\frac{x}{\sqrt{x^2+y^2}}\,dy\,dx by changing the order of integration.

Step-by-step solution

  1. Draw the region. The bounds say 0x10\le x\le 1 and xy2x2x\le y\le\sqrt{2-x^2}: the region sits above the line y=xy=x, inside the circle x2+y2=2x^2+y^2=2, and left of x=1x=1. The line meets the circle at (1,1)(1,1), so the region is a curved wedge with corners (0,0)(0,0), (0,2)(0,\sqrt2) and (1,1)(1,1).

  2. Reverse the order carefully — the region needs two slices. For a fixed yy the left edge is always x=0x=0. For 0y10\le y\le 1 the right edge is the line x=yx=y; for 1y21\le y\le\sqrt2 the right edge is the circle x=2y2x=\sqrt{2-y^2}. So I=01 ⁣ ⁣0yxdxx2+y2dy+12 ⁣ ⁣02y2xdxx2+y2dy.I=\int_0^1\!\!\int_0^{y}\frac{x\,dx}{\sqrt{x^2+y^2}}\,dy+\int_1^{\sqrt2}\!\!\int_0^{\sqrt{2-y^2}}\frac{x\,dx}{\sqrt{x^2+y^2}}\,dy. Writing a single slice xx from yy to 2y2\sqrt{2-y^2} would describe the region below y=xy=x instead, and is the standard trap here.

  3. Do the inner integral once. With u=x2+y2u=x^2+y^2, du=2xdxdu=2x\,dx, xdxx2+y2=x2+y2.\int\frac{x\,dx}{\sqrt{x^2+y^2}}=\sqrt{x^2+y^2}.

  4. Evaluate the two slices. First slice: [x2+y2]0y=2yy\left[\sqrt{x^2+y^2}\right]_0^{y}=\sqrt2\,y-y, so 01(21)ydy=212\int_0^1(\sqrt2-1)y\,dy=\dfrac{\sqrt2-1}{2}. Second slice: [x2+y2]02y2=2y\left[\sqrt{x^2+y^2}\right]_0^{\sqrt{2-y^2}}=\sqrt2-y, so 12(2y)dy=2212\int_1^{\sqrt2}(\sqrt2-y)\,dy=2-\sqrt2-\dfrac12.

  5. Add them. I=212+(322)=1220.292893.I=\frac{\sqrt2-1}{2}+\left(\frac32-\sqrt2\right)=1-\frac{\sqrt2}{2}\approx 0.292893.

  6. Confirm in polar coordinates. With x=ρcosθx=\rho\cos\theta the integrand is just cosθ\cos\theta and dA=ρdρdθdA=\rho\,d\rho\,d\theta. On π4θπ2\tfrac\pi4\le\theta\le\tfrac\pi2 the constraint x1x\le 1 is slack (since secθ2\sec\theta\ge\sqrt2), so ρ\rho runs from 00 to 2\sqrt2: π/4π/2 ⁣ ⁣02cosθρdρdθ=[sinθ]π/4π/2=122.\int_{\pi/4}^{\pi/2}\!\!\int_0^{\sqrt2}\cos\theta\,\rho\,d\rho\,d\theta=\bigl[\sin\theta\bigr]_{\pi/4}^{\pi/2}=1-\frac{\sqrt2}{2}.

Answer

122=2220.2928931-\frac{\sqrt{2}}{2}=\frac{2-\sqrt{2}}{2}\approx 0.292893

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