20 questions linked to/from Plotting a Phase Portrait
3k views

### Rosenzweig-MacArthur predator-prey model [duplicate]

The predator-prey model is governed by the following system of ode's. \begin{eqnarray} &&\displaystyle{\frac{dx}{dt}=r x\left(1 - \frac{x}{K}\right) - \frac{s y x}{1 + s \tau x}},\\[0.1cm] &...
5k views

### Phase space vector field [duplicate]

I have a system of non linear equations and from NDSolve I get the solution. I plot the phase space with ...
4k views

### How can I draw this particular phase diagram in Mathematica? [duplicate]

Sketch the phase diagram for systems with the following velocity functions where a and b are constants with ...
835 views

### How to plot Van der Pol equation's limit cycle? [duplicate]

The Van der Pol equation is $$y''-\mu (1-y^2)y'+y=0, \,\, \mbox{where}\,\, \mu ≥ 0.$$ Use the Runge-Kutta Method to plot the limit cycle and some solutions in the phase plane (the $yy'$-plane) ...
33 views

### Global phase portrait [duplicate]

How to use Mathematica to draw global phase portrait that reflect critical points at infinity to Poincare sphere equator with all trajectories shown.
139k views

### Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...
2k views

### Phase portraits and StreamPlot

I typed StreamPlot[{y, x-x^3-0.3y+0.5Cos[1.25t]}, {x, -2.5, 2.5}, {y, -2.5, 2.5}] but all I got was a blank plot. What did I do wrong and can I fix it?
5k views

### How do I plot x[t] vs. x'[t] (where x[t] and x'[t] are solutions to NDSolve)?

I have a differential equation which I solved using NDSolve. I can easily plot x[t] vs. t, x'[t] vs. t, but.... how do I plot x[t] vs. x'[t]? I tried using the Evaluate function to simplify things, ...
2k views

### How to plot the stable and unstable manifolds of a hyperbolic fixed point of a nonlinear system of differential equations?

Suppose we have the following simplified system of two ordinary differential equations: $$\dot{x}(t)=x(t)^2+2y(t)\\ \dot{y}(t)=3x(t)$$ The system has a hyperbolic fixed point the origin. Hence there ...
1k views

### Phase lines, vector fields, and fixed points

The differential equation I am trying to visualize the solution to is $\dot x=\sin x$. We can find the solutions to be $$-\ln|\csc x+\cot x|+C.$$ This result it correct, but hard to visualize. Looking ...
193 views

### Phase Portrait for ODE with IVP

I'm trying to make a phase portrait for the ODE x'' + 16x = 0, with initial conditions x[0]=-1 & x'[0]=0. I know how to solve the ODE and find the integration constants; the solution comes out to ...
790 views

### Plotting geodesics of upper half plane

I want to solve (numerically) the geodesics of the upper half plane and plot. The results are quite known (i) straight lines parallel to $y$-axis and (ii) semicircles centered on the $x$-axis. Now the ...
732 views

### Is there a Mathematica version of ODE tools pplane and dfield?

The toolkits dfield and pplane are staples in ODE courses. First in MATLAB, now in Java. Do they have a Mathematica expression? Sample outputs follow: @Michael E2 Your suggestions were great. Here ...
1k views

### Plotting simple ODE system phase portrait [duplicate]

I am new to Mathematica, please help me to handle the following problem: I have the following system of equations: \begin{cases} \dot x = 2xy \\ \dot y = 1 - x^2 - y^2 \end{cases} What I want is to ...
649 views

### How can I create a phase plane? [duplicate]

I want to make a phase plane for an equation system. I want it to look something like a Mu-Space in Stat-Mech. Basically I want it to show the same system with various different initial condition ...
172 views

### How to plot the phase portrait of a second-order differential equation?

I am relatively very new to mathematica, but I have been trying to figure this out for hours. I have a second-order differential equation, $$ay''+by'+cy=0$$ and I have converted it into a first-...
447 views

### Projection of a 3D ODE solution on a parametric 2D streamplot

Problem I have a third-order dynamical system of which I'd like to plot the solutions on the streamplot defined by the same dynamical system, as a function of one of the three variables. These are ...
177 views

### Phase portrait plotting

I'm trying to plot a phase portrait for the equation: (d^2/dt^2)y + b * (dy/dt)^2 = A, A > 0, b < 0 The first thing I did was changing ...
EquationTrekker is great for phase space plots, however I want to plot the results of \phi '(t)=-b \sin (\phi (t))+g \sin (\Phi (t)-\phi (t))+1\\\Phi '(t)=g y \...
My question stems from exercise 4.3.3 in Murdock's book "Pertubations: Theory and Methods". I am asked in the following: Consider the problem $y''+y=\epsilon y^2$ $y(0)=\alpha$, $y'(0)=0$. Draw ...