Calculus · real student question

Evaluate the iterated integral of (y - x) dx from x = sqrt(1 - y^2) + 1 to x = y, then dy from y = 0 to 1.

Question

Evaluate

01(1y2+1y(yx)dx)dy\int_0^1\left(\int_{\sqrt{1-y^2}+1}^{y}(y-x)\,dx\right)dy

Step-by-step solution

  1. Do the inner integral in xx, holding yy fixed. The antiderivative of yxy-x with respect to xx is

    yxx22yx-\frac{x^2}{2}

    Note that the lower limit 1y2+1\sqrt{1-y^2}+1 is at least 11 on [0,1][0,1] while the upper limit yy is at most 11, so the limits run 'backwards'. That is fine: the Fundamental Theorem still applies and simply produces a sign, which we keep rather than swapping the limits.

  2. Evaluate at both endpoints. At x=yx=y: y2y22=y22y^2-\tfrac{y^2}{2}=\tfrac{y^2}{2}. At x=1y2+1x=\sqrt{1-y^2}+1, expand the square:

    (1y2+1)2=(1y2)+21y2+1=2y2+21y2\left(\sqrt{1-y^2}+1\right)^2=(1-y^2)+2\sqrt{1-y^2}+1=2-y^2+2\sqrt{1-y^2}

    so the lower-endpoint value is y1y2+y1+y221y2y\sqrt{1-y^2}+y-1+\tfrac{y^2}{2}-\sqrt{1-y^2}.

  3. Subtract and watch the y2/2y^2/2 terms cancel. The inner integral collapses to

    1y+1y2y1y21-y+\sqrt{1-y^2}-y\sqrt{1-y^2}

    This cancellation is the point of the problem: what looked like a messy radical expression is now four elementary pieces.

  4. Integrate each piece over y[0,1]y\in[0,1].

    01(1y)dy=12\int_0^1(1-y)\,dy=\frac12

    011y2dy=π4(area of a quarter unit disk)\int_0^1\sqrt{1-y^2}\,dy=\frac{\pi}{4}\quad\text{(area of a quarter unit disk)}

    01y1y2dy=13(substitute u=1y2)\int_0^1 y\sqrt{1-y^2}\,dy=\frac13\quad\text{(substitute }u=1-y^2\text{)}

  5. Combine and check numerically.

    12+π413=π4+16\frac12+\frac{\pi}{4}-\frac13=\frac{\pi}{4}+\frac16

    Numerically π/4+1/6=0.9520648300641\pi/4+1/6=0.9520648300641. Evaluating the inner integral on a 2,000,000-point grid in yy and averaging gives 0.95206483006420.9520648300642 — agreement to twelve decimal places ✓.

Answer

π4+16\frac{\pi}{4}+\frac{1}{6}

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