State Space

Change the system matrix or choose a preset to turn a field of state trajectories into loops, spirals, or a saddle.

Tap to plant a trajectory

eigenvalues —
tr(A) —
det(A) —
type —
what to try
  • Press the "damped spring" preset. Then tap a few spots far from the origin. Every trajectory spirals inward and eventually dies at . The eigenvalues in the metric row are a conjugate pair with negative real part: the classic stable-spiral signature.
  • Slide A₂₂ from −0.4 toward zero. Watch the spiraling slow down. At A₂₂ = 0, trajectories are perfect closed circles, no decay, no growth. The eigenvalues just crossed the imaginary axis: real part = 0. Keep going past zero, and trajectories now spiral outward: same shape, opposite time direction. The system became unstable.
  • Try the "saddle" preset. The eigenvalues are now one positive, one negative. There are two special directions (eigenvectors): trajectories along one come into the origin, along the other they run away. Generic trajectories follow a hyperbola-like path. This is the textbook unstable-equilibrium shape, like a ball on a saddle.
  • Watch the metrics as you slide. Notice that and are the same numbers that decide the transfer-function pole locations.

What you are looking at

Arrows
The direction the state moves at each point.
Arrow length
The speed of that motion.
Phase portrait
The picture formed by the state motion in the plane.

Try this

  1. Choose Damped spring to see motion spiral inward.
  2. Choose Unstable spiral to see motion spiral outward.

Key idea

The state is enough to predict what happens next when the future inputs are known.