Build and read slope fields, calculate gradients from a differential equation, sketch solution curves through given points, and use the curve where dy/dx = 0 to locate maxima and minima of solutions.
Each is in the Maths AI glossary, with every other term in the subject.
A first-order differential equation whose right-hand side depends only on the unknown and not on the independent variable.
A curve along which every solution of a differential equation has the same gradient ; its equation is .
The isocline on which , with equation ; every local maximum and local minimum of a solution curve lies on it.
A diagram of a first-order differential equation made of short line segments drawn at the points of a grid, each with gradient equal to at its point.
The graph of a particular solution of a differential equation; on a slope field it is a smooth curve that is tangent to the segments at every point it passes through.
Calculate the gradient at a point from a differential equation, and explain how a slope field is built from these gradients.
Use technology to draw the slope field of a differential equation.
Sketch the solution curve through a given point on a slope field, following the segments smoothly and showing asymptotic behaviour.
Explain why solution curves of a differential equation do not cross.
Find the equation of an isocline, and in particular of the curve on which , and sketch it on a slope field.
Determine where solution curves have local maxima and minima, and which is which, from the curve on which .
Interpret patterns in a slope field, including fields of autonomous equations, equilibrium solutions and long-term behaviour, and match differential equations to their fields.
Separation of variables, taught in subtopic 5.14, Setting up differential equations, solves only equations whose right-hand side splits into an -part times a -part. An equation as simple as cannot be separated, and many models from science cannot be solved exactly at all. Yet every first-order differential equation gives one piece of information directly: the gradient of the solution curve at any point. Drawing that gradient as a short line segment at many points produces a picture of all the solutions at once.
This picture, a slope field, shows the shape of the solutions without any formula: where solutions rise and fall, where they turn, what value they settle towards and which starting points lead to which long-term behaviour. Weather maps that show the wind as short arrows across a region use the same idea: a light object carried by the wind follows a path that runs along the arrows.
A first-order differential equation written as gives the gradient of any solution curve that passes through the point . For , a solution through has gradient there, and a solution through has gradient : it is horizontal at that point. No solving is needed, only substitution.
Repeating this at every point of a grid gives a table of gradients. Each gradient is then drawn as a short segment through its grid point, a small piece of the tangent to whichever solution passes there. The table shows the gradients of at the integer points from to .
\ | |||||
|---|---|---|---|---|---|
The zeros lie on a diagonal, where ; the gradients grow more positive towards the lower right and more negative towards the upper left. The same pattern appears in the finished field, drawn with a segment every half unit.

The Khan Academy video on creating a slope field builds one point by point in exactly this way, from a table of gradients to the completed picture.
YouTubeDrawing hundreds of segments by hand is slow, so slope fields are generated with software. In GeoGebra the command SlopeField(x - y) draws the field of in the current window; the expression inside the brackets is the right-hand side of the equation, with and as the variables. Some GDCs have a differential-equation graphing mode that draws fields as well. Whatever the tool, the window should cover the region of interest, and a coarser grid (fewer segments) is often easier to read than a dense one.
A solution of the differential equation is a function whose graph has, at every point, exactly the gradient the equation prescribes there. On a slope field this means the graph runs along the segments: it is tangent to the field at every point it passes through. Starting at a chosen point and following the directions of nearby segments traces out that solution, much as a leaf floating on a stream follows the current.
Each starting point gives a different particular solution, and together the solution curves form the general solution, the whole family. For , the exact general solution is (it can be checked by substitution, as in subtopic 5.14). Three of its curves are drawn on the field: through with , through with , and the straight line with .

The curve through starts above the dashed line , where the segments slope downward, so it falls. It meets the line at about , where it is momentarily horizontal, and then rises below the line. The curve through rises all the way. As increases, the term shrinks to zero, so every solution approaches : this line is an asymptote of every other solution, which the field shows without any algebra.
The Khan Academy video on visualising solutions draws solution curves on a field in the same way, starting from different points and following the segments.
YouTubeTwo solution curves of cannot cross. At a crossing point both would pass through the same , so both would have the same gradient , and from there the equation fixes the gradient at every next point in the same way for both. The two curves would therefore be the same curve. Solutions may come very close (as all solutions of approach ) but they never meet or cross. This holds wherever is a smooth function; at points where the equation is undefined, such as where a denominator is zero, the rule can fail.
A good sketch on a given slope field shows the right shape, passes through the right point and has the right long-term behaviour. These steps produce one.
Mark the given point clearly.
From the point, move a little to the right in the direction of the nearest segments, then adjust to the new segments; repeat. The curve should run between segments parallel to them, never across them.
Do the same to the left of the point, so the curve covers the whole region shown.
Wherever the curve crosses the curve on which , make it horizontal: that is a turning point, a local maximum or minimum of the solution.
Show asymptotic behaviour: a curve approaching a line should get closer and closer without meeting it.
Draw one smooth curve with no corners and no flat sections that the field does not show.
Points where the field has the same gradient lie on curves called isoclines (from the Greek for "equal slope"). For , the isocline for gradient is the curve . Along it every segment is parallel, which makes isoclines a quick way to draw a field by hand: draw the curve, then add parallel segments along it.
For , the isocline for gradient is , or : a family of parallel straight lines. The isocline for is , and the isocline for is . That second line has gradient 1 itself, equal to the gradient of every segment on it, so the line runs along its own segments and is a solution. This is why appeared as a straight-line solution in the field of .
The most useful isocline is the one with gradient zero. At a local maximum or local minimum of a solution, the gradient is 0 (subtopic 5.6, Stationary points), so every turning point of every solution lies on the curve . Finding this curve locates all the maxima and minima before a single solution is drawn.
The nullcline also splits the plane into regions where solutions rise () and where they fall (). For , points above have , so solutions fall there; points below have , so solutions rise. A solution moving from the falling region into the rising region turns at a minimum, and one moving from the rising region into the falling region turns at a maximum. The curve through in the field of passes from above to below it, so its turning point at is a minimum.
The slope field of has a nullcline that is a parabola rather than a line.

