Some integrands are a product of two very different functions — xex, xcosx, logx, xsin−1x — where substitution gets you nowhere. Integration by parts is the tool for these. It comes straight from reversing the product rule for differentiation.
Starting from dxd(uv)=uv′+u′v and integrating both sides gives the working formula:
∫udxdvdx=uv−∫vdxdudx.
In words: integral of (first × derivative-of-second) = first × integral-of-second − integral of (derivative-of-first × integral-of-second).
Choosing u: the ILATE rule
The whole game is picking which factor is u (to differentiate) and which is dv (to integrate). Pick u by ILATE — the first type that appears:
The key idea is to simplify the integrand using the given substitution x=atan2θ, which turns the inverse sine into a simple angle. After substitution and integration by parts, the final result is (a+x)tan−1ax−ax+C.
The problem asks for the indefinite integral of sin−1a+xx. The expression inside the inverse sine looks messy, but the hint suggests a clever substitution: x=atan2θ. Why does this work? Because a+xx becomes something like a+atan2θatan2θ=1+tan2θtan2θ=sin2θ=sinθ (assuming θ in a suitable range). Then sin−1(sinθ)=θ, which is much simpler to integrate.
Let’s walk through it step by step.
Substitute x=atan2θ.
We need dx in terms of dθ. Differentiate:
dx=a⋅2tanθ⋅sec2θdθ=2atanθsec2θdθ.
Also, note that a+x=a+atan2θ=a(1+tan2θ)=asec2θ.
Simplify the integrand.
Compute a+xx:
asec2θatan2θ=sec2θtan2θ=sin2θ=sinθ,
taking θ∈[0,π/2) so sinθ≥0.
Hence sin−1a+xx=sin−1(sinθ)=θ.
Rewrite the integral.
The integral becomes:
I=∫θ⋅(2atanθsec2θ)dθ=2a∫θtanθsec2θdθ.
Simplify the trigonometric part.
Notice tanθsec2θ=cos3θsinθ. But a better approach: let t=tanθ, then dt=sec2θdθ, so tanθsec2θdθ=tdt. However, we still have θ in terms of t: θ=tan−1t. So:
I=2a∫θ⋅tdt=2a∫(tan−1t)⋅tdt.
Integrate by parts.
Let u=tan−1t and dv=tdt. Then du=1+t21dt and v=2t2.
Integration by parts gives: