PrepGo

Sketching Slope Fields - AP Calculus AB Study Guide

Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026

Learn with study guides reviewed by top AP teachers. This guide takes about 13 minutes to read.

The Core Idea: Sketching Slope Fields

A slope field is a powerful visual tool that allows us to "see" the solutions to a differential equation without actually solving it analytically. A differential equation, such as , provides a formula for the slope of a solution curve at any given point . The core idea of a slope field is to take a grid of points in the xy-plane, calculate the slope at each of those points using the differential equation, and then draw a small line segment at each point that has the calculated slope.

This collection of tiny tangent line segments creates a "field" that shows the direction a solution curve would take at any point. By observing the flow of these segments, we can visualize the shape and behavior of the entire family of functions that are solutions to the differential equation. It provides a qualitative understanding of the solution curves' behavior, such as where they are increasing, decreasing, or have horizontal tangents.

Key Definitions

  • Differential Equation: An equation that contains a derivative. For this topic, we focus on first-order differential equations of the form , where the slope at any point can depend on both its x- and y-coordinates.

  • Slope Field: A graphical representation of a differential equation on the xy-plane. It is constructed by drawing short line segments at a grid of points , where the slope of each segment is equal to the value of at that point.

Understanding the Process

The process of sketching a slope field is a direct application of its definition. The differential equation is a recipe for finding the slope of a tangent line at any point. To sketch the field, you simply follow that recipe for a set of sample points.

  1. Identify the Points: You will be given a differential equation and a set of points on a grid where the slope segments should be drawn.

  2. Substitute and Calculate: For each point , substitute the x- and y-coordinates into the expression to calculate the numerical value of the slope, .

  3. Sketch the Segment: At the location of each point , draw a short line segment with the slope you just calculated.

    • A slope of is a horizontal segment.

    • A slope of makes a 45° angle with the positive x-axis.

    • A slope of makes a 135° angle with the positive x-axis.

    • Positive slopes go "uphill" from left to right; negative slopes go "downhill."

    • Steeper slopes correspond to larger absolute values of .

    • If is undefined (e.g., due to division by zero), no segment is drawn. This often indicates a vertical tangent on the solution curve.

Core Concepts & Rules

  • A slope field is a visual representation of the differential equation .

  • The slope of the line segment at any point in the field is determined by plugging the coordinates of that point into the differential equation.

  • If the differential equation depends only on (e.g., ), then for a given -value, all line segments in that vertical column will have the same slope and thus be parallel.

  • If the differential equation depends only on (e.g., ), then for a given -value, all line segments in that horizontal row will have the same slope and thus be parallel.

  • Points where will have horizontal line segments.

  • Points where is undefined will have no line segment drawn.

Step-by-Step Example 1: Basic Application

Problem: Sketch the slope field for the differential equation at the nine integer points where and .

Step 1: Set up a table to organize calculations.

Create a table with columns for , , and the calculated slope .

| x | y | dy/dx = x + y` | | :--- | :--- | :-------------- | | -1 | 1 | `-1 + 1 = 0` | | 0 | 1 | $0 + 1 = 1 | | 1 | 1 | | | -1 | 0 | | | 0 | 0 | | | 1 | 0 | | | -1 | -1 | | | 0 | -1 | |

| 1 | -1 | (-1, 1)(0, 0)(1, -1)(0, 1)(1, 0)(-1, 0)(0, -1)(1, 1)(-1, -1)`, draw a segment with a slope of -2 (steeper than the slope of -1).

The resulting sketch will show the direction of the solution curves at these nine points.

Step-by-Step Example 2: Exam-Style Application

Problem: A differential equation is given by . On the slope field for this differential equation, what is true about the line segments?

(A) All segments in any given horizontal row are parallel.

(B) All segments on the line are horizontal.

(C) All segments in Quadrant I have a positive slope.

