Rewrite the given differential equation as
follows : dxdy+x2−12xy=x2−11 which is a linear form
The integrating factor I.F. =e∫x2−12xdx=eℓn(x2−1)=x2−1
Thus multiplying the given equation by (x2−1)
we get (x2−1)dxdy+2xy=1 ⇒dxd[y(x2−1)]=1
On integrating we get y(x2−1)=x+c