Coupled differential equations using matrices

In summary: A_0y_{0} + A_1y_{1} + A_2y_{2}$$where:$$A_0 = \begin{bmatrix}-1&3/2&0\\0&1&3/2\\0&0&1\end{bmatrix}$$$$A_1 = \begin{bmatrix}0&-1&3/2\\0&0&1\\0&0&0\end{bmatrix}$$$$A_2 = \begin{bmatrix}0&0&3/2\\0
  • #1
Marcus95
50
2

Homework Statement


We can treat the following coupled system of differential equations as an eigenvalue
problem:
## 2 \frac{dy_1}{dt} = 2f_1 - 3y_1 + y_2 ##
## 2\frac{dy_2}{dt} = 2f_2 + y_1 -3y_2 ##
## \frac{dy_3}{dt} = f_3 - 4y_3 ##

where f1, f2 and f3 is a set of time-dependent sources, and y1, y2 and y3 is a set of
time-dependent responses.
(a) If these equations are written using matrix notation,
## \frac{d\vec{y}}{dt} + K \vec{y} = \vec{f} ##

what are the elements of K? Find the eigenvalues and eigenvectors of K.

(b) In the case when the system is not excited, f = 0, find all of the solutions having
the form
##\vec{y}=\vec{y}_0 e^{-\gamma t} ##

where ##\gamma## > 0 is a decay constant.

(c) If f is held constant at f0, the response vector y has the steady state value y0 (that
is, with ##\frac{d\vec{y}}{dt} = 0 ##). Write down y0 in terms of f0, and find y0 in the case where f0 = (1, 1, 1)T .

(d) Assume that y starts in the steady state solution y0 given in (c) with f0 = (1, 1, 1)T . Now suppose the source function abruptly falls to zero, f0 = (0, 0, 0)T , so that the response vector y moves away from y0. Writing y as a linear combination of the allowed solutions found in (b), derive an expression for the subsequent time evolution
of the system.

Homework Equations


Eigenvalue equation: ## det(M - \lambda I ) = 0 ##

The Attempt at a Solution


Part a) was relatively straight forward, by just rearanging and observing I find:
K = ( c1 c2 c3) with c1 =(3/2, -1/2, 0)T, c2= (-1/2, 3/2, 0)T and c3=(0, 0, 4)T.

I also found the eigenvalues to be λ = 1, 2, 4 with eigenvectors (1, 1, 0) , (1, -1, 0) and (0, 0, 1).

However, after this I am completely stuck. I have no idea how to apply this to the differential equations in part b). I can solve the last equation: ##y_3 = y_{03} e^{-4t}##, but the first two equations are coupled and I am not sure how to deak with it (with or without matrix notation).

Thank you for any help! :)
 
Physics news on Phys.org
  • #2
How does the system evolve if it is initially in a state that is proportional to one of the eigenvectors?

Hint: Rewrite the system of equations as a system of equations for the coefficients multiplying the eigenvectors.
 
  • #3
Marcus95 said:

Homework Statement


We can treat the following coupled system of differential equations as an eigenvalue
problem:
## 2 \frac{dy_1}{dt} = 2f_1 - 3y_1 + y_2 ##
## 2\frac{dy_2}{dt} = 2f_2 + y_1 -3y_2 ##
## \frac{dy_3}{dt} = f_3 - 4y_3 ##

where f1, f2 and f3 is a set of time-dependent sources, and y1, y2 and y3 is a set of
time-dependent responses.
(a) If these equations are written using matrix notation,
## \frac{d\vec{y}}{dt} + K \vec{y} = \vec{f} ##

what are the elements of K? Find the eigenvalues and eigenvectors of K.

(b) In the case when the system is not excited, f = 0, find all of the solutions having
the form
##\vec{y}=\vec{y}_0 e^{-\gamma t} ##

where ##\gamma## > 0 is a decay constant.

(c) If f is held constant at f0, the response vector y has the steady state value y0 (that
is, with ##\frac{d\vec{y}}{dt} = 0 ##). Write down y0 in terms of f0, and find y0 in the case where f0 = (1, 1, 1)T .

(d) Assume that y starts in the steady state solution y0 given in (c) with f0 = (1, 1, 1)T . Now suppose the source function abruptly falls to zero, f0 = (0, 0, 0)T , so that the response vector y moves away from y0. Writing y as a linear combination of the allowed solutions found in (b), derive an expression for the subsequent time evolution
of the system.

Homework Equations


Eigenvalue equation: ## det(M - \lambda I ) = 0 ##

The Attempt at a Solution


Part a) was relatively straight forward, by just rearanging and observing I find:
K = ( c1 c2 c3) with c1 =(3/2, -1/2, 0)T, c2= (-1/2, 3/2, 0)T and c3=(0, 0, 4)T.

I also found the eigenvalues to be λ = 1, 2, 4 with eigenvectors (1, 1, 0) , (1, -1, 0) and (0, 0, 1).

However, after this I am completely stuck. I have no idea how to apply this to the differential equations in part b). I can solve the last equation: ##y_3 = y_{03} e^{-4t}##, but the first two equations are coupled and I am not sure how to deak with it (with or without matrix notation).

Thank you for any help! :)

