AP® CALCULUS AB & BC · UNIT 7

Sketching Slope Fields

Calculate the slope at each point and sketch a short centered segment. Recognize columns, rows and zero-slope patterns, then connect the field with solution curves.

Topic 7.3 study notes8 worked examples · 8 practice questionsUpdated 11 November 2026
Calculus notebook with limit and integral symbols, a compass and pencil on an olive and cream study desk

1. What a slope field represents

A slope field, also called a direction field, represents a first-order differential equation using short line segments at selected points in the plane. The slope at each point comes from the equation, rather than from the point’s height alone.

AP Calculus AB and BC · Topic 7.3. The course framework identifies FUN-7.C, FUN-7.C.1–2 and skill 2.C: connect a first-order differential equation with its graphical representation on a finite collection of points.
dydx=f(x,y)

At a point (a,b) where the right side is defined, compute

m=f(a,b).

Draw a short segment centered at that point with slope m. A solution passing through the point has that derivative there. The segment represents a local tangent direction; it is not a whole solution curve or a velocity vector.

You can sketch the field without solving the equation. It can help identify repeated slopes, horizontal tangencies and plausible solution behavior. Reasoning about solution curves is developed further in Topic 7.4.

2. How to sketch accurate slope segments

  1. Read the equation and restrictions. Identify the right-side function and inputs where it is undefined.
  2. Use the specified grid. If points are supplied, draw a segment at every required point where the equation is defined. There is no universal required segment count.
  3. Substitute both coordinates. The ordered pair gives the independent-variable input first and the dependent-variable value second.
  4. Draw the correct tilt and steepness. For m>0, the segment rises from left to right; for m<0, it falls. For m=0, it is horizontal. Larger |m| means greater steepness.
  5. Keep segments short and centered. Use roughly equal lengths; do not connect neighboring segments into a polygonal curve.
  6. Check patterns and exceptions. Look for repeated columns or rows, zero-slope locations and omitted undefined inputs.
Finite and undefined are different: a large finite slope gives a steep segment. If f(a,b) is undefined, leave the point blank and explain the restriction. Do not replace an undefined slope with a vertical segment.

Use the axis scales when judging steepness. A slope of 1 appears at 45∘ only when equal coordinate increments have equal physical lengths on the two axes.

3. Eight colorful worked examples

Example 1 · Build a field in vertical columns

Sketch the slope field for dydx=x.

1 · Compute the slope in each column

The slope depends on x, so changing y within a fixed column does not change it.

Column-by-column slopes for the first example
xySlope m=xLeft-to-right direction
−2Any allowed y−2Falls steeply
−1Any allowed y−1Falls
0Any allowed y0Horizontal
1Any allowed y1Rises
2Any allowed y2Rises steeply

2 · Place equal-length segments at the grid points

Every segment in the column x=0 is horizontal. Columns with x<0 have negative slopes, and columns with x>0 have positive slopes. The slope magnitudes increase with |x|.

The familiar family y=x22+C has derivative x. Finding this family algebraically is not required to sketch the field.

Example 2 · Build a field in horizontal rows

Describe the slope field for dydx=y.

1 · Use the dependent-variable value

f(x,−1)=−1
f(x,0)=0
f(x,1)=1

All points in a fixed row have the same slope, regardless of their horizontal coordinate.

2 · Identify the zero row and signs

Segments on y=0 are horizontal. Above this row, slopes are positive; below it, slopes are negative. Their magnitudes grow as |y| increases.

The constant function y=0 is an equilibrium solution. The family y=Cex also agrees with the field, since its derivative equals the function itself.

Example 3 · Substitute both coordinates

Sketch the slope field for dydx=x+y.

1 · Calculate sample slopes

Sample slopes when both coordinates matter
Point (x,y)Slope m=x+yLeft-to-right direction
(0,0)0Horizontal
(1,0)1Rises
(0,1)1Rises
(1,1)2Rises steeply
(−1,0)−1Falls
(0,−1)−1Falls

For example, at (1,1) the slope is 1+1=2; it is not simply the height of the point.

2 · Find the horizontal segments

x+y=0⟺y=−x