For a nullcline that is a line or curve with a gradient of its own, the direction in which solutions cross it decides the type of turning point. A solution crosses the nullcline horizontally, so if the nullcline slopes down from left to right, every solution passes from below it to above it as increases; if the nullcline slopes up, every solution passes from above it to below it. Combined with the sign of on each side, this identifies maxima and minima without drawing any solution.
When the right-hand side contains only , as in or , the gradient is the same at every point of a vertical line. The field repeats exactly as it moves up or down, so every solution curve is a vertical translation of every other. This matches the general solution of subtopic 5.14, where changing shifts the curve vertically.
When the right-hand side contains only the unknown, as in , the rate of change does not depend on the time. The gradient is then the same along every horizontal line, so each row of the field is identical and solutions are horizontal translations of one another: starting the same population later gives the same curve shifted to the right.
The values of where give horizontal segments all the way across the field, so the horizontal lines at those heights are themselves solutions, the equilibrium solutions. The field of the logistic equation has two: and .

Between 0 and 10 the segments slope upward, steepest at where , so populations grow with an S-shaped curve towards 10, the carrying capacity. Above 10 the segments slope downward, so a population that starts above the carrying capacity falls towards it. Solutions on both sides approach , so it is a stable equilibrium; solutions near move away from it, so is unstable. The same reasoning applied to the cooling field shows a single stable equilibrium at room temperature, .
Stability can be read from the signs of the rate on either side of each equilibrium, without drawing the field: if the rate is positive just below and negative just above, nearby solutions move towards the equilibrium from both sides.
Most features of a slope field can be predicted from its equation, and most features of an equation can be recognised in its field. The table collects the patterns that identify a field.
Feature of the equation | What it looks like in the slope field |
|---|---|
depends on only | segments identical along each vertical line |
depends on only (autonomous) | segments identical along each horizontal line |
on a curve | horizontal segments along that curve (the nullcline) |
undefined on a line, e.g. at | vertical segments along that line |
field symmetric in the -axis (mirror image) | |
has the same sign everywhere | all segments slope the same way; solutions have no turning points |
at | the horizontal line is a solution (an equilibrium) |
Wind maps such as earth.nullschool.net show the wind across the globe as short moving lines on a grid, drawn from the Global Forecast System model of the United States National Oceanic and Atmospheric Administration (NOAA). Each line shows the wind's direction at that place, so the map is a direction field in two dimensions, and a balloon drifting with the wind follows a path tangent to the lines, as a solution curve follows its field. The analogy holds only while the wind pattern stays the same; real winds change from hour to hour, so a real balloon follows a changing field.
Slope fields are examined on HL Paper 1 in short questions of 2 to 7 marks, with the field printed on the paper. The usual parts are: calculate at a given point (substitution); write down or find the equation of the curve on which the maxima and minima of the solutions lie (set the right-hand side to zero and rearrange); sketch that curve on the field; sketch the solution curve through one or two given points. Markschemes award marks for the correct gradient, the curve through the given point, turning points on the nullcline and clear asymptotic behaviour.
The examiners' reports describe these questions as often left blank, and the commonest error as drawing a solution through the point where instead of the curve of all such points. Sketches also lose marks for flat sections, missing turning points and curves that touch, cross or stop at an asymptote.
The slope field of , drawn for and , is used in the following question.

Part (e) needs no solving of the differential equation: once the -coordinate of a turning point is known, the nullcline gives its -coordinate. Questions of this kind reward understanding of the link between and turning points more than calculation.
The slope field of for and is used in questions 1 to 4.

