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!

Differential Equations Method of Undetermined Coefficients

  1. Apr 1, 2014 #1
    1. The problem statement, all variables and given/known data
    consider y'' + 2y' - 3y = 1 + xe^x, find the particular solution


    3. The attempt at a solution
    so
    f(x) = 1 + xe^x
    f'(x) =e^x + xe^x
    f''(x) = 2e^x + xe^x

    so it looks like my particular solution is going to have a constant term, an e^x term and an xe^x term,
    so I can write

    Particular Solution:
    y(x) = A + Be^x + Cxe^x

    and then differentiate this twice and plug into the original equation? Is this on the correct track? I ask because an online source says that I should have
    y(x) = A + Bxe^x + C(x^2)e^x

    can someone help me understand why I am wrong if I am wrong? Why have an (x^2)e^x but no e^x?
     
  2. jcsd
  3. Apr 1, 2014 #2

    CAF123

    User Avatar
    Gold Member

    Hi PsychonautQQ,
    You know the general solution to your equation is the sum of the solution to the homogenous problem and a particular solution to the non-homogenous problem.

    I would suggest first finding the homogenous solution and perhaps then your question will be resolved.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted