Show a function satisfies a differential equation

Question MM3-053 Complex familiar 5 marks Technology-free

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.

Figure for question MM3-053Three curves on the same axes: y equals e to the negative x times sin 2x in black, its first derivative in blue, and its second derivative as grey dashes. All three shrink towards the x-axis as x grows. The combination y double dash plus 2 y dash plus 5y lies exactly along the x-axis, drawn in orange.0.51.01.52.02.53.0−4−3−2−112xy
Add the second derivative, twice the first derivative and five times \(y\), and you get zero for every \(x\).

The answer, one mark at a time

  1. \(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]

  2. \(\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]

  3. 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]

  4. 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

\(\displaystyle \text{The left side simplifies}\)\(\displaystyle \text{to } e^{-x}(0) = 0\text{, so}\)\(\displaystyle y = e^{-x}\sin(2x) \text{ satisfies}\)\(\displaystyle \text{the equation.}\)

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.