Given differential equation is
y2dx=(y1−x)dy
⇒y2dydx+x=y1
⇒dydx+(y21)x=y31
It is a linear differential equation whose integrating factor I.F.=e∫y2dy=e−y1
Solution of a given differential equation can be written as
xe−y1=∫e−y1y31dy=I
Let y−1=t⇒y2dy=dt⇒I=∫(−t)etdt
=et(1−t)+C, (Integrating by parts)
⇒ Solution of differential equation is xe−y1=e−y1(1+y1)+C
Since for x=1,we have y=1,
⇒1.e−1=e−1(1+1)+C⇒C=e−1
⇒ Solution with given condition is xey−1=ey−1(1+y1)−e−1
or x=1+y1−e(y1−1)
So, x∣y=2=1+21−e21−1=23−e1