Kim’s Math NotesCourse index

Sketching Slope Fields

What slope should I draw at each point in a slope field?

Sketch a slope field from a differential equation and match a slope field to its equation, using rows, columns, flat segments, and signs.

Slope, not height

Common mistake dydx=y at (1,2): draw a point at height 2.

Correction At (1,2) draw a short segment with slope 2, through (1,2).

Columns, not rows

Common mistake dydx=x: the segments are alike along each row.

Correction Only x appears, so each column (same x) has parallel segments.

A slope at each point

First idea: a slope at each point. Take d y d x equals x minus y, and the point two, one. Plug it straight in: x is two, y is one. Two minus one is one. If a solution's graph passes through two, one, its slope right there is one.

That's what we'll draw: a little signpost for that spot.

Watch this part of the concept lesson

Read the rest of this scene

And the y you plugged in? It's just the height of the point, one. That's the solution's value right there. So right on the dot two, one, not above it, not below it, draw a short segment with slope one. Now the row y equals zero.

At x equals zero, zero minus zero is zero: flat. At x equals one, the slope is one. At x equals two, it's two: still uphill, just steeper. And you don't need a protractor. Zero is flat, plus goes up, minus goes down, and two looks steeper than one.

Next, the row y equals one. At x equals zero, the slope is negative one, tilting down. At x equals one, it's zero. Two, one is already there. Then the row y equals two.

At x equals zero, it's negative two, even steeper down. At x equals one, negative one. At x equals two, zero. Be honest. When you hear negative two, does your pen want to drop to y equals negative two? No. Negative two is a slope, not a height.

The segment sits right on zero, two, tilted down. Put a short segment at every point, each with the slope the equation gives there. This picture is called a slope field.

Reading a slope field fast

Now let's read a slope field fast, without computing every point. Here's a wider view of the same slope field. On the line y equals x, x minus y is zero, so every segment there is flat. On the line y equals x minus one, x minus the quantity x minus one is one, so every segment there has slope one, from one end of the line to the other. Wherever x minus y has the same value, the slopes are the same, all along that line.

Watch this part of the concept lesson

Only x? Only y?

Now d y d x equals x. No y anywhere, so the height can't change the slope. At x equals negative one, every slope is negative one. At x equals zero, they're all flat. At x equals one, they're all one, so each column is the same all the way up.

So lock this in.

Watch this part of the concept lesson

Read the rest of this scene

If only x is in the equation, each column is the same all the way up. If only y is in it, each row is the same all the way across. AP-style questions can ask you to sketch a slope field at given points, or to match one to its equation. There's no solving needed.

Example 1: nine points

Example one. The differential equation is d y d x equals x times the quantity y minus one. Sketch the slope field at the nine points, x equals negative one, zero, one, and y equals zero, one, two. Here's an empty grid with nine points. The plan: one row at a time. Plug in y first.

Every point in a row shares the same y, so the equation gets simpler along that row. Start with the easiest row, y equals one: x times zero is zero, whatever x is.

Watch this part of the concept lesson

Read the rest of this scene

All three segments are flat. In row y equals zero, we get x times the quantity zero minus one, which is x times negative one, negative x. Watch that minus sign. At negative one, the slope is one. At zero, zero.

At one, negative one. In row y equals two, it's x times one, just x. At negative one, negative one. At zero, zero. At one, one.

The slopes are the x values themselves. That's nine points, with no guessing. In your workbook too, do the rows first: plug in y, then read each point.

Where points go missing: the sign

There's one slip to watch here: the sign. This is where people lose points. This one is easy to write. In row y equals zero, it's tempting to write x times the quantity zero minus one as plain x. The sign is lost, so at x equals negative one and one the segments tilt the wrong way.

Only the middle one, at zero, stays flat.

Watch this part of the concept lesson

Read the rest of this scene

This time, keep the sign. x times negative one is negative x: one, zero, negative one.

Example 2: which equation?

Example two. Here's a slope field and four equations. Which differential equation does it show? The slope field stays up. The plan: rows or columns alike, then the flat row, then one sign. Look along any row: every segment in it is the same, all the way across.

So here the slope doesn't change as x changes. C and D change with x, so they're out. Now look at the row where y equals one. It's flat, so the equation gives zero there. Both A and B are zero at y equals one.

Watch this part of the concept lesson

Read the rest of this scene

At y equals two, the segments slope down. For B, one minus two is negative one, negative. For A, two minus one is positive one. So that's B, not A. So the answer is B: d y d x equals one minus y.

Now, in your workbook, look for rows or columns, a flat row, and one sign.

Worked examples

Example 1

The differential equation dydx=x(y−1).
Sketch the slope field at the nine points x=−1,0,1 and y=0,1,2.
xy-1112
Graph
Hint

