\(\int\displaystyle\frac{x^2+1}{x^4+1}\,dx=\)
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(\displaystyle\frac{1}{\sqrt{2}}\tan^{-1}\left(\frac{x^2-1}{\sqrt{2}\,x}\right)+C\)
Dividing the numerator and the denominator by \(x^2\):
\( \displaystyle \frac{x^2+1}{x^4+1} = \frac{1+\frac{1}{x^2}}{x^2+\frac{1}{x^2}} \)
The numerator is the derivative of \(x - \frac{1}{x}\), so write the denominator in terms of it:
\( \displaystyle x^2+\frac{1}{x^2} = \left(x-\frac{1}{x}\right)^2 + 2 \)
Put \(t = x - \frac{1}{x}\), so \(dt = \left(1+\frac{1}{x^2}\right)dx\):
\( \displaystyle I = \int\frac{dt}{t^2+(\sqrt{2})^2} \)
\( \displaystyle = \frac{1}{\sqrt{2}}\tan^{-1}\frac{t}{\sqrt{2}} + C \)
Putting back \(t = x - \frac{1}{x} = \frac{x^2-1}{x}\):
\( \displaystyle I = \frac{1}{\sqrt{2}}\tan^{-1}\left(\frac{x^2-1}{\sqrt{2}\,x}\right) + C \)