Tutorials › AP Statistics › Why Solution Curves Follow the Field

Slope Fields and Models · Tutorial 547 of 999

Why Solution Curves Follow the Field

Use the definition of derivative to explain why a solution curve’s tangent slope agrees with the differential equation at every point on the curve.

Beginner 9 min read

What You'll Learn

  • Define a solution of a first-order differential equation on an interval
  • Derive the tangent-slope condition from the limit definition of derivative
  • Explain what a slope-field segment represents at a point
  • Relate a curve’s point and derivative to the differential equation
  • Identify the difference between a curve’s height and its slope

From a Differential Equation to a Curve’s Direction

A first-order differential equation such as \(y'=F(x,y)\) assigns a slope to each point \((x,y)\) in its domain. A slope field displays those instructions as short line segments: the segment at a point has slope \(F(x,y)\).

Why should a curve that solves the differential equation follow those directions? The key is the definition of the derivative. At any point on a differentiable solution curve, the derivative is the limiting slope of nearby secant lines. The equation says exactly what that limiting slope must be.

What It Means to Be a Solution

Definition: Let \(F\) be a function defined on a region of the \(xy\)-plane. A differentiable function \(y=y(x)\), defined on an interval \(I\), is a solution of the differential equation \(y'=F(x,y)\) on \(I\) if, for every \(x\in I\), its graph lies in the region where \(F\) is defined and $$ y'(x)=F(x,y(x)). $$

This definition has two important parts. First, at each input \(x\), the curve has a point \((x,y(x))\). Second, its derivative at that input equals the value of \(F\) at that very point. The field’s direction depends on both coordinates, not just on the curve’s height or just on the input.

A solution is a function, so its graph is a curve with a well-defined tangent slope at each point in its interval. The differential equation specifies that slope. A short segment in a slope field is not a piece of the solution curve; it indicates the direction the curve’s tangent must have if the curve passes through that point.

Why the Derivative Forces the Match

Fix any input \(a\) in the interval of a solution \(y\). The corresponding point on the graph is \((a,y(a))\). For a nonzero increment \(h\) small enough that \(a+h\) remains in the interval, the slope of the secant line between the graph points at \(a\) and \(a+h\) is

$$ \frac{y(a+h)-y(a)}{(a+h)-a} = \frac{y(a+h)-y(a)}{h}. $$

By the definition of the derivative, as \(h\) approaches zero these secant slopes approach \(y'(a)\). Since \(y\) is a solution, the differential equation gives \(y'(a)=F(a,y(a))\). Thus the slope specified by the equation at the graph point is precisely the limit of the slopes of the nearby secants.

$$ \lim_{h\to 0}\frac{y(a+h)-y(a)}{h} = y'(a) = F(a,y(a)). $$
Theorem: If \(y\) is a differentiable solution of \(y'=F(x,y)\) on an interval \(I\), then at every \(a\in I\), the tangent to its graph at \((a,y(a))\) has slope \(F(a,y(a))\). Therefore, the slope-field direction at every point of the solution graph agrees with the curve’s tangent direction.

This conclusion follows directly from the definition of solution and the definition of derivative. It does not say the solution curve must be a straight line. The field gives the tangent direction separately at each point, and that direction can change as the curve moves.

Worked Example: A Curve Following the Field for \(y'=x+y\)

Worked Example: A Curve Following the Field for \(y'=x+y\)

Consider \(y=2e^x-x-1\). Determine the slope prescribed by the equation at the point on this curve where \(x=0\), and check that it matches the curve’s derivative.

First find the point on the curve. At \(x=0\),

$$ y(0)=2e^0-0-1=2(1)-1=1. $$

The point is \((0,1)\). The differential equation prescribes the slope

$$ F(0,1)=0+1=1. $$

Now differentiate the curve:

$$ y'(x)=2e^x-1. $$

At \(x=0\), this gives

$$ y'(0)=2e^0-1=2(1)-1=1. $$

The values match. More generally, the derivative and the field expression agree along the entire curve:

$$ x+y(x)=x+(2e^x-x-1)=2e^x-1=y'(x). $$

Substitution verifies the solution, and the point calculation confirms that the segment at \((0,1)\) has the same slope as the curve’s tangent there.

Worked Example: A Positive Slope for \(y'=y\)

Worked Example: A Positive Slope for \(y'=y\)

Consider \(y=3e^x\), and examine its point at \(x=\ln 2\). Find the point and compare the equation’s prescribed slope with the derivative.

Since \(e^{\ln 2}=2\), the curve’s value is

$$ y(\ln 2)=3e^{\ln 2}=3(2)=6. $$

The point is \((\ln 2,6)\). Because \(F(x,y)=y\), the field assigns this point slope

$$ F(\ln 2,6)=6. $$

Differentiate the curve and evaluate at the same input:

$$ y'(x)=3e^x, \qquad y'(\ln 2)=3e^{\ln 2}=3(2)=6. $$

The slopes agree. To check the curve against the differential equation at every input, substitute its value into the right-hand side:

$$ F(x,y(x))=y(x)=3e^x=y'(x). $$

Thus the curve’s tangent has the field’s positive slope at the selected point, as well as at every other point on the curve.

Worked Example: A Horizontal Tangent for \(y'=x^2-y\)

Worked Example: A Horizontal Tangent for \(y'=x^2-y\)

Consider \(y=x^2-2x+2\), and find the slope at the point on the curve where \(x=1\).

First calculate the height:

$$ y(1)=1^2-2(1)+2=1-2+2=1. $$

The point is \((1,1)\). At this point the differential equation prescribes

$$ F(1,1)=1^2-1=1-1=0. $$

Differentiate the curve:

$$ y'(x)=2x-2. $$

Then evaluate at \(x=1\):

$$ y'(1)=2(1)-2=0. $$

The field segment and curve tangent are both horizontal there. The agreement also holds for every \(x\):

$$ F(x,y(x)) = x^2-(x^2-2x+2) = x^2-x^2+2x-2 = 2x-2 = y'(x). $$

In particular, a zero value of \(F\) means zero derivative at the point, not zero height. Here the curve’s height is \(1\), while its slope is \(0\).

A Local Approximation Explains the Direction

The derivative also describes how the solution’s height changes over a small horizontal step. At a point \(a\), the definition of derivative says that the change in \(y\), divided by the change \(h\) in \(x\), approaches \(y'(a)\) as \(h\) becomes small. For a solution, that limiting rate is \(F(a,y(a))\).

So, for small \(h\), the change in height is approximately the prescribed slope multiplied by the horizontal change:

$$ y(a+h)-y(a)\approx F(a,y(a))h. $$

This is a local description, not an exact formula for every finite step. The slope may change as the point changes, so using one slope for a large movement generally will not describe the whole curve. The field’s short segments communicate local tangent information.

1
Locate a point on the graph.
At input \(a\), the solution’s point is \((a,y(a))\).
2
Read the equation there.
The differential equation assigns the value \(F(a,y(a))\) as the slope.
3
Connect slope to the tangent.
The derivative definition makes the curve’s tangent slope \(y'(a)\), and the solution condition gives \(y'(a)=F(a,y(a))\).

Common Pitfall: Confusing Height with Slope

At the point \((1,1)\) in the third example, a tempting but incorrect statement is, “The slope is \(1\), because \(y=1\).” That uses the point’s height as if it were its derivative. But the equation is \(y'=x^2-y\), so both coordinates must be used to find the slope:

$$ y'(1)=1^2-1=0, \qquad y(1)=1. $$

The correction is to keep the quantities distinct: \(y(1)\) is the vertical coordinate, while \(y'(1)\) is the tangent slope. Here the point is one unit above the horizontal axis, and its tangent is horizontal.

Another useful distinction is between the field segment and the curve itself. A field segment gives a tangent direction at one point; it does not say the curve follows that same straight direction everywhere. As the curve moves to a new point, the differential equation may assign a different slope.

Why This Connection Matters

A differential equation expresses a rule for change rather than directly stating a formula for the function. The slope field makes that rule visible across the plane. The derivative definition explains why a solution graph must be locally aligned with the field: the curve’s tangent is the limit of its secant directions, and the differential equation prescribes that limiting slope at each point.

This connection is useful when interpreting a differential equation, reading a slope field, or deciding what information a field segment conveys. It also gives a precise way to describe what it means for a curve to follow a field, without claiming that any one segment determines the entire curve.

Check Your Understanding

Answer each question using the connection between the derivative and the field direction.

  1. For a solution of \(y'=F(x,y)\), what slope does the field assign at the graph point \((a,y(a))\)?
  2. In the derivative definition, what do the secant slopes between nearby points on a curve approach?
  3. If a solution passes through \((2,3)\) and satisfies \(y'=x-y\), what slope does the equation prescribe there?
  4. At a point where \(F(x,y)=0\), what does the equation say about the tangent slope? Does it require the point’s height to be zero?
  5. Why does one short segment in a slope field not imply that a solution is a straight line?

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon