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

Undetermined Coefficients - Duplication Question

  1. Nov 1, 2011 #1
    I'm having some problems recognizing duplication when using the undetermined coefficients method to solve homogeneous type differential equations.

    http://college.cengage.com/mathematics/larson/calculus_early/3e/shared/chapter15/clc7eap1504.pdf

    Example 2 on Page 1119, could someone explain to me why there is duplication in that problem because I am just not seeing it. And when there is duplication, do you multiply each term in the particular solution by the variable, t, or just a select few? This is my main concern with undetermined coefficients.

    To check for duplication, do you look [itex]g(t)[/itex] and [itex]y_c(t)[/itex] and see if there are any alike terms then move on to your initial guess and multiply through by t if there are any like terms? I'm just having some trouble with this concept. If someone could explain it to me in some detail that would be great, as the sites I've found just don't explain it well enough, though the site linked above is the best one I've come across so far. My textbook doesn't even mention duplication sadly.
     
  2. jcsd
  3. Nov 2, 2011 #2

    S_Happens

    User Avatar
    Gold Member

    Edit- Actually, homogenous is when the right hand side is zero and nonhomogenous is nonzero. You're trying to solve nonhomogenous, which is why you have to worry about duplication.

    The duplication is because e0x (zero is a solution, and e0x = 1) is a solution of the homogenous equation.

    The first term on the right hand side is x*e0x. This means your INITIAL undetermined coefficient form for that term should be (Ax + B)*e0x (your book uses switches A and B, but that doesn't matter). But when you distribute, you can see that you get Ax*e0x + B*e0x. B*e0x is a solution to the homogenous equation. This means you multiply ONLY the polynomial (Ax +B) by x, to get (Ax2 + Bx)*e0x.

    You leave your other undetermined coefficient term alone (in this case).
     
    Last edited: Nov 2, 2011
  4. Nov 2, 2011 #3
    The way I look at it is like so: [itex]g(t) = x + 2e^x[/itex] and [itex]y_c(x) = C_1 + C_2 e^x[/itex]

    So that would mean duplication of the term [itex]e^x[/itex]

    So to compensate for that, multiply your particular solution by the variable x. But my question is this: Do I multiply every term in the particular solution by x, or just the term containing the duplication? Or is it just safe to say that when duplication occurs, multiply every term by the variable even if its overkill. Just to be safe.

    Sorry if it seemed like I was repeating what you just said, I was a little confused by your terminology.
     
  5. Nov 2, 2011 #4

    lurflurf

    User Avatar
    Homework Helper

    It is a shame so many books talk about guessing and trial and error, it is easy to know exactly what is needed.
    If g has a term sn(t)er tcos(a t+b) say
    where sn(t) is a degree n polynomial
    and sm(t)er tcos(a t+b) is a solution of the homogeneous equation
    but t*sm(t)er tcos(a t+b) is not a solution of the homogeneous equation
    the solution of the nonhomogeneous equation should have
    sm+n+1(t)er tcos(a t+b)
    the solution splits up into
    sm(t)er tcos(a t+b)+tm+1sn(t)er tcos(a t+b)
    where sm(t) is arbitrary and
    sn(t) is particular
     
  6. Nov 2, 2011 #5
    I'm having trouble following what you just said there but for a problem like this:

    [itex]y'''(t) - 3y''(t) + 2y'(t) = t + e^t[/itex]

    [itex]y_c(t) = C_1 + C_2 e^{2t} + C_3 e^t[/itex]

    Initial guess would be: [itex]y_p(t) = At + B + Ce^t[/itex]

    But since [itex]e^t[/itex] is present in the differential equation and the complimentary solution, should I:

    1) Multiply each term by [itex]t[/itex] : [itex]y_p(t) = At^2 + Bt + Cte^t[/itex]

    2) Multiply polynomial by [itex]t[/itex] : [itex]y_p(t) = At^2 + Bt + Ce^t[/itex]

    3) Multiply [itex]e^t[/itex] by [itex]t[/itex] : [itex]y_p(t) = At + B +Cte^t[/itex]

    Which would you recommend to be on the safe side?
     
  7. Nov 2, 2011 #6

    lurflurf

    User Avatar
    Homework Helper

    terms in homogeneous problem
    {1,et,e2t}
    terms generated by the forcing function
    {1,t,et}
    terms duplicated
    {1,et}
    additional terms needed because of duplication
    {t2,t et}
     
  8. Nov 2, 2011 #7

    S_Happens

    User Avatar
    Gold Member


    Actually this second example is a bad one as well, because both terms will include duplications. The general form for the first term will be (Ax +B), where B is a solution to the homogenous equation. That means you end up multiplying everything by x, which defeats the purpose of your question.

    The answer to the question that you are trying to ask is that NO, you do not multiply the entire right side by x. You only multiply duplicate solutions by x (or x2).

    Ignoring lurflurf's post that alludes to a simple pattern (hidden somewhere in that post that is extremely difficult to look at), here is the way I do it.

    Write down the general form. Find solutions (or use given solutions) to the homogenous equation. Multiply any (and ONLY) duplicated terms by x until they are no longer duplicate solutions to the homogenous equation. This means you could multiply part by x, part by x2, and/or part by nothing at all.


    In your second example number 1 is the correct choice, but AGAIN it's because you chose terms that are ALL duplicates. B is a duplicate and so is et. Why not put something in that is certainly not a solution like cos(3x), then you could see that it does not get multiplied by x (or t, whatever you want to use).
     
  9. Nov 2, 2011 #8
    Ok that makes it a little clearer now. I used the above O.D.E. because it was on my homework and I was wondering which Particular Solution to go with. I can obviously see the duplication of [itex]e^t[/itex]. But, what I'm having trouble understanding is what is duplicated to cause the polynomial [itex]At + B[/itex] to be multiplied by [itex]t[/itex]? I mean when you look for duplication, you are checking [itex]y_c(t)[/itex] and [itex]g(t)[/itex] for any like terms right? So what is [itex]t[/itex] from [itex]g(t)[/itex] duplicated with in [itex]y_c(t)[/itex]? This is probably the main thing I'm not understanding, if you can explain this that would be very helpful. Or perhaps I'm just looking at the wrong thing, I'm not sure.
     
  10. Nov 3, 2011 #9

    lurflurf

    User Avatar
    Homework Helper

    The 1 is duplicated. A*t+B is a degree 1 polynomial and C1 is a degree 0 polynomial so the general solution will have a degree 1+0+1=2 degree polynomial.
     
  11. Nov 3, 2011 #10

    S_Happens

    User Avatar
    Gold Member

    Interesting. I've never come across anything that was difficult enough that I couldn't simply see what was duplicated and needed to be multiplied by x.

    To the OP: The above answer is quite clear, but I had already said it a few times now as well, so I'll try again.

    The way you're typing it out, it should be pretty obvious that B is a duplicate of C1. Maybe you're looking at the polynomial like it's a single entity? If you're going to do that then you should look at it as

    [tex](Ax+B)e^{0x}[/tex]

    Then distribute the e0x and look at the terms separately. You should now see that B is a duplicate of C1. With a polynomial, it's always going to be the last term or two that is a duplicate. If any of the terms in the polynomial produce duplicates, then multiply the ENTIRE polynomial by x (and repeat if necessary).
     
  12. Nov 3, 2011 #11
    Yeah I understand how its duplicated from what you said but I had thought that dupilcates only arise from looking at the terms that are present in [itex]y_c(t)[/itex] and [itex]g(t)[/itex] so that's why I'm confused because you are telling me to look at a term in the particular solution, [itex]y_p(t)[/itex], and see if it has duplicates with [itex]y_c(t)[/itex] now. That's why I was a bit confused. But, when in doubt, I can always multiply through by t, that shouldn't change my final answer for the particular solution right? Just gives me more algebra to work with in the end.

    Edit: Think I know what you mean now. My line of thinking was correct, but I overlooked something. If a term in the particular solution is a solution to the homogeneous equation, multiply that term by a variable to get rid of duplication. Think that's what you were saying.
     
    Last edited: Nov 3, 2011
  13. Nov 3, 2011 #12

    S_Happens

    User Avatar
    Gold Member

    OK. I see where your confusion was. I missed where you explicitly asked that in post 8. You start with g(t), but that's not where you look for the duplication.

    Your edit is correct, the particular solution is where you are looking for duplication.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Undetermined Coefficients - Duplication Question
Loading...