TOPIC 7.3 · STUDY

Sketching Slope Fields

A slope field is a grid of short segments whose slopes come from the differential equation. For dy/dx = x, the slope of each segment equals the x-coordinate: negative for x < 0, zero on the y-axis, and positive for x > 0.

FUN-7.C

Sketching Slope Fields

A slope field is a picture of a differential equation drawn before you solve it. At a point $(x,y)$, compute the slope $m=\frac{dy}{dx}$ from the equation, then draw a short segment through that point with that slope. The segment is the tangent direction a solution would have if it passed through the point. It is not the solution curve itself.

To sketch one, choose a lattice of points, evaluate the slope at each point, and draw the segments at a common short length. If $|m|$ is very large, the segment is nearly vertical. If the expression for the slope is undefined at a lattice point, skip that point. For example, $\frac{dy}{dx}=\frac{x}{y}$ is undefined on the line $y=0$, so those points get no segment.

For $\frac{dy}{dx}=x$, the slope does not use $y$. Every point with the same $x$-coordinate gets the same slope, so the segments in one vertical line are parallel. The slope is negative when $x<0$, zero when $x=0$, and positive when $x>0$.

Example. On the integer lattice with $x$ and $y$ each running through $-2,-1,0,1,2$, the slope at $(-2,1)$ is $-2$, the slope at $(0,2)$ is $0$, and the slope at $(2,-1)$ is $2$. Moving up or down inside one column does not change the slope. The figure uses that $5$ by $5$ lattice. Each segment is short, with slope equal to the $x$-coordinate of the point it sits on.

$x$ Slope $\frac{dy}{dx}=x$ Direction of the segments in that column
$-2$ $-2$ steeply downward as $x$ increases
$-1$ $-1$ downward at $45^\circ$ in data units
$0$ $0$ horizontal, along the $y$-axis
$1$ $1$ upward at $45^\circ$ in data units
$2$ $2$ steeply upward as $x$ increases
Slope field of short arrows for dy/dx = x on the integer lattice from -2 to 2. Arrows tilt down on the left, sit horizontal on the y-axis, and tilt up on the right.

The segments have slope equal to the $x$-coordinate. They are negative for $x<0$, horizontal on the $y$-axis, and positive for $x>0$. Segments in one vertical line are parallel.

A solution curve has to leave each point tangent to the segment there. This field says solution curves fall while $x$ is negative and rise while $x$ is positive, with a horizontal tangent as they cross the $y$-axis. That horizontal tangent is not a constant solution. A constant function has derivative $0$ everywhere, but the right side $x$ is $0$ only on the $y$-axis. Check $y=5$: the derivative is $0$, and $0=x$ is not true for every $x$, so $y=5$ does not solve $\frac{dy}{dx}=x$.

Key points

  • At each lattice point, compute $m$ from the differential equation and draw a short segment of slope $m$.
  • Skip a point where the slope is undefined. A very large $|m|$ gives a nearly vertical segment.
  • For $\frac{dy}{dx}=x$, the slope equals the $x$-coordinate and does not depend on $y$.
  • On $x=-2,-1,0,1,2$ the slopes are $-2,-1,0,1,2$.
  • Columns are parallel. The $y$-axis column is horizontal.
  • Horizontal segments on the $y$-axis are horizontal tangents, not a constant solution of $\frac{dy}{dx}=x$.

A common mistake is to use the $y$-coordinate as the slope, or to connect the segments into one long curve and call that curve the slope field. The field is the collection of short segments. Also skip lattice points where the slope formula is undefined.

Practice this topic