Segments centered on this diagonal are horizontal. More generally, points satisfying x+y=c share slope c, for a fixed real constant c.

Example 4 · Sketch a constant-slope field

Sketch the field for dydx=2.

1 · Evaluate the right side

f(a,b)=2

The slope is 2 at every point, independent of both coordinates.

2 · Draw parallel short segments

Every segment rises from left to right with a rise-to-run ratio of 21. Keep segments short; extending each one across the plane would obscure the field. There are no horizontal segments.

Example 5 · Distinguish a zero-slope line from an equilibrium

Compare the horizontal segments for dydx=y and dydx=x+y.

1 · Test a constant function in the first equation

For y=0, the derivative and the right side are both zero at every input. This whole horizontal line is a solution.

ddx(0)=0

2 · Check the diagonal in the second equation

On y=−x, the right side x+y is zero. But the derivative of this diagonal is

ddx(−x)=−1

The diagonal is a zero-slope isocline, not a solution. A constant solution y=c would require f(x,c)=0 throughout its interval.

Example 6 · Match a field within a given list of choices

A field repeats slopes in vertical columns. Its slopes at (0,1), (1,−1) and (−1,1) are 0, 1 and −1. Choose among dydx=x, dydx=y and dydx=x+y.

1 · Use a discriminating point

At (0,1), the candidate right sides give

x=0
y=1
x+y=1

Only the first candidate matches the stated zero slope.

2 · Confirm the remaining choice against the pattern

At (1,−1), the first equation gives slope 1; at (−1,1), it gives −1. It also predicts identical slopes within each vertical column.

dydx=x

This is the match among the supplied choices. A few point matches do not prove that an arbitrary unknown formula agrees everywhere.

Example 7 · Check a solution curve against the field

The field is dydx=x. Sketch the supplied curve y=x22+1 through (0,1), and check that its tangent directions agree.

1 · Verify the function and starting point

ddx(x22+1)=x
y(0)=1

The supplied curve fits the equation and passes through the required point.

2 · Follow the changing tangent direction

The curve passes through (−1,32), (0,1) and (1,32), with slopes −1, 0 and 1. It falls as the input approaches zero from the left, is horizontal at zero, and rises to the right.

Draw a smooth curve whose derivative matches the field at its own points. Do not join the ends of the drawn field segments. This connection is developed further in Topic 7.4.

Example 8 · Leave undefined inputs blank

Sketch a field for dydx=1x, including what happens at inputs near zero.

1 · Separate the restriction from steep finite slopes

The equation is defined only for x≠0.

f(1,y)=1,f(−1,y)=−1
f(110,y)=10

The last value is steep but finite. At x=0, the right side is undefined.

2 · Draw only where the equation is defined

Use rising segments for x>0 and falling segments for x<0, repeated vertically. Leave the column x=0 blank. An undefined right side does not authorize a vertical slope-field segment.

4. Six verified slope-field diagrams

Each short stroke is centered on a selected grid point and has the slope prescribed at that point. Equal physical scales on the axes preserve the displayed slope angles. These abstract examples have no physical units.

Slopes repeat within columns

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ −2 −1 0 1 2 x −2 −1 0 1 2 y
For dydx=x, the slope is fixed within each column. The column x=0 has horizontal segments; it is not a constant solution curve.

Slopes repeat within rows

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ −2 −1 0 1 2 x −2 −1 0 1 2 y
For dydx=y, the slope is fixed within each row. The row y=0 is an equilibrium solution.

A diagonal of horizontal segments

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ −2 −1 0 1 2 x −2 −1 0 1 2 y
For dydx=x+y, horizontal segments lie on y=−x. The dotted diagonal marks this isocline; it is not a solution curve.

The same slope at every point

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ −2 −1 0 1 2 x −2 −1 0 1 2 y
For dydx=2, every short segment has slope 2. Uniform segment length keeps the field readable.

A solution follows local tangent directions

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ −2 −1 0 1 2 x −2 −1 0 1 2 y
The solid highlighted curve is y=x22+1, checked against the field dydx=x. Its filled point is the initial point (0,1). The curve continues beyond the viewing window.

