interpreting slope fields: ap calculus exam review

slope fields show up on both the ap calculus ab and bc tests. while at first this topic might seem daunting, the questions on the test are actually quite straightforward. just keep one thing in mind: go with the flow!

wavy slope fields
a slope field shows the direction of flow for solutions to a differential equation.

what is a slope field?

a slope field is a visual representation of a differential equation of the form dy/dx = f(x, y). at each sample point (x, y), there is a small line segment whose slope equals the value of f(x, y).

that is, each segment on the graph is a representation of the value of dy/dx. (check out ap calculus review: differential equations for more about differential equations on the ap calculus exams.)

because each segment has slope equal to the derivative value, you can think of the segments as small pieces of tangent lines. any curve that follows the flow suggested by the directions of the segments is a solution to the differential equation.

flows in a slope field each curve represents a particular solution to a differential equation.

example — building a slope field

consider the differential equation dy/dx = xy. let’s sketch a slope field for this equation. although it takes some time to do it, the best way to understand what a slope field does is to construct one from scratch.

first of all, we need to decide on our sample points. for our purposes, i’m going to choose points within the window [-2, 2] × [-2, 2], and we’ll sample points in increments of 1. just keep in mind that the window could be anything, and increments are generally smaller than 1 in practice.

now plug in each sample point (x, y) into the (multivariable) function xy. we will keep track of the work in a table.

xy x = -2 x = -1 x = 0 x = 1 x = 2
y = 2 -2 – 2 = -4 -1 – 2 = -3 0 – 2 = -2 1 – 2 = -1 2 – 2 = 0
y = 1 -2 – 1 = -3 -1 – 1 = -2 0 – 1 = -1 1 – 1 = 0 2 – 1 = 1
y = 0 -2 – 0 = -2 -1 – 0 = -1 0 – 0 = 0 1 – 0 = 1 2 – 0 = 2
y = -1 -2 – (-1) = -1 -1 – (-1) = 0 0 – (-1) = 1 1 – (-1) = 2 2 – (-1) = 3
y = -2 -2 – (-2) = 0 -1 – (-2) = 1 0 – (-2) = 2 1 – (-2) = 3 2 – (-2) = 4

ok, now let’s draw the slope field. remember, the values in the table above represent slopes — positive slopes mean go up; negative ones mean go down; and zero slopes are horizontal.

slope field for x-y

spend some time matching each slope value from the table with its respective segment on the graph.

it’s important to realize that this is just a sketch. a more accurate picture would result from sampling many more points. for example, here is a slope field for dy/dx = xy generated by a computer algebra system. the viewing window is the same, but now there are 400 sample points (rather than the paltry 25 samples in the first graph).

slope field for dy/dx = x - y slope field for dy/dx = xy

analyzing slope fields

now let’s get down to the heart of the matter. what do i need to know about slope fields on the ap calculus ab or bc exams?

you’ll need to master these basic skills:

  • given a slope field, select the differential equation that best matches it.
  • given a slope field, estimate values of a solution with given initial condition.
  • sketch a slope field on indicated sample points, from a given differential equation.

we’ve already seen above how to sketch a slope field, so let’s get some practice with the first two skills in the list instead.

sample problem 1

slope field for problem 1

the slope field shown above corresponds to which of the following differential equations.

  a. dy/dx = y2

  b. dy/dx = sin y

  c. dy/dx = -sin y

  d. dy/dx = sin x

solution

look for the clues. the segments have the same slopes in any given row (left to right across the graph). therefore, since the slopes do not change with respect to x, we can assume that dy/dx is a function of y alone. that eliminates choice d.

the horizontal segments occur when y = 0, π, and -π. however, the only point at which y2 equals 0 is y = 0 (not π or -π). that narrows it down to a choice between b and c.

finally, notice that slopes are positive when 0 < y < π and negative when -π < y < 0. this pattern corresponds to the values of sin y. (the signs are opposite for -sin y, ruling out choice c).

the correct choice is b.

sample problem 2

suppose y = f(x) is a particular solution to the differential equation dy/dx = xy such that f(0) = 0. use the slope field shown earlier to estimate the value of f(2).

  a. -2.5

  b. -1.3

  c. 0.2

  d. 1.1

solution

because f(0) = 0, the solution curve must begin at (0, 0). then sketch the curve carefully following the directions of the segments. it helps to imagine that the segments are showing the currents in a river. your solution should be like a raft carried along by the currents.

solution curve in a slope field

then find the approximate value of f(2) on your solution curve.

the best choice from among the answers is: d. 1.1.

slope fields and euler’s method

often if you see a slope field problem in the free response section of the exam, one part of the problem might be to use euler’s method to estimate a value of a solution curve.

while the slope field itself can be used to estimate solutions, euler’s method is much more precise and does not rely on the visual representation. check out this review article for practice using the method: ap calculus bc review: euler’s method.

summary

  • slope fields are visual representations of differential equations of the form dy/dx = f(x, y).
  • at each sample point of a slope field, there is a segment having slope equal to the value of dy/dx.
  • any curve that follows the flow suggested by the directions of the segments is a solution to the differential equation.

author

  • shaun ault

    shaun earned his ph. d. in mathematics from the ohio state university in 2008 (go bucks!!). he received his ba in mathematics with a minor in computer science from oberlin college in 2002. in addition, shaun earned a b. mus. from the oberlin conservatory in the same year, with a major in music composition. shaun still loves music — almost as much as math! — and he (thinks he) can play piano, guitar, and bass. shaun has taught and tutored students in mathematics for about a decade, and hopes his experience can help you to succeed!

more from magoosh