Phase Portraits of Linear Systems

Visualize direction fields and trajectories for \(\dot{\mathbf{x}}=A\mathbf{x}\). Click the canvas to integrate trajectories from any initial condition.

\(\dot{x}=ax+by,\quad\dot{y}=cx+dy\)
Matrix \(A\)
Active: RK4 Auto picks SDIRK2 for obviously stiff stable systems (both eigenvalues negative); RK4 otherwise.
Initial condition
Matrix
A = [-3, 1; 1, -3]
Trajectories
0 trajectories
Last Point
Status
Ready
Phase Plane — click the canvas or type an initial condition to draw a trajectory
Click anywhere on the plane to add a trajectory
Accuracy — global error of each method against the exact solution \(\mathbf{x}(t)=e^{At}\mathbf{x}_0\)
Cite this tool
Kapita, S. (2026). Phase Portraits of Linear Systems. Math Tools. https://doi.org/10.5281/zenodo.20981282