NDA2021MathematicsDifferential EquationsActual
What is the solution of the following differential equation? ( d y d x )+y=x
Options
- Ae^x+e^y=c
- Be^ x+y =c
- Ce^x-e^y=c
- De^ x-y =c
Correct answer
C. e^x-e^y=c
Step-by-step solution
( d y d x )=x-y aligned & e^ x-y = d y d x & e^x d x=e^y d y aligned On integrating both sides, we get, e^x d x= e^y d y aligned & e^x=e^y+c & e^x-e^y=c aligned