AP Calculus AB · Topic 7.3 · Reading guide, about 4 min

Drawing slope fields by hand

Build a slope field by evaluating dy/dx at grid points and drawing short segments; read patterns in rows and columns.

In one minute

A slope field is a picture of a differential equation. At each point of a grid you draw a tiny line segment whose slope is whatever dydx\frac{dy}{dx} says at that point. You never solve anything, yet the finished picture shows the shape of every solution.

The skill here is mechanical and exact: evaluate the equation at a point, turn the number into a slope, and draw it. Doing it by hand for a handful of points builds the intuition you need to read a field quickly.

Key terms

Slope field
A grid of short segments, each having the slope given by dydx=f(x,y)\frac{dy}{dx}=f(x,y) at its location.
Grid point
A point (x,y)(x,y) where you evaluate the equation and draw a segment.
Segment slope
The value of dydx\frac{dy}{dx} at that point: positive rises to the right, negative falls, zero is flat, large size is steep.
Horizontal segment
A segment of slope 0, found where dydx=0\frac{dy}{dx}=0.
Vertical segment
A segment drawn where dydx\frac{dy}{dx} is undefined because the denominator is zero while the numerator is not. If both are zero, no segment is drawn.
Isocline
A curve along which the slope is constant, for example the line y=xy=x for the equation dydx=x−y\frac{dy}{dx}=x-y, where all slopes are 0.
Solution curve
A curve that is tangent to the segment at every point it passes through.

Drawing one segment

Pick a grid point such as (2, 1)(2,\,1) and substitute into the right side of the equation. For dydx=x−y\frac{dy}{dx}=x-y you get 2−1=12-1=1. The segment at (2, 1)(2,\,1) has slope 1: it rises one unit for each unit to the right. Draw a short segment through the point at that angle, centered on the point.

The segment need only be short. What matters is its direction. A slope of 2 should look twice as steep as a slope of 1, and a negative slope should lean the other way. A slope of 0 is a flat dash.

The equation gives a slope at every point, but you draw only the grid points you are given. Do not read the space between segments as having no slope. The curve exists there, you are just not drawing it.

Worked example: the field of dy/dx = x - y

Compute the slope at each of the nine grid points with xx and yy each equal to −1-1, 00 or 11.

For each point, subtract y from x. At x=−1x=-1: y=−1y=-1 gives −1−(−1)=0-1-(-1)=0; y=0y=0 gives −1-1; y=1y=1 gives −2-2. At x=0x=0: y=−1y=-1 gives 11; y=0y=0 gives 00; y=1y=1 gives −1-1. At x=1x=1: y=−1y=-1 gives 22; y=0y=0 gives 11; y=1y=1 gives 00.

Then draw: flat dashes at (−1,−1)(-1,-1), (0,0)(0,0) and (1,1)(1,1); a gentle fall at (−1,0)(-1,0) and (0,1)(0,1) (slope -1); a steep fall at (−1,1)(-1,1) (slope -2); a gentle rise at (0,−1)(0,-1) and (1,0)(1,0) (slope 1); a steep rise at (1,−1)(1,-1) (slope 2).

Slopes of dy/dx = x - y at the nine grid points
y = -1y = 0y = 1
x = -10-1-2
x = 010-1
x = 1210

Reading patterns before you draw

Check the diagonal first: the slopes are zero at (−1,−1)(-1,-1), (0,0)(0,0) and (1,1)(1,1). They are all on the line y=xy=x, because x−y=0x-y=0 exactly when y=xy=x. Segments along that line are flat. Above the line (y larger), x−y<0x-y< 0 so slopes are negative. Below the line they are positive. This is the whole picture in one sentence.

Look for two shortcuts. If the equation involves only x, such as dydx=x\frac{dy}{dx}=x, then the slope depends only on the column: every segment in a vertical column is parallel. If it involves only y, such as dydx=y\frac{dy}{dx}=y, the slope depends only on the row: segments in a horizontal row are parallel. Spotting this lets you draw a whole row or column from one calculation.

Horizontal segments occur wherever the equation equals zero. For dydx=y(y−3)\frac{dy}{dx}=y(y-3) that is the rows y=0y=0 and y=3y=3, so the field is flat in two entire rows. These rows are also constant solutions.

When a point makes the denominator zero but not the numerator, as in dydx=xy\frac{dy}{dx}=\frac{x}{y} at points with y=0y=0 and x≠0x\neq0, the slope is undefined and the segment is drawn vertical. At (0, 0)(0,\,0) both are zero, so 00\frac{0}{0} gives no direction at all, and no segment is drawn there.

Common patterns
Equation formPattern in the fieldExample
Only x appearsSame slope down each columndydx=x\frac{dy}{dx}=x
Only y appearsSame slope across each rowdydx=y\frac{dy}{dx}=y
A product of factorsFlat wherever any factor is 0 (for xy, along both axes)dydx=xy\frac{dy}{dx}=xy
Denominator contains yVertical segments where y = 0 (none at the origin, where it is 0/0)dydx=xy\frac{dy}{dx}=\frac{x}{y}

How it connects

  • Back to 7.1: the equation you draw may be one you wrote from a verbal rate.
  • Forward to 7.4: you will follow the segments to sketch solution curves and match fields to equations.
  • Forward to 7.6: the algebra solution of a separable equation gives the curves that a field hints at.

Common mistakes

  • Swapping x and y. The first coordinate is x. Substitute in the right order, especially in x−yx-y.
  • Using the value of y instead of the slope. The segment slope is dydx\frac{dy}{dx}, not the y-coordinate.
  • Drawing slopes of the wrong steepness. A slope of 2 is steeper than 1, and a slope of 0.5 is gentler.
  • Assuming a whole row is parallel when the equation has x in it. Only an equation with no x gives equal slopes along a row.

How it shows up on the exam

  • A free-response part gives a differential equation and asks you to sketch segments at specified points on a printed grid.
  • A multiple-choice item shows a slope field and asks which equation produced it, which you answer by checking slopes at a few points.
  • A table of slopes at selected points is requested to be completed.

Check yourself

  1. For dydx=y−2\frac{dy}{dx}=y-2, which row has horizontal segments, and are slopes above that row positive or negative?
  2. What slope does dydx=x+y\frac{dy}{dx}=x+y give at (−3, 1)(-3,\,1)?
  3. Why can you draw a whole column of the field of dydx=x2\frac{dy}{dx}=x^2 from one calculation?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.