Constructing Phase Portrait of System with Mathematica

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 9K views
ManuelF
Messages
7
Reaction score
0
How can I construct the phase portrait(with Mathematica) of the following system?
[tex]\dot{x}(t)=y(t)[/tex]
[tex]\dot{y}(t)=-x^3(t)+4x(t)y(t)[/tex]
 
Physics news on Phys.org
Oops, my previous response was incorrect. I didn't notice that this is two first order equations instead of two second order equations. The phase portrait can be easily obtained as:

StreamDensityPlot[{y, -x^3 + 4 x y}, {x, -1, 1}, {y, -1, 1}]