The integral \(\int\displaystyle\frac{2x+x^3}{1+x^2}\,dx\) is equal to:
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → \(\displaystyle\frac{1}{2}\log\left(1+x^2\right)+\frac{x^2}{2}+C\) where C is a constant of integration
The numerator can be written as a multiple of the denominator plus a remainder:
\(2x + x^3 = x(1 + x^2) + x\)
So
\( \displaystyle \frac{2x+x^3}{1+x^2} = x + \frac{x}{1+x^2} \)
In the second term the numerator is half the derivative of the denominator (the derivative of \(1+x^2\) is 2x):
\( \displaystyle \int \frac{x}{1+x^2}\,dx = \frac{1}{2}\int\frac{2x}{1+x^2}\,dx = \frac{1}{2}\log\left(1+x^2\right) \)
Hence
\( \displaystyle \int\frac{2x+x^3}{1+x^2}\,dx = \frac{x^2}{2} + \frac{1}{2}\log\left(1+x^2\right) + C \)