Dynamical System Analysis using Mathematica

AI Thread Summary
The discussion focuses on analyzing a dynamical system defined by two autonomous ODEs and finding equilibrium points using Mathematica. The user successfully utilized NSolve to obtain five solutions for the equilibrium points and constructed the Jacobian matrix. The next step involves substituting the solutions into the Jacobian matrix to compute its eigenvalues. The user seeks assistance on how to effectively substitute these values into the matrix. The conversation highlights the importance of mapping the solutions to the matrix format for further analysis.
Zhamie
Messages
4
Reaction score
0
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.
 
Engineering news on Phys.org
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)
 
So next step will be to substitute those values to the matrix written in terms of x and y. Any ideas?
 
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}}}
 
Bill Simpson said:
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}}}

Thank you. I used quite similar way of doing this.
 
How E-Bike Battery Fires Became a Deadly Crisis in New York City https://www.yahoo.com/news/e-bike-battery-fires-became-120807964.html Do not bring Li batteries into an apartment or occupied structure. They should be stored in non-flammable structures, either metal, brick or cement/concrete. Don't overcharge batteries. Know what to do if one catches fire. Keep them away from flammable materials. Make sure the batteries are not counterfeit. Be cautious of used or damaged batteries.
I have Mass A being pulled vertically. I have Mass B on an incline that is pulling Mass A. There is a 2:1 pulley between them. The math I'm using is: FA = MA / 2 = ? t-force MB * SIN(of the incline degree) = ? If MB is greater then FA, it pulls FA up as MB moves down the incline. BUT... If I reverse the 2:1 pulley. Then the math changes to... FA = MA * 2 = ? t-force MB * SIN(of the incline degree) = ? If FA is greater then MB, it pulls MB up the incline as FA moves down. It's confusing...
Hi. I noticed that all electronic devices in my household that also tell time eventually lag behind, except the ones that get synchronized by radio signal or internet. Most of them are battery-powered, except my alarm clock (which runs slow as well). Why does none of them run too fast? Deliberate design (why)? Wrong temperature for quartz crystal? Decreasing battery voltage? Or just a coincidence?

Similar threads

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