Slope Fields
Practise this section (12)You are skiing down a mountain in a whiteout. You can't see the trail, but at every spot you can feel how steep the snow is under your skis. If someone handed you a rule that tells the steepness at every location, could you figure out where you'll end up? That is what a differential equation does for a curve, and a slope field is the picture of that rule.
A differential equation gives slopes
A differential equation is an equation that contains a derivative. In this section the equations look like
$$\frac{dy}{dx} = F(x, y),$$where the right side is an expression in $x$ and $y$.
A solution is a function $y = f(x)$ whose derivative matches the equation for every $x$ in its domain. Here is the key idea: you can find the slope of a solution curve at a point without knowing the solution. If a solution curve passes through $(a, b)$, then its slope there is
$$\frac{dy}{dx}\bigg|_{(a,b)} = F(a, b).$$Just plug the coordinates into the right side. Then the tangent line at that point comes from point-slope form: $y - b = F(a, b)\,(x - a)$.
Solution curve (blue) with its tangent line at point P(x₀, y₀): without knowing the solution, the slope of that tangent is F(x₀, y₀), the value of the right-hand side of the equation at P.A solution curve of $\dfrac{dy}{dx} = x^2 - y$ passes through the point $(1, 2)$. (a) Find the slope of the curve at that point. Is the curve increasing or decreasing…
A solution curve of $\dfrac{dy}{dx} = x^2 - y$ passes through the point $(1, 2)$.
(a) Find the slope of the curve at that point. Is the curve increasing or decreasing there?
(b) Write an equation of the tangent line to the curve at $(1, 2)$.
Consider $\dfrac{dy}{dx} = x + y$. Calculate the slope of the solution curve at each of the points $(0, 0)$, $(1, 2)$, $(-1, 3)$, and $(2, -1)$, and organize your…
Consider $\dfrac{dy}{dx} = x + y$. Calculate the slope of the solution curve at each of the points $(0, 0)$, $(1, 2)$, $(-1, 3)$, and $(2, -1)$, and organize your results in a table.
Building a slope field
One point gives one slope. A slope field (also called a direction field) shows many at once. Choose a grid of points, compute $F(x, y)$ at each one, and draw a short line segment centered at the point with that slope.
-
Slope $> 0$: the segment rises to the right.
-
Slope $< 0$: the segment falls to the right.
-
Slope $= 0$: the segment is horizontal.
-
Slope $= 1$ or $-1$: the segment makes a 45° angle.
Here is the field for $\dfrac{dy}{dx} = \dfrac{x + y}{2}$ on the grid $x, y \in \{-2, -1, 0, 1, 2\}$, together with one solution curve.
Slope field of dy/dx = (x + y)/2 on the grid x, y ∈ {−2,…,2}: each segment rises, falls or is horizontal depending on the sign of x + y. The solution curve through the origin follows the direction of the segments.The grid points are spaced one unit apart, with the origin in the center. The slopes at those points are:
| $x=-2$ | $x=-1$ | $x=0$ | $x=1$ | $x=2$ | |
|---|---|---|---|---|---|
| $y=2$ | $0$ | $0.5$ | $1$ | $1.5$ | $2$ |
| $y=1$ | $-0.5$ | $0$ | $0.5$ | $1$ | $1.5$ |
| $y=0$ | $-1$ | $-0.5$ | $0$ | $0.5$ | $1$ |
| $y=-1$ | $-1.5$ | $-1$ | $-0.5$ | $0$ | $0.5$ |
| $y=-2$ | $-2$ | $-1.5$ | $-1$ | $-0.5$ | $0$ |
A slope field does not give you one curve. It gives you the direction of every solution. To pick one, you need an initial condition, such as $f(0) = 0$. Then you start at that point and follow the segments, like a boat carried by a current. The orange curve in the figure is the solution through $(0, 0)$.
For $\dfrac{dy}{dx} = y - x$, complete a table of the slope at each point $(x, y)$ with $x \in \{-1, 0, 1\}$ and $y \in \{-1, 0, 1\}$. Then describe the set of points…
For $\dfrac{dy}{dx} = y - x$, complete a table of the slope at each point $(x, y)$ with $x \in \{-1, 0, 1\}$ and $y \in \{-1, 0, 1\}$. Then describe the set of points where the slope is $0$, and describe the slope along that set.
Reading patterns in a slope field
You can learn a lot about a slope field without drawing it. Look for these clues.
Why do these clues work? The segment at each point is just a picture of the number $F(x, y)$. If that number does not change when you move up or down, then every point in a vertical column has the same segment. The same logic works for horizontal rows.
Here is the slope field of an autonomous equation. Every row looks the same.
Slope field in which every row of segments is identical: horizontal at y = 1, rising above and falling belowTo find where a slope is positive or negative, first find where $F = 0$. Those lines or curves cut the plane into regions, and the sign of $F$ is constant inside each region. If $F$ is a product, it is zero when either factor is zero, and its sign is the sign of the product of the factors.
For the differential equation $\dfrac{dy}{dx} = y$, describe the slope segments of its slope field along the line $y = 0$, in the region $y > 0$, and in the region…
For the differential equation $\dfrac{dy}{dx} = y$, describe the slope segments of its slope field along the line $y = 0$, in the region $y > 0$, and in the region $y < 0$. Does the slope depend on $x$?
For the differential equation $\dfrac{dy}{dx} = xy$, state where in the $xy$-plane the slope segments are horizontal. Then state in which quadrants the slopes are…
For the differential equation $\dfrac{dy}{dx} = xy$, state where in the $xy$-plane the slope segments are horizontal. Then state in which quadrants the slopes are positive and in which they are negative.
A slope field is described as follows: every segment has slope greater than or equal to $0$. Segments along the $x$-axis are horizontal. Segments at points with the same…
A slope field is described as follows: every segment has slope greater than or equal to $0$. Segments along the $x$-axis are horizontal. Segments at points with the same $y$-coordinate have the same slope. The segments get steeper as $|y|$ increases.
Which of the following differential equations has this slope field: (A) $\dfrac{dy}{dx} = x + y$, (B) $\dfrac{dy}{dx} = xy$, (C) $\dfrac{dy}{dx} = y^2$, (D) $\dfrac{dy}{dx} = x^2$? Justify your choice and explain why each of the others fails.
Concavity and extrema from the equation
A slope field also tells you about the shape of a solution. At a point where $\dfrac{dy}{dx} = 0$, the solution has a horizontal tangent. To decide whether that is a local minimum, a local maximum, or neither, you need the second derivative.
You can get $\dfrac{d^2y}{dx^2}$ straight from the equation: differentiate both sides with respect to $x$. The one rule to remember is that $y$ is a function of $x$, so by the chain rule the derivative of $y$ is $\dfrac{dy}{dx}$. For instance, $\dfrac{d}{dx}(y^2) = 2y\,\dfrac{dy}{dx}$.
Why does this work? A positive $f''$ means the slopes are increasing as you move right, so the graph bends upward like a cup. With a horizontal tangent at the bottom of that cup, you get a local minimum.
You can also use the First Derivative Test with the equation: look at the sign of $\dfrac{dy}{dx}$ just left and right of the point, for $y$ close to the value at the point. Negative then positive means a local minimum. Positive then negative means a local maximum.
When $F$ is a product, use the product rule. For example, if $\dfrac{dy}{dx} = (x + 1)y$, then $\dfrac{d^2y}{dx^2} = y + (x + 1)\dfrac{dy}{dx}$. Then replace $\dfrac{dy}{dx}$ by $(x + 1)y$.
The sign of $\dfrac{d^2y}{dx^2}$ also tells you concavity. A solution is concave up where $\dfrac{d^2y}{dx^2} > 0$ and concave down where it is negative. In the example, $f$ is concave up wherever $1 - 2x + 4y > 0$.
Let $y = f(x)$ be the solution to $\dfrac{dy}{dx} = 2x - y$ with $f(0) = 0$. (a) Describe the set of points where the slope is $0$, and the set of points where the slope…
Let $y = f(x)$ be the solution to $\dfrac{dy}{dx} = 2x - y$ with $f(0) = 0$.
(a) Describe the set of points where the slope is $0$, and the set of points where the slope is $2$.
(b) Find $f'(0)$ and $f''(0)$. Does $f$ have a local minimum, a local maximum, or neither at $x = 0$? Justify your answer.
Consider $\dfrac{dy}{dx} = x(y - 1)$ and let $y = f(x)$ be the solution with $f(0) = 2$. (a) Find the slope at each of the points $(-1, 2)$, $(0, 2)$, $(1, 2)$, and…
Consider $\dfrac{dy}{dx} = x(y - 1)$ and let $y = f(x)$ be the solution with $f(0) = 2$.
(a) Find the slope at each of the points $(-1, 2)$, $(0, 2)$, $(1, 2)$, and $(2, 0)$.
(b) Using the sign of $\dfrac{dy}{dx}$ near $x = 0$ for $y$ close to $2$, determine whether $f$ has a local minimum or maximum at $x = 0$. Explain.
A slope field for a differential equation $\dfrac{dy}{dx} = F(x, y)$ has these slopes at the lattice points shown. | $(x, y)$ | $(-1, 0)$ | $(0, 0)$ | $(1, 0)$ |…
A slope field for a differential equation $\dfrac{dy}{dx} = F(x, y)$ has these slopes at the lattice points shown.
| $(x, y)$ | $(-1, 0)$ | $(0, 0)$ | $(1, 0)$ | $(0, 1)$ | $(1, 1)$ | $(2, 1)$ | $(-1, 1)$ |
|---|---|---|---|---|---|---|---|
| slope | $1$ | $0$ | $1$ | $-1$ | $0$ | $3$ | $0$ |
(a) Decide which of $\dfrac{dy}{dx} = x^2 - y$ or $\dfrac{dy}{dx} = x^2 + y$ is consistent with every entry in the table. Show the checks.
(b) Using the equation you chose, let $f$ be the solution with $f(1) = 1$. Show that $f$ has a horizontal tangent at $x = 1$, and use $f''(1)$ to classify it as a local minimum or maximum.
Equilibrium solutions and solutions that can't cross
Sometimes a constant function $y = k$ is itself a solution. It is called an equilibrium solution. It must satisfy $\dfrac{dy}{dx} = 0$, so $F(x, k) = 0$ for every $x$. In the slope field, you see a whole row of horizontal segments.
A second fact is the engine of many AP justifications: two different solution curves of the same differential equation never cross. If they crossed at a point, there would be two different curves with the same point and the same slope there, and the equation would not be able to tell them apart. So a solution that starts above another solution stays above it.
Using this, a known solution acts as a wall. A solution that lies on one side of an equilibrium line or any other known solution stays on that side forever.
Here is a field with two equilibrium solutions, $y = 1$ and $y = 3$, for $\dfrac{dy}{dx} = (y - 1)(y - 3)$, along with the solution through $(0, 2)$.
Slope field of dy/dx = (y − 1)(y − 3): the horizontal rows at y = 1 and y = 3 are equilibrium solutions. The solution through (0, 2) decreases, is trapped between both lines without crossing them, and levels off toward y = 1.For an autonomous equation, a sign chart of $F$ between the equilibrium values tells you which way solutions move. Solutions between two equilibria are trapped there. A trapped solution that keeps moving in one direction is monotonic and bounded, so it has a limit as $x \to \infty$. And the limit must be an equilibrium value, because the slope tends to $0$ at the limit.
The same wall idea works with a solution that is not constant.
Consider $\dfrac{dy}{dx} = y(2 - y)$. (a) Describe the slope field along the lines $y = 0$ and $y = 2$, and in the regions $y < 0$, $0 < y < 2$, and $y > 2$. (b) Let $f$…
Consider $\dfrac{dy}{dx} = y(2 - y)$.
(a) Describe the slope field along the lines $y = 0$ and $y = 2$, and in the regions $y < 0$, $0 < y < 2$, and $y > 2$.
(b) Let $f$ be the solution with $f(0) = 1$. Find $\displaystyle\lim_{x\to\infty} f(x)$, assuming the limit exists. Justify your answer.
(c) Use $\dfrac{d^2y}{dx^2}$ to determine where the solution through $(0, 1)$ is concave up and where it is concave down.
(d) Let $g$ be the solution with $g(0) = 3$. Is $g$ increasing or decreasing? What does it approach as $x$ increases?
Consider $\dfrac{dy}{dx} = x - y$. (a) Show that the line $y = x - 1$ is a solution curve. (b) Let $f$ be the solution with $f(0) = 1$. Find $f'(0)$ and $f''(0)$ and…
Consider $\dfrac{dy}{dx} = x - y$.
(a) Show that the line $y = x - 1$ is a solution curve.
(b) Let $f$ be the solution with $f(0) = 1$. Find $f'(0)$ and $f''(0)$ and describe the concavity of the graph of $f$ at $x = 0$.
(c) Two different solution curves of this differential equation never cross. Use this fact and part (a) to explain why $f(x) > x - 1$ for all $x$ in the domain of $f$.
Consider $\dfrac{dy}{dx} = y(x - 1)$ and let $y = f(x)$ be the solution with $f(0) = 2$. (a) Describe where in the plane the slope segments are horizontal. (b) Find…
Consider $\dfrac{dy}{dx} = y(x - 1)$ and let $y = f(x)$ be the solution with $f(0) = 2$.
(a) Describe where in the plane the slope segments are horizontal.
(b) Find $f'(0)$. Determine the sign of $f'(x)$ for $x < 1$ and for $x > 1$ (assume $f(x) > 0$), and classify the critical point at $x = 1$.
(c) The constant function $y = 0$ is a solution. Use the fact that solution curves cannot cross to explain why $f(x) > 0$ for all $x$.
(d) Show that $\dfrac{d^2y}{dx^2} = y\left(1 + (x - 1)^2\right)$ and conclude about the concavity of the graph of $f$.
Summary
Back to the whiteout: the rule "steepness at each spot" is the differential equation, and the slope field is the map of all those steepness values. Put your starting point on it, follow the segments, and you can trace your path.
Can't find your problem here?
The AI checks one of your exercises: paste the problem with your answer or take a photo of it.