Calculus · real student question

Evaluate the double integral over the square 0 <= x <= 1, 0 <= y <= 1 of the maximum of sqrt(2x - x^2) and 1 - y.

Question

Evaluate

Dmax{2xx2,1y}dxdy\iint_D \max\left\{\sqrt{2x-x^2},\,1-y\right\}\,dx\,dy

where DD is the square 0x1, 0y10\le x\le 1,\ 0\le y\le 1.

Step-by-step solution

  1. Recognise the radical as a circle. Complete the square: 2xx2=1(x1)22x-x^2=1-(x-1)^2, so 2xx2=1(x1)2\sqrt{2x-x^2}=\sqrt{1-(x-1)^2} is the upper unit semicircle centred at (1,0)(1,0). Over 0x10\le x\le 1 it rises from 00 to 11.

  2. Substitute to centre the picture. Let u=1xu=1-x and v=1yv=1-y. The Jacobian has absolute value 11 and the square maps to itself, so the integral becomes [0,1]2max{1u2,v}dudv\iint_{[0,1]^2}\max\left\{\sqrt{1-u^2},\,v\right\}du\,dv.

  3. Split the square along the quarter circle. The two candidates are equal when v=1u2v=\sqrt{1-u^2}, the quarter circle. Below it the radical wins; above it vv wins. Splitting there is what removes the max.

  4. Integrate the lower piece. For each uu, vv runs from 00 to 1u2\sqrt{1-u^2} and the integrand is the constant 1u2\sqrt{1-u^2}, contributing 01(1u2)du=113=23\int_0^1\left(1-u^2\right)du=1-\frac13=\frac23.

  5. Integrate the upper piece. For each uu, vv runs from 1u2\sqrt{1-u^2} to 11 with integrand vv, giving 011(1u2)2du=01u22du=16\int_0^1\frac{1-\left(1-u^2\right)}{2}du=\int_0^1\frac{u^2}{2}du=\frac16.

  6. Add and verify. The total is 23+16=56\frac23+\frac16=\frac56. A midpoint-rule grid of 4000×40004000\times4000 cells on the original integrand returns 0.833333330.83333333, matching 56\frac56.

Answer

56\frac{5}{6}

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