The key is recognizing that the argument 1−x22x matches the tangent double-angle formula: tan(2θ)=1−tan2θ2tanθ. If you set tanθ=x, then θ=tan−1x, and the integrand simplifies to tan−1(tan(2tan−1x))=2tan−1x. Now you have a much simpler integral to evaluate using integration by parts.
Intuitive explanation
The key is recognizing that the argument 1−x22x matches the tangent double-angle formula: tan(2θ)=1−tan2θ2tanθ. If you set tanθ=x, then θ=tan−1x, and the integrand simplifies to tan−1(tan(2tan−1x))=2tan−1x. Now you have a much simpler integral to evaluate using integration by parts.