CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Find the general solution of the differential equation dydx-y=cos x.

Open in App
Solution

We have,dydx-y=cos x .....1Clearly, it is a linear differential equation of the form dydx+Py=Qwhere P=-1 and Q=cos x I.F.=eP dx =e- dx = e-xMultiplying both sides of 1 by I.F.=e-x, we gete-x dydx-y=e-xcos x e-xdydx-e-xy=e-xcos xIntegrating both sides with respect to x, we getye-x=e-xcos x dx+Cye-x=I+C .....2Here,I=e-xcos x dx .....3I=e-xsin x--e-xsin x dxI=e-xsin x+e-xsin x dxI=e-xsin x-e-xcos x--e-x×-cos x dxI=e-xsin x-e-xcos x-e-xcos x dxI=e-xsin x-e-xcos x-I From 3 2I=e-xsin x-cos xI=e-x2sin x-cos x .....4From 2 and 4 we getye-x=e-x2sin x-cos x+Cy=12sin x-cos x+CexHence, y=12sin x-cos x+Cex is the required solution.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Diameter and Asymptotes
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon