vande060 said:
Homework Statement
y" + 6y' + 9y = 1+x
Homework Equations
The Attempt at a Solution
r^2 + 6r + 9 = 0
(r +3)^2 = 0
r = -3
I thought the yc = c1e-3x + c2e-3x
buy my prof says yc = c1e-3x + c2xe-3x
why is the x in there?
I agree with your prof. For a 2nd order, homogeneous differential equation, the solution space is two dimensional, which means that the complementary solution is all linear combinations of two linearly independent functions. Your complementary solutions is the same as (c
1 + c
2)e
-3x = Ke
-3x.
The characteristic equation for your homogeneous DE is r
2 + 6r + 9 = 0, which has repeated roots of r = -3.
The usual trick to get two linearly independent functions when the roots are repeated is to tack a factor of x onto the function. This gives {e
-3x, xe
-3x} as your set of linearly independent function.
This idea can be extended to higher order DEs. For example, if the DE is y''' + 6y'' + 12y' + 8y = 0, the characteristic equation is r
3 + 6r
2 + 12r + 8 = 0, and this can be factored to (r + 2)
3 = 0. Here the root r = -2 occurs three times.
A set of linearly independent functions is {e
-2x, xe
-2x, x
2e
-2x}.