Calculus · real student question

Evaluate the iterated polar integral of 2cos(theta)sin(theta)/r^2 times r dr, with r from root(cos theta sin theta) to 1 and theta from 0 to pi/2.

Question

Evaluate

0π/2 ⁣ ⁣cosθsinθ12cosθsinθr2rdrdθ\int_{0}^{\pi/2}\!\!\int_{\sqrt{\cos\theta\sin\theta}}^{1}\frac{2\cos\theta\sin\theta}{r^{2}}\cdot r\,dr\,d\theta

Step-by-step solution

  1. Simplify the integrand first. The polar area element already supplies the factor rr, so it cancels one power in the denominator:

    2cosθsinθr2r=2cosθsinθr=sin2θr\frac{2\cos\theta\sin\theta}{r^{2}}\cdot r=\frac{2\cos\theta\sin\theta}{r}=\frac{\sin2\theta}{r}

    using the double-angle identity 2sinθcosθ=sin2θ2\sin\theta\cos\theta=\sin2\theta. A 1r\tfrac1r integrand is the signal that a logarithm is coming.

  2. Do the inner integral in rr. For fixed θ\theta the numerator is constant:

    cosθsinθ1sin2θrdr=sin2θ[lnr]cosθsinθ1=sin2θlncosθsinθ\int_{\sqrt{\cos\theta\sin\theta}}^{1}\frac{\sin2\theta}{r}\,dr=\sin2\theta\Big[\ln r\Big]_{\sqrt{\cos\theta\sin\theta}}^{1}=-\sin2\theta\,\ln\sqrt{\cos\theta\sin\theta}

    since ln1=0\ln1=0. The lower limit is below 11, so its logarithm is negative and the whole expression is positive.

  3. Convert the logarithm using the double angle. Because cosθsinθ=12sin2θ\cos\theta\sin\theta=\tfrac12\sin2\theta,

    lncosθsinθ=12ln ⁣(12sin2θ)=12(lnsin2θln2)-\ln\sqrt{\cos\theta\sin\theta}=-\tfrac12\ln\!\left(\tfrac12\sin2\theta\right)=-\tfrac12\left(\ln\sin2\theta-\ln2\right)

    so the remaining integral is

    I=120π/2sin2θ(lnsin2θln2)dθI=-\frac12\int_{0}^{\pi/2}\sin2\theta\left(\ln\sin2\theta-\ln2\right)d\theta

  4. Substitute u=2θu=2\theta. With dθ=du2d\theta=\tfrac{du}{2} and uu running from 00 to π\pi:

    I=14[0πsinulnsinuduln20πsinudu]I=-\frac14\left[\int_{0}^{\pi}\sin u\,\ln\sin u\,du-\ln2\int_{0}^{\pi}\sin u\,du\right]

  5. Use the two standard integrals. The elementary one is 0πsinudu=2\displaystyle\int_{0}^{\pi}\sin u\,du=2. The logarithmic one is the classical result

    0πsinulnsinudu=2ln22\int_{0}^{\pi}\sin u\,\ln\sin u\,du=2\ln2-2

    Substituting both:

    I=14[(2ln22)2ln2]=14(2)=12I=-\frac14\left[(2\ln2-2)-2\ln2\right]=-\frac14(-2)=\frac12

  6. Verify numerically. Simpson's rule applied to the reduced θ\theta-integrand sin2θlncosθsinθ-\sin2\theta\ln\sqrt{\cos\theta\sin\theta} over (0,π2)(0,\tfrac\pi2) gives 0.49999999900.4999999990 ✓, matching 12\tfrac12 to eight decimals. Note the integrand is integrable at both ends despite the logarithm blowing up there, because sin2θ\sin2\theta vanishes faster than ln\ln diverges.

Answer

12\frac{1}{2}

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