Solving System of ODEs: Matrix Form, Eigenvalues/Vectors

Click For Summary
SUMMARY

The discussion focuses on solving a system of ordinary differential equations (ODEs) represented in matrix form. The system is defined by the equations $x' = -2x + y$ and $y' = 2x - 3y$, leading to the matrix $A = \begin{bmatrix} -2 & 1 \\ 2 & -3 \end{bmatrix}$. The eigenvalues are calculated as $\lambda_1 = -1$ and $\lambda_2 = -4$, with the corresponding eigenvector for the smallest eigenvalue being $\binom{-1}{-1}$. The general solution is derived in matrix form as $X(t) = C_1\binom{1}{1}e^{-t} + C_2\binom{1}{-2}e^{-4t}$, which is then converted into scalar form.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Knowledge of matrix representation of systems
  • Familiarity with eigenvalues and eigenvectors
  • Ability to convert vector solutions to scalar form
NEXT STEPS
  • Study the process of finding eigenvalues and eigenvectors in depth
  • Learn how to solve systems of ODEs using matrix exponentiation
  • Explore the implications of repeated eigenvalues on the solution structure
  • Investigate the conversion of vector solutions to scalar equations in detail
USEFUL FOR

Students and professionals in mathematics, engineering, or physics who are working with systems of ordinary differential equations and require a solid understanding of matrix methods and eigenvalue problems.

shamieh
Messages
538
Reaction score
0
Getting stuck on something I think that could be trivial. Maybe someone can see my mistake.

consider the system: $x' = -2x + y$ and $y' = 2x - 3y$

a) Write the system in matrix form
my solution

$\overrightarrow{X} = (^x_y)$

so: $X' = (^{x'}_{y'})$

so $A = $ \begin{bmatrix} -2 & 1 \\ 2 & -3 \end{bmatrix}

b) Find the eigenvalues for the system.
my solution
$\lambda_1 = -1$ and $\lambda_2 = -4$

c) Find an eigenvector for the smallest eigenvalue.
my solution ( Here is where I have either made a algebra mistake or I don't know how to proceed)
$(I-A)X \rightarrow (-I-A)X =$ (\begin{bmatrix} -1 & 0 \\ 0 & - 1 \end{bmatrix} $-$ \begin{bmatrix} -2 & 1 \\ 2 & - 3 \end{bmatrix} ) $X$

Then I am getting: $v_1 - v_2 = 0$ and $-2v_1 + 2v_2 = 0 $ which can be rewritten as one equation $\rightarrow -2v_1+2v_2=0$ so it seems the only numbers I can plug in are: $v_1 = v_2 = -1$ ? But then won't I have like $(^{-1}_{-1})$ and I thought you couldn't do that? Is this the repeated root thing and if so how do I proceed? Or have i made a algebra mistake.

Thanks in advance.
 
Physics news on Phys.org
Hi shamieh,

You are correct. The eigenvector for -1 is $\binom {-1}{-1}$. Or alternatively $\binom 11$. If you multiply A with it, you'll get its negative equivalent, as expected.
What do you mean with a repeated root?
 
Ignore my comment about the repeated root, I'm thinking too hard :rolleyes: .. So similarly would the eigenvector for the largest value be $(^1_{-2})$ ?

- - - Updated - - -

so I have two more questions with regards to this problem.

e) Write the general solution to the system in matrix form.
I got: $X(t) = C_1(^1_1)e^{-t} + C_2 (^1_{-2})e^{-4t}$but part f) says : Write the general solution to the system in scalar form.. What exactly does that mean? How do I do that?
 
shamieh said:
Ignore my comment about the repeated root, I'm thinking too hard :rolleyes: .. So similarly would the eigenvector for the largest value be $(^1_{-2})$ ?

Yup. (Nod)

so I have two more questions with regards to this problem.

e) Write the general solution to the system in matrix form.
I got: $X(t) = C_1(^1_1)e^{-t} + C_2 (^1_{-2})e^{-4t}$

Did you check if it fits into the original DE?
If it fits, it must be right.
but part f) says : Write the general solution to the system in scalar form.. What exactly does that mean? How do I do that?

The solution you have in e) is an equation containing vectors.
So I believe you're supposed to rewrite it into a set of equations that do not contain vectors:
\begin{cases}
x_1(t) = C_1 e^{-t} + C_2 e^{-4t}\\
x_2(t) = C_1 e^{-t} -4 C_2 e^{-4t}
\end{cases}
See? Only scalars.
 
I like Serena said:
Yup. (Nod)
Did you check if it fits into the original DE?
If it fits, it must be right.

The solution you have in e) is an equation containing vectors.
So I believe you're supposed to rewrite it into a set of equations that do not contain vectors:
\begin{cases}
x_1(t) = C_1 e^{-t} + C_2 e^{-4t}\\
x_2(t) = C_1 e^{-t} -4 C_2 e^{-4t}
\end{cases}
See? Only scalars.

But do you think I should write it as: $X(t) = 2C_1 e^{-t} - C_2 e^{-4t}$ ? Also why do you have a 4 in front of the $C_2$ in your $x_2(t)$ eqn ?
 
shamieh said:
But do you think I should write it as: $X(t) = 2C_1 e^{-t} - C_2 e^{-4t}$ ?

Huh? :confused:
X(t) is a vector while the right hand side is a scalar. That can't be right.
And where do you coefficients come from?

Also why do you have a 4 in front of the $C_2$ in your $x_2(t)$ eqn ?

Sorry. That should be a 2.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K