AP Calculus Slope Fields — Complete Guide with Practice Problems (2026)
Slope fields appear on AP Calculus AB and BC every year — in both the multiple choice section and as part of FRQ differential equation questions. This guide explains how slope fields work, how to draw them, and how to answer every question type the AP exam uses.
What Is a Slope Field?
A slope field (also called a direction field) is a visual representation of a differential equation. For every point $(x, y)$ in the plane, you draw a short line segment whose slope equals $\frac{dy}{dx}$ at that point, as given by the differential equation.
A slope field shows the behavior of all solutions to a differential equation simultaneously — without solving the equation analytically.
Example: For $\frac{dy}{dx} = x$, the slope at any point depends only on $x$:
- At $x = -2$: slope = −2 (steep downward)
- At $x = 0$: slope = 0 (horizontal)
- At $x = 2$: slope = 2 (steep upward)
The slope segments form a visual pattern — in this case, a "fan" rotating counterclockwise.
How to Draw a Slope Field
Step 1: Choose a grid of points (the AP exam usually gives you a grid).
Step 2: For each point $(x, y)$, substitute into $\frac{dy}{dx}$ to find the slope.
Step 3: Draw a short line segment with that slope at that point.
Key shortcut — isoclines: An isocline is a curve where all slope segments have the same value. Set $\frac{dy}{dx} = c$ for various constants $c$ and find the curve. This helps you draw slope fields quickly.
Example: For $\frac{dy}{dx} = x + y$
| Point (x, y) | dy/dx = x + y |
|---|---|
| (0, 0) | 0 (horizontal) |
| (1, 0) | 1 |
| (0, 1) | 1 |
| (−1, 0) | −1 |
| (1, −1) | 0 (horizontal) |
| (2, −2) | 0 (horizontal) |
Notice: whenever $x + y = 0$, i.e., $y = -x$, the slope is 0. The line $y = -x$ is an isocline.
Reading a Slope Field — What AP Exams Ask
Type 1: Match the slope field to a differential equation
Strategy:
- Look for where slopes are horizontal (zero). Set $\frac{dy}{dx} = 0$ and find which equation gives that pattern.
- Check if slopes depend only on $x$, only on $y$, or on both.
- Only $x$: vertical isoclines (slopes are the same across horizontal rows)
- Only $y$: horizontal isoclines (slopes are the same across vertical columns)
- Both: diagonal isoclines
- Check a specific point. If at $(0, 0)$ the slope appears to be 0, eliminate equations where $\frac{dy}{dx}(0,0) \neq 0$.
Example: A slope field has horizontal segments along the x-axis and along the line $y = 2$. Which differential equation matches?
Horizontal segments where $dy/dx = 0$. This happens at $y = 0$ and $y = 2$. The equation $\frac{dy}{dx} = y(y-2)$ gives zero at both — this is the match.
Type 2: Sketch a solution curve through a given point
A solution curve follows the slope segments — like a river following the current.
Rules:
- The curve must be tangent to every slope segment it passes through
- The curve cannot cross itself (existence/uniqueness theorem for well-behaved equations)
- Sketch in the direction the slope segments indicate — don't fight the field
Steps:
- Start at the given point $(x_0, y_0)$
- Follow the slope segments forward (increasing $x$) and backward (decreasing $x$)
- Smooth the curve through the segments — don't make sharp corners
- Watch for asymptotes or equilibria where the curve levels off
Type 3: Identify equilibrium solutions
An equilibrium solution (also called a constant solution) is a horizontal line $y = c$ where $\frac{dy}{dx} = 0$ for all $x$.
How to find: Set $\frac{dy}{dx} = 0$ and solve for $y$ values that make this true for ALL $x$.
Example: $\frac{dy}{dx} = y^2 - 4$
Setting equal to zero: $y^2 - 4 = 0 \Rightarrow y = \pm 2$
So $y = 2$ and $y = -2$ are equilibrium solutions.
Stable vs unstable equilibria:
- Stable: Solution curves near this equilibrium are attracted toward it
- Unstable: Solution curves near this equilibrium diverge away from it
For $\frac{dy}{dx} = y^2 - 4$: near $y = 2$ from below, $dy/dx < 0$ (curves move down toward $y = 2$) — stable. Near $y = -2$, curves diverge — unstable.
Euler's Method (BC Only)
Euler's method approximates a solution to a differential equation numerically, starting from an initial condition.
Formula: $y_{n+1} = y_n + \frac{dy}{dx}\bigg|_{(x_n, y_n)} \cdot \Delta x$
Steps:
- Start at the initial condition $(x_0, y_0)$
- Calculate the slope at this point using the differential equation
- Move forward by step size $\Delta x$: new $x = x_0 + \Delta x$, new $y = y_0 + \text{slope} \times \Delta x$
- Repeat
Example: $\frac{dy}{dx} = x - y$, $y(0) = 1$. Use Euler's method with $\Delta x = 0.5$ to approximate $y(1)$.
| Step | $x_n$ | $y_n$ | $dy/dx = x-y$ | $\Delta y = (dy/dx)(0.5)$ |
|---|---|---|---|---|
| 0 | 0 | 1 | 0−1 = −1 | −0.5 |
| 1 | 0.5 | 0.5 | 0.5−0.5 = 0 | 0 |
| 2 | 1.0 | 0.5 | — | — |
Approximate $y(1) \approx 0.5$.
AP exam note: Euler's method underestimates when the solution is concave up, overestimates when concave down.
Slope Fields Practice Problems
Problem 1 (AB/BC): A slope field for a differential equation shows horizontal segments everywhere along the y-axis ($x = 0$). Which of the following could be the differential equation?
A) $\frac{dy}{dx} = y$ B) $\frac{dy}{dx} = x$ C) $\frac{dy}{dx} = x + y$ D) $\frac{dy}{dx} = xy$
At $x = 0$: A gives $dy/dx = y$ (not necessarily 0), B gives 0 ✓, C gives $y$ (not 0), D gives 0 ✓. Both B and D give zero along the y-axis. But B gives zero ONLY along $x = 0$, while D gives zero along BOTH axes. If the slope field shows zeros only on the y-axis, the answer is B. If zeros appear on both axes, D.
Problem 2 (AB/BC): For $\frac{dy}{dx} = \frac{y}{x}$, sketch the solution curve passing through $(1, 2)$.
Separating variables: $\frac{dy}{y} = \frac{dx}{x} \Rightarrow \ln|y| = \ln|x| + C \Rightarrow y = Ax$. Through $(1, 2)$: $2 = A(1) \Rightarrow A = 2$. Solution: $y = 2x$ — a straight line through the origin.
Problem 3 (BC — Euler's Method): Given $\frac{dy}{dx} = 2x + 1$ and $y(0) = 0$, use Euler's method with two steps of $\Delta x = 1$ to approximate $y(2)$.
| Step | $x$ | $y$ | $dy/dx = 2x+1$ | $\Delta y$ |
|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 3 | 3 |
| 2 | 2 | 4 | — | — |
Approximate $y(2) \approx 4$. (Actual: $y = x^2 + x$, so $y(2) = 6$. Euler's underestimates here because the solution is concave up.)
AP Exam Tips for Slope Fields
On matching questions: Check the sign of $dy/dx$ at the origin first. If $dy/dx(0,0) = 0$, the segment at the origin is horizontal — eliminate any equation where it isn't.
On sketching solution curves: The curve must be smooth. If it starts above an equilibrium with downward slopes, it approaches the equilibrium asymptotically — don't let it cross.
On Euler's method (BC): Show your table. AP readers award points for correct setup even if the final answer is off. Label columns clearly.
Common mistake: Confusing the slope field (shows slopes of solutions) with the graph of the solution itself. They are different objects.