DP Math AI · HL · Calculus

AHL 5.15—Slope fields

Get started
Notes

What is a Slope Field?

Slope Field: A slope field (also called a direction field) is a graphical representation of a first-order differential equation dxdy​=f(x,y). At each point (x,y) in the plane, a short line segment is drawn with slope equal to f(x,y), giving a visual picture of how solution curves behave , without actually solving the equation.

Slope fields are one of the most powerful qualitative tools in the study of differential equations. Rather than finding an explicit formula for y, we can see how solutions behave across the entire plane at a glance.

Key features of a slope field:

  • It consists of short line segments plotted at a grid of points (x,y).
  • Each segment's gradient (slope) equals the value of f(x,y) at that point.
  • Together, the segments reveal the flow of solution curves , where they rise, fall, level off, or converge.
Analogy

Think of a slope field like a weather map showing wind direction. Each arrow (or segment) tells you which way the "flow" is heading at that location. If you released a leaf into the flow, it would trace out a solution curve , following the local direction at every point.

Constructing a Slope Field

To construct a slope field for dxdy​=f(x,y):

  1. Choose a grid of points (x,y) across the region of interest.
  2. For each point, evaluate f(x,y) to find the slope at that point.
  3. Draw a short line segment through that point with the calculated slope.
  4. Repeat across the entire grid.
Example

Constructing part of the slope field for dxdy​=x−y

Evaluate f(x,y)=x−y at selected points:

Point (x,y)Slope =x−ySegment direction
(0,0)0−0=0Horizontal
(1,0)1−0=1Slopes upward
(0,1)0−1=−1Slopes downward
(2,1)2−1=1Slopes upward
(1,3)1−3=−2Steeply downward
(−1,−1)−1−(−1)=0Horizontal

Notice that slopes are zero along the line y=x, positive where x>y, and negative where x<y. This gives you an immediate structural insight into the equation before solving anything.

Exam Tip

When constructing a slope field by hand in an exam, you only need to evaluate and plot a representative sample of points , usually 8–15 is sufficient to reveal the pattern. Focus on points along the axes, along any zero-slope curves, and in each "region" of the plane.

Free preview

10 more sections in this topic

← Previous topicAHL 5.14—Setting up a DE, solve by separating variablesNext topic →AHL 5.16—Eulers method for 1st order DEs
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.