Non-homogeneous 2nd order linear ODE help

cdotter
Messages
305
Reaction score
0

Homework Statement


y''-3y'+2y=t e^{2t}+sin(5t)


Homework Equations





The Attempt at a Solution



I can get as far as this:

y_h(t)=c_1 e^{2t} + c_2 e^{t}
y_p(t)=At e^{2t} + B e^{2t} + C sin(5t) + D cos(5t)

My professor says we multiply At e^{2t} + B e^{2t} by t to give At^2 e^{2t} + B t e^{2t} because it's in the original equation. Why do we do this to the exp terms and not the Csin(5t) term, because that also shows up in the original equation?
 
Physics news on Phys.org
Has something to do with that one of them is your homogeneous solution (ie if you put it in, you will get LHS = 0)

It also has something to do with a product rule between t and e^2t, but I am not sure how it all works out.
 
Do you have a link I could read explaining this? I tried looking at my textbook but my professor doesn't really follow the book, and the book is very difficult to understand. :(
 
cdotter said:

Homework Statement


y''-3y'+2y=t e^{2t}+sin(5t)


Homework Equations





The Attempt at a Solution



I can get as far as this:

y_h(t)=c_1 e^{2t} + c_2 e^{t}
y_p(t)=At e^{2t} + B e^{2t} + C sin(5t) + D cos(5t)

My professor says we multiply At e^{2t} + B e^{2t} by t to give At^2 e^{2t} + B t e^{2t} because it's in the original equation. Why do we do this to the exp terms and not the Csin(5t) term, because that also shows up in the original equation?

The explanation is on the long side, so I'll try to give a shorter explanation using an example. Suppose your DE was y'' - 2y' = t.

The characteristic equation is r2 - 2r = 0, or r(r - 2) = 0, or r = 0, or r = 2. An idependent pair of solutions to the homogeneous equation is y1 = e0, and y2 = e2t

Let's look at the diff. equation in terms of operators, where D means d/dt and D2 means d2/dt2, and so on.

The original equation can be written as (D2y - 2D)y = t, or (D2 - 2D)y = t.

To get rid of the t on the right side, we can use the D2 operator - the 2nd derivative of t is zero. Applying the D2 operator to both sides, we get
D2(D2 - 2D)y = D2t = 0.

The equation above is now fourth order, but is homogeneous.

The char. equation of this new equation is r2(r2 - 2r) = 0, or r3(r - 2) = 0. The solutions are r = 0 (of multiplicity 3) and r = 2.

A set of linearly independent functions is {e0, te0, t2e0, e2t} = {1, t, t2, e2t}.

The functions 1 and e2t are solutions to the homogeneous form of the original equation (i.e., y'' - 2y' = 0). These two, plus the other two, t and t2, are solutions to then new homogeneous fourth degree equation. What this means is that we should try t and t2 for our particular solution of the nonhomogeneous equation y'' - 2y = t.

Notice that nothing happened with our other solution to the original homogenous equation, e2t. The reason we added t and t2 to our original solution 1, was because of repeated solutions r = 0 in our fourth order homogenous equation. Since there was no repetitition of the factor r - 2 in any of the characteristic equations, we don't have multiples by t of e2t.

In your problem, a similar thing happens. r = 2 is a solution to the characteristic equation, and the addition of te2t on the right side of the nonhomogeneous equation raises the multiplicity of the r - 2 factor.

Your equation could be written as (D2 - 3D + 2)y = te2t + cos(5t). In factored form on the left, this is (D - 1)(D - 2)y = te2t + cos(5t).

The operator that annihilates the cos term on the right is D2 + 25. The operator that annihilates the te2t term is (D - 2)2. The problem is that there is already a D - 2 term in the original, nonhomogeneous equation, so applying enough operators to annihilate the right side adds two more factors of D - 2, bringing the repetitions of this factor up to 3 in all. Adding a factor of D2 + 25 added something that wasn't already there, so there's no change in the repetitition of existing factors in the operator equation, which BTW, should look an awful lot like the characteristic equation.

So, we are taking your 2nd order nonhomogenous equation and turning it into a sixth order homogeneous equation that looks like this: (D - 2)3(D - 1)(D2 + 25)y = 0. A basic set of solutions would be {e2t, te2t, t2e2t, et, cos(5t), sin(5t)}.

The functions e2t and et are a basic set of functions for the solutions of the homogeneous form of your 2nd order equation. The other four are what you would use for your particular solution.

Hope that helps.
 
I think I get it. Thanks!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top