Educerie

Educerie · AP · Calculus

AP Calculus AB and BC 7.3

Sketching Slope Fields

What does a differential equation look like, and can you see its solutions without solving it?

What you will learn

  • Understand that a slope field shows the slope given by the equation at each point of a grid, drawn as short segments
  • Know how patterns in a field show whether the slope depends on x only, y only or both
  • Understand that an undefined slope gives a vertical segment or a blank, never a flat segment
  • Know how to match an equation to a field using flat lines, signs and one steep point

You must be able to

  1. Calculate the slope at each grid point for a given equation
  2. Sketch a slope field with correct sign and relative steepness
  3. Match a differential equation to a slope field
  4. Identify where slopes are zero, positive, negative or undefined
  5. State what the field shows about solution curves
  6. Recognize a slope that depends only on x or only on y

In the exam. Section I multiple choice: a slope field is drawn and you pick the differential equation that matches it, or an equation is given and you pick its field. Section II question 3 (shared by AB and BC) often asks you to sketch a slope field at a set of given points, usually with a table or a small grid. Common slips: a slope read at the wrong point, and segments drawn with the wrong steepness.

1How to sketch one

For dydx=x+y\frac{dy}{dx}=x+y, take the whole-number points with xx and yy from −2-2 to 22.

  1. Choose a point (x,y)(x,y).
  2. Substitute both coordinates into the equation to get its slope.
  3. Draw a short segment through the point with that slope. Center it on the point.
  4. Repeat for every point.

Work the slopes out first, in a table. The table below has xx across and yy down.

yy \ xx−2-2−1-1001122
220011223344
11−1-100112233
00−2-2−1-1001122
−1-1−3-3−2-2−1-10011
−2-2−4-4−3-3−2-2−1-100

Each entry is x+yx+y: the entry at x=1x=1, y=1y=1 is 22.

Figure 1. The slope field of dy/dx = x + y at the 25 points with whole-number coordinates from -2 to 2 dy/dx = x + y −2 −1 0 1 2 −2 −1 0 1 2 y x
Figure 1 · The slope field of dy ÷ dx = x + y at the 25 points with whole-number coordinates from -2 to 2

Read Figure 1 against the table. The three amber segments are examples.

  • At (1,1)(1,1) the slope is 22, so the segment is steep and rising.
  • At (−1,1)(-1,1) the slope is 00, so the segment is flat.
  • At (0,−2)(0,-2) the slope is −2-2, so the segment is steep and falling.

The steepness only needs to be about right. A slope of 22 is steeper than 11, and 11 is steeper than 12\frac12. A slope of 00 must be exactly flat and a large slope should look close to vertical. The reader checks sign and relative steepness.

2Reading steepness

Use these guides while sketching.

  • Slope 00: horizontal.
  • Slope 11: 45 degrees up to the right.
  • Slope −1-1: 45 degrees down to the right.
  • Slope 12\frac12: shallower than 45 degrees. Slope 22: steeper than 45 degrees.
  • Slope undefined: vertical.

Segments with the same slope are parallel. Two points with the same slope get parallel segments, wherever they are.

3Patterns in a slope field

The shape of the equation shows in the shape of the field. Figure 2 has two simple cases.

Figure 2. Left: dy/dx = x gives the same slopes all the way up each column. Right: dy/dx = y gives the same slopes all the way along each row (a) dy/dx = x −2 −1 0 1 2 −2 −1 0 1 2 y x Figure 2. Left: dy/dx = x gives the same slopes all the way up each column. Right: dy/dx = y gives the same slopes all the way along each row (b) dy/dx = y −2 −1 0 1 2 −2 −1 0 1 2 y x
Figure 2 · Left: dy ÷ dx = x gives the same slopes all the way up each column. Right: dy ÷ dx = y gives the same slopes all the way along each row
  • dydx\frac{dy}{dx} depends on xx only. Every segment in a column is parallel. Going up or down a column changes nothing. In Figure 2(a) the slope at x=2x=2 is 22 at every height.
  • dydx\frac{dy}{dx} depends on yy only. Every segment in a row is parallel. Going along a row changes nothing. In Figure 2(b) the slope at y=−2y=-2 is −2-2 at every xx.
  • dydx\frac{dy}{dx} depends on both. The field changes in both directions, as in Figure 1.

Other features to look for:

  • A line of flat segments. In Figure 2(b), dydx=y\frac{dy}{dx}=y is zero along the whole xx-axis. A horizontal row of flat segments tells you that a horizontal line there is a solution.
  • Sign by region. If the equation is dydx=xy\frac{dy}{dx}=xy, the slope is positive where xx and yy have the same sign (quadrants one and three) and negative where they differ.

4Undefined slopes

The equation dydx=xy\frac{dy}{dx}=\frac{x}{y} cannot be evaluated where y=0y=0. The slope is undefined at every point on the xx-axis.

Figure 3. The slope field of dy/dx = x over y. On the x-axis the slope is undefined, so the segments there are vertical and the origin is left empty dy/dx = x/y −2 −1 0 1 2 −2 −1 0 1 2 y x
Figure 3 · The slope field of dy ÷ dx = x over y. On the x-axis the slope is undefined, so the segments there are vertical and the origin is left empty

At the points (1,0)(1,0), (2,0)(2,0) and so on, the numerator is not zero and the denominator is, so the slope is infinite and the segment is vertical. The origin (0,0)(0,0) is 00\frac{0}{0}, and no segment is drawn.

Show such a point as a vertical segment, or leave it blank if the question says so. Either way, do not draw a flat segment where the equation is undefined.

5Matching an equation to a field

When a picture is given and you choose the equation, do not test every point. Use the features.

  1. Look for a line of flat segments. Check which equations are zero along that line.
  2. Look for vertical segments. Which equations have a denominator that is zero there?
  3. Check the sign in each quadrant. Test one point.
  4. Check one steep point. Substitute one coordinate pair that separates two options.

Worked example 1. A slope field has flat segments at every point of the xx-axis and at every point of the yy-axis. Which of dydx=x+y\frac{dy}{dx}=x+y, dydx=xy\frac{dy}{dx}=xy, dydx=x−y\frac{dy}{dx}=x-y fits?

The slope is zero at (0,y)(0,y) for every yy, and at (x,0)(x,0) for every xx. For x+yx+y, the slope at (0,1)(0,1) is 11, not zero. For x−yx-y, the slope at (0,1)(0,1) is −1-1. Only xyxy is zero on both axes, since a zero factor makes the product zero. The answer is dydx=xy\frac{dy}{dx}=xy.

Worked example 2. A field has parallel segments up each column and the slope at x=2x=2 is steeper than at x=1x=1. Which equation fits, dydx=x2\frac{dy}{dx}=x^2 or dydx=y2\frac{dy}{dx}=y^2?

Parallel segments up each column means that the slope does not depend on yy. So dydx=x2\frac{dy}{dx}=x^2.

6What a field says about solutions

A solution to a differential equation is a function. The slope field is a guide to how its graph travels.

  • A solution curve follows the segments. At each point on its path the curve is tangent to the segment there.
  • Through every point on the grid, a curve can be drawn, and each such curve is a different solution. There are infinitely many solutions.
  • The field shows the whole family at once. Topic 7.4 shows you how to sketch a curve through a given point.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.