Undetermined Coefficients - Duplication Question

In summary: Sorry I don't understand what you're trying to say.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) saywhere sn(t) is a degree n polynomialand sm(t)er tcos(a t+b) is a solution of the homogeneous equationbut t*sm(t)er tcos(a t+b) is not a solution of the homogeneous equationthe solution of the nonhomogeneous equation should havesm+n+1(t)er tcos(a t+
  • #1
VitaX
184
0
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.
 
Physics news on Phys.org
  • #2
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:
  • #3
S_Happens said:
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).

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.
 
  • #4
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
 
  • #5
lurflurf said:
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
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?
 
  • #6
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}
 
  • #7
VitaX said:
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.


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).
 
  • #8
S_Happens said:
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).

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.
 
  • #9
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.
 
  • #10
lurflurf said:
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.

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).
 
  • #11
S_Happens said:
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).

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:
  • #12
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.
 

1. What is the concept of "Undetermined Coefficients" in the context of duplication question?

The method of undetermined coefficients is a technique used to solve a differential equation by assuming the solution has a similar form to a known function. In the duplication question, this method is used to find the particular solution of a second-order linear homogeneous differential equation with constant coefficients.

2. How is the duplication question different from other types of differential equations?

The duplication question is a specific type of second-order linear homogeneous differential equation with constant coefficients. It requires the use of the method of undetermined coefficients to find the particular solution, while other types of differential equations may use different methods such as separation of variables or integrating factors.

3. What does it mean to "duplicate" a function in the context of this question?

Duplicating a function in the context of the duplication question means to find a function that has the same form as the nonhomogeneous term in the differential equation, but with different coefficients. This function is then used to find the particular solution using the method of undetermined coefficients.

4. Can the duplication question be applied to higher-order differential equations?

Yes, the duplication question can be applied to higher-order differential equations with constant coefficients. In these cases, the method of undetermined coefficients is used to find a particular solution that has the same form as the nonhomogeneous term in the equation.

5. Are there any limitations to using the duplication question method?

Yes, the duplication question method is only applicable to second-order linear homogeneous differential equations with constant coefficients and nonhomogeneous terms that can be "duplicated" using a known function. It may not be effective for more complex differential equations or non-constant coefficients.

Similar threads

  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
4
Views
2K
Replies
1
Views
3K
Replies
3
Views
3K
Replies
1
Views
2K
Replies
4
Views
4K
  • Differential Equations
Replies
4
Views
4K
  • Differential Equations
Replies
4
Views
2K
Replies
4
Views
363
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
Back
Top