Im looking at the solution to one of my teachers answers and just wondering how he got this:

(X^4) / ({X^2}+1)dx is the same statement as X^2-1+[1/({X^2}+1)]dx

Both are integrals obviously and i dont know how he got the 2nd from the 1st. Some sort of algebra/identity i assume? Thanks

Chris