General Question About a System of DE's

In summary, the conversation discusses the topic of systems of differential equations, specifically a simple system with equations involving the derivative of r and j. The question is raised as to why the equations cannot be treated like regular integrals, to which the response is that since r and j are unknown functions of t, it is not possible. The conversation then delves into the possibility of rewriting the equations in vector form and integrating to get a matrix exponential, but it is mentioned that this is a more complicated method and not always applicable. Overall, the conversation highlights the complexity of solving systems of differential equations and the various techniques that can be used.
  • #1
transmini
81
1
We were looking at some examples of systems of differential equations in class a couple days ago, and some of them were simple looking systems. One such was

##\frac{dr}{dt} = 4j##
##\frac{dj}{dt} = r##

Why is it that we can't treat this as a scenario where both sides of each equation could just be integrated immediately or something like in physics where the first equation would become ##dr = 4jdt## and then integrate? (I have a question current posted in the calculus section about splitting the derivative if anyone cares to answer when this technique DOES work)
 
Physics news on Phys.org
  • #2
transmini said:
We were looking at some examples of systems of differential equations in class a couple days ago, and some of them were simple looking systems. One such was

##\frac{dr}{dt} = 4j##
##\frac{dj}{dt} = r##

Why is it that we can't treat this as a scenario where both sides of each equation could just be integrated immediately or something like in physics where the first equation would become ##dr = 4jdt## and then integrate?
If j and r were constants, you could do this, but the implication is that both j and r are unknown functions of t.
It's exactly the same as trying to evaluate this integral: ##\int f(x) dx##, without knowing anything about f.

Also, if this were your system...
##\frac{dr}{dt} = 4r##
##\frac{dj}{dt} = j##

... then you could separate each equation like so:
##dr = 4rdt \Rightarrow \frac{dr}r = 4 dt \Rightarrow \int \frac{dr}{r} = 4 \int dt \Rightarrow \ln|r| = 4t + C##
Exponentiating both sides would yield ##|r| = Ae^{4t}##, where ##A = e^C##.
The other equation could be solved in a like manner.
transmini said:
(I have a question current posted in the calculus section about splitting the derivative if anyone cares to answer when this technique DOES work)
 
  • #3
Mark44 said:
If j and r were constants, you could do this, but the implication is that both j and r are unknown functions of t.
It's exactly the same as trying to evaluate this integral: ##\int f(x) dx##, without knowing anything about f.

Also, if this were your system...
##\frac{dr}{dt} = 4r##
##\frac{dj}{dt} = j##

... then you could separate each equation like so:
##dr = 4rdt \Rightarrow \frac{dr}r = 4 dt \Rightarrow \int \frac{dr}{r} = 4 \int dt \Rightarrow \ln|r| = 4t + C##
Exponentiating both sides would yield ##|r| = Ae^{4t}##, where ##A = e^C##.
The other equation could be solved in a like manner.

Perfect, that explanation helped a lot. Thanks!
 
  • #4
Well couldn't you rewrite on vector form and then integrate to get a matrix exponential?
Set ## v =(r,j) ## such that we get the equation
## \frac{d}{dt}v = (0,4;1,0)v ##,
and then integrate.
 
  • #5
Strum said:
Well couldn't you rewrite on vector form and then integrate to get a matrix exponential?
Set ## v =(r,j) ## such that we get the equation
## \frac{d}{dt}v = (0,4;1,0)v ##,
and then integrate.
It's a lot more complicated than this. If you integrate as you suggest you get a solution that contains this factor:
$$e^{\begin{bmatrix} 0 & 4 \\ 1 & 0 \end{bmatrix}~t}$$
Expanding that exponential is difficult, as it involves an infinite number of terms, each requiring a higher power of that matrix.

The usual technique involves finding a diagonal matrix D that is similar to the matrix above; that is, a matrix ##D = P^{-1}AP##, where the eigenvalues of matrix A appear on the diagonal in D, and the eigenvectors of A are the columns of P. For more information, see any differential equations textbook that has a section on solution of systems of diff. equations using matrix diagonalization.
 
  • #6
As far as I know solving simple matrix exponentials is taught very early on at universities. I would not call it more complicated but certainly less used.
 
  • #7
Strum said:
As far as I know solving simple matrix exponentials is taught very early on at universities.
Yes, that's about right.
Strum said:
I would not call it more complicated but certainly less used.
It's quite complicated in comparison to matrix addition and multiplication, and even finding the inverse of a matrix. For diagonalization, you need to find the eigenvalues, find the eigenvectors, form a matrix whose columns are the eigenvectors, find the inverse of that matrix, and so on.
 
  • #8
And, not all matrices can be diagonalized.
 
  • #9
But you can still find the matrix exponential. At any rate. The question was why can't we just integrate both sides and my answer is: you can but you will have to solve something different instead.
 

What is a system of differential equations?

A system of differential equations is a set of equations that describe the relationship between multiple variables and their rates of change over time. It is commonly used to model dynamic systems in various fields such as physics, biology, and economics.

What is the difference between a system of ordinary differential equations (ODE) and a partial differential equation (PDE)?

A system of ordinary differential equations involves only one independent variable and its derivatives, while a partial differential equation involves multiple independent variables and their partial derivatives. In other words, ODEs describe the behavior of one variable over time, while PDEs describe the behavior of multiple variables in space and time.

What are the applications of systems of differential equations?

Systems of differential equations are used to model and analyze various real-world phenomena, such as population dynamics, chemical reactions, electrical circuits, and fluid flow. They are also used in control theory and optimization problems.

How are systems of differential equations solved?

There are various methods for solving systems of differential equations, including numerical methods and analytical methods. Numerical methods involve approximating the solutions using algorithms and computer programming, while analytical methods involve finding explicit solutions using mathematical techniques such as separation of variables and Laplace transforms.

What are the challenges of working with systems of differential equations?

Some of the challenges of working with systems of differential equations include finding accurate and efficient solutions, dealing with nonlinear systems, and interpreting the solutions in the context of the real-world problem. Additionally, systems of differential equations can become very complex and difficult to solve when they involve a large number of variables and equations.

Similar threads

  • Differential Equations
Replies
5
Views
1K
Replies
2
Views
1K
  • Differential Equations
Replies
8
Views
2K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
5
Views
2K
  • Differential Equations
Replies
4
Views
1K
  • Differential Equations
2
Replies
52
Views
814
  • Differential Equations
Replies
1
Views
706
  • Differential Equations
Replies
25
Views
2K
  • Differential Equations
Replies
2
Views
1K
Back
Top