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

How to get a particular solution.

  1. Apr 13, 2005 #1
    I have a "Solve the initial value problem" It is:

    y'' + y = 2cosx - 3sinx

    I know how to do everything except for get yp. I know it has to be something so when i substitute yp into the left hand side of the equation, i get the right hand side, 2cosx - 3sinx.

    By this definition i would think yp = Acosx - Bsinx, where A = 2 and B = 3. But that doesn't seem right.

    Can anyone help me out?

    Thank you.
  2. jcsd
  3. Apr 13, 2005 #2


    User Avatar
    Science Advisor
    Homework Helper

    Yeah,use Lagrange's method of variation of constants...Solve the homogenous ODE and then make the 2 constants (associated with the 2 independent solution spanning the solutions space) become functions of "x"...

  4. Apr 13, 2005 #3


    User Avatar
    Science Advisor
    Homework Helper

    For the equation:


    Whenever the right-hand side is a particular solution of a linear homogeneous equation, then you can apply that differential operator to both sides of the above equation to collapse it into a homogeneous one:

    Since RHS is a particular solution to homogeneous equation (in operator notation):


    Applying this opearator to both sides of the original equation leads to:


    Solution of this one is:



    Well, read the book to fill in the details, but then just substitute:


    into the original equation, equate coefficients. You're done.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?