Calculate the gradient of the solution curve through and through . [2]
Write down the equation of the curve on which every segment is horizontal. [1]
Show that the line is a solution curve of the differential equation. [2]
(a) Sketch the solution curve through . (b) Explain why it has a local maximum at the origin. (c) Describe the long-term behaviour of the solutions through and as increases. [6]
Find the equation of the isocline on which the gradient is 2 for , and describe the slope field on the coordinate axes. [3]
For , write down the equation of the curve on which all turning points of solutions lie, and describe its shape. [2]
For the autonomous equation , find the equilibrium solutions and determine whether each is stable or unstable. [5]
Explain why every solution curve of is a vertical translation of the curve through the origin, and write down the equation of that curve. [3]
State, with a reason, which of and has a slope field in which the segments all point along lines through the origin. [2]
At : . At : .
, so .
On , (the line's gradient) and . The two agree at every point, so the line is a solution.
(a) A curve through the origin, horizontal there, falling on both sides (the exact solution is ). (b) At , so the gradient is 0; for the curve lies above (gradient positive, rising) and for below it (gradient negative, falling), so the turning point is a maximum. (c) The solution through lies above and rises ever more steeply; the solution through lies below and falls ever more steeply. Solutions move away from as increases.
, the hyperbola . On both axes , so every segment on the -axis and on the -axis is horizontal.
, so : a parabola opening to the right with vertex at the origin.
, and . Sign of : for , two factors are negative ( and ), so the product is positive; for , negative; for , positive; for , negative. So solutions rise towards from below and fall towards it from above: stable; they move away from on both sides: unstable; they approach from both sides: stable.
The right-hand side depends on only, so the gradient is the same at every point of a vertical line and ; changing shifts the curve vertically. Through the origin, : .
: at the segment has gradient , the gradient of the line from the origin to that point, so every segment points along a line through the origin (its solutions are the lines ).
A slope field draws a short segment with gradient at each grid point for ; the gradient at a point comes from substituting into the equation.
Software draws fields, for example GeoGebra's SlopeField(f(x, y)); checking two or three gradients confirms the field is right.
A solution curve is tangent to the segments everywhere; sketch it smoothly through the given point, in both directions, showing turning points and asymptotes.
Solution curves never cross, because at a shared point they would have the same gradient and so be the same curve.
An isocline joins points with equal gradient; an isocline that is a line with gradient is itself a solution.
The nullcline holds every local maximum and minimum of every solution; it is not itself a solution in general.
A solution passing from a region where to one where has a maximum on the nullcline; from to , a minimum.
Fields of repeat vertically (solutions are vertical translations); fields of autonomous equations repeat horizontally, with equilibrium solutions where , stable when nearby solutions approach them.
I can calculate at any point by substituting into the differential equation.
I can explain how a slope field is built from a grid of gradients.
I can generate a slope field with technology and check it against the equation.
I can sketch a smooth solution curve through a given point in both directions.
I can explain why two solution curves cannot cross.
I can find the equation of an isocline for a given gradient.
I can find and sketch the curve on which , and avoid drawing a solution through a single point instead.
I can decide whether a turning point on the nullcline is a maximum or a minimum from the signs of on each side.
I can use the nullcline to find a coordinate of a turning point.
I can recognise an autonomous equation from its field and find its equilibrium solutions.
I can decide whether an equilibrium is stable or unstable from the field or the sign of the rate.
I can show approach to an asymptote clearly without touching or crossing it.
I can match a differential equation to its slope field from its features.
18 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on
The following diagram shows the slope field for the differential equation

The point lies on one of the solution curves.
Find the equation of the tangent to this solution curve at . Give your answer in the form , where .
2 marks
gradient at (A1)
, so A1
Note: Accept any integer multiple, e.g. .
[2 marks]
On the diagram, sketch the solution curve that passes through .
2 marks
curve through with a negative gradient at , decreasing to a minimum close to A1
then increasing for larger , following the field and approaching (but not crossing) the line A1
Note: The curve must not cut across the segments. The minimum must lie on the line .
[2 marks]
Write down the equation of the line on which every solution curve has a gradient of zero.
1 mark
A1
[1 mark]
Show that is a solution of the differential equation.
2 marks
M1
A1
so satisfies the differential equation AG
[2 marks]
The following diagram shows the slope field for the differential equation

Write down the equation of the curve on which every local maximum and local minimum of the solution curves lies.
1 mark
Sketch this curve on the diagram.
1 mark
On the diagram, sketch the solution curve that passes through the point .
2 marks
The solution curve through has a turning point at which . Determine whether this turning point is a local maximum or a local minimum. Justify your answer.
2 marks
The following diagrams show the slope fields of three differential equations.

The three differential equations are
Match each differential equation to its slope field. Give a reason for each choice.
3 marks
For differential equation (I), write down the equilibrium solution and describe the long-term behaviour of every other solution.
2 marks
The entries of the mathematics: applications and interpretation formula booklet that 5.15 uses. Each opens in the explained booklet.
With a free account, Augment remembers where you stopped and what you have practiced.