All revision notes topics

5.15 Slope fieldsIB Maths: Applications and Interpretation HL: Revision notes

Section 1

What a slope field shows

A slope field (direction field) for a first-order differential equation dydx=f(x,y)\frac{dy}{dx}=f(x,y) is a grid of short line segments. At each point (x,y)(x,y) the segment has the gradient f(x,y)f(x,y). Example: for dydx=x−y\frac{dy}{dx}=x-y, the segment at (3,1)(3,1) has gradient 3−1=23-1=2 and the segment at (0,1)(0,1) has gradient −1-1. A slope field lets you see the shape of solutions without solving the differential equation.

Key termsslope fieldgradient
Exam tip

Substitute both coordinates. The gradient usually depends on xx and yy.

Section 2

Reading and building a slope field

To use a slope field, substitute the coordinates of a point into dydx\frac{dy}{dx} to find the gradient there, then draw (or describe) the segment with that gradient: positive means rising, negative means falling, 00 means horizontal. To draw a slope field, work out the gradient at a grid of points, for example integer values of xx and yy, and draw a short segment through each point. Example: for dydx=xy\frac{dy}{dx}=\frac{x}{y} the gradient at (−3,6)(-3,6) is −12-\frac12.

Key termssegment
Common mistake

Using the gradient of the line joining the point to the origin. The gradient comes only from the differential equation.

Section 3

Isoclines, horizontal and vertical segments

An isocline is a curve on which all segments have the same gradient. Set f(x,y)=cf(x,y)=c for a constant cc. Horizontal segments occur where f(x,y)=0f(x,y)=0. For dydx=x−y\frac{dy}{dx}=x-y, that is the line y=xy=x. For dydx=x+y\frac{dy}{dx}=x+y, the segments on y=2−xy=2-x all have gradient 22, and those on y=−x−1y=-x-1 all have gradient −1-1. If f(x,y)f(x,y) is undefined, for example y=0y=0 in dydx=xy\frac{dy}{dx}=\frac{x}{y}, the segment is vertical or missing there.

Key termsisoclinehorizontal segment
Exam tip

To find where segments are parallel, set the right-hand side equal to a constant.

Section 4

Solution curves

A solution curve follows the segments: it is tangent to the segment at every point it passes through. The general solution is the whole family of such curves. An initial condition, such as passing through (0,1)(0,1), picks out one curve (the particular solution). Its tangent at the starting point has gradient f(0,1)f(0,1). Solution curves do not cross, because the slope field gives only one gradient at each point. If a line is itself a solution, for example y=−x−1y=-x-1 in dydx=x+y\frac{dy}{dx}=x+y, other curves stay on one side of it.

Key termssolution curveinitial condition
Exam tip

To sketch a solution curve, start at the given point and move so the curve follows the direction of nearby segments.

Section 5

Interpreting slope fields in context

For a model such as dPdt=0.2P(5−P)\frac{dP}{dt}=0.2P(5-P), horizontal segments at P=0P=0 and P=5P=5 show equilibrium values where the population is constant. Between P=0P=0 and P=5P=5 the gradient is positive, so the population increases. Above P=5P=5 the gradient is negative, so it decreases. Solution curves therefore move towards P=5P=5. At P=1P=1, dPdt=0.8\frac{dP}{dt}=0.8 hundred fish per year; at P=6P=6, dPdt=−1.2\frac{dP}{dt}=-1.2. State what happens in the long term, with units and context.

Key termsequilibrium
Common mistake

Describing the shape without the context. Say what happens to the population or temperature.

Section 6

Linking to analytic solutions

When the equation is separable, you can check a slope field against the exact solution. For dydx=xy\frac{dy}{dx}=\frac{x}{y}, separation gives y2=x2+Cy^2=x^2+C. With (1,2)(1,2): 4=1+C4=1+C, so C=3C=3 and y=x2+3y=\sqrt{x^2+3}. To show that a function is a solution, differentiate it and substitute it into the equation, as with y=ex−x−1y=e^x-x-1 for dydx=x+y\frac{dy}{dx}=x+y. Use a GDC to evaluate a solution at a value, for example y(2)=e2−3=4.39y(2)=e^2-3=4.39.

Key termsverify a solution
Exam tip

Check both parts: the differential equation and the initial condition.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on 5.15 Slope fields

  1. A slope field is drawn for the differential equation dydx=x−y\frac{dy}{dx}=x-y.
    A solution curve passes through the point (0,1)(0,1). Find the equation of the tangent to the solution curve at this point.2 marks
  2. A slope field is drawn for the differential equation dydx=xy\frac{dy}{dx}=\frac{x}{y}, for y≠0y\neq0.
    A solution curve passes through the point (1,2)(1,2). Use the gradient of the slope field at this point to estimate the value of yy on this curve when x=1.2x=1.2.2 marks
  3. The population PP, in hundreds, of fish in a lake at time tt years is modelled by dPdt=0.2P(5−P)\frac{dP}{dt}=0.2P(5-P) for P≥0P\ge0. A slope field is drawn for this differential equation.
    Find the values of PP at which the line segments are horizontal, and interpret your answer in context.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).