Method of undertermined coefficients (IVP)

jwxie
Messages
278
Reaction score
0

Homework Statement



Find the solution of the given initial value problem.

\[y''-2y'-3y=3te^{2t}\]

Homework Equations


The Attempt at a Solution

(1) the homogenous solution is given by
\[y_{h}=c_{1}e^{3t}+c_{2}e^{-t}\]

(2) the particular solution is in the form
\[y_{p}=(At+B)e^{2t}\]

(3) The first and second derivatives are then, respectively
\[y'_{p}=Ae^{2t}+2Ate^{2t}+2Be^{2t}\]
\[y''_{p}=2Ae^{2t}+2Ae^{2t}+4Ate^{2t}+4Be^{2t}\]

(3) substitutions and line up
\[y''_{p}=2Ae^{2t}+2Ae^{2t}+4Ate^{2t}+4Be^{2t}\]
\[-2y'_{p}=-2Ae^{2t}-4Ate^{2t}-4Be^{2t}\]
\[-3y_{p}=-3Ate^{2t}-3Be^{2t}\]

(4) combine like terms
\[te^{t}\left [ 4A-4A-3A \right ]=1<br /> \]
\[e^{t}\left [ 4A+4B-2A-4B-3B \right ]=0\]<br />

(5) I got A = -1/3
but this is wrong.
According to the book, Ate^{2t) has a leading coefficient of -1.
However, coincidentally, my B is 2/3, while the book gives -2/3.

The complete solution to this problem with the given IV is
y=e^{3t}+(2/3)e^{-t}-(2/3)e^{2t}-te^{2t}

I have been working on this and other problems for hours and apparently I have been getting many answers... but I have been checking and redoing. Has anyone catch my mistake yet?

Thank you very much!
 
Physics news on Phys.org
Fixed latex. You have to include everything in [t e x]...[/t e x]-boxes (without spaces) to make it work.

jwxie said:

Homework Statement



Find the solution of the given initial value problem.

y&#039;&#039;-2y&#039;-3y=3te^{2t}


Homework Equations


The Attempt at a Solution




(1) the homogenous solution is given by
y_{h}=c_{1}e^{3t}+c_{2}e^{-t}

(2) the particular solution is in the form
y_{p}=(At+B)e^{2t}

(3) The first and second derivatives are then, respectively
y&#039;_{p}=Ae^{2t}+2Ate^{2t}+2Be^{2t}
y&#039;&#039;_{p}=2Ae^{2t}+2Ae^{2t}+4Ate^{2t}+4Be^{2t}

(3) substitutions and line up
y&#039;&#039;_{p}=2Ae^{2t}+2Ae^{2t}+4Ate^{2t}+4Be^{2t}
-2y&#039;_{p}=-2Ae^{2t}-4Ate^{2t}-4Be^{2t}
-3y_{p}=-3Ate^{2t}-3Be^{2t}

(4) combine like terms
te^{t}(4A-4A-3A)=1
e^{t}( 4A+4B-2A-4B-3B)=0

(5) I got A = -1/3
but this is wrong.
According to the book, Ate^{2t) has a leading coefficient of -1.
However, coincidentally, my B is 2/3, while the book gives -2/3.

The complete solution to this problem with the given IV is
y=e^{3t}+(2/3)e^{-t}-(2/3)e^{2t}-te^{2t}

I have been working on this and other problems for hours and apparently I have been getting many answers... but I have been checking and redoing. Has anyone catch my mistake yet?

Thank you very much!
 
jwxie said:

Homework Statement



Find the solution of the given initial value problem.

y&#039;&#039;-2y&#039;-3y=3te^{2t}
(1) the homogenous solution is given by
y_{h}=c_{1}e^{3t}+c_{2}e^{-t}

(2) the particular solution is in the form
y_{p}=(At+B)e^{2t}

(3) The first and second derivatives are then, respectively
y&#039;_{p}=Ae^{2t}+2Ate^{2t}+2Be^{2t}
y&#039;&#039;_{p}=2Ae^{2t}+2Ae^{2t}+4Ate^{2t}+4Be^{2t}

(3) substitutions and line up
y&#039;&#039;_{p}=2Ae^{2t}+2Ae^{2t}+4Ate^{2t}+4Be^{2t}
-2y&#039;_{p}=-2Ae^{2t}-4Ate^{2t}-4Be^{2t}
-3y_{p}=-3Ate^{2t}-3Be^{2t}

(4) combine like terms
te^{t}\left [ 4A-4A-3A \right ]=1<br />
e^{t}\left [ 4A+4B-2A-4B-3B \right ]=0<br />

(5) I got A = -1/3
but this is wrong.
According to the book, Ate^{2t) has a leading coefficient of -1.
However, coincidentally, my B is 2/3, while the book gives -2/3.

The complete solution to this problem with the given IV is
y=e^{3t}+(2/3)e^{-t}-(2/3)e^{2t}-te^{2t}

I have been working on this and other problems for hours and apparently I have been getting many answers... but I have been checking and redoing. Has anyone catch my mistake yet?

Thank you very much!

I have fixed your tex tags for you. Use tex instead of latex in your tags and don't start with \[ and end with \]. I will check your arithmetic in a while unless someone beats me to it.

[Edit] I see micromass already did this.
[Edit II] And somehow, editing removed the corrections :cry:
[Edit III] And now they are back. Go figure.
 
OK, your mistake lies in step (4). You've written

4A-4A-3A=1

But this should be

4A-4A-3A=3

I suspect the other equation in (4) is also wrong...

Edit: the other equation isn't wrong. You should get the correct answer now.

Also, be careful with your notation, writing te^t(4A-4A-3A)=1 is very wrong. You should not write te^t in front.
 
wooo. i must be stupid at the time
thanks to both of you!
sorry! i was on my school computer and i thought it was because of the javascript.
you guys are awesome!

Also, be careful with your notation, writing tet(4A−4A−3A)=1 is very wrong. You should not write tet in front.
I actually mean the like terms of t*e^t. Would that affect my calculation?

:] thanks i will be careful next time
 
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