Rows first: put y in, then read each x.

Answer and solution

Answer y=1: 0,0,0; y=0: 1,0,−1; y=2: −1,0,1

  1. y=1:x(1−1)=0→0,0,0(a flat row)
  2. y=0:−x→1,0,−1;y=2:x→−1,0,1
  3. At each point, a short segment with that slope.

Example 2

Which differential equation has this slope field?
xy-1123-1123
Graph
  1. dydx=y−1
  2. dydx=1−y
  3. dydx=1−x
  4. dydx=x−1
Hint

Rows or columns alike? Then one flat row and one sign.

Answer and solution

Answer B. dydx=1−y

  1. rows alike→only y;flat at y=1
  2. y=2:slope −1→1−y
  3. Answer B.

Workbook

Problem 1

Consider the differential equation dydx=1−xy. Sketch its slope field at the nine points with x=−1,0,1 and y=−1,0,1.
xy-11-11
Graph
Hint

Put y in first, one row at a time; then each x.

Answer and solution

Answer y=−1: 0,1,2; y=0: 1,1,1; y=1: 2,1,0

  1. y=−1→1+x:0,1,2;y=0→1;y=1→1−x:2,1,0
  2. At each point draw a short segment with that slope: flat at (-1, -1) and (1, 1).

Common mistake Mixing x and y when putting the point in.

Watch the worked solution to Problem 1

Problem 2

In the slope field of dydx=2x+y, along which line are all the segments horizontal?
  1. y=2x
  2. y=−2x
  3. y=−x2
  4. x=0
Hint

Horizontal segments have slope 0. Set the expression equal to 0.

Answer and solution

Answer B. y=−2x

  1. 2x+y=0→y=−2x
  2. Answer B.

Common mistake Setting the expression equal to 1 instead of 0.

Watch the worked solution to Problem 2

Problem 3

Which differential equation has this slope field?
xy-2-112-112
Graph
  1. y′=x2−1
  2. y′=1−x2
  3. y′=y2−1
  4. y′=x−1
Hint

Are the segments alike along rows or along columns? Where are they flat?

Answer and solution

Answer A. y′=x2−1

  1. columns alike→x;flat at x=±1;x=0→−1
  2. Only x^2 - 1 is flat at x = ±1 and -1 at x = 0. Answer A.

Common mistake Reading the slope as the height; rows and columns mixed up.

Watch the worked solution to Problem 3

Problem 4

Consider the differential equation dydx=x2−y.
xy-1112
Graph
  1. Sketch its slope field at the nine points with x=−1,0,1 and y=0,1,2.
  2. On what curve are all the segments horizontal?
  3. Describe all the points (x,y) where the segments of the slope field have a negative slope.
Hint

Row by row: put y in first. The flat curve splits the plane into a positive side and a negative side.

Answer and solution
  1. y=0: 1,0,1; y=1: 0,−1,0; y=2: −1,−2,−1
  2. the parabola y=x2
  3. the points above the parabola: y>x2
  1. y=0→x2;y=1→x2−1;y=2→x2−2
  2. x2−y=0→y=x2(flat)
  3. x2−y<0⇔y>x2→negative above the parabola

Common mistake Drawing segments whose length shows the value; missing that the flat curve is y = x^2.

Watch the worked solution to Problem 4

Problem 5

Which differential equation has this slope field? (No segments are drawn on the x-axis.)
xy-2-112-2-112
Graph
  1. y′=xy
  2. y′=−xy
  3. y′=yx
  4. y′=−yx
Hint

Test one flat point and one point with a clear sign.

Answer and solution

Answer B. y′=−xy

  1. (0,1):flat→not ±yx;(1,1):−1→−xy
  2. No segments on the x-axis: y = 0 is in the bottom. Answer B.

Common mistake Testing a point where y/x gives no number.

Watch the worked solution to Problem 5

Problem 6

Consider the differential equation dydx=y−1x. Which of the following statements about its slope field are true?
I. No segments are drawn at points on the y-axis.
II. Every segment on the line y=1 is horizontal.
III. All the segments in any one vertical column are parallel.
  1. I only
  2. I and II only
  3. II and III only
  4. I, II, and III
Hint

Where does the expression give no number? Where is it 0? Does it change when only y changes?

Answer and solution

Answer B. I and II only

  1. I: on the y-axis x = 0, and (y - 1)/0 is not a number, so no segment. True.
  2. y=1:1−1x=0→flat.x=1:y−1changes with y
  3. II true, III false. Answer B.

Common mistake Drawing a segment where x = 0 makes the bottom 0; thinking columns are alike.

Watch the worked solution to Problem 6