Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Applications and Interpretation
  3. ›5 Calculus
  4. ›5.15 Slope fields

IB Mathematics: Applications and Interpretation · Topic 5 · Calculus

5.15 Slope fields

Draw slope fields for simple differential equations, and use them to sketch solution curves and see families of solutions.

  • 3 min read
  • 5 parts
  • 10 questions
  • Draft
  • HL only
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A differential equation gives a slope at every point
  1. 1A differential equation gives a slope at every point
  2. 2Each segment comes from substituting one grid point
  3. 3Patterns in the equation show patterns in the field
  4. 4A solution curve follows the segments through a point
  5. 5Different starting points give a family of solution curves
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A differential equation gives a slope at every point

Imagine standing on a hillside. At each spot the ground has a gradient. A differential equation does the same for a graph.

For dydx=x+y\frac{dy}{dx}=x+ydxdy​=x+y, the point (1,2)(1,2)(1,2) gives dydx=3\frac{dy}{dx}=3dxdy​=3. This number is the slope at that point.

A slope field draws a short segment with that slope at many points. Together the segments show the direction a solution curve takes at each place.

The field depends only on the equation. It needs no starting point, so one field serves every solution of that equation.

Key terms · tap one for its definition

slope

The slope at a point is the value of dydx\frac{dy}{dx}dxdy​ evaluated at that point.

slope field

A slope field is a collection of short segments showing slopes specified by a differential equation at selected points.

Part 1 done

2

Part 2 of 5: Each segment comes from substituting one grid point

Drawing a slope field is a repeated routine. Choose a grid of points, often with whole-number values of xxx and yyy.

  • Pick a grid point (x,y)(x,y)(x,y).
  • Substitute it into the right-hand side.
  • Draw a short segment with that gradient, centred on the point.
  • Repeat across the grid.

Worked example

Finding slopes

For dydx=x−y\frac{dy}{dx}=x-ydxdy​=x−y, find the slope at (0,0)(0,0)(0,0), (2,1)(2,1)(2,1) and (1,3)(1,3)(1,3).
  1. 1
    At (0,0)(0,0)(0,0): 0−0=00-0=00−0=0.
  2. 2
    At (2,1)(2,1)(2,1): 2−1=12-1=12−1=1.
  3. 3
    At (1,3)(1,3)(1,3): 1−3=−21-3=-21−3=−2.

Answer: The slopes are 0, 1 and -2: a horizontal segment, a rising one and a falling one.

A positive slope rises from left to right. A negative slope falls, and zero gives a horizontal segment.

A grid with spacing 1 is enough for most questions. A small table of xxx, yyy and slope keeps the values tidy.

Part 2 done

Quick check

One question on the part you just read

Easy

Calculate the slope at (3,1)(3,1)(3,1) for dydx=x−y\frac{dy}{dx}=x-ydxdy​=x−y.
Show answer and explanation

Answer: B · Worked explanation

Substitute x=3x=3x=3 and y=1y=1y=1: 3−1=23-1=23−1=2. The value 4 comes from adding the coordinates, and -2 comes from subtracting in the wrong order. Always substitute both coordinates into the right-hand side, keeping the order of subtraction the same as in the equation. Here the resulting slope is positive, so the segment rises to the right.
3

Part 3 of 5: Patterns in the equation show patterns in the field

Many fields have clear patterns. Spotting them saves time and reduces errors.

Patterns in slope fields

Right-hand sidePattern in the field
depends only on xxxsame slope along each vertical line
depends only on yyysame slope along each horizontal line
a constantparallel segments everywhere
equals zero on a curvehorizontal segments along that curve
Right-hand side
depends only on xxx
Pattern in the field
same slope along each vertical line
Right-hand side
depends only on yyy
Pattern in the field
same slope along each horizontal line
Right-hand side
a constant
Pattern in the field
parallel segments everywhere
Right-hand side
equals zero on a curve
Pattern in the field
horizontal segments along that curve

Equal slopes along a line appear as identical segments in a row. Checking one row of the field catches most errors.

The pattern also works in reverse. If every row of a field repeats the same segments, the right-hand side probably depends on yyy only.

For dydx=x(y−2)\frac{dy}{dx}=x(y-2)dxdy​=x(y−2), the right-hand side is zero when x=0x=0x=0 or y=2y=2y=2. The segments are horizontal on both lines.

Common mistake

Segment length carries no meaning. A steep slope is drawn at the same length as a gentle one.

Part 3 done

4

Part 4 of 5: A solution curve follows the segments through a point

Once the field is drawn, you can sketch curves on it. A solution curve starts at a given point and follows the segments.

Start at the initial point. Move right, keeping the curve touching nearby segments at the same angle. Then move left from the same point in the same way.

In the figure, dydx=y\frac{dy}{dx}=ydxdy​=y and the curve passes through (0,1)(0,1)(0,1). Between grid points, estimate the direction from the nearest segments.

Where the segments change quickly, move in small pieces. The curve should look smooth, with no corners.

Figure 1. Segments are flat along y = 0 and steepen as y moves away from zero. The solution curve through (0, 1) follows them.

Key term

solution curve

A solution curve graphs a function whose derivative matches the assigned slope at every point on its path.

Part 4 done

Quick check

One question on the part you just read

Easy

State what each short segment in a slope field shows.
Show answer and explanation

Answer: A · Worked explanation

Each segment has the gradient given by dydx\frac{dy}{dx}dxdy​ at its grid point. It does not show the value of yyy, which is read from the position of the point rather than from the segment. The position of the point tells you the input and output values, while the segment tells you only the direction a solution curve takes there.
5

Part 5 of 5: Different starting points give a family of solution curves

Change the starting point and the curve changes, but the field stays the same. Together the curves form a family.

For dydx=y\frac{dy}{dx}=ydxdy​=y, the segments are horizontal along y=0y=0y=0. That line is itself a solution curve, since its slope is zero everywhere on it.

Above it, curves rise ever more steeply as xxx increases. Below it, they fall away more steeply. The family is y=Cexy=Ce^{x}y=Cex, since the derivative of CexCe^{x}Cex is CexCe^{x}Cex.

Two solution curves never cross, because each point has only one slope. When the right-hand side depends only on xxx, as in dydx=2x\frac{dy}{dx}=2xdxdy​=2x, the curves y=x2+Cy=x^2+Cy=x2+C are vertical shifts of one another.

Exam tip

To predict long-term behaviour, say what the curve does as xxx increases and as xxx decreases.

Note read

Check your recall[14 marks]

5 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Describe[4 marks]

    Describe how to draw a slope field for dydx=f(x,y)\frac{dy}{dx}=f(x,y)dxdy​=f(x,y).

    Show mark schemeHide mark scheme

    Model answer

    Choose a grid of points. At each point substitute its xxx and yyy values into f(x,y)f(x,y)f(x,y) to find the slope. Draw a short segment with that slope centred on the point. Repeat for every grid point.

    • 1 mark for choosing a grid of points
    • 1 mark for substituting the coordinates of each point into the right-hand side
    • 1 mark for drawing a short segment with the calculated gradient at each point
    • 1 mark for repeating across the whole grid
  2. 2.Calculate[2 marks]

    For dydx=x−2y\frac{dy}{dx}=x-2ydxdy​=x−2y, calculate the slope at (3,1)(3,1)(3,1) and at (0,2)(0,2)(0,2).

    Show mark schemeHide mark scheme

    Model answer

    At (3,1)(3,1)(3,1): 3−2=13-2=13−2=1. At (0,2)(0,2)(0,2): 0−4=−40-4=-40−4=−4.

    • 1 mark for slope 1 at (3,1)(3,1)(3,1)
    • 1 mark for slope -4 at (0,2)(0,2)(0,2)
  3. 3.Explain[2 marks]

    Explain why, for dydx=x2\frac{dy}{dx}=x^2dxdy​=x2, all segments on a vertical line have the same slope.

    Show mark schemeHide mark scheme

    Model answer

    The right-hand side depends only on xxx. Every point on a vertical line has the same xxx value, so the calculated slope is the same.

    • 1 mark for stating that the slope depends only on xxx
    • 1 mark for explaining that points on a vertical line share the same xxx value
  4. 4.Describe[3 marks]

    Describe how to sketch a solution curve through a given point on a slope field.

    Show mark schemeHide mark scheme

    Model answer

    Start at the given point. Draw the curve to the right, keeping it touching nearby segments at the same angle. Repeat to the left from the same point.

    • 1 mark for starting at the given point
    • 1 mark for following the direction of nearby segments to the right
    • 1 mark for continuing to the left from the same point
  5. 5.Deduce[3 marks]

    The slope field of dydx=y\frac{dy}{dx}=ydxdy​=y has horizontal segments along y=0y=0y=0. Deduce what this shows about the line y=0y=0y=0, and why no other solution curve crosses it.

    Show mark schemeHide mark scheme

    Model answer

    The line y=0y=0y=0 has slope zero, matching the horizontal segments, so it is a solution curve. Each point has only one slope, so two solution curves cannot cross there.

    • 1 mark for stating that y=0y=0y=0 is a solution curve
    • 1 mark for linking this to the zero slope matching the horizontal segments
    • 1 mark for stating that each point has only one slope, so curves cannot cross

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·State[1 mark]

For dydx=x\frac{dy}{dx}=xdxdy​=x, state the slopes of the segments at (2,−5)(2,-5)(2,−5), (2,0)(2,0)(2,0) and (2,4)(2,4)(2,4).
Show answer and explanation

Answer: C · Worked explanation

The right-hand side depends only on xxx, and all three points have x=2x=2x=2. So each slope is 2. The values -5, 0 and 4 are the yyy values, which do not affect this equation. This is why the segments along any vertical line are parallel for an equation like this.
4.

Medium·Calculate[1 mark]

