Step by step
The question
Question: check if y = e^(−x)sin(2x) solves y″ + 2y′ + 5y = 0.
y″ + 2y′ + 5y = 0 is a differential equation: an equation with a derivative in it.
Its answer is not a number.
It is a function y, and it must make the equation true for every x.
1 Find the derivatives
The derivative of e^(−x)sin(2x) is −e^(−x)sin(2x) + 2e^(−x)cos(2x).
The rules we use: the chain rule brings the number in front down.
Careful!
The chain rule!
Times the inside's slope, −1.
Once more: y″ is the derivative of y′.
It is −3e^(−x)sin(2x) − 4e^(−x)cos(2x).
2 Put them in
Now put y, y′ and y″ into the equation, in place of the letters.
Multiply out and add like terms.
On the left, everything cancels: 0.
3 Compare the sides
Both sides are the same, for every x.
So y = e^(−x)sin(2x) is a solution.
4 Check
Let's check with one number, x = 1.
A calculator gives 0 on both sides.
Right!
Let's look back.
First: find the derivatives.
Then: put them in.
Then: compare the sides.
Last: check.