Given: y=xsinx
To prove: y given by (i) is a solution of D.E.
xy′=y+xx2−y2(x=0 and x>y or x<−y)(ii)
From (i), y′=dxd(xsinx)=xdxd(sinx)+sinx⋅dxd(x)
L.H.S. of D.E. (ii):
xy′=x⋅(xcosx+sinx)=x2cosx+xsinx(iii)
R.H.S. of D.E. (ii):
y+xx2−y2=xsinx+xx2−x2sin2x
Substitute sin2x term:
=xsinx+xx2(1−sin2x)=xsinx+x⋅xcosx=xsinx+x2cosx(iv)
Thus, from (iii) and (iv), L.H.S. of D.E. (ii) = R.H.S. of D.E. (ii).
Therefore, y given by (i) is a solution of D.E. (ii).