(D) Slopes are undefined at x=0`. **Solution Strategy:** Instead of calculating individual points, analyze the structure of the differential equation to determine general properties of the slope field. This is a common approach for multiple-choice matching questions. **Step 1: Analyze for horizontal tangents.** Horizontal tangents occur where `dy/dx = 0`. Set the equation to zero: $x(y-1)^2 = 0.

This equation is true if or if , which means .

  • When (the y-axis), the slopes are all zero.

  • When (the horizontal line ), the slopes are all zero.

This means all segments on the y-axis are horizontal, and all segments on the line are horizontal. Let's check this against the options. Option (B) states that all segments on the line y=1` are horizontal. This is consistent with our finding. **Step 2: Analyze for undefined slopes.** The expression $x(y-1)^2 is a polynomial, which is defined for all real numbers and Formula34^2$ is always non-negative (it's zero or positive).

  • The sign of is therefore determined entirely by the sign of .

  • If (Quadrants I and IV), the slope will be positive (or zero if ).

  • If (Quadrants II and III), the slope will be negative (or zero if ).

Let's check this against the options. Option (C) says all segments in Quadrant I have a positive slope. This is true, as and in Quadrant I (since and y \neq 1`). This statement is also correct. **Step 4: Re-evaluate the options.** We found that both (B) and (C) seem correct. Let's look closer. - (B) All segments on the line $y=1 are horizontal. This is always true because for any .

  • (C) All segments in Quadrant I have a positive slope. This is true for all points except where . The line y=1` passes through Quadrant I, and on that line, the slope is zero, not positive. Therefore, statement (C) is not strictly true for the *entire* quadrant. The most accurate and encompassing statement is (B). **Final Answer:** (B) ## Using Your Calculator Sketching slope fields is an analytical skill. Standard graphing calculators (like the TI-84 series) do not have a built-in function to automatically generate a slope field. This topic is typically tested on the non-calculator portion of the AP Exam. If you are asked to sketch a slope field on the calculator-active section, the calculator's role is limited to performing the arithmetic. You would still need to plug in the(x, y)coordinates manually and use the calculator to compute the value of $dy/dx` for each point, especially if the expression is complex. The process of drawing the segments on the grid remains a manual task. ## AP Exam Quick Hit ### Common Question Types - **Matching a Slope Field to a Differential Equation:** You will be given a differential equation and several graphs of slope fields, and you must choose the correct one. The key is to test strategic points (e.g., where is the slope zero? undefined? positive? negative?) rather than calculating every point. - *Example:* Match $dy/dx = y/x to a slope field. You would check that slopes are on the y-axis (, undefined), on the x-axis (y=0`), positive in Quadrants I and III, and negative in Quadrants II and IV. - **Sketching a Slope Field:** You will be given a grid with dots at specific coordinates and a differential equation. You must calculate the slope at each dot and draw a small line segment representing that slope. - *Example:* Sketch the slope field for $dy/dx = 2x - y at the six points (0,1), (0,0), (1,1), (1,0), (2,1), (2,0)`. ### Common Mistakes - **Swapping Coordinates:** When calculating the slope for $dy/dx = f(x, y), students accidentally calculate . For example, for at , the correct slope is , but a common error is to calculate -2$ as less steep than a slope of , or drawing a slope of as steeper than a slope of . Remember that steepness is related to the absolute value of the slope.

  • Ignoring a Variable: For an equation like , students may incorrectly make the slopes change as changes. Remember that if a variable is missing from the differential equation, the slopes do not depend on that variable. In this case, all segments in any vertical column x=k` must be parallel. - **Arithmetic Errors:** Simple calculation mistakes when plugging $x and y` values into the differential equation are very common. It is always a good idea to create a table and double-check your calculations. - **Confusing Zero and Undefined Slopes:** Forgetting that a slope of $0 corresponds to a horizontal line segment, while an undefined slope (from division by zero) means no segment should be drawn at that point.