Undefined inputs receive no segment

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ −2 −1 0 1 2 x −2 −1 0 1 2 y
For dydx=1x, no segment is placed on x=0. The dashed red guide marks the excluded column; it is not a vertical field segment or a solution curve.

Rising, falling and horizontal orientations identify the sign of each slope; color provides an additional cue. Short-stroke endpoints are drawing endpoints, not endpoints of solution domains. The edges of the plotting windows are viewing limits, not mathematical boundary conditions.

5. Columns, rows, isoclines and equilibria

Common equation structures and their fields
Equation structurePatternExample
dydx=f(x)Same slopes within vertical columnsdydx=x
dydx=g(y)Same slopes within horizontal rowsdydx=y
dydx=kSame slope at all allowed pointsdydx=2
dydx=kyRow pattern; for k≠0, the zero row is y=00.5y=y2 on the right
dydx=k(y−a)For k≠0, horizontal segments on the equilibrium row y=adydx=y−2

In this table, k and a are constants. If k=0, the entire right side is zero and every constant function is a solution. Repeated columns or rows in a finite plotted sample are evidence for a pattern, not proof of the formula everywhere.

Isoclines and equilibrium solutions

An isocline is a set where f(x,y)=c for a fixed slope c. A zero-slope isocline satisfies f(x,y)=0. It may be a diagonal or another curve. An equilibrium solution is a constant function y=c whose derivative and prescribed right side are zero throughout an interval.

6. Match equations and trace solution curves

  1. Locate horizontal segments. Test where the proposed right side is zero.
  2. Check restrictions. Distinguish omitted inputs from steep finite segments.
  3. Test useful points. Where allowed, (0,0), (1,0), (0,1) and (1,1) often separate candidate equations.
  4. Compare signs and repeated patterns. Check whether the equation predicts the shown rows, columns and regions of positive or negative slopes.
  5. Eliminate every inconsistent choice. Continue until the supplied choices are distinguished; do not stop merely because a few values happen to agree.

To sketch a solution, start at its given point and draw a smooth curve matching the local field direction as the input changes. A stroke only shows the slope at its center; its full length is not an exact piece of the solution. Avoid a chain of connected stroke endpoints.

For the smooth right-side functions in the polynomial and exponential examples here, local uniqueness prevents distinct solutions from passing through the same initial point. A universal no-crossing claim needs uniqueness assumptions; it does not hold for every possible differential equation.

A finite viewing window can suggest a trend, but it cannot by itself prove an exact limit as x→∞. Detailed solution behavior belongs to the next topic.

7. Eight practice questions with complete solutions

1. Double the horizontal input

Describe the field for dydx=2x.

Show complete solution

1 · Evaluate representative columns

m(−1,y)=−2
m(0,y)=0
m(1,y)=2

2 · State the pattern precisely

Slopes repeat in vertical columns, are zero at x=0, negative for x<0 and positive for x>0. Their magnitudes grow with |x|; the signed slope on the negative side is still negative.

2. Reverse the row directions

Describe the field for dydx=−y.

Show complete solution

1 · Check the signs

m(x,−1)=1
m(x,0)=0
m(x,1)=−1

2 · Identify the zero row

Slopes repeat in horizontal rows. They are negative above y=0, positive below it, and horizontal on it. The function y=0 is an equilibrium solution.

3. A different diagonal of horizontal segments

Describe the field for dydx=x−y.

Show complete solution

1 · Find the zero-slope set

x−y=0⟺y=x

2 · Test either side

m(1,0)=1
m(0,1)=−1

Slopes are positive below the diagonal and negative above it. The line y=x is not a solution: its derivative is 1, but the required right side is zero there.

4. A constant slope of one

Describe the field for dydx=1.

Show complete solution

1 · Evaluate any point

m(a,b)=1

2 · Describe the sketch and its scale

All segments are parallel and rise with slope 1. They appear at 45∘ when equal coordinate increments have equal physical lengths on the axes. There are no horizontal segments.

5. A shifted equilibrium row

Describe the field for dydx=y−2.

Show complete solution

1 · Find the zero row

y−2=0⟺y=2

2 · Check the neighboring rows

