Skip to main content
Logo image

Coordinated Calculus

Section 8.2 Qualitative Behavior of Solutions to DEs

In earlier work, we have used the tangent line to the graph of a function \(f\) at a point \(a\) to approximate the values of \(f\) near \(a\text{.}\) The usefulness of this approximation is that we need to know very little about the function; armed with only the value \(f(a)\) and the derivative \(f'(a)\text{,}\) we may find the equation of the tangent line and the approximation
\begin{equation*} f(x) \approx f(a) + f'(a)(x-a)\text{.} \end{equation*}
Remember that a first-order differential equation gives us information about the derivative of an unknown function. Since the derivative at a point tells us the slope of the tangent line at this point, a differential equation gives us crucial information about the tangent lines to the graph of a solution. We will use this information about the tangent lines to create a slope field for the differential equation, which enables us to sketch solutions to initial value problems. Our aim will be to understand the solutions qualitatively. That is, we would like to understand the basic nature of solutions, such as their long-range behavior, without precisely determining the value of a solution at a particular point.

Example 8.5.

Let’s consider the initial value problem
\begin{equation*} \frac{dy}{dt} = t - 2, \ \ y(0) = 1\text{.} \end{equation*}
  1. Use the differential equation to find the slope of the tangent line to the solution \(y(t)\) at \(t=0\text{.}\) Then use the initial value to find the equation of the tangent line at \(t=0\text{.}\) Sketch this tangent line over the interval \(-0.25 \leq t \leq 0.25\) on the axes provided in Figure 8.6.
    Figure 8.6. Grid for plotting partial tangent lines.
  2. Also shown in Figure 8.6 are the tangent lines to the solution \(y(t)\) at the points \(t=1, 2\text{,}\) and \(3\) (we will see how to find these later). Use the graph to measure the slope of each tangent line and verify that each agrees with the value specified by the differential equation.
  3. Using these tangent lines as a guide, sketch a graph of the solution \(y(t)\) over the interval \(0\leq t\leq 3\) so that the lines are tangent to the graph of \(y(t)\text{.}\)
  4. Use the Fundamental Theorem of Calculus to find \(y(t)\text{,}\) the solution to this initial value problem.
  5. Graph the solution you found in (d) on the axes provided, and compare it to the sketch you made using the tangent lines.

Subsection 8.2.1 Slope fields

Example 8.5 shows that we can sketch the solution to an initial value problem if we know an appropriate collection of tangent lines. We can use the differential equation to find the slope of the tangent line at any point of interest, and hence plot such a collection.

Slope Field.

A slope field for a first-order differential equation \(\frac{dy}{dt} = f(y,t) \) is a plot of small tangent lines to the graph of the solution at a selection of points \((t,y) \) on a rectangular grid.
Let’s continue looking at the differential equation \(\frac{dy}{dt} = t-2\text{.}\) If \(t=0\text{,}\) this equation says that \(dy/dt = 0-2=-2\text{.}\) Note that this value holds regardless of the value of \(y\text{.}\) We will therefore sketch tangent lines for several values of \(y\) and \(t=0\) with a slope of \(-2\text{,}\) as shown in Figure 8.7.
Figure 8.7. Tangent lines at points with \(t=0\text{.}\)
Figure 8.8. Adding tangent lines at points with \(t=1\text{.}\)
Let’s continue in the same way: if \(t=1\text{,}\) the differential equation tells us that \(dy/dt = 1-2=-1\text{,}\) and this holds regardless of the value of \(y\text{.}\) We now sketch tangent lines for several values of \(y\) and \(t=1\) with a slope of \(-1\) in Figure 8.8.
Similarly, we see that when \(t=2\text{,}\) \(dy/dt = 0\) and when \(t=3\text{,}\) \(dy/dt=1\text{.}\) We may therefore add to our growing collection of tangent line plots to achieve Figure 8.9.
Figure 8.9. Adding tangent lines at points with \(t=2\) and \(t=3\text{.}\)
Figure 8.10. A completed slope field.
In Figure 8.9, we begin to see the solutions to the differential equation emerge. For the sake of even greater clarity, we add more tangent lines to provide the more complete picture shown at right in Figure 8.10.
Figure 8.10 is called a slope field for the differential equation. It allows us to sketch solutions just as we did in Example 8.5. We can begin with the initial value \(y(0) = 1\) and start sketching the solution by following the tangent line. Whenever the solution passes through a point at which a tangent line is drawn, that line is tangent to the solution. This principle leads us to the sequence of images in Figure 8.11.
Figure 8.11. A sequence of images that show how to sketch the IVP solution that satisfies \(y(0)=1\text{.}\)
In fact, we can draw solutions for any initial value. Figure 8.12 shows solutions for several different initial values for \(y(0)\text{.}\)
Figure 8.12. Different solutions to \(\frac{dy}{dt} = t-2\) that correspond to different initial values.
Just as we did for the equation \(\frac{dy}{dt} = t-2\text{,}\) we can construct a slope field for any differential equation of interest. The slope field provides us with visual information about how we expect solutions to the differential equation to behave.

Example 8.13.

Consider the autonomous differential equation
\begin{equation*} \frac{dy}{dt} = -\frac{1}{2}(y - 4)\text{.} \end{equation*}
  1. Make a plot of \(\frac{dy}{dt}\) versus \(y\) on the axes provided in Figure 8.14. Looking at the graph, for what values of \(y\) does \(y\) increase and for what values of \(y\) does \(y\) decrease?
    Figure 8.14. Axes for plotting \(\frac{dy}{dt}\) versus \(y\text{.}\)
    Figure 8.15. Axes for plotting the slope field for \(\frac{dy}{dt} = -\frac 12( y - 4)\text{.}\)
  2. Next, sketch the slope field for this differential equation on the axes provided in Figure 8.15.
  3. Use your work in (b) to sketch (on the same axes in Figure 8.15.) solutions that satisfy \(y(0) = 0\text{,}\) \(y(0) = 2\text{,}\) \(y(0) = 4\) and \(y(0) = 6\text{.}\)
  4. Verify that \(y(t) = 4 + 2e^{-t/2}\) is a solution to the given differential equation with the initial value \(y(0) = 6\text{.}\) Compare its graph to the one you sketched in (c).
  5. What is special about the solution where \(y(0) = 4\text{?}\)
Answer.
  1. When \(y \lt 4\text{,}\) \(y\) is an increasing function of \(t\text{.}\) When \(y \gt 4\text{,}\) \(y\) is a decreasing function of \(t\text{.}\)
  2. \begin{equation*} \frac{dy}{dt} = 2 \left( -\frac{1}{2} e^{-t/2} \right) = -e^{-t/2} \end{equation*}
    and
    \begin{equation*} -\frac{1}{2}( y - 4 ) = -\frac{1}{2} \left( 4 + 2e^{-t/2} \right) = -e^{-t/2} \end{equation*}
    In addition, \(y(0) = 4 + 2e^0 = 6\text{.}\)
  3. A constant function.
Solution.
  1. The graph below is a plot of \(\frac{dy}{dt}\) versus \(y\text{.}\) We see that when \(y \lt 4\text{,}\) \(\frac{dy}{dt} \gt 0\) and hence \(y\) is an increasing function of \(t\text{.}\) We also see that when \(y \gt 4\text{,}\) \(\frac{dy}{dt} \lt 0\) and hence \(y\) is a decreasing function of \(t\text{.}\)
  2. Next, by sampling points \((t,y)\) in the plane and plotting short lines whose slope is \(\left. \frac{dy}{dt}\right|_{(t,y)}\text{,}\) we create the following slope field for the differential equation \(\frac{dy}{dt} = -\frac{1}{2}(y - 4)\text{.}\)
  3. Finally, by choosing starting points and following the direction of the slope field, we generate plots of solutions that satisfy \(y(0) = 0\text{,}\) \(y(0) = 2\text{,}\) \(y(0) = 4\text{,}\) and \(y(0) = 6\text{,}\) as shown in the following figure.
  4. For \(y(t) = 4 + 2e^{-t/2}\text{,}\) we see that
    \begin{equation*} \frac{dy}{dt} = 2 \left( -\frac{1}{2} e^{-t/2} \right) = -e^{-t/2} \end{equation*}
    and
    \begin{equation*} -\frac{1}{2}( y - 4 ) = -\frac{1}{2} \left( 4 + 2e^{-t/2} \right) = -e^{-t/2} \end{equation*}
    In addition, \(y(0) = 4 + 2e^0 = 6\text{.}\) So \(y(t) = 4 + 2e^{-t/2}\) is a solution of the differential equation \(\frac{dy}{dt} = -\frac{1}{2}(y - 4)\) with \(y(0) = 6\text{.}\) The graph of this function is identical to the top graph in part (c).
  5. The solution where \(y(0) = 4\) is a constant function.

Subsection 8.2.2 Equilibrium Solutions and Stability

As our work in Example 8.13 demonstrates, first-order autonomous equations may have solutions that are constant. These are simple to detect by inspecting the differential equation \(dy/dt = f(y)\text{:}\) constant solutions necessarily have a zero derivative, so \(dy/dt = 0 = f(y)\text{.}\)
For example, in Example 8.13, we considered the equation \(\frac{dy}{dt} = f(y)=-\frac12(y-4)\text{.}\) Constant solutions are found by setting \(f(y) = -\frac12(y-4) = 0\text{,}\) which we immediately see implies that \(y = 4\text{.}\)

Equilibrium solutions.

Values of \(y\) for which \(f(y) = 0\) in an autonomous differential equation \(\frac{dy}{dt} = f(y)\) are called equilibrium solutions of the differential equation.

Stable vs. unstable solutions.

An equilibrium solution \(\overline{y}\) is called stable if nearby solutions converge to \(\overline{y}\text{.}\) This means that if the initial condition varies slightly from \(\overline{y}\text{,}\) then \(\lim_{t\to\infty}y(t) = \overline{y}\text{.}\) Conversely, an equilibrium solution \(\overline{y}\) is called unstable if nearby solutions are pushed away from \(\overline{y}\text{.}\)

Example 8.16.

Consider the autonomous differential equation
\begin{equation*} \frac{dy}{dt} = -\frac{1}{2}y(y-4)\text{.} \end{equation*}
  1. Make a plot of \(\frac{dy}{dt}\) versus \(y\) on the axes provided in Figure 8.17. Looking at the graph, for what values of \(y\) does \(y\) increase and for what values of \(y\) does \(y\) decrease?
    Figure 8.17. Axes for plotting \(dy/dt\) vs \(y\) for \(\frac{dy}{dt} = -\frac 12 y(y-4)\text{.}\)
    Figure 8.18. Axes for plotting the slope field for \(\frac{dy}{dt} = -\frac 12 y(y-4)\text{.}\)
  2. Identify any equilibrium solutions of the given differential equation.
  3. Now sketch the slope field for the given differential equation on the axes provided in Figure 8.18.
  4. Sketch the solutions to the given differential equation that correspond to initial values \(y(0)=-1, 0, 1, \ldots, 5\text{.}\)
  5. Using your work above, classify the equilibrium solutions you found in (b) as either stable or unstable.
  6. Suppose that \(y(t)\) describes the population of a species of living organisms and that the initial value \(y(0)\) is positive. What can you say about the eventual fate of this population?
  7. Now consider a general autonomous differential equation of the form \(dy/dt = f(y)\text{.}\) Remember that an equilibrium solution \(\overline{y}\) satisfies \(f(\overline{y}) = 0\text{.}\) If we graph \(dy/dt = f(y)\) as a function of \(y\text{,}\) for which of the differential equations represented in Figure 8.19 and Figure 8.20 is \(\overline{y}\) a stable equilibrium and for which is \(\overline{y}\) unstable? Why?
Figure 8.19. Plot of \(\frac{dy}{dt}\) as a function of \(y\text{.}\)
Figure 8.20. Plot of \(\frac{dy}{dt}\) as a different function of \(y\text{.}\)
Answer.
  1. When \(y \lt 0\) and when \(y \gt 4\text{,}\) \(y\) is a decreasing function of \(t\text{.}\) When \(0 \lt y \lt 4\text{,}\) \(y\) is a increasing function of \(t\text{.}\)
  2. \(y = 0\) and \(y = 4\text{.}\)
  3. \(y = 4\) is stable; \(y = 0\) is unstable.
  4. Tend to 4.
  5. Figure 8.19 is for an unstable equilibrium; Figure 8.20 is for a stable equilibrium.
Solution.
  1. The graph below is a plot of \(\frac{dy}{dt}\) versus \(y\text{.}\) We see that when \(y \lt 0\) and when \(y \gt 4\text{,}\) \(\frac{dy}{dt} \lt 0\) and hence \(y\) is a decreasing function of \(t\text{.}\) We also see that when \(0 \lt y \lt 4\text{,}\) \(\frac{dy}{dt} \gt 0\) and hence \(y\) is a increasing function of \(t\text{.}\)
  2. The equilibrium solutions occur when \(\frac{dy}{dt} = 0\) and so the equilibrium solutions are \(y = 0\) and \(y = 4\text{.}\)
  3. Following is a slope field for the differential equation \(\frac{dy}{dt} = -\frac{1}{2}y(y - 4)\text{.}\)
  4. Below is the slope field for the differential equation \(\frac{dy}{dt} = -\frac{1}{2}y(y - 4)\) along with solutions that satisfy \(y(0) = 1\text{,}\) \(y(0) = 2\text{,}\) \(y(0) = 3\text{,}\) \(y(0) = 4\text{,}\) and \(y(0) = 5\text{.}\)
  5. The equilibrium solution \(y = 4\) is stable because trajectories nearby approach this constant solution, while the equilibrium solution \(y = 0\) is unstable because trajectories nearby veer away from this constant solution.
  6. The population will eventually tend to 4.
  7. Figure 8.19 is for an unstable equilibrium. This is because if \(y\) is slightly less than \(\bar{y}\text{,}\) then \(\frac{dy}{dt} \lt 0\) and the function \(y(t)\) will be decreasing. In addition, if \(y\) is slightly greater than \(\bar{y}\text{,}\) then \(\frac{dy}{dt} \gt 0\) and the function \(y(t)\) will be increasing. In both situations, \(y(t)\) is “moving away from” \(\bar{y}\text{.}\) Figure 8.20 is for a stable equilibrium. This is because if \(y\) is slightly less than \(\bar{y}\text{,}\) then \(\frac{dy}{dt} \gt 0\) and the function \(y(t)\) will be increasing. In addition, if \(y\) is slightly greater than \(\bar{y}\text{,}\) then \(\frac{dy}{dt} \lt 0\) and the function \(y(t)\) will be decreasing. In both situations, \(y(t)\) is “moving toward” \(\bar{y}\text{.}\)

Subsection 8.2.3 Summary

  • A slope field is a plot created by graphing the tangent lines of many different solutions to a differential equation.
  • Once we have a slope field, we may sketch the graph of solutions by drawing a curve that is always tangent to the lines in the slope field.
  • Autonomous differential equations sometimes have constant solutions that we call equilibrium solutions. These may be classified as stable or unstable, depending on the behavior of nearby solutions.

Exercises 8.2.4 Exercises

1. Graphing equilibrium solutions.

Consider the direction field below for a differential equation. Use the graph to find the equilibrium solutions.
Answer (separate by commas):\(y =\)
Note: You can click on the graph to enlarge the image.

2. Sketching solution curves.

Consider the two slope fields shown, in figures 1 and 2 below.
figure 1 figure 2
On a print-out of these slope fields, sketch for each three solution curves to the differential equations that generated them. Then complete the following statements:
For the slope field in figure 1, a solution passing through the point (3,-1) has a
  • positive
  • negative
  • zero
  • undefined
slope.
For the slope field in figure 1, a solution passing through the point (-3,-2) has a
  • positive
  • negative
  • zero
  • undefined
slope.
For the slope field in figure 2, a solution passing through the point (2,3) has a
  • positive
  • negative
  • zero
  • undefined
slope.
For the slope field in figure 2, a solution passing through the point (0,1) has a
  • positive
  • negative
  • zero
  • undefined
slope.

3. Matching equations with direction fields.

Match the following equations with their direction field. Clicking on each picture will give you an enlarged view. While you can probably solve this problem by guessing, it is useful to try to predict characteristics of the direction field and then match them to the picture.
Here are some handy characteristics to start with -- you will develop more as you practice.
  1. Set \(y\) equal to zero and look at how the derivative behaves along the \(x\)-axis.
  2. Do the same for the \(y\)-axis by setting \(x\) equal to \(0\)
  3. Consider the curve in the plane defined by setting \(y'=0\) -- this should correspond to the points in the picture where the slope is zero.
  4. Setting \(y'\) equal to a constant other than zero gives the curve of points where the slope is that constant. These are called isoclines, and can be used to construct the direction field picture by hand.
  1. \(\displaystyle y'= y + xe^{-x} + 1\)
  2. \(\displaystyle \displaystyle y'= -\frac{(2x+y)}{(2y)}\)
  3. \(\displaystyle \displaystyle y'= \frac{y}{x} +3\cos(2x)\)
  4. \(\displaystyle y'= 2xy + 2xe^{-x^2}\)
Error: PGbasicmacros: imageRow: Unknown displayMode: PTX.
Error: PGbasicmacros: imageRow: Unknown displayMode: PTX.

4. Describing equilibrium solutions.

Given the differential equation \(x'(t) = - x^4 + 7x^3 - 5x^2 - 31x + 30\text{.}\)
List the constant (or equilibrium) solutions to this differential equation in increasing order and indicate whether or not these equilibria are stable, semi-stable, or unstable. (It helps to sketch the graph.
 1 
www.desmos.com/calculator
)
  • stable
  • unstable
  • semi-stable
  • stable
  • unstable
  • semi-stable
  • stable
  • unstable
  • semi-stable
  • stable
  • unstable
  • semi-stable

5. A look at \(\frac{dy}{dt} = t-y \).

Consider the differential equation
\begin{equation*} \frac{dy}{dt} = t-y\text{.} \end{equation*}
  1. Sketch a slope field on the axes at right.
  2. Sketch the solutions whose initial values are \(y(0)= -4, -3, \ldots, 4\text{.}\)
  3. What do your sketches suggest is the solution whose initial value is \(y(0) = -1\text{?}\) Verify that this is indeed the solution to this initial value problem.
  4. By considering the differential equation and the graphs you have sketched, what is the relationship between \(t\) and \(y\) at a point where a solution has a local minimum?

6. Slope field and equilibrium solutions of a population growth problem.

Consider the situation from problem 2 of Section 8.1: Suppose that the population of a particular species is described by the function \(P(t)\text{,}\) where \(P\) is expressed in millions. Suppose further that the population’s rate of change is governed by the differential equation
\begin{equation*} \frac{dP}{dt} = f(P) \end{equation*}
where \(f(P)\) is the function graphed below.
  1. Sketch a slope field for this differential equation. You do not have enough information to determine the actual slopes, but you should have enough information to determine where slopes are positive, negative, zero, large, or small, and hence determine the qualitative behavior of solutions.
  2. Sketch some solutions to this differential equation when the initial population \(P(0) \gt 0\text{.}\)
  3. Identify any equilibrium solutions to the differential equation and classify them as stable or unstable.
  4. If \(P(0) \gt 1\text{,}\) what is the eventual fate of the species? if \(P(0) \lt 1\text{?}\)
  5. Remember that we referred to this model for population growth as “growth with a threshold.” Explain why this characterization makes sense by considering solutions whose inital value is close to 1.

7. Stable and unstable solutions to a fish population problem.

The population of a species of fish in a lake is \(P(t)\) where \(P\) is measured in thousands of fish and \(t\) is measured in months. The growth of the population is described by the differential equation
\begin{equation*} \frac{dP}{dt} = f(P) = P(6-P)\text{.} \end{equation*}
  1. Sketch a graph of \(f(P) = P(6-P)\) and use it to determine the equilibrium solutions and whether they are stable or unstable. Write a complete sentence that describes the long-term behavior of the fish population.
  2. Suppose now that the owners of the lake allow fishers to remove 1000 fish from the lake every month (remember that \(P(t)\) is measured in thousands of fish). Modify the differential equation to take this into account. Sketch the new graph of \(dP/dt\) versus \(P\text{.}\) Determine the new equilibrium solutions and decide whether they are stable or unstable.
  3. Given the situation in part (b), give a description of the long-term behavior of the fish population.
  4. Suppose that fishermen remove \(h\) thousand fish per month. How is the differential equation modified?
  5. What is the largest number of fish that can be removed per month without eliminating the fish population? If fish are removed at this maximum rate, what is the eventual population of fish?

8. Setting up and analyzing a differential equation modeling a mice population.

Let \(y(t)\) be the number of thousands of mice that live on a farm; assume time \(t\) is measured in years.
 2 
This problem is based on an ecological analysis presented in a research paper by C.S. Hollings: The Components of Predation as Revealed by a Study of Small Mammal Predation of the European Pine Sawfly, Canadian Entomology 91: 283-320.
  1. The population of the mice grows at a yearly rate that is twenty times the number of mice. Express this as a differential equation.
  2. At some point, the farmer brings \(C\) cats to the farm. The number of mice that the cats can eat in a year is
    \begin{equation*} M(y) = C\frac{y}{2+y} \end{equation*}
    thousand mice per year. Explain how this modifies the differential equation that you found in part a).
  3. Sketch a graph of the function \(M(y)\) for a single cat \(C=1\) and explain its features by looking, for instance, at the behavior of \(M(y)\) when \(y\) is small and when \(y\) is large.
  4. Suppose that \(C=1\text{.}\) Find the equilibrium solutions and determine whether they are stable or unstable. Use this to explain the long-term behavior of the mice population depending on the initial population of the mice.
  5. Suppose that \(C=60\text{.}\) Find the equilibrium solutions and determine whether they are stable or unstable. Use this to explain the long-term behavior of the mice population depending on the initial population of the mice.
  6. What is the smallest number of cats you would need to keep the mice population from growing arbitrarily large?