Evaluate the integral: $$\int_{1}^{\sqrt{2}} \frac{x^4}{(x^2-1)^2+1}\,dx$$
The denominator is irreducible, if I want to factorize and use partial fractions, it has to be in complex numbers and then as an indefinite integral, we get $$x + \frac{\tan^{-1}\left(\displaystyle\frac{x}{\sqrt{-1 - i}}\right)}{\sqrt{-1 - i}} + \frac{\tan^{-1}\left(\displaystyle\frac{x}{\sqrt{-1 + i}}\right)}{\sqrt{-1 + i}}+C$$
But evaluating this from $1$ to $\sqrt{2}$ is another mess, keeping in mind the principal values. I also tried the substitution $x \mapsto \sqrt{x+1}$, which then becomes
$$\frac{1}{2}\int_{0}^1 \frac{(x+1)^{3/2}}{x^2+1}\,dx$$
I don't see where I can go from here. Another substitution of $x\mapsto \tan x$ also leads me nowhere.
Should I approach the problem in some other way?