01 / 20

Sketching
Slope Fields

Learn to visualize differential equations by drawing short line segments that represent \(\frac{dy}{dx}\) at every point in the plane.

AP Calculus

What Is a Slope Field?

A slope field (also called a direction field) is a visual representation of a first-order differential equation of the form \(\frac{dy}{dx} = f(x, y)\). At each sample point \((x, y)\) in the plane, we draw a short line segment whose slope equals \(f(x, y)\).

Anatomy of a Slope Field

x y \(\frac{dy}{dx} = x\) green = slope 0

Why Slope Fields Matter

Most differential equations cannot be solved analytically. Slope fields give us a qualitative picture of the family of solutions without ever finding an explicit formula.

Visualize
See the behavior of all solutions at once: growth, decay, equilibria, oscillation.
Predict
Estimate the shape of particular solutions by tracing along the segments.
Verify
Check if an analytic solution is reasonable by comparing it to the slope field.

The Core Rule

The collection of all these segments forms the slope field. A solution curve \(y = \phi(x)\) is tangent to the field at every point: the segment "flow" guides the curve.

Isoclines: Lines of Equal Slope

An isocline is a curve along which \(f(x, y) = c\) for some constant \(c\). Every segment on an isocline has the same slope \(c\), making sketching faster.

Null-cline (\(c = 0\))
All segments are horizontal. Often reveals equilibrium solutions.
Unit isocline (\(c = 1\))
Segments tilt at \(45^\circ\). Quick reference for moderate positive slope.

Slope Fields vs. Solution Curves

Slope Field Solution Curve
What it shows All possible slopes at every point One specific trajectory \(y = \phi(x)\)
Determined by The ODE \(\frac{dy}{dx} = f(x,y)\) alone The ODE + an initial condition \(y(x_0)=y_0\)
Visual element Short line segments Smooth continuous curve
Uniqueness One per ODE One per initial condition (given existence/uniqueness)

How to Sketch a Slope Field

1
Set up a grid of sample points \((x, y)\) covering the region of interest.
2
Find isoclines (optional but powerful): solve \(f(x,y) = c\) for key values of \(c\).
3
Evaluate \(m = f(x_0, y_0)\) at each grid point.
4
Draw a short segment centered at each point with the computed slope.
5
Check patterns: look for horizontal segments (equilibria), sign changes, and symmetry.

Example 1: \(\frac{dy}{dx} = y\)

x y \(\frac{dy}{dx} = y\)

Example 2: \(\frac{dy}{dx} = x - y\)

x y y = x \(\frac{dy}{dx} = x - y\)

Example 3: \(\frac{dy}{dx} = x^2 - y\)

x y \(y = x^2\) (null-cline) \(\frac{dy}{dx} = x^2 - y\)

Recognizing Patterns

Depends only on \(x\)
All segments in the same vertical column are parallel.
Depends only on \(y\)
All segments in the same horizontal row are parallel.
Depends on both
Slopes change in both directions: no row or column is uniform.

Autonomous Equations and Equilibria

An autonomous ODE has the form \(\frac{dy}{dx} = g(y)\): the slope depends only on \(y\). Horizontal rows of identical segments make the field easy to sketch.

1
Find equilibria: solve \(g(y) = 0\). These are constant solution lines \(y = c\).
2
Determine stability: if \(g'(c) < 0\), the equilibrium is stable (solutions converge). If \(g'(c) > 0\), it is unstable.
3
Sketch regions: between equilibria, check the sign of \(g(y)\) to determine if solutions move up or down.

Common Mistakes

Ignoring the sign
Drawing an upward-slanting segment when \(f(x,y)\) is negative at that point. Always check the sign before drawing.
Varying segment length
Making segments longer where the slope is steeper. All segments should be the same short length: only the angle changes.
Connecting the segments
Drawing smooth curves instead of separate segments. A slope field is not a solution curve: keep each segment isolated.

Summary Cheat Sheet

Key Idea What to Look For
Slope field Short segments at each point with slope \(f(x,y)\) Overall flow direction
Null-cline Set \(f(x,y) = 0\): horizontal segments Equilibria, sign changes
Isocline Set \(f(x,y) = c\): parallel segments along curve Speeds up sketching
Autonomous \(f\) depends only on \(y\): rows are uniform Horizontal repetition
Solution curve Smooth curve tangent to field at every point Follows the segment "flow"

Question 1 of 5

In a slope field for \(\frac{dy}{dx} = x + 1\), what is the slope of the segment at the point \((2, 5)\)?

Question 2 of 5

If a slope field shows that all segments in the same horizontal row are parallel, the differential equation most likely has the form:

Question 3 of 5

For the equation \(\frac{dy}{dx} = y - 3\), which of the following is the null-cline?

Question 4 of 5

At the point \((-1, 2)\) in the slope field for \(\frac{dy}{dx} = x^2 + y\), the segment should be:

Question 5 of 5

A common mistake when sketching slope fields is: