| New Reply |
Dynamical System Analysis using Mathematica |
Share Thread | Thread Tools |
| Jul8-12, 03:40 PM | #1 |
|
|
Dynamical System Analysis using Mathematica
Hello there,
Let me start from the beginning. I have dynamical system described by two autonomous ODEs (eqn1, eqn2). To find equilibrium points I used NSolve[{eqn1 == 0, eqn2 == 0}, {x, y}] which gave me 5 solutions in a form {{x->2, y->0},{...},...}. I also constructed Jacobian matrix using M={{D[eqn1,x], D[eqn1,y]},{D[eqn2,x],D[eqn2,x]}} which is written with x and y. Next I need to calculate this Jacobian matrix substituting solutions from NSolve function to find its eigenvalues. So I should have 5 matrices with corresponding eigenvalues. How can I achieve this? The problem is to substitute values from the solution to the matrix. I will appreciate any help. |
| Jul9-12, 02:57 PM | #2 |
|
|
I understood how to extract NSolve output. For this purpose you need to write soln=NSolve[...], then to access the solution values of this function x /. soln[[1]], y/.soln[[1]] (this corresponds to the 1st solution)
|
| Jul9-12, 02:59 PM | #3 |
|
|
So next step will be to substitute those values to the matrix written in terms of x and y. Any ideas?
|
| Jul13-12, 01:14 PM | #4 |
|
|
Dynamical System Analysis using Mathematica
Can you apply this method to your problem?
In[1]:= mat={{x,y},{x+y+1,2x-3}}; sols={{x->1,y->3},{x->2,y->4}}; Map[mat/.#&,sols] Out[3]= {{{1, 3}, {5, -1}}, {{2, 4}, {7, 1}}} |
| Jul17-12, 03:05 PM | #5 |
|
|
|
| New Reply |
| Tags |
| dynamical system, eigenvalues, equlibrium, jacobian matrix, mathematica |
| Thread Tools | |
Similar Threads for: Dynamical System Analysis using Mathematica
|
||||
| Thread | Forum | Replies | ||
| Mathematica - Analysis of a mass-damper-spring system | Math & Science Software | 7 | ||
| Logistic Dynamical System (discrete dynamical systems) | Calculus & Beyond Homework | 0 | ||
| Question on dynamical system | Calculus | 0 | ||
| Normal coordinates of a dynamical system | General Physics | 1 | ||
| illustration about dynamical system | Differential Equations | 3 | ||