Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Undetermined coefficients problem

  1. Jan 11, 2007 #1
    1. The problem statement, all variables and given/known data

    Solve the following initial value problem

    y'' - 5y' +6y = x*exp(2x), y(0) = y'(0) = 0

    2. Relevant equations



    3. The attempt at a solution

    Ive found the complimentary solution to be r = 3, 2,

    Yg = C1*exp(3x) + C2*exp(2x) + Yp

    But to find Yp is giving me the problems, using the method of undetermined coefficients, I have tried to so far

    1. (Ax^3 + Bx^2 + Cx + D)*exp(2x)
    2. (Ax^2 + Bx + C) * exp(2x)
    3. (Ax + B)* exp(2x)

    but with no luck can anyone help me with what my guess to solve it
     
  2. jcsd
  3. Jan 11, 2007 #2

    AlephZero

    User Avatar
    Science Advisor
    Homework Helper

    Taking your 3rd attempt, you seem to be using a trial solution of

    Yg = C1 exp(3x) + C2 exp(2x) + A x exp(2x) + B exp (2x).

    The terms with coefficients C2 and B are the same, so cross out one of them and you should be able to find the other coefficients.
     
  4. Jan 11, 2007 #3
    Cheers thanks
     
  5. Jan 11, 2007 #4

    HallsofIvy

    User Avatar
    Science Advisor

    Those are the trial functions? Normally, for a right hand side x exp(2x) you would try y(x)= (Ax+ B) exp(2x) but since exp(2x) is already a solution to the homogeneous equation you need to multiply by x: try y(x)= (Ax^2+ Bx)exp(2x). You don't need the C in (2) but (Ax^2+ Bx+ C)exp(2x) should work: you should get C= 0 using that. Since you don't show HOW you have tried, I can't comment more.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook