Nonhomogeneous diff equations method of undeterined coeff.

In summary: Now i got the right answer.In summary, to find the general solution of the differential equation y''-2y'-3y = 3te^-1 using undetermined coefficients, we first solve for the roots of the characteristic equation, which are -1 and 3. Then, we set up the general solution as y=c1e^-t + c2e^3t + yp, where yp is the particular solution. Since e^-t is already a solution, we multiply our particular solution by t to avoid repetition, resulting in (At^2+Bt)e^-t. After finding the first and second derivatives of yp, we can solve for the unknown coefficients and obtain the correct answer.
  • #1
iamtrojan3
56
0

Homework Statement


Find the general solution to the diff equation using undetermined coefficients
y''-2y'-3y = 3te^-1


Homework Equations





The Attempt at a Solution


r^2 - 2r -3 = 0
r = -1, 3
so y = c1 e^-t + c2e^3t + yp
since e^-t already exists as a solution, i have to multiply my Yp by t to make sure i don't' end up with the same solution.
So my Yp with the unknown coeffcient should be,
yp = At^2e^-t
should it be (At^2+bt+c)e^-t instead or something else? I've done it both ways and came up with wrong answers.
I know what to do after figuring out yp, its just i can't get it right with ideas i have right now.
Any help is greatly appreciated.
Thank you!
 
Physics news on Phys.org
  • #2
iamtrojan3 said:

Homework Statement


Find the general solution to the diff equation using undetermined coefficients
y''-2y'-3y = 3te^-1


Homework Equations





The Attempt at a Solution


r^2 - 2r -3 = 0
r = -1, 3
so y = c1 e^-t + c2e^3t + yp
since e^-t already exists as a solution, i have to multiply my Yp by t to make sure i don't' end up with the same solution.
So my Yp with the unknown coeffcient should be,
yp = At^2e^-t
should it be (At^2+bt+c)e^-t instead or something else? I've done it both ways and came up with wrong answers.
I know what to do after figuring out yp, its just i can't get it right with ideas i have right now.
Any help is greatly appreciated.
Thank you!

Yes, go with (At2 + Bt + C)e-t for your particular solution. Show us your work, and we'll figure out what's going wrong.
 
  • #3
thanks for responding, Let's see if i have the yp's correct
yp = (At^2+Bt+c)e^-t
y'p = (2At + B)e^-t -(At^2+Bt+c)e^-t
y''p = 2Ae^-t - (2At + B)e^-t - (2At+B)e^-t -(At^2+Bt+c)e^-t
 
  • #4
In general, it you have a power of t on the right side, you will need to try a polynomial up to that power. If your right side were [itex]te^{at}[/itex] and [itex]e^{at}[/itex] were not already a solution, you would try [itex](At+ B)e^{at}[/itex]. Since, here, [itex]e^{at}[/itex] is a solution, multiply that by t: try [itex](At^2+ Bt)e^{at}[/itex].

You should find that you do NOT need that "c". (Using it will just give C= 0.)

iamtrojan3 said:
thanks for responding, Let's see if i have the yp's correct
yp = (At^2+Bt+c)e^-t
y'p = (2At + B)e^-t -(At^2+Bt+c)e^-t
y''p = 2Ae^-t - (2At + B)e^-t - (2At+B)e^-t -(At^2+Bt+c)e^-t
You can add those two middle terms and the last term should be "+".
y"/= 2Ae^-t- 2(2At+ B)e^-t+ (At^2+ Bt+ C)e^-t
 
  • #5
Thanks a lot HallsofIvy, it seems i just subbed in wrong for y''p and the "c" ended up canceling out anyways.
 

FAQ: Nonhomogeneous diff equations method of undeterined coeff.

1. What is the purpose of using the nonhomogeneous differential equations method of undetermined coefficients?

The nonhomogeneous differential equations method of undetermined coefficients is used to solve nonhomogeneous linear differential equations, which involve a function that is not equal to zero. It helps to find a particular solution that satisfies the given equation.

2. How does the method of undetermined coefficients work?

This method involves assuming a particular form for the unknown function and then solving for the coefficients in that form. The coefficients are chosen in such a way that when substituted into the original equation, the particular solution satisfies the equation.

3. Can the method of undetermined coefficients be used for all types of nonhomogeneous differential equations?

No, this method can only be used for linear differential equations with constant coefficients. It cannot be applied to equations with variable coefficients or equations that are not linear.

4. Are there any limitations to the method of undetermined coefficients?

Yes, this method may not work for all nonhomogeneous differential equations. In some cases, the particular solution obtained may not satisfy the equation, and in such cases, other methods like variation of parameters or using the Laplace transform may be more appropriate.

5. Can the method of undetermined coefficients be used to solve higher-order differential equations?

Yes, this method can be extended to higher-order differential equations by assuming a particular form for the unknown function that includes higher-order terms. The coefficients are then determined by substituting the form into the original equation and solving for the coefficients.

Similar threads

Back
Top