Tested tool guide
Tested browser tools
Checked August 16, 2026
What Phase Portrait Plotter does, with a checked example
Type the two right-hand sides of a 2D autonomous system - dx/dt = f(x, y), dy/dt = g(x, y) - and this tool draws the phase portrait: a vector field of arrows, the equilibrium points where both f and g vanish, and animated trajectories from starting points you choose. Each equilibrium is classified from the eigenvalues of the Jacobian matrix of partial derivatives: node, spiral, saddle, or center, stable or unstable. The usual surprise is that the label is local and linear - it describes behavior only arbitrarily close to the equilibrium - and a 'center' label does not guarantee closed orbits once nonlinear terms are present.
Worked example
A concrete input and expected output from the current implementation.
Input
dx/dt = y
dy/dt = -x
->
Expected output
One equilibrium at (0, 0), classified as a center (Jacobian eigenvalues +i and -i, purely imaginary). Trajectories are the closed circles x^2 + y^2 = r^2, traversed counterclockwise, so nearby orbits neither approach nor escape the origin.
With x' = y and y' = -x, the squared distance from the origin has zero derivative, so every trajectory stays on a circle. Purely imaginary eigenvalues are exactly the signature the tool uses for the center label.