A slope field (or direction field) for a first-order ODE is a graphical depiction of the right-hand side: at every point in some grid, draw a small line segment with slope . The slope field shows the direction a solution would head if it passed through that point, without computing the actual trajectories.

Slope fields make ODEs visual. You can sketch a candidate solution by following the slope arrows from any starting point — the curve threads through the field.

Example:

For with (constant), slopes:

  • For : , slope positive — solutions grow without bound.
  • For : slope negative — solutions decrease without bound.
  • At : slope zero — equilibrium.

The equilibrium at is unstable: trajectories in either neighbourhood are pushed away from it. So calling this “linearized population dynamics” is misleading — real population models (Malthusian, logistic) have stable equilibria around the carrying capacity. This linear model has the equilibrium repelling, not attracting; an actual population starting near would either crash to zero or explode upward, neither of which is the population dynamics intuition. The slope field reveals the (counter-intuitive) instability immediately, without solving.

What slope fields tell you

  1. Equilibria — points where slope is zero. Solutions through these points are constant.
  2. Direction of motion at every point.
  3. Qualitative behavior of solutions: which equilibria attract trajectories, which repel them.
  4. Approximate solution shapes — sketch curves that follow the local slope.

Connection to existence and uniqueness

The Existence and uniqueness theorem uses the slope-field language directly. Continuity of means the slope field has no gaps — you can follow it from any starting point. Continuity of means nearby slopes don’t change too abruptly — solutions can’t merge or branch.

Failure of these conditions shows up visually: a discontinuity in creates a “hole” in the slope field; a discontinuity in creates regions where multiple slopes overlap.

2D systems: vector fields

For 2D autonomous systems , the natural visualization is a vector field: at each point, draw an arrow pointing in direction with magnitude .

Or, for a slope-style display, just the direction — the direction without speed.

This is the higher-dimensional analog of a slope field. Trajectories of the system are curves that follow the vector field — see Phase plane.

Drawing slope fields

By hand:

  1. Pick a grid (e.g., at integer points).
  2. At each grid point, compute .
  3. Draw a short line segment with that slope.
  4. Sketch curves that follow the slopes.

In software (Mathematica, Matlab, Python’s matplotlib): streamplot or quiver functions render slope fields directly.

Limitations

Slope fields are only practical for 1D ODEs (, drawn in 2D) or 2D autonomous systems (drawn as 2D vector fields in the plane).

Higher dimensions are hard to visualize. For 3D, you can use 3D vector field plots, but they’re cluttered. For 4D and beyond, you usually project onto subspaces or work numerically.

For higher-dimensional analysis, the strategies are: linearize around equilibria (see Locally linear system), use Lyapunov functions (Lyapunov’s method), or simulate numerically.

  • Solution curves (specific trajectories): pick initial conditions, integrate the ODE numerically, plot the result. Each curve threads the slope field.
  • Nullclines: curves where one component of the vector field is zero. The -nullcline is where (vertical motion only); the -nullcline where (horizontal motion only). Equilibria are where nullclines intersect.

For phase-plane analysis of 2D systems, see Phase plane and Phase plane behaviour.