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!
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.
each curve represents a particular solution to a differential equation.
example — building a slope field
consider the differential equation dy/dx = x – y. 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 x – y. we will keep track of the work in a table.
x – y | 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.
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 = x – y 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
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
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 = x – y 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.
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.
leave a reply