Solve the differential equation:
$$y'=\frac{1-y^2}{1-x^2}$$
My book says the solution is: $$y=\frac{x+c}{cx+1},$$ where $c$ is a constant. It's been ten minutes I tried to verify if it was correct but I'm pretty sure the book is wrong. Can someone confirm it?