# Differential Equations System Solutions

dmoney123

## Homework Statement

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:

## The Attempt at a Solution

[/B]
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 into 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!

Homework Helper

## Homework Statement

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:

## The Attempt at a Solution

[/B]
e^(-4t) +e^ (4t) from eigenvalues
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.

dmoney123
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.

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

Homework Helper
I have not encountered this type of problem before. How do you go about finding the particular solution?
It is simple in this case. Set both y1'=0 and y2' =0. What are y1 and y2 then?

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

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

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

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

which seems to fit in the equation... but I am still not really sure why the coefficients for the e^(-4t) don't seem to match the solution
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.

dmoney123
dmoney123
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.

Thank you so much! That makes total sense!

Homework Helper
You are welcome. :)

Homework Helper
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 by a moderator:
Homework Helper
Dearly Missed

## Homework Statement

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:

## The Attempt at a Solution

[/B]
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 into 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!

$$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)$$
$$Y_1' = -2Y_2\\ Y_2' = -8 Y_1$$