Find the general solution to the following differential equation.
dy/dx = 2x( (y^2) + 1)
The Attempt at a Solution
I got all x terms on one side and all y terms on the otherside
2x dx = 1/( (y^2) + 1`)dy
x^2 + c = tan(y)
y = tan-inverse(x^2 + c)
Can somebody tell me if this is right ?
my book says the solution is y = tan(x^2 + c)