∫x(x^2-1)dx/(x^4+1)
=∫x^3dx/(x^4+1)-∫xdx/(x^4+1)
=1/4∫1/(x^4+1)dx^4-1/2∫1/(x^4+1)dx^2
=1/4ln(x^4+1)-1/2arctan(x^2)+C
∫x(x^2-1)dx/(x^4+1)
=∫(x^3-x)dx/(x^4+1)
=∫x^3dx/(x^4+1)-∫xdx/(x^4+1)
=1/4∫d(x^4+1)/(x^4+1)-1/2∫dx^2/(x^4+1)
=ln(x^4+1) /4 -arctanx^2 /2 +C