# 2nd order system of linear DE through matrix methods

1. Aug 16, 2011

### iqjump123

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

obtain the solution of the coupled system of equations
d2X1+2X1=X2
d2X2+2X2=X1

2. Relevant equations,3. The attempt at a solution

I envisioned encountering this equation using matrix methods, as outlined in this website, since it was much easier than substitution, differentiation, etc:
http://tutorial.math.lamar.edu/Classes/DE/SystemsDE.aspx

However, unlike the method shown in the webpage above, my equation it is a 2nd order DE. Therefore, can I follow the steps exactly as outlined in this example involving only a first order system of DE?

If that is the case, then can I use the same method for the system of DE I wrote below?
This problem is a little bit more different, because it contains a 2nd order AND a first order DE .

Thanks for the continued support!

2. Aug 16, 2011

### stratusfactio

Let me clean that up for you:

$d^2x_1+2x_1=x_2$
$d^2x_2+2x_2=x_1$

3. Aug 16, 2011

### Ray Vickson

Set X3 = DX1 and X4 = DX2. Your system becomes:
DX1 = X3
DX2 = X4
DX3 = X2 - 2X1
DX4 = X1 - 2X2
so if V = column(X1 X2 X3 X4) you have DV = AV, where
A=[[0 0 1 0],[0 0 0 1],[-2 1 0 0],[1 -2 0 0]] = [row1,row2,row3,row4].

RGV

4. Aug 16, 2011

### iqjump123

Hey RGV-

Thanks so much for your help!

By the way- matrix methods will be harder now I guess-
Trying to get eigenvalues and eigenvectors of a 4X4 matrix will be quite tough
(if I have just a calculator, pen, and paper).

So, am I correct to assume that standard substitution and DE solving methods are what has to be used to solve higher order linear system of ODE? (Solvable ones, that is)

thanks again.

iqjump123

Update- Amongst different methods to solve this problem, I took the method of solving ODE through integrating factors, and got the answer that way. Thanks for the help!

Last edited: Aug 16, 2011