KS Maths
Topic 5.15 Β· AI Higher Level

Slope fields

A picture of every solution at once

What the little dashes mean, how to follow them, and why two solution curves can never cross.

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

gradient
How steep a line is. Up divided by across.A line going up 2 for each 1 across has gradient 2.
equation
A statement that two things are equal. It has an equals sign.x plus 2 = 5 is an equation.
constant
A number that does not change.In 3x plus 5, the constant is 5.
differential equation
An equation that links a function with its rate of change.A rate of change equal to twice y is a differential equation.
term
One part of an expression, separated by plus or minus signs. Also, one number in a sequence.3x plus 2 has two terms.
sketch
Draw the general shape quickly. It need not be exact.Sketch the graph showing where it crosses the axes.
tangent
A ratio in a right-angled triangle: opposite over adjacent. Also, a line that touches a curve once.Tangent of 45 degrees is 1.
zero
The number 0. It is neither positive nor negative.5 minus 5 is zero.
predict
Say what you think will happen using the data.Predict the score for 5 hours of study.
hence
Using your last result.Hence find the area means use the previous answer.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for later in the lesson.

  1. The gradient at any point is given by dy/dx = 2x βˆ’ y. Work out the gradient at (3, βˆ’4).
    Answer

    2 Γ— 3 βˆ’ (βˆ’4) = 6 + 4 = 10. Take away y with its sign: subtracting a negative adds.

  2. Work out y(2 βˆ’ y) when y = 3, and when y = 1.
    Answer

    3 Γ— (2 βˆ’ 3) = 3 Γ— (βˆ’1) = βˆ’3, and 1 Γ— (2 βˆ’ 1) = 1. Do the bracket first, with its sign, then multiply.

  3. For which values of x is xΒ² βˆ’ 1 equal to zero?
    Answer

    xΒ² = 1, so x = 1 or x = βˆ’1. Both signs count, and a field made from this gradient is flat along two vertical lines.

  4. Differentiate y = xΒ² + c, where c is any constant. What does the c do to the answer?
    Answer

    2x. The constant disappears, so every curve in the family y = xΒ² + c has the same gradient at the same x. This is why a slope field shows a whole family of solutions at once.

Words used in this lesson
differential equation
an equation that gives the gradient dy/dx in terms of x and y. For example: dy/dx = x + y is a differential equation.
slope field
a picture of short dashes, each with the gradient the equation gives at that point. For example: a field of dashes that all lean the same way.
solution curve
a curve that is tangent to the dashes everywhere along it. For example: the path a boat takes following the arrows on a chart.
gradient
how steep a line is: the change in y for one step in x. For example: a gradient of 2 means up 2 for each 1 across.
constant solution
a solution where y never changes, so the gradient is zero. For example: y = 1 is a constant solution of dy/dx = y(1 βˆ’ y).
tangent
a line that just touches a curve and has the same direction there. For example: a ruler laid against a circle.
long-term behaviour
what happens after a very long time. For example: the population settles at 20.
approach
get closer and closer to. For example: the curve approaches the line y = 1 from below.
sketch
draw a quick diagram that shows the main features. For example: sketch the solution through (0, 1).
hence
use the result you have just found. For example: β€œfind the gradient and hence draw the dash” means use your gradient.

Predict first. Use the first equation, dy/dx = x βˆ’ y. A solution curve starts at the point (0, 2). Before you tap: will it be rising or falling at the start, and do you think it will ever turn round? Decide, and say what would make it turn.

Then check

Now tap the field at (0, 2) and follow the curve. Did it turn? Look at where it levels out, and ask what the gradient is at that moment. Compare what you see with what you predicted.

Higher Level

A differential equation gives you the gradient at every point, so draw a short dash with that gradient everywhere. Tap anywhere on the field and a solution curve will be traced through your point.

-3-2-1123-2-112tap anywhere to trace a solutiondy/dx = x βˆ’ y

Reading a field

Each dash shows the gradient a solution must have if it passes through that point. A solution curve is any curve that is tangent to the field everywhere along its length.

So you do not solve anything to sketch one. You put your pencil at the starting point and follow the dashes.

What to look for

In the fieldWhat it means
a row of horizontal dashesdy/dx = 0 there, so solutions flatten out
dashes all the same along a horizontal linethe gradient depends only on y
dashes all the same along a vertical linethe gradient depends only on x
curves bending towards one linethat line is the long-term behaviour

Solution curves never cross. Each point has exactly one gradient, so two curves meeting there would have to leave in the same direction, which makes them the same curve. Drop several in the field above and watch them crowd together without ever touching. (This holds wherever the equation gives a gradient, which is everywhere for the fields in this course except where a gradient is undefined, such as y = 0 in dy/dx = βˆ’x/y.)

The one that is worth recognising

For dy/dx = y(1 βˆ’ y), every curve that starts between y = 0 and y = 1 rises and flattens towards y = 1, and every curve that starts above y = 1 drops towards it. The dashes along y = 0 and y = 1 are perfectly horizontal, because those are the constant solutions. That is a logistic model, and its shape is the point: growth that levels off. (Below y = 0 the story is different; the question at the end of the lesson asks you to find out how.)

Not every constant solution pulls curves in. Whether nearby curves move towards a constant solution or away from it depends on the sign of the gradient just above and just below it, so always check both sides.

The rest of this lesson is in the full course

Still to come in this lesson:

  • A second example, finished by you
  • Check before you go on
  • Where it decides something
  • Your turn
  • and 3 more

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

IB Diploma plan: AI HL$99Every Diploma lesson in both courses and both levels, so a change of course never locks you out, and every lesson from Year 7 for the refreshers. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

AI HL Mock Exam Pack, $25BuyPlan $99