Second Order Non-homogeneous Constant Coefficient Differential Equation

retracell
Messages
22
Reaction score
0

Homework Statement


Find a general solution to \frac{d^2x}{dt^2}-2\frac{dx}{dt}=1-4t+e^t


Homework Equations


None really.


The Attempt at a Solution


I know that a complimentary solution is x=c_1+c_2e^{2t}
But when I try to guess say: x_p=At+B+Ce^t and plug into the DE, I do not get anything to equate to 4t. Do I have to guess a degree higher? And if so, do I include all coefficients such that my guess becomes x_p=At^2+Bt+C+De^t?
 
Physics news on Phys.org
You're right, with a polynomial in the inhomogeneous part of your equation, you should check a degree higher than it. You should include all the coefficients as well, but it turns out C has no constraints (no x(t) part of your differential equation on the L.S.) so you can set it to 0. The rest comes out easily after substituting back into the DE.
 
"At+ B" corresponds to characteristic root 0 which is already a characteristic root of your homogeneous equation. Try y= At^2+ Bt+ Ce^t instead.
 
Great thanks! Worked it out. So I guess I'm going by the fact that because my complementary solution has a constant term, I just multiply (At+B) by t.
 
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