Calculus · real student question

Evaluate the double integral of (x + y)/(x^2 + y^2) over the region enclosed by the loop of the curve x^3 + y^3 = 3xy.

Question

Evaluate

I=Rx+yx2+y2dAI=\iint_R \frac{x+y}{x^2+y^2}\,dA

where RR is the region enclosed by the loop of the folium of Descartes

x3+y3=3xyx^3+y^3=3xy

Step-by-step solution

  1. Convert the boundary curve to polar form. With x=rcosθx=r\cos\theta, y=rsinθy=r\sin\theta the curve x3+y3=3xyx^3+y^3=3xy becomes r3(cos3θ+sin3θ)=3r2cosθsinθr^3(\cos^3\theta+\sin^3\theta)=3r^2\cos\theta\sin\theta, so for r0r\neq0

    rmax(θ)=3cosθsinθcos3θ+sin3θr_{\max}(\theta)=\frac{3\cos\theta\sin\theta}{\cos^3\theta+\sin^3\theta}

    This vanishes at θ=0\theta=0 and θ=π/2\theta=\pi/2 and is positive between, so θ[0,π/2]\theta\in[0,\pi/2] traces exactly the loop - the bounded piece of the folium.

  2. Convert the integrand and watch the Jacobian cancel.

    x+yx2+y2=r(cosθ+sinθ)r2=cosθ+sinθr\frac{x+y}{x^2+y^2}=\frac{r(\cos\theta+\sin\theta)}{r^2}=\frac{\cos\theta+\sin\theta}{r}

    Since dA=rdrdθdA=r\,dr\,d\theta, the rr in the Jacobian cancels the 1/r1/r: the integrand in polar coordinates is free of rr entirely. That is the reason this awkward region is tractable.

  3. Do the inner integral in one line. With no rr-dependence left,

    I=0π/2(cosθ+sinθ)rmax(θ)dθ=0π/23cosθsinθ(cosθ+sinθ)cos3θ+sin3θdθI=\int_0^{\pi/2}(\cos\theta+\sin\theta)\,r_{\max}(\theta)\,d\theta=\int_0^{\pi/2}\frac{3\cos\theta\sin\theta(\cos\theta+\sin\theta)}{\cos^3\theta+\sin^3\theta}\,d\theta

  4. Cancel using the sum-of-cubes identity. Because cos3θ+sin3θ=(cosθ+sinθ)(1cosθsinθ)\cos^3\theta+\sin^3\theta=(\cos\theta+\sin\theta)(1-\cos\theta\sin\theta) (the middle factor simplifies via cos2+sin2=1\cos^2+\sin^2=1), the factor cosθ+sinθ\cos\theta+\sin\theta cancels:

    I=0π/23cosθsinθ1cosθsinθdθI=\int_0^{\pi/2}\frac{3\cos\theta\sin\theta}{1-\cos\theta\sin\theta}\,d\theta

    Note 1cosθsinθ121-\cos\theta\sin\theta\ge\tfrac12, so the integral is proper - nothing blows up.

  5. Reduce to a standard Weierstrass integral. Writing cosθsinθ=12sin2θ\cos\theta\sin\theta=\tfrac12\sin2\theta and substituting φ=2θ\varphi=2\theta:

    I=120π3sinφ2sinφdφ=32[π+20πdφ2sinφ]I=\frac{1}{2}\int_0^{\pi}\frac{3\sin\varphi}{2-\sin\varphi}\,d\varphi=\frac{3}{2}\left[-\pi+2\int_0^{\pi}\frac{d\varphi}{2-\sin\varphi}\right]

    The half-angle substitution t=tan(φ/2)t=\tan(\varphi/2) turns the remaining integral into 0dtt2t+1=4π33\int_0^{\infty}\frac{dt}{t^2-t+1}=\frac{4\pi}{3\sqrt3}.

  6. Assemble the closed form and check it numerically.

    I=32(π+8π33)=4π33π2=43π33π2I=\frac{3}{2}\left(-\pi+\frac{8\pi}{3\sqrt3}\right)=\frac{4\pi}{\sqrt3}-\frac{3\pi}{2}=\frac{4\sqrt3\,\pi}{3}-\frac{3\pi}{2}

    Numerically 7.2551974.712389=2.54280857.255197-4.712389=2.5428085, which agrees with Simpson's rule applied directly to 0π/23cosθsinθ1cosθsinθdθ\int_0^{\pi/2}\frac{3\cos\theta\sin\theta}{1-\cos\theta\sin\theta}d\theta to seven decimals ✓.

Answer

I=43π33π22.5428085I=\frac{4\sqrt3\,\pi}{3}-\frac{3\pi}{2}\approx 2.5428085

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