Solution for system of equations

Click For Summary

Discussion Overview

The discussion revolves around finding solutions for systems of second-order ordinary differential equations (ODEs) represented in matrix form. Participants explore the relationship between first-order and second-order ODEs, the conversion of higher-order equations into first-order systems, and the implications of such transformations in various applications.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested, Mathematical reasoning

Main Points Raised

  • Some participants note that second-order matrix equations are not commonly found in textbooks on ODEs, suggesting a lack of coverage in standard literature.
  • Others propose that second-order ODEs can be transformed into systems of first-order ODEs, providing examples of how to achieve this transformation.
  • Some contributions emphasize the importance of second-order differential equations in practical applications, such as in physics and engineering contexts, particularly in relation to Newton's second law.
  • A participant mentions that while converting higher-order ODEs to first-order systems is mathematically straightforward, it may complicate numerical solution methods due to the loss of certain properties of the system matrices.
  • There is a discussion about the potential challenges of diagonalizing matrices to decouple equations, with some participants expressing concerns about the numerical difficulties involved.
  • One participant raises a specific case involving the representation of a system with vectors and matrices, questioning how to derive solutions from such a formulation.
  • Another participant points out that the solution approach depends on the non-singularity of the matrix involved, suggesting a more general formulation for the system.
  • There is mention of using eigenvalues from a quadratic eigenproblem to find solutions, indicating a mathematical pathway for addressing the system of equations.

Areas of Agreement / Disagreement

Participants express a mix of agreement and disagreement regarding the treatment of second-order ODEs in matrix form. While there is consensus on the ability to convert these equations into first-order systems, there is no clear agreement on the implications or the best methods for doing so, leading to multiple competing views.

Contextual Notes

Some discussions highlight limitations related to the assumptions of matrix properties and the conditions under which certain transformations are valid. The complexity of numerical methods for solving these systems is also noted, suggesting that practical applications may introduce additional challenges.

Who May Find This Useful

This discussion may be of interest to students and professionals in mathematics, physics, and engineering, particularly those dealing with differential equations and their applications in various fields.

Jhenrique
Messages
676
Reaction score
4
If a system of first-order ODEs like ##\frac{d\vec{r}}{dt}=A\vec{r}## have as solution ##\vec{r} = C_1 \exp(\lambda_1 t)\hat{v}_1 + C_2 \exp(\lambda_2 t)\hat{v}_2## (being λ the eigenvalues and v the eigenvectors), so, given a system of second-order ODEs, like ##A \frac{d^2 \vec{r}}{dt^2} + B \frac{d\vec{r}}{dt} + C \vec{r} = \vec{0}##, which is the solution for it?
 
Physics news on Phys.org
Jhenrique said:
If a system of first-order ODEs like ##\frac{d\vec{r}}{dt}=A\vec{r}## have as solution ##\vec{r} = C_1 \exp(\lambda_1 t)\hat{v}_1 + C_2 \exp(\lambda_2 t)\hat{v}_2## (being λ the eigenvalues and v the eigenvectors), so, given a system of second-order ODEs, like ##A \frac{d^2 \vec{r}}{dt^2} + B \frac{d\vec{r}}{dt} + C \vec{r} = \vec{0}##, which is the solution for it?
To the best of my knowledge, you don't normally see 2nd-order matrix equations like the one you show. None of the texbooks on ODE that I have (around 5 of them) have this as a topic, I don't believe.

Going back to your first equation, if the solution involves two eigenvalues and two eigenvectors, it must be that the matrix is 2 X 2, so what you show as a solution is not the general solution for the vector ODE r' = Ar.

An important application of vector ODEs is to convert second-order and higher order ODEs into first order vector DEs.

For example, you can convert the second-order ODE is y'' - 3y' + 2y = 0 using these substitutions:
u = y
v = y' = u'
Then y'' = u', so we have this system of first order DEs:
v' - 3v + 2u = 0
u' = v

or,
u' = v
v' = -2u + 3v

This system can be written in matrix form as
$$ \vec{r}' = \begin{bmatrix}0 & 1 \\ -2 & 3 \end{bmatrix}\vec{r}$$
where
$$ \vec{r} = \begin{bmatrix} u \\ v \end{bmatrix}$$

Using a similar process, a third-order DE can be tranformed to a first-order vector equation with a 3 x 3 matrix, and a fourth-order DE can be transformed to a first-order vector equation with a 4 x 4 matrix, and so on.
 
Mark44 said:
To the best of my knowledge, you don't normally see 2nd-order matrix equations like the one you show. None of the texbooks on ODE that I have (around 5 of them) have this as a topic, I don't believe.

