Integrate the functions in Exercises 1 to 37:
Integrate the function: \(\frac{2x}{1+x^2}\)Show solutionHide solution
We want to evaluate \(\int \frac{2x}{1+x^2}\,dx\).
Let \(u=1+x^2\). Then \(du=2x\,dx\), which is exactly the numerator times \(dx\). Therefore
\[ \int \frac{2x}{1+x^2}\,dx = \int \frac{1}{u}\,du = \ln|u|+C. \]Substituting back \(u=1+x^2\),
\[ \int \frac{2x}{1+x^2}\,dx = \ln(1+x^2)+C. \]Since \(1+x^2>0\) for every real \(x\), the absolute value is not needed, and the antiderivative is valid on \(\mathbb{R}\).
Check by differentiation: \(\frac{d}{dx}\ln(1+x^2)=\frac{2x}{1+x^2}\), so the result is correct.