Show a function satisfies a differential equation
Unit 3 Topic 2: Differentiation of trigonometric functions and differentiation rules
The question
Show that \(y=e^{-x}\sin (2x)\) satisfies \(\frac{d^{2}y}{dx^{2}}+2\frac{dy}{dx}+5y=0\).
The idea. Find \(\frac{dy}{dx}\) and \(\frac{d^{2}y}{dx^{2}}\) with the product rule, and keep \(e^{-x}\) factored out. Then every term in the left side has \(e^{-x}\) in front, and the brackets add to zero.
The answer, one mark at a time
-
\(y\) is a product of \(e^{-x}\) and \(\sin(2x)\), so use the product rule. Each factor needs the chain rule. Then take out the common factor \(e^{-x}\).
\[y = e^{-x}\sin(2x)\]\[\frac{dy}{dx} = -e^{-x}\sin(2x) + e^{-x} \times 2\cos(2x)\]\[\frac{dy}{dx} = e^{-x}\left(2\cos(2x) - \sin(2x)\right)\]correctly applies the product rule [1 mark] factorises [1 mark]
-
\(\frac{dy}{dx}\) is again a product: \(e^{-x}\) times the bracket. Use the product rule once more. The bracket differentiates to \(-4\sin(2x) - 2\cos(2x)\).
\[\frac{d^{2}y}{dx^{2}} = -e^{-x}\left(2\cos(2x) - \sin(2x)\right)\]\[\qquad + e^{-x}\left(-4\sin(2x) - 2\cos(2x)\right)\]applies the product rule again [1 mark]
-
Take out \(e^{-x}\) and collect the sine terms and the cosine terms inside the bracket.
\[\frac{d^{2}y}{dx^{2}} = e^{-x}\left(-2\cos(2x) + \sin(2x)\right.\]\[\qquad \left. - 4\sin(2x) - 2\cos(2x)\right)\]\[\frac{d^{2}y}{dx^{2}} = e^{-x}\left(-3\sin(2x) - 4\cos(2x)\right)\]simplifies the second derivative [1 mark]
-
Put all three into the left side. Every term has \(e^{-x}\) in front, so factor it out and add the brackets.
\[\frac{d^{2}y}{dx^{2}} + 2\frac{dy}{dx} + 5y\]\[= e^{-x}\left[\left(-3\sin(2x) - 4\cos(2x)\right)\right.\]\[\qquad + \left(4\cos(2x) - 2\sin(2x)\right)\]\[\qquad \left. + 5\sin(2x)\right]\]\[= e^{-x}(0) = 0\]substitutes and shows the result [1 mark]
Answer
Watch for. The derivative of \(e^{-x}\) is \(-e^{-x}\), and the derivative of \(\sin(2x)\) is \(2\cos(2x)\). Losing either minus sign or the 2 stops the brackets cancelling.