The given differential equation dxdy=(x−y)2 Let x−y=t⇒1−dxdy=dxdt ⇒dxdy=1−dxdt Now, from equation (1) (1−dxdt)=(t)2 ⇒1−t2=dxdt⇒∫dx=∫1−t2dt ⇒−x=2×11lnt+1t−1+c ⇒−x=21lnx−y+1x−y−1+c ∵ The given condition y(1)=1 −1=21ln1−1+11−1−1+c⇒c=−1 Hence, 2(x−1)=−ln1−y+x1−x+y