Q-72. Solution of the differential equation dydx+yx=sin xis :

(A) x (y + cosx) = sinx + c                  (B) x (y – cosx) = sinx + c

(C) xy cosx = sinx + c                         (D) x (y + cosx) = cosx + c

 

Ans:(A)

Explanation:

Given differential equation is dydx+yx=sin xWhich is linear differential equation P=1x and     Q=sin xHere, I.F=e1xdx=elogxThe general solution is,y.x=x.sin x dx+c________(i)I=x.sin x dx=-x cos x--cos x dx=-x cos x+sin xPut the value of I in equation (i), we getxy=-x cosx+sinx+cxy+cos x=sin x+c