The correct option is C None of these
Given differential equation is
ysin(xy)dx={xsin(xy)−y}dy
⇒dxdy=xsin(xy)−yysin(xy)=xy−1sin(xy)...(i)
On putting v=xy ⇒ x=vy
⇒dxdy=v.1+y.dvdy in eq (i), we get
v+ydvdy=v−1sinv
⇒ydvdy=−1sinv
⇒−∫sinvdv=∫dyy (on integrating)
⇒cosv=logy+C
⇒cos(xy)=logy+C...(ii)
Given at x=π4,y=1, then from eq. (i)
⇒cosπ4=log1+C
⇒(C=1√2)
On putting the value of C in Eq. (i), we get
cos(xy)=logey+1√2
which is the required solution. So no option is correct