Solving 4-Coupled ODEs with Mathematica

  • Thread starter Thread starter Qyzren
  • Start date Start date
  • Tags Tags
    Mathematica Odes
Qyzren
Messages
41
Reaction score
0
Hi guys, i have 4-coupled ode's that are giving trouble

(1) \frac{dy_1}{dt}=y_2y_3-\mu y_1, \hspace{1cm} \\(2) \frac{dy_2}{dt}=y_1y_4-\mu y_2, \hspace{1cm} \\(3) \frac{dy_3}{dt}=1-y_1y_2, \hspace{1cm} \\(4) \frac{dy_4}{dt}=1-y_1y_2
I need to show that the steady state solutions are
y_1=\pm k, y_2=\pm k^{-1}, y_3=\mu k^2, y_4 = \mu k^{-1} where \mu (k^2-k^{-2})=A a const.
now in an earlier part of the question, I was able to show that y_3-y_4=A.
But trying to solve these coupled ODE's is giving trouble. I tried solving this in mathematica using DSolve as well, and mathematica doesn't seem to know how to do it either.

mathematica code:
\text{DSolve}\left[\left\{\text{y1}'[t]==-\mu \text{y1}[t]+\text{y2}[t] \text{y3}[t],\text{y2}'[t]==-\mu \text{y2}[t]+\text{y1}[t] \text{y4}[t],\text{y3}'[t]==1-\text{y1}[t] \text{y2}[t],\text{y4}'[t]==1-\text{y1}[t] \text{y2}[t]\right\},\{\text{y1}[t],\text{y2}[t],\text{y3}[t],\text{y4}[t]\},t\right]

PS: how do i get each of the differential equations on a new line? \\ and \newline didn't work.
each of the ODE's starting with the derivative should be on a new line
 
Last edited:
Physics news on Phys.org
You don't have to solve the ODE's to find steady state solutions, do you? Just put all of the derivatives equal to zero. Now it's just an algebra problem.
 
thanks, problem solved
 
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...

Similar threads

Replies
2
Views
3K
Replies
7
Views
2K
Replies
7
Views
2K
Replies
6
Views
3K
Replies
1
Views
2K
Replies
6
Views
3K
Back
Top