# Initial value problem using partial fractions

(t+1) dx/dt = x^2 + 1 (t > -1), x(0) = pi/4

I have attempted to work this by placing like terms on either side and then integrating.

1/(x^2 + 1) dx = 1/(t + 1) dt

arctan x = ln |t + 1| + C

x = tan (ln |t + 1|) + C

pi/4 = tan(ln |0 + 1|) + C

pi/4 = C

x = tan (ln |t + 1|) + pi/4

Is this even close??
This was supposed to be a partial fractions exercise but I'm not seeing how. Thanks for any help.