Lesson 4 of 7 · 16 min
Slope fields
Draw and read slope fields, sketch solution curves through given points, spot equilibrium solutions, and match a field to its differential equation.
What you will be able to do
- Explain what each segment of a slope field represents and calculate the gradient at a point.
- Sketch the solution curve through a given point by following the field.
- Recognise the patterns of and , including equilibrium solutions, and match fields to equations.
A first-order differential equation gives the gradient at every point of the plane: put in and , and out comes . Draw a short segment with that gradient at each point of a grid and you get a slope field (also called a direction field or gradient field).
You can see the shape of every solution in it before you solve anything. A solution curve must be tangent to the field everywhere it goes, like a leaf floating on a current.
Click or tap to start a solution curve anywhere. Whatever the starting point, the curves are drawn towards the line , which is itself a solution.
Key idea
Reading a slope field
- The segment at has gradient evaluated at , .
- A solution curve passes through the given point and is tangent to the segments along its path. Curves never cross, because each point has only one gradient.
- An initial condition picks out one curve: the particular solution.
In the slope field of , what is the gradient of the segment drawn at ?
| Form | What the field looks like | What the solutions do |
|---|---|---|
| Every segment in a vertical column is parallel (the gradient depends on only). | Each solution is a vertical translation of the others: . | |
| Every segment in a horizontal row is parallel (the gradient depends on only). | Each solution is a horizontal translation of the others. Rows where are flat. | |
| Segments are flat along any row where and any column where . | Flat rows are constant solutions; flat columns mark turning points. |
Definition
Equilibrium solutions
If , then is a constant solution of : its gradient is , and along it. On the slope field it is a row of horizontal segments. Nearby curves either approach it (a stable equilibrium) or move away from it (an unstable one).
The rows and are flat, so they are solutions. Start curves above, between and below them: which equilibrium attracts nearby curves, and which repels them?
In the slope field of one of these equations, the segments along every horizontal line are parallel to one another. Which equation is it?
Worked example
Reading the slope field of
The slope field of is shown, with two solution curves.
(a) Calculate the gradient of the segments at , and .
(b) Show that is a solution.
(c) Describe the solution curve through .
Slope field of with the solutions and the curve through .
Step 1: Substitute each point into
At : . At : . At : .
Step 2: Verify
LHS . RHS . LHS = RHS, so is a solution: a straight line whose gradient matches the field everywhere along it.
Step 3: Start the curve at
The gradient there is , so the curve starts by falling steeply.
Step 4: Find where it turns
The gradient is zero where , that is on the line . The curve falls until it meets , has a minimum there, then rises.
Every point on has a horizontal segment, so a solution crossing that line has a turning point.
Step 5: Describe the long run
Curves above can never cross it (solutions do not cross), and the field pushes them towards it. So the curve approaches from above as increases.
Try it yourself first, then check the working one step at a time.
Answer
(a) , and . (b) Both sides equal . (c) The curve falls from , has a minimum on the line , then rises and approaches the line from above.
Method
Gradient at a point: substitute it into .
Zero-gradient points (here ) locate turning points of solution curves.
Straight-line or constant solutions act as guides: other curves do not cross them.
Watch out for
Drawing the solution curve through the segments rather than along them.
Letting the curve cross : solution curves never cross.
Determine all the equilibrium (constant) solutions of .
Tip
Sketching a solution curve by hand
Start at the given point and move a short way along its segment, then adjust to the next segment, and so on in both directions. Keep the curve smooth, tangent to the field, and never let it cross another solution or an equilibrium line. (Stepping along the field in short straight pieces is called Euler's method. You won't be examined on it, but it is exactly how the widget below builds its approximate curve.)
The straight pieces follow the segment at the start of each step. Smaller steps track the exact curve more closely.
Exam tip
Sketches on a slope field
When asked to sketch a solution on a given slope field, make sure the curve passes through the stated point, is tangent to the segments, and shows the long-run behaviour (approaching an equilibrium or an asymptote). Label any equilibrium solutions.
Summary
Each segment of a slope field has the gradient given by the differential equation at that point.
A solution curve is tangent to the field everywhere; an initial condition chooses which curve.
If depends only on , columns are parallel; if only on , rows are parallel.
Where , the row is flat and constant is an equilibrium solution.
Use the field to predict long-run behaviour before, or instead of, solving.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.