Just so you know: you can easily do matrices in LaTeX; there are two styles:
$$(1) \hspace{4mm} A = \pmatrix{3/2&-1/2&0\\-1/2&3/2& 0 \\ 0&0&4}$$
or
$$(2) \hspace{4mm} A = \begin{bmatrix}
3/2&-1/2&0\\-1/2&3/2& 0 \\ 0&0&4
\end{bmatrix}$$
Just right-click on the formulas to see the commands.
 
  • Like
Likes Marcus95
  • #4
Orodruin said:
How does the system evolve if it is initially in a state that is proportional to one of the eigenvectors?
Well in that case we have:## \frac{d\vec{y}}{dt} + K \vec{y} =\frac{d\vec{y}}{dt} + \lambda \vec{y} = 0 ##

so:
##\frac{d\vec{y}}{dt} =- \lambda \vec{y} ##
but this only applies to eigenvectors and is hence not of much use?

Hint: Rewrite the system of equations as a system of equations for the coefficients multiplying the eigenvectors.

Well this reminds me of diagonalisation. So if R is the eigen-vector matrix, we have:

##R\frac{d\vec{y}}{dt} = RKR^{-1} R\vec{y}## and this should give 3 solvable ODEs?
 
  • #5
Marcus95 said:
but this only applies to eigenvectors and is hence not of much use?
On the contrary, is extremely useful as your differential equation is linear. Write the initial condition as a superposition of eigenvectors and profit.
 
  • #6
Orodruin said:
On the contrary, is extremely useful as your differential equation is linear. Write the initial condition as a superposition of eigenvectors and profit.
I am not entierly sure how that would be done. If we for instance have ## \frac{d\vec{y_i}(0)}{dx} = i ## doesn't the matrix K itself change? Or would that be if I have initial conditions for ##\vec{y_i}(x)## itself, and not for the derivative?
 
  • #7
Consider your case (but restricting to two because I want to write less on my phone). The eigenvectors are ##\vec y_1 = \vec e_1 + \vec e_2##, ##\vec y_2 = \vec e_1 - \vec e_2##. What is the general time dependent linear combination expressed in terms of the eigenvectors? (Write it out explicitly)
What happens when you insert this into the differential equation (and note that the eigenvectors are linearly independent)?
 
  • #8
Marcus95 said:
Well in that case we have:## \frac{d\vec{y}}{dt} + K \vec{y} =\frac{d\vec{y}}{dt} + \lambda \vec{y} = 0 ##

so:
##\frac{d\vec{y}}{dt} =- \lambda \vec{y} ##
but this only applies to eigenvectors and is hence not of much use?
Well this reminds me of diagonalisation. So if R is the eigen-vector matrix, we have:

##R\frac{d\vec{y}}{dt} = RKR^{-1} R\vec{y}## and this should give 3 solvable ODEs?

Using eigenvalues/eigenvectors is very profitable. Suppose your three eigenvectors are ##\mathbf{u}_1, \mathbf{u}_2, \mathbf{u}_3##. These form a basis for ##R^3##, so any initial state can be written in terms of them:
$$\mathbf{x}(0) = \pmatrix{x_{01}\\x_{02}\\x_{03}} = c_1 \mathbf{u}_1 + c_2 \mathbf{u}_2 + c_3 \mathbf{u}_3,$$
where ##c_1, c_2, c_3## are some computable constants. Then, if the eigenvalues are ##\gamma_i, i=1,2,3## (corresponding to the ##\mathbf{u}_i, i=1,2,3##) it is easy to write the evolution of the homogeneous solution:
$$ \mathbf{x}(t) = c_1 \mathbf{u}_1 e^{\gamma_1 t} + c_2 \mathbf{u}_2 e^{\gamma_2 t} + c_3 \mathbf{u}_3 e^{\gamma_3 t}. $$

You can figure out a particular non-homogeneous solution in terms of the ##\mathbf{u}_i## as well.
 

1. What are coupled differential equations?

Coupled differential equations are a set of equations that involve multiple dependent variables and their respective derivatives with respect to one or more independent variables. These equations are linked to one another and cannot be solved independently.

2. How are matrices used in solving coupled differential equations?

Matrices are used to represent the coefficients of the dependent variables and their derivatives in the coupled differential equations. They are then manipulated algebraically to solve for the variables and their derivatives.

3. What are the advantages of using matrices in solving coupled differential equations?

Using matrices allows for a more organized and systematic approach to solving coupled differential equations. It also simplifies the calculations and can handle larger and more complex systems of equations.

4. Can coupled differential equations using matrices be solved analytically?

In most cases, coupled differential equations cannot be solved analytically. However, matrices can be used to find numerical solutions using techniques such as Euler's method or the Runge-Kutta method.

5. How are coupled differential equations using matrices used in real-world applications?

Coupled differential equations using matrices are used in a variety of fields, including physics, engineering, economics, and biology. They can be used to model and analyze systems with multiple variables and their interactions, such as population dynamics, chemical reactions, and electrical circuits.

Similar threads

  • Calculus and Beyond Homework Help
Replies
7
Views
293
  • Calculus and Beyond Homework Help
Replies
6
Views
310
  • Calculus and Beyond Homework Help
Replies
2
Views
136
  • Calculus and Beyond Homework Help
Replies
2
Views
531
  • Calculus and Beyond Homework Help
Replies
3
Views
575
  • Calculus and Beyond Homework Help
Replies
5
Views
917
  • Calculus and Beyond Homework Help
Replies
3
Views
499
  • Calculus and Beyond Homework Help
Replies
21
Views
849
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
583
Back
Top