Allison W.

asked • 07/23/14

Solving Second order non homogeneous DE using variation of parameters?

The process I was taught in class was as follows:
1. Transform the second order non homogeneous DE into a system of first order DE.
2. Solve the homogeneous part.
3. Assume the solution to the original equation is of the form X=ψ(t)*C(t)
4. Use ψ(t)*C'(t)=G(t) to solve for C'(t)
5. Use C'(t) to solve for C(t)
6. Plug C(t) into equation X=ψ(t)*C(t)
7. Get y= from the top row of the matrix X.
 
So following these steps:
Problem: y''-2y'-3y=-3t*e(-t)
 
Changed into matrix form:
X'=|0 1|X+|0      |
    |3 2|     |-3te-t|
Or written out:
x'1=x2
x'2=3x1+2x2-3te-t
 
Solving for the homogeneous part only I get
x1=C1*e3t+C2*e-t
x2=C1*3e3t-C2*e-t
 
Assuming that the solution is of the form X=ψ(t)*C(t) will just change every C into a C(t)
 
Then using ψ(t)*C'(t)=G(t)
|e3t    e-t| |C'1(t)| = |0      |
|3e3t -e-t| |C'2(t)| = |-3te-t|
 
I used addition to eliminate C2
 
e3t*C'1(t)+e-t*C'2(t)=0
+3e3t*C'1(t)-e-t*C'2(t)=-3te-t
 
4e3t*C'1(t)=-3te-t
C'1(t)=-3/4te-4t
 
Plugging this back into equation one to get C'2(t)
e3t*-3/4*te-4t+e-tC'2(t)=0
C'2(t)=3/4t
 
Solving for C1(t) and C2(t):
C1(t)=∫C'1(t) dt = -3/4∫te-4t
u=t            v=-1/4e-4t
du=dt        dv=e-4t dt
C1(t)=-3/4[-1/4*te-4t-∫-1/4*e-4tdt
C1(t)=3/16*te-4t+3/64*e-4t+k1
 
C2(t)=∫C'1(t) dt = 3/4∫ t dt
C2(t)=3/8 * t2 + k2
 
Plugging these back into X=ψ(t)*C(t)
X= |e3t    e-t|  |3/16*te-4t+3/64*e-4t+k1|
     |3e3t -e-t|  |3/8*t2+k2                              |
X= |3/16*te-t+3/64*e-t+e3tk1+3/8*t2e-t+e-tk2|
     |9/16*te-t+9/64*e-t+3e3tk1-3/8*t2e-t-e-tk2 |
 
But this gives me a final solution of y=k1*e3t+k2e-t+3/8*t2e-t+3/16*te-t+3/64e-t
My book is telling me the correct answer should be y=k1*e3t+k2e-t+3/16*te-t+3/8*t2e-t
 
 
I'm having this same problem on several other problems. A couple are coming out with the correct answer. So I'm just not sure where I'm going wrong. 

1 Expert Answer

By:

SURENDRA K. answered • 07/23/14

Tutor
New to Wyzant

An experienced,patient & hardworking tutor

SURENDRA K.

k2*e^(-t)+3/64*e^(-t)=k2*e^(-t)
 
as per book k2 is another constant.
 
 
Report

07/23/14

Allison W.

I can't believe I didn't notice that. That I have a repeated term. I've been pulling my hair out over this problem and I had it correct. Thank you so much for pointing that out.
Report

07/24/14

SURENDRA K.

Hello Allison,
 
You are very intelligent.
You could solve such a difficult problem yourself.
You have solved it yourself.
You should be proud of yourself.
 
ENJOY.
NO HAIR SCRATCHING.
It happens sometimes when you are too studious.
 
Bye.
 
Best Wishes
 
 
 
Report

07/24/14

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.