Question:

The differential equation of \[y=\mathrm{e}^x(\mathrm{a} \cos x+\mathrm{b} \sin x)\] is

Show Hint

The function has two arbitrary constants, so eliminate them by differentiating twice.
Updated On: Nov 17, 2026
  • \(\frac{\mathrm{d}^{2}y}{\text{ }\mathrm{d}x^{2}}-2\frac{\mathrm{d}y}{\text{ }\mathrm{d}x}-y=0\)
  • \(\frac{\mathrm{d}^{2}y}{\text{ }\mathrm{d}x^{2}}+2\frac{\mathrm{d}y}{\text{ }\mathrm{d}x}+2y=0\)
  • \(\frac{\mathrm{d}^{2}y}{\text{ }\mathrm{d}x^{2}}-2\frac{\mathrm{d}y}{\text{ }\mathrm{d}x}+y=0\)
  • \(\frac{\mathrm{d}^{2}y}{\text{ }\mathrm{d}x^{2}}-2\frac{\mathrm{d}y}{\text{ }\mathrm{d}x}+2y=0\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understanding the Concept
Two arbitrary constants \(a\) and \(b\) mean the equation is of second order.

Step 2: First derivative
\(y'=e^x(a\cos x+b\sin x)+e^x(-a\sin x+b\cos x)=y+e^x(b\cos x-a\sin x)\).

Step 3: Second derivative
\(y''=y'+e^x(b\cos x-a\sin x)+e^x(-b\sin x-a\cos x)=y'+(y'-y)-y\).

Step 4: Simplify
\(y''=2y'-2y\), so \(y''-2y'+2y=0\).

Final Answer:
The differential equation is \(\dfrac{d^2y}{dx^2}-2\dfrac{dy}{dx}+2y=0\). \[ \boxed{\text{(D) }\dfrac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}}-2\dfrac{\mathrm{d}y}{\mathrm{d}x}+2y=0} \]
Was this answer helpful?
0
0