Visualizing differential equations — drawing short line segments representing the slope at each point
A slope field (also called a direction field) is a visual representation of a differential equation $\frac{dy}{dx} = f(x, y)$. At each point $(x, y)$ in the plane, a small line segment is drawn with slope $f(x, y)$. This gives a picture of how solutions behave without actually solving the equation.
🎯 In this section you will learn
What a slope field is and how to interpret it
How to sketch a slope field for a given differential equation
How to match differential equations to their slope fields
How to sketch solution curves through given points
📌 Understanding Slope Fields
For a differential equation $\frac{dy}{dx} = f(x, y)$, the slope at any point $(x, y)$ is $f(x, y)$. A slope field consists of many small line segments drawn at grid points, each with slope $f(x, y)$.
💡 Key Idea
Slope fields allow us to visualize the family of solutions to a differential equation without solving it analytically. Solution curves are tangent to the slope field at every point.
📊 Interactive Slope Field
Click buttons below to see slope fields for different differential equations:
📋 How to Sketch a Slope Field
①
Choose grid points
Select a set of $(x, y)$ points (e.g., integer coordinates).
②
Compute the slope
For each point, calculate $m = f(x, y)$.
③
Draw a short line segment
Draw a small segment through the point with slope $m$.
Example 1Slope Field for $\frac{dy}{dx} = x$
The slope depends only on $x$. At $x = -2$, slope $= -2$ (downward). At $x = 0$, slope $= 0$ (horizontal). At $x = 2$, slope $= 2$ (upward). The slope field shows vertical bands of constant slope.
Example 2Slope Field for $\frac{dy}{dx} = y$
The slope depends only on $y$. At $y = -2$, slope $= -2$ (downward). At $y = 0$, slope $= 0$ (horizontal). At $y = 2$, slope $= 2$ (upward). This slope field shows exponential growth: solutions are $y = Ce^x$.
Example 3Slope Field for $\frac{dy}{dx} = x + y$
The slope depends on both $x$ and $y$. Along the line $y = -x$, the slope is $0$ (horizontal). Above this line, slopes are positive; below, negative. Solutions are $y = Ce^x - x - 1$.
Example 4Slope Field for $\frac{dy}{dx} = -y$
The slope depends only on $y$, but it's negative when $y > 0$ and positive when $y < 0$. This slope field shows exponential decay: solutions are $y = Ce^{-x}$.
📌 Matching Differential Equations to Slope Fields
On the AP exam, you may be asked to match a differential equation to its slope field. Look for:
Symmetry: If $f(x, y)$ depends only on $y$, slopes are constant along horizontal lines.
Zero slopes: Where $f(x, y) = 0$, slopes are horizontal.
Undefined slopes: Where the DE is undefined, there may be vertical asymptotes in the slope field.
⚠️ Common Mistakes
Drawing slopes at too few points: A good slope field needs enough points to show the pattern.
Misinterpreting slope direction: Positive slopes go up to the right, negative slopes go down to the right.
Forgetting that slope fields show behavior, not exact solutions: They are qualitative, not quantitative.
🔍 Key Takeaways
A slope field is a grid of line segments with slopes given by $\frac{dy}{dx} = f(x, y)$.
Solution curves are tangent to the slope field at every point.
Slope fields help visualize the behavior of solutions without solving the DE.
On the AP exam, you may need to match a DE to its slope field or sketch a solution curve through a given point.