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

Method of undetermined coefficients, when to raise the guess

  1. Jun 3, 2012 #1

    Uku

    User Avatar

    Hello!

    I have some examples of non-homogeneous ODEs to be solved by the undetermined coefficients method. Two from "Pauls math notes" page:

    [itex]y''+8y'+16y=e^{-4t}+(t^2+5)e^{-4t}[/itex]
    The compsol. for this is:
    [itex]Y_{c}=C_{1}e^{-4t}+C_{2}te^{-4t}[/itex]
    The first guess for a particular solution would be:
    [itex]Y_{p}=(At^2+Bt+C)e^{-4t}[/itex]
    When multiplying the brackets with the exponent we get a solution which is in the complementary solution, thus we raise the order, indeed we have to do this twice. Pauls notes (link here) stress that only the part which is the mixed solution needs to be raised. In this example I would then raise only [itex]Bt[/itex] by [itex]t^2[/itex] and [itex]C[/itex] by [itex]t^2[/itex]. But the correct form is [itex]t^2(At^2+Bt+C)e^{-4t}[/itex]. Wolfram alpha verifies.

    While on the other hand, of his other example:
    [itex]y''+3y'-28y=7t+e^{-7t}-1[/itex]
    Complementary solution being [itex]Y_{c}=C_{1}e^{4t}+C_{2}e^{-7t}[/itex]
    The first guess at a particular solution:
    [itex]Y_{p}=At+B+Ce^{-7t}[/itex]
    Now here the solutions match as well, meaning a raise of the particular matching exponential function:
    [itex]Y_{p}=At+B+Cte^{-7t}[/itex] which is the correct guess.

    Now... why in the first example is the whole polynomial multiplied by the [itex]t^2[/itex]?

    And another example:
    [itex]y^{(4)}-2y^{(3)}+y''=e^t+1[/itex]
    The compsol. here is:
    [itex]Y_{c}=C_{1}+C_{2}+C_{3}e^{t}+C_{4}te^{t}[/itex]
    Now, my first guess for a particular solution would be [itex]Ae^t+B[/itex]
    This is also a solution in the homogeneous equation, so I need to raise it, twice. But according to two sources the correct way of doing this is [itex]At^{2}e^{t}+Bt^2[/itex]
    Why not raise the function that is actually lapping, meaning [itex]At^{2}e^{t}+B[/itex]

    So.. that is the question.
    Thank you,
    U.
     
  2. jcsd
  3. Jun 8, 2012 #2
    There is a form that the driving function (inhomogeneous part) should be in to apply thise methods. In some of your examples, the driving function is not of this form, so you break the problem up to find the two particular solutions corresponding to the two driving functions. However, for the third example, you have a fourth derivative so you'll have to be even more careful.
     
  4. Jul 2, 2012 #3
    Note the repeated roots of the characteristic equation
     
  5. Jul 5, 2012 #4

    haruspex

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    I can make Paul's procedure consistent if it works like this:
    - if a part of the PI matches a part of the CS then multiply it up by t
    - if that makes it match another part of the CS, multiply that up too
    - apply the above rules iteratively until it settles down
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Method of undetermined coefficients, when to raise the guess
Loading...