∫ 1/[x(1 + x²)] dx
= ∫ (x² + 1 - x²)/[x(1 + x²)] dx
= ∫ 1/x dx - ∫ x/(1 + x²) dx
= ln|x| - (1/2)ln(1 + x²) + C