1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Second Order Non-homogeneous Constant Coefficient Differential Equation

  1. Oct 12, 2011 #1
    1. The problem statement, all variables and given/known data
    Find a general solution to [tex]\frac{d^2x}{dt^2}-2\frac{dx}{dt}=1-4t+e^t[/tex]


    2. Relevant equations
    None really.


    3. The attempt at a solution
    I know that a complimentary solution is [tex]x=c_1+c_2e^{2t}[/tex]
    But when I try to guess say: [tex]x_p=At+B+Ce^t[/tex] 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 [tex]x_p=At^2+Bt+C+De^t[/tex]?
     
  2. jcsd
  3. Oct 12, 2011 #2
    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.
     
  4. Oct 12, 2011 #3

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    "At+ B" corresponds to characteristic root 0 which is already a characteristic root of your homogeneous equation. Try [itex]y= At^2+ Bt+ Ce^t[/itex] instead.
     
  5. Oct 13, 2011 #4
    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook