Find a particular solution of the differential equation (x−y)(dx+dy)=dx−dy given that y = -1, when x = 0.
Given, differential equation is (x−y)(dx+dy)=dx−dy
⇒dx+dy=dx−dyx−y
On integrating both sides, we get ∫(dx+dy)=∫dx−dyx−y+C
Let x−y=t⇒dx−dy=dt
∴∫dx+dy−C=∫dx−dyx−y=∫dtt=log t=log|x−y|⇒x+y=log|x−y|+C……(i)
It is given that when x = 0, y = -1
∴0+(−1)=log(0+1)+C⇒C=−1
On substituting this value in Eq. (i), we get the required particular solution as x+y=log|x−y|−1⇒log|x−y|=x+y+1