Solution of the differential equation \(\displaystyle\frac{dy}{dx}+ay=e^{mx}\) is:
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \((a+m)y=e^{mx}+Ce^{-ax}\)
This is a linear differential equation \(\frac{dy}{dx}+Py=Q\) with P = a and \(Q = e^{mx}\).
The integrating factor is
\(\text{I.F.} = e^{\int a\,dx} = e^{ax}\)
The solution is y × I.F. = ∫ Q × I.F. dx:
\( \displaystyle y\,e^{ax} = \int e^{mx}\,e^{ax}\,dx \)
\( \displaystyle = \int e^{(a+m)x}\,dx \)
\( \displaystyle = \frac{e^{(a+m)x}}{a+m} + K \)
Multiplying both sides by \((a+m)\,e^{-ax}\):
\((a+m)y = e^{(a+m)x}\,e^{-ax} + (a+m)K\,e^{-ax}\)
\((a+m)y = e^{mx} + Ce^{-ax}\)
where C = (a + m)K is again an arbitrary constant.
NCERT Exemplar:
Differential Equations