m(x,1)=−1
m(x,3)=1

Slopes repeat in horizontal rows, fall below y=2 and rise above it. The constant function y=2 is an equilibrium solution.

6. A trigonometric column pattern

Find sample slopes and horizontal columns for dydx=sinx. Use radians.

Show complete solution

1 · Use exact trigonometric values

m(0,y)=0
m(π2,y)=1
m(−π2,y)=−1
m(π,y)=0

2 · Generalize the zero columns

x=nπ,n∈Z

Every such column has horizontal segments. The slope depends only on the input, so each column repeats vertically. These columns are not constant solution functions.

7. A denominator restriction

For dydx=xy, find slopes at (1,1), (1,−1), (0,2) and (1,0).

Show complete solution

1 · Compute where the equation is defined

m(1,1)=1
m(1,−1)=−1
m(0,2)=0

2 · Preserve the excluded row

The right side is undefined when y=0, including at (1,0). Draw no segment at that point or elsewhere on that row. Do not replace the missing segment with a vertical one.

8. An isolated horizontal segment

Where are slopes zero, positive or negative for dydx=x2+y2?

Show complete solution

1 · Use nonnegative squares

x2+y2=0⟺(x,y)=(0,0)

2 · Describe the remaining points

The slope is positive everywhere else, and is never negative. For example, m(1,0)=1 and m(1,1)=2. An isolated horizontal segment at the origin does not create an equilibrium solution.

8. Common mistakes and AP-style explanations

  • Use both coordinates: in f(x,y), the first coordinate is the horizontal input and the second is the current function value.
  • Keep slopes distinct from heights: a positive height need not imply a positive derivative.
  • Center and shorten the strokes: slope is determined by rise divided by run, not by segment length.
  • Retain exclusions: a zero denominator signals an omitted input, not a vertical field stroke.
  • Test equilibrium claims: a horizontal segment at a point or along a diagonal is not automatically a constant solution.
  • Distinguish drawings from proofs: a few matching points and a finite viewing window have limits.
  • Keep solution curves smooth: match the local derivative, pass through the specified point, and do not connect field-stroke endpoints.

A clear AP-style sketch explanation

Show representative substitutions, draw the correct segments at all required defined grid points, and identify any repeated pattern or restriction. Explain solution-curve choices using the derivative and the given initial point. The task’s specified points take priority over a suggested generic grid size.

Quick reference: check the domain → substitute each point → draw its centered slope segment → compare signs and patterns → explain any missing segments.

9. Questions about sketching slope fields

What does one short segment represent?

It represents the derivative at the point where the segment is centered. Its full length is a drawing aid, not an exact piece of a solution function.

Do I have to solve the equation to sketch its field?

No. Evaluate the given right side at the required points. Algebraic solution methods are developed later, including separation of variables in Topic 7.6.

What should I draw where the right side is undefined?

Leave the point blank and state the restriction. For dydx=1x, there is no field segment at x=0. A nearby steep finite slope is a different situation.

Does every zero-slope line give an equilibrium solution?

No. An equilibrium is a constant function y=c with f(x,c)=0 throughout its interval. For f(x,y)=x+y, the diagonal y=−x has zero prescribed slope, but the diagonal itself has derivative −1.

How many grid points should I use?

Use every specified point where the equation is defined. For a self-chosen sketch, use enough points to display the relevant patterns clearly. There is no universal AP requirement to draw a fixed number of segments.

Are a few matching slopes enough to identify the equation?

They can distinguish a supplied list of choices when the other choices are inconsistent. They do not prove that an arbitrary unknown formula agrees with a field at every point.

Can solution curves ever intersect?

When local uniqueness holds, distinct solutions cannot pass through the same initial point. The smooth polynomial and exponential examples here have this property. Do not apply a universal no-crossing rule to arbitrary differential equations without the required uniqueness assumptions.

10. Continue through Unit 7

Verification connects a function to its derivative equation. A slope field displays the same relationship through local directions. The next topic uses those directions to reason about solution behavior.

Keep the equation, its finite slope-field sketch and a particular solution curve distinct. Each gives useful information, and each must respect the equation’s domain.