A direction field (or slope field) is a visual representation where arrows at each point show the slope of solutions passing through that point. Direction fields allow us to sketch solution curves without solving the equation analytically, providing geometric insight into the behavior of solutions.
Start by plotting direction fields by hand for simple equations like dy/dx = x or dy/dx = y. Then use software to visualize more complex examples and observe how solution curves flow along the direction field vectors.
A direction field (also called a slope field) is a picture of a differential equation y' = f(x, y). At every point (x, y) in the plane, you draw a short line segment with slope f(x, y) — the slope that any solution passing through that point must have at that instant. The result is a field of arrows that shows the "flow" of solutions across the plane, even before you solve the equation analytically.
The connection to slope is direct. You already know slope as "rise over run" — the rate of change of y with respect to x. A differential equation y' = f(x, y) tells you exactly what that rate of change must be at every point. For the equation y' = x, the slope at any point (x, y) depends only on x: at x = 0 the slope is 0 (horizontal arrows), at x = 1 the slope is 1, at x = −2 the slope is −2. Sketching these by hand reveals families of parabolas — the actual solutions y = x²/2 + C. The direction field is the geometric encoding of the equation, and the solution curves are curves that are everywhere tangent to the field.
A solution curve through a particular initial point (x₀, y₀) is the unique curve that starts at that point and flows along the direction field — tangent to every arrow it passes through. This is the geometric version of an initial value problem. The existence and uniqueness theorem (which you'll study more formally later) guarantees that under mild conditions on f, exactly one solution curve passes through each point. This is why solution curves never cross: if two curves met at a point, they would both have the same slope at that point and therefore be the same curve.
Direction fields are especially powerful for autonomous equations of the form y' = f(y), where the slope depends only on y and not on x. For these, all arrows at the same height y have the same slope, so the field has horizontal bands of equal slope. Equilibrium solutions — where f(y) = 0 — appear as horizontal lines where all arrows are flat, and you can immediately read off whether solutions above and below are attracted toward or repelled from each equilibrium. This qualitative analysis lets you understand long-run behavior without solving the equation — a major theme in differential equations that direction fields introduce geometrically.