Given, the slope of the tangent to the curve at any point
(x,y) is
y−1x2+xSince, the slope of the tangent to the curve is dydx,
Then, dydx=y−1x2+x
Separating the variables we get,
dyy−1=dxx(x+1)
Now, resolving 1x(x+1) into partial fractions as,
Ax+Bx+1
∴1=A(x+1)+B(x)
Now, let us equate the x term,
0=A+B
Equating the constant term,
A=1,B=−1
Hence, 1x(x+1)=1x−1x+1
∴dyy−1=dxx−dxx+1
Integrating on both sides we get,
∫dyy−1=∫dxx−∫dxx+1⇒log(y−1)=logx−log(x+1)+logc⇒log(y−1)=log(cxx+1)⇒y−1=cxx+1⇒(y−1)(x+1)=cx
Substituting the value of x and y with the given point (1,0),
(0−1)(1+1)=c(1)⇒c=−2∴(y−1)(x+1)=−2x⇒(y−1)(x+1)+2x=0
Hence, it is the required equation of the curve through the point (1,0).