How Do You Solve a System of Second Order ODEs with Matrix Methods?

c0der
Messages
52
Reaction score
0

Homework Statement



Solve:

[ d^2y1/dx^2 ] = [ a -a ] [ y1 ]
[ d^2y2/dx^2 ] [ -a a ] [ y2 ]

A = [ a -a ]
[ -a a ]

Homework Equations



Everything required is in (1) above

The Attempt at a Solution



Reduce to 1st order system

M = [ 0 I ]
[ A 0 ]

Hence, M =
[ 0 0 1 0 ]
[ 0 0 0 1 ]
[ a -a 0 0 ]
[ -a a 0 0 ]

The eigenvalues of M are 0, 0, √2a and -√2a
The eigenvectors are [ 1 1 ], [ 1 1 ], [ 1 -1] and [ 1 -1]

Hence the general solution is (for y only):

y(x) = A*e^(0x)*[ 1 1 ]T + B*e^(0x)*[ 1 1 ]T + C*e^(√2a*x) [ 1 -1 ]T +
D*e^(-√2a*x) [ 1 -1 ]T

So:

y1 = A + B + C*cosh(√(2a)*x) + D*sinh(√(2a)*x)
y2 = A + B - C*cosh(√(2a)*x) - D*sinh(√(2a)*x)

Is this correct?
 
Physics news on Phys.org
The way to check if that's correct is to plug your answer back into the ODE system.
 
c0der said:

Homework Statement



Solve:

[ d^2y1/dx^2 ] = [ a -a ] [ y1 ]
[ d^2y2/dx^2 ] [ -a a ] [ y2 ]

A = [ a -a ]
[ -a a ]

Homework Equations



Everything required is in (1) above

The Attempt at a Solution



Reduce to 1st order system

M = [ 0 I ]
[ A 0 ]

Hence, M =
[ 0 0 1 0 ]
[ 0 0 0 1 ]
[ a -a 0 0 ]
[ -a a 0 0 ]

The eigenvalues of M are 0, 0, √2a and -√2a
The eigenvectors are [ 1 1 ], [ 1 1 ], [ 1 -1] and [ 1 -1]

Hence the general solution is (for y only):

y(x) = A*e^(0x)*[ 1 1 ]T + B*e^(0x)*[ 1 1 ]T + C*e^(√2a*x) [ 1 -1 ]T +
D*e^(-√2a*x) [ 1 -1 ]T

Do you not recall that the solution of u'' = 0 is u(x) = Ax + B?


So:

y1 = A + B + C*cosh(√(2a)*x) + D*sinh(√(2a)*x)
y2 = A + B - C*cosh(√(2a)*x) - D*sinh(√(2a)*x)

Is this correct?
 
Yes, ok. I see you mean because I have repeated roots, it's Ae^0(x) + Bxe^(0x). Even the above without A and B constants is a solution to the system. However, since I have 4 boundary conditions, I thought I'd keep them in there
 
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