cse63146 said:
Homework Statement
Compute the general solution of y'' + 4y' + 20y =e-2tsin4t
Homework Equations
The Attempt at a Solution
after using determinants, I found the \lambda_1 = -2 + 4i and \lambda_2 = -2 - 4i
So the general solution would be y(t) = k1e-2tcos4t + k2e-2tsin4t + yim
to find yim, would I make it equal to Ae-2te4it, find first and second derivative, and plug them in the original equation and then apply euler's method?
No.
You have found the solutions to the homogeneous problem y'' + 4y' + 20y = 0, which can also be written as (D
2 + 4D + 20)y = 0, where the thing in parentheses is an operator that is a linear combination of derivatives.
What you're calling y
im I would prefer to call y
p, a particular solution to the nonhomogeneous problem (D
2 + 4D + 20)y = e
-2tsin4t.
The problem with the function you suggest for y
p is that it's a solution to the homogeneous problem. That is, (D
2 + 4D + 20)Ae
-2tsin4t = 0, so it can't also be a solution to your nonhomogeneous problem. Same is true for Be
-2tcos4t.
What will work for a particular solution to the nonhomogeneous problem is Cte
-2tsin4t + Dte
-2tcos4t. If you apply the operator (D
2 + 4D + 20) to this function, you should be able to solve for the values of C and D to end up with 1 for the coefficient of e
-2tsin4t and 0 for the coefficient of e
-2tcos4t.
The business of looking at (D
2 + 4D + 20) as an operator is tied to the idea of "annihilators" that is used in some DE texts. This idea is used in the context of linear, constant coefficient, nonhomogeneous DEs, and the idea is to figure out from a given nonhomogeneous DE of a certain order, how you can turn it into a homogeneous DE of a higher order.
For a simple example, consider y' - y = 0, or (D - 1)y = 0. The D - 1 operator looks a lot like the characteristic equation for this simple DE, and this is no accident. The general solution is y = Ae
1t, with the 1 added for emphasis.
Now consider y' - y = 2e
t, or (D - 1)y = 2e
t. No multiple of e
t could possibly be a particular solution of this equation, because the operator D - 1 produces 0.
If we apply the same operator, D - 1, to both sides, we get (D - 1)
2y = (D - 1)2e
t = 0.
So now the characteristic equation (r - 1)
2 = 0 has a repeated root, and this means that the solutions to the DE will be some linear combination of e
t and te
t.
Going back to the original example, y
h is Ae
t and y
p is kte
t. Together these make up the general solution to the original example.
I hope you followed my explanation, which is the same thing I was doing in working your problem. What I did was complicated enough that I thought it deserved seeing the process at work on a simpler example.
Mark