# Polynomial Long division

I've looked examples up online and I just can't figure out what to do exactly when I have (2x^2)/(x^2+1), for some stupid reason that was probably the work of satan, EVERY problem on the internet only has the lead coefficient of the numerator equal to or less than that in the denominator and when I divide I just don't get the answer I am suppose to get.

............(1/2)???
2x^2...|(x^2+1)
2x^2 goes into x^2 one half times according to my mathematics, but somehow that answer doesn't work, somehow 2x^2 goes into x^2 twice.

2x^2...|(x^2+1)