But this is the essence of the science, you do an impertinent question and receive a pertinent answer.
 
Jhenrique said:
But this is the essence of the science, you do an impertinent question and receive a pertinent answer.
It is often the case, in science and elsewhere, that if you ask an impertinent question, you get ignored. And BTW, asking impertinent questions is NOT the essence of science.

However, I didn't ignore your question. What I said was that you can transform equations of second and higher order to a system of first order DEs that you can write as a matrix equation. Your second order equation could probably be rewritten as a first order system of equations. Maybe you could take a crack at it, since I've shown you how to convert a 2nd order equation into a system of two first order equations.
 
Mark44 said:
To the best of my knowledge, you don't normally see 2nd-order matrix equations like the one you show. None of the texbooks on ODE that I have (around 5 of them) have this as a topic, I don't believe.

You probably won't find them in math texts on differential equations, but they are used all the time in numerical calculations (maybe with matrices of dimenision 10^5 or 10^6).

From the point of view of the math, you can trivially convert ##n## ODEs of order ##k## into ##kn## first order ODEs by taking the first ##k-1## derivatives are independent variables, and in principle there is no new math involved when ##k > 1## or ##n > 1##.

But from the point of view of finding efficient numerical solution algorithms, there is a great deal more math involved, and second-order DEs are probably more common in physics and engineering than first-order DEs, because of Newton's second law of motion.
 
AlephZero said:
You probably won't find them in math texts on differential equations, but they are used all the time in numerical calculations (maybe with matrices of dimenision 10^5 or 10^6).

From the point of view of the math, you can trivially convert ##n## ODEs of order ##k## into ##kn## first order ODEs by taking the first ##k-1## derivatives are independent variables, and in principle there is no new math involved when ##k > 1## or ##n > 1##.

But from the point of view of finding efficient numerical solution algorithms, there is a great deal more math involved, and second-order DEs are probably more common in physics and engineering than first-order DEs, because of Newton's second law of motion.
I understand the importance of second-order DEs in applications such as damped spring-mass systems and LCR circuits, and applications of these show up a lot in math DE textbooks, but how common are second-order systems of equations, where the system is written in matrix form as Ar'' + Br' + Cr = 0, where A, B, and C are matrices, and r'', r', and r are vectors, similar to what Jhenrique asked about in the OP?

I haven't run into any discussion about these, but it seems to me that, in principle, such a matrix equation could be reduce to a first-order matrix equation.
 
Google for multi degree of freedom (MDOF) systems for the basics.

Finite element and finite volume methods are good examples of this on a large scale, for structural and/or fluid dynamics.

You are right that the second order equations can be reduced to first order, but that may destroy "nice" properties of the system matrices, like symmetry, positive definiteness, sparsity, etc.

An alternative idea is to diagonalize the matrices to decouple the equations, which is nice when it works, but doing it by solving an eigenproblem numerically may be harder than working with the original matrices.
 
If u = r and v = r' so we have that [tex]\begin{bmatrix} \vec{u}'\\ \vec{v}'\\ \end{bmatrix} = \begin{bmatrix} 0 & 1\\ -A^{-1} C & -A^{-1} B \\ \end{bmatrix} \begin{bmatrix} \vec{u}\\ \vec{v}\\ \end{bmatrix}[/tex] What is interesting, because we have vectors and matrices inside another vector and another matrix, difficult thing of happen. But now, how get the solution for this system?
 
Jhenrique said:
If u = r and v = r' so we have that [tex]\begin{bmatrix} \vec{u}'\\ \vec{v}'\\ \end{bmatrix} = \begin{bmatrix} 0 & 1\\ -A^{-1} C & -A^{-1} B \\ \end{bmatrix} \begin{bmatrix} \vec{u}\\ \vec{v}\\ \end{bmatrix}[/tex]

That only works if ##A## is non-singular. ##\begin{bmatrix}I & 0 \\ 0 & A\end{bmatrix}\begin{bmatrix} \vec{u}'\\ \vec{v}'\\ \end{bmatrix} = \begin{bmatrix} 0 & I\\ - C & - B \\ \end{bmatrix} \begin{bmatrix} \vec{u}\\ \vec{v}\\ \end{bmatrix}## is more general.

But now, how get the solution for this system?

You can solve it the same way as in your OP. The ##\lambda_i## are eigenvalues of the quadratic eigenproblem ##|A\lambda^2 + B\lambda + C| = 0##.
 
  • #10
But, I still have my doubts about the setp-by-step...
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K