# Differential Equations System Solutions

Tags:
1. Dec 7, 2014

### dmoney123

1. The problem statement, all variables and given/known data

Consider the initial value problem for the system of first-order differential equations

y_1' = -2y_2+1, y_1(0)=2

y_2' = -8y_1+2, y_2(0)=-1

If the matrix

[ 0 -2
-8 0 ]

has eigenvalues and eigenvectors L_1= -4 V_1= [ 1
2 ]

L_2=4 V_2= [ 1
-2]

then its solution will be:

2. Relevant equations

3. The attempt at a solution

e^(-4t) +e^ (4t) from eigenvalues

multiply by respective eigenvectors and set to initial conditions gives 2 sets of equations and two unknown coefficients

2=c_1*e^(-4t)+c_2*e^(4t)
-1=c_1*2e^(-4t)+c_2*-2e^(4t)

c_1=3/4

c_2=5/4

I am very confident with these values being right for the coefficients, I know need to know how to use these to form a general solution.

I plug these values back in to get

y_1=3/4e^(-4t)+5/4e^(4t)
y_2=3/2e^(-4t)-5/2e^(4t)

Then solution given is

y_1(t)=5/4e^(4t)+1/2e^(-4t)+1/4,
y_2(t)=-5/2e^(4t)+e^(-4t)+1/2

any help is appreciated! thanks!

2. Dec 7, 2014

### ehild

This is the solution of the homogeneous part only. The system is inhomogeneous, you have to add the particular solution of the equations to the general solution of the homogeneous part.

3. Dec 7, 2014

### dmoney123

I have not encountered this type of problem before. How do you go about finding the particular solution?

4. Dec 7, 2014

### ehild

It is simple in this case. Set both y1'=0 and y2' =0. What are y1 and y2 then?

5. Dec 7, 2014

### dmoney123

Okay, I work this out to y_1=1/4 and y_2=1/2...

which seems to fit in the equation... but im still not really sure why the coefficients for the e^(-4t) dont seem to match the solution

6. Dec 7, 2014

### ehild

The general solution is
y1=c1e-4t+c2e4t+1/4
y2=c1e-4t+c2e4t+1/2

Fit these equations to the initial conditions y1(0)=2, y2(0)=-1.

7. Dec 7, 2014

### dmoney123

Thank you so much! That makes total sense!

8. Dec 7, 2014

### ehild

You are welcome. :)

9. Dec 8, 2014

### HallsofIvy

Staff Emeritus
iHere is how I would have done this, without using "matrices": differentiate the first equation again to get $y_1''= -2y_2'$. But from the second equation, $y_2'= -8y_1+ 2$ so that $y_1''= -2(-8y_1+ 2)= 16y_1- 4$ or $y_1''- 16y_1= -4$. The associated homogeneous equation, $y_1''- 16y= 0$ has characteristic equation $r^2- 16= 0$ which has roots $r= 4$ and $r= -4$ so the general solution to the associated homogeneous equation is $y(t)= C_1e^{4t}+ C_2e^{-4t}$.

Now new look for a particular solution to the entire equation. Since the right hand, "non-homogeneous", part is the constant -4, we try a solution of the form y= A for A some constant. Then y'= y''= 0 so the equation becomes $0- 16A= -4$ and $A= 1/4$.

That is, $y_1(t)= C_1e^{4t}+ C_2e^{-4t}+ \frac{1}{4}$. Now, we can write the first equation, $y_1'= -2y_2+ 1$ is the same as $2y_2= -y_1'+ 1$ or $y_1= -(1/2)y_2'+ 1/2$. Since $y_1(t)= C_1e^4t+ C_2e^{-4t}+ \frac{1}{4}$, $y_1'= 4C_1e^{4t}- 4C_2e^{-4t}$, $-(1/2)y_2'= -2C_1e^{4t}+ 2e^{-4t}$ and $y_1(t)= -2C_1e^{4t}+ 2C_2e^{-4t}+ 1/2$.

Last edited: Dec 11, 2014
10. Dec 10, 2014

### Ray Vickson

$$y_1' = -2y_2 + 1 = -2\left(y_2 - \frac{1}{2} \right) \\ y_2' = -8y_1+2 = -8\left(y_1 - \frac{1}{4} \right)$$
Since $d(y_1 - 1/4)/dt = dy_1/dt$ and $d(y_2 - 1/2)/dt = dy_2/dt$, the variables $Y_1 = y_1 - 1/4$ and $Y_2 = y_2 - 1/2)$ satisfy the homogeneous system
$$Y_1' = -2Y_2\\ Y_2' = -8 Y_1$$
You can easily figure out the boundary values $Y_1(0), \, Y_2(0)$.