Nonhomogeneous diff equations method of undeterined coeff.

iamtrojan3
Messages
55
Reaction score
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
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.
 
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
 
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 te^{at} and e^{at} were not already a solution, you would try (At+ B)e^{at}. Since, here, e^{at} is a solution, multiply that by t: try (At^2+ Bt)e^{at}.

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
 
Thanks a lot HallsofIvy, it seems i just subbed in wrong for y''p and the "c" ended up canceling out anyways.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top