AP® Calculus AB · Unit 7 · Topic 7.3
Sketching Slope Fields
A slope field draws a short segment at many points, each with slope equal to dy/dx evaluated there, so you can see the shape of every solution curve without solving the equation.
A differential equation like dy/dx = x - y gives you a rule for the slope at any point (x, y), before you know which solution curve passes through it. A slope field turns that rule into a picture: pick a grid of points, plug each one into the right-hand side, and draw a short segment with that slope centered on the point. Do this at enough points and the tiny dashes line up into flowing patterns. Any solution curve must be tangent to the segments it passes through, so the field shows the shape of every possible solution at once, without ever solving the equation.
To compute a single segment, take the point's coordinates and substitute them into dy/dx. For dy/dx = x - y, the point (1, 3) gives slope 1 - 3 = -2, so you draw a short segment through (1,3) tilted at slope -2. Repeat across a grid and you start to see curves emerge: steep in some regions, flat where the right-hand side is zero, mirrored where it changes sign. A common trap is drawing the one curve that looks like it belongs there and mistaking the whole field for that solution. The field has no single starting point built in; it represents infinitely many solutions, each one picked out only once you add an initial condition.
Slope fields set up the rest of the unit. Once you can read a field, separation of variables gives you the actual equation for the curve through a chosen point, and Euler's method uses the same slope-at-a-point idea to step numerically along one specific solution.
Key terms
- slope field
- A grid of short segments, each showing the slope dy/dx at that point, used to visualize solutions to a differential equation.
- solution curve
- A specific curve that stays tangent to the slope field everywhere it passes, corresponding to one initial condition.
- initial condition
- A given point the solution must pass through, which picks out one curve from the infinitely many possible solutions.
- separation of variables
- A technique that solves a differential equation algebraically by grouping x terms and y terms on opposite sides.
Watch it explained
- How it worksHow do you compute and draw the slope segments on a grid of points?
- Worked exampleDraw the slope field for dy/dx = x - y at the integer points from -2 to 2.
- Common mistakeWhy isn't a slope field the graph of one particular solution?
- Going furtherWhat does a slope field look like when the slope depends only on y?
Check yourself
End of topic.