Calculate the slope at (2,5)(2,5)(2,5) for dydx=3x−2y\frac{dy}{dx}=3x-2ydxdy​=3x−2y.
Show answer and explanation

Answer: B · Worked explanation

Substitute: 3(2)−2(5)=6−10=−43(2)-2(5)=6-10=-43(2)−2(5)=6−10=−4. The value 16 comes from adding 6 and 10 instead of subtracting, and -1 comes from forgetting to double yyy. Take care with the order of operations: multiply first, then subtract. The negative slope means the segment falls from left to right.
5.

Medium·Determine[1 mark]

For dydx=x(y−2)\frac{dy}{dx}=x(y-2)dxdy​=x(y−2), determine where the segments are horizontal.
Show answer and explanation

Answer: D · Worked explanation

A segment is horizontal when the slope is zero, so x(y−2)=0x(y-2)=0x(y−2)=0. This gives x=0x=0x=0 or y=2y=2y=2, and each is a whole line. Only the point (0,2)(0,2)(0,2) lies on both lines, so it is not the full answer. Solving for zero slope is the quickest way to find horizontal segments.
6.

Medium·Predict[2 marks]

The slope field of dydx=y\frac{dy}{dx}=ydxdy​=y has solution curve through (0,3)(0,3)(0,3). Predict its behaviour as xxx increases.
Show answer and explanation

Answer: B · Worked explanation

Above y=0y=0y=0 the slope equals yyy, which is positive, and it grows as the curve rises. So the curve climbs ever more steeply. It cannot level off at y=3y=3y=3 because the slope there is 3, not zero. The curve is y=3exy=3e^{x}y=3ex, which confirms this: its slope 3ex3e^{x}3ex keeps growing.
7.

Medium·Identify[1 mark]

A slope field has parallel segments of slope 2 everywhere. Identify the family of solution curves.
Show answer and explanation

Answer: D · Worked explanation

Constant slope 2 means dydx=2\frac{dy}{dx}=2dxdy​=2, so y=2x+Cy=2x+Cy=2x+C. These are parallel lines. The curves that steepen belong to a slope that grows, such as dydx=y\frac{dy}{dx}=ydxdy​=y. Integrating dydx=2\frac{dy}{dx}=2dxdy​=2 confirms this, giving y=2x+Cy=2x+Cy=2x+C with a different intercept for each curve. Each value of CCC gives one line.
8.

Hard·Explain[2 marks]

Explain why two different solution curves cannot cross at a point of a slope field.
Show answer and explanation

Answer: B · Worked explanation

The differential equation gives a single slope at each point. Two curves meeting there would need two different directions, or the same direction and so the same curve. Solution curves are not always parallel, since for example those of dydx=y\frac{dy}{dx}=ydxdy​=y steepen at different rates.
9.

Hard·Deduce[2 marks]

Deduce which straight line is a solution curve of dydx=y−x\frac{dy}{dx}=y-xdxdy​=y−x.
Show answer and explanation

Answer: B · Worked explanation

On y=x+1y=x+1y=x+1, y−x=1y-x=1y−x=1, which equals the gradient of the line, so the line follows the segments. On y=xy=xy=x, the equation gives slope 0 but the line has slope 1. On y=x−1y=x-1y=x−1, the equation gives -1, again not matching. The same check works for any straight line: compare its gradient with the right-hand side along the line.
10.

Hard·Deduce[2 marks]

The slope field of dydx=3x2\frac{dy}{dx}=3x^2dxdy​=3x2 is drawn. Deduce a true statement about its solution curves.
Show answer and explanation

Answer: A · Worked explanation

The slope depends only on xxx, so the slopes are equal along each vertical line. Curves of the form y=x3+Cy=x^3+Cy=x3+C then differ only by a vertical shift. They cannot all pass through the origin because CCC changes. Different values of CCC move the curve up or down without changing its slope at any given xxx.

Keep going

Next topic5.16 Euler's methodPrevious topic5.14 Setting up differential equations

More in Topic 5 · Calculus

  1. 5.10Second derivativesNotes · 10 questions· HL only
  2. 5.11Further integrationNotes · 10 questions· HL only
  3. 5.12Areas and volumes of revolutionNotes · 10 questions· HL only
  4. 5.13KinematicsNotes · 10 questions· HL only
  5. 5.14Setting up differential equationsNotes · 10 questions· HL only
  6. 5.15Slope fieldsNotes · 10 questions· HL only
  7. 5.16Euler's methodNotes · 10 questions· HL only
  8. 5.17Phase portraitsNotes · 10 questions· HL only
  9. 5.18Second-order differential equationsNotes · 10 questions· HL only

All IB Mathematics: Applications and Interpretation topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1A differential equation gives a slope at every point
  2. 2Each segment comes from substituting one grid point
  3. 3Patterns in the equation show patterns in the field
  4. 4A solution curve follows the segments through a point
  5. 5Different starting points give a family of solution curves
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe