Tutorials › Calculus I › Autonomous Equations and Phase Lines

Slope Fields and Separable Equations · Tutorial 1353 of 1495

Autonomous Equations and Phase Lines

Reduce an autonomous differential equation to a phase line by finding where its right-hand side is zero and checking the direction of motion between those values.

Intermediate 10 min read

What You'll Learn

  • Recognize when a first-order differential equation is autonomous.
  • Find equilibrium values by solving where the right-hand side is zero.
  • Split the state line into intervals at those values.
  • Determine the direction of motion on each interval using the sign of the right-hand side.
  • Construct and interpret a phase line without solving the differential equation.

From a Direction Field to a Phase Line

A direction field displays slopes at many points in the time-state plane. For some differential equations, however, the slope depends only on the state \(y\), not on the time \(t\). In that case, the same state always has the same slope, whatever the time. This makes it possible to summarize the direction of motion on a single vertical line.

That summary is called a phase line. To construct one, find the values of \(y\) where the slope is zero, then determine the sign of the slope between successive zero values. Positive slopes indicate motion toward larger \(y\)-values as time increases; negative slopes indicate motion toward smaller \(y\)-values.

Definition: A first-order differential equation \(y'=g(y)\) is autonomous because its right-hand side depends only on the dependent variable \(y\), and not explicitly on the independent variable \(t\). A phase line is a diagram on the \(y\)-axis that marks the zeros of \(g\) and uses arrows to show the direction of motion between them.

We will assume that \(g\) is continuous on the intervals being considered. An equilibrium value is a number \(y_*\) for which \(g(y_*)=0\). As in the earlier material on equilibrium solutions in direction fields, substituting this value gives a constant solution \(y(t)=y_*\), since its derivative is zero and the right-hand side is also zero.

How to Read a Phase Line

Draw a vertical line to represent possible values of \(y\), with larger values higher up. Mark each equilibrium value on the line. These marked values divide the line into intervals. Choose one test value in each interval and evaluate \(g\) there. If \(g(y)>0\), draw an upward arrow; if \(g(y)<0\), draw a downward arrow.

Convention: An upward arrow means that \(y\) increases as time increases while the solution is in that interval. A downward arrow means that \(y\) decreases as time increases. The arrows show direction, not speed or the amount of time a solution takes to move.

Only the sign of \(g\) is needed to determine an arrow. The magnitude of \(g(y)\) gives the slope, and hence information about the rate of change, but it does not change which direction the solution moves. A phase line therefore compresses some of the information in a direction field while making the direction of motion easier to inspect.

Worked Example: A Quadratic Right-Hand Side

Worked Example: A Quadratic Right-Hand Side

Construct a phase line for \(y'=y(2-y)\), and identify its equilibrium solutions.

Here \(g(y)=y(2-y)\). First find its zeros:

$$ y(2-y)=0 \quad\Longrightarrow\quad y=0 \text{ or } y=2. $$

These values divide the state line into three intervals: \(y<0\), \(0<y<2\), and \(y>2\). Test one value in each interval:

$$ g(-1)=(-1)(2-(-1))=(-1)(3)=-3<0, $$ $$ g(1)=(1)(2-1)=(1)(1)=1>0, $$ $$ g(3)=(3)(2-3)=(3)(-1)=-3<0. $$

Thus the arrows point down below \(0\), up between \(0\) and \(2\), and down above \(2\). The equilibria give constant solutions: substituting \(y(t)=0\) yields \(y'=0=g(0)\), and substituting \(y(t)=2\) yields \(y'=0=g(2)=2(2-2)=0\).

The sign checks also verify the arrows: at the chosen point in each interval, the right-hand side has exactly the sign indicated. The complete phase line is described by the ordered marks \(0,2\) and the arrows \(\downarrow,\uparrow,\downarrow\) from bottom to top.

Why the Sign Determines Direction

The connection between the sign of \(g\) and an arrow follows directly from the differential equation. Suppose \(g\) is continuous on an interval \(I\) and has no zero there. Then it cannot take both positive and negative values in \(I\): if it did, the Intermediate Value Theorem would imply that it was zero somewhere between those values. Consequently, its sign is constant throughout \(I\).

Now consider a solution \(y(t)\) during a time interval when its values remain in \(I\). At every such time, the differential equation gives \(y'(t)=g(y(t))\). If \(g\) is positive on \(I\), then \(y'(t)>0\) throughout that time interval, so the solution increases as time increases. If \(g\) is negative on \(I\), then \(y'(t)<0\), so the solution decreases.

Derivation: A phase-line arrow records the sign of the derivative along a solution. On an interval containing no zero of continuous \(g\), the sign of \(g\) cannot change. Therefore every part of a solution that remains in that interval has the same direction of motion.

This argument justifies each arrow without requiring an explicit formula for a solution. It also explains why the zeros must be marked first: the sign of \(g\) can change only by passing through a zero, provided \(g\) is continuous. The phase line separates the state values into regions where the direction stays fixed.

Worked Example: A Repeated Zero

Worked Example: A Repeated Zero

Construct a phase line for \(y'=(y+1)^2(y-2)\), and find its equilibrium solutions.

Set the right-hand side equal to zero. The product is zero when either factor is zero:

$$ (y+1)^2(y-2)=0 \quad\Longrightarrow\quad y=-1 \text{ or } y=2. $$

The intervals are \(y<-1\), \(-1<y<2\), and \(y>2\). Evaluate \(g(y)=(y+1)^2(y-2)\) at one point in each interval:

$$ g(-2)=(-2+1)^2(-2-2)=(-1)^2(-4)=1(-4)=-4<0, $$ $$ g(0)=(0+1)^2(0-2)=(1)^2(-2)=1(-2)=-2<0, $$ $$ g(3)=(3+1)^2(3-2)=(4)^2(1)=16(1)=16>0. $$

The arrows are therefore down below \(-1\), down between \(-1\) and \(2\), and up above \(2\). The equilibrium values give constant solutions: \(g(-1)=0\) because \((-1+1)^2=0\), and \(g(2)=0\) because \(2-2=0\). In each case a constant function has derivative zero, so it satisfies the equation.

Notice that the arrows on the two sides of \(-1\) point in the same direction. The phase line records this fact without requiring us to make any further claim about what happens to a solution over a long time.

Worked Example: Several Equilibria

Worked Example: Several Equilibria

Construct a phase line for \(y'=(y+2)(y-1)(y-3)\), and identify the equilibrium solutions.

The right-hand side is zero when any factor is zero:

$$ (y+2)(y-1)(y-3)=0 \quad\Longrightarrow\quad y=-2,\quad y=1,\quad y=3. $$

These values split the state line into four intervals. Use one test value in each:

$$ g(-3)=(-3+2)(-3-1)(-3-3)=(-1)(-4)(-6)=-4(-6)=24? $$

Recheck the multiplication: \((-1)(-4)=4\), and \(4(-6)=-24\). Thus \(g(-3)=-24<0\). Continuing with the other intervals:

$$ g(0)=(0+2)(0-1)(0-3)=(2)(-1)(-3)=(-2)(-3)=6>0, $$ $$ g(2)=(2+2)(2-1)(2-3)=(4)(1)(-1)=4(-1)=-4<0, $$ $$ g(4)=(4+2)(4-1)(4-3)=(6)(3)(1)=18>0. $$

Therefore the arrows, from bottom to top, are down on \(y<-2\), up on \(-2<y<1\), down on \(1<y<3\), and up on \(y>3\). Each marked value is an equilibrium: \(g(-2)=0\) because the first factor vanishes, \(g(1)=0\) because the second factor vanishes, and \(g(3)=0\) because the third factor vanishes. Hence the constant functions \(y(t)=-2\), \(y(t)=1\), and \(y(t)=3\) satisfy the equation.

The arithmetic at the first test value illustrates why it is useful to show the intermediate products. The three factors there are all negative, so their product must be negative; evaluating them gives \(-24\), confirming the downward arrow.

A Reliable Construction Process

For a polynomial or another easily analyzed function \(g\), the following sequence gives a phase line systematically. The procedure concerns the right-hand side as a function of state; it does not require solving the differential equation.

1
Record the right-hand side.
Write the equation in the form \(y'=g(y)\), making clear which expression determines the slope.
2
Find the zero values.
Solve \(g(y)=0\). Mark each resulting value on a vertical state line; each gives a constant equilibrium solution.
3
Test every interval.
Choose a convenient value between each pair of consecutive marks, and evaluate \(g\) there. Include the intervals below the lowest mark and above the highest mark when they are in the domain.
4
Draw the arrows.
Use an upward arrow where the test value gives \(g(y)>0\), and a downward arrow where it gives \(g(y)<0\).
5
Check the diagram.
Confirm that each arrow agrees with its test calculation and that every equilibrium value is a zero of \(g\).

Common Pitfall: Testing the Wrong Expression

A phase line concerns the sign of the derivative \(y'=g(y)\), not the sign of \(y\) alone. The state \(y\) may be negative while its derivative is positive, or \(y\) may be positive while its derivative is negative. Inferring arrows from whether a test value lies above or below zero can therefore give an incorrect diagram.

Worked Example: Correcting a Sign Error

For \(y'=y(2-y)\), suppose we test \(y=3\). A mistaken argument might say, “\(3\) is positive, so the arrow points up.” This uses the sign of \(y\), but the arrow depends on the sign of \(y(2-y)\).

Evaluate the right-hand side:

$$ g(3)=3(2-3)=3(-1)=-3<0. $$

The correct arrow points down. Substituting \(y=3\) into the differential equation confirms the slope is \(-3\), not a positive number. The correction is to evaluate \(g\) at a test value in every interval, rather than infer a direction from the test value itself.

What a Phase Line Does—and Does Not—Show

A phase line is useful when the question is about the direction of change in an autonomous equation. It reduces a two-dimensional direction field to a one-dimensional picture by using the fact that the slope depends only on \(y\). It also makes the equilibrium values visible and organizes the state values into intervals with consistent signs.

The diagram does not give an explicit solution \(y(t)\), the numerical value of the slope at every state, or the time needed to move between states. For those questions, the phase line alone is not enough. Its purpose here is narrower: identify the zero values and show the direction of motion on the intervals between them.

A practical check is to return to the original differential equation. At every marked equilibrium, verify \(g(y)=0\). On each open interval, verify an arrow with at least one test value. These checks catch missing zeros, incorrect interval signs, and arrows drawn from the sign of \(y\) instead of the sign of \(g(y)\).

Check Your Understanding

For each question, use the sign of the right-hand side to support your answer.

  1. What makes an equation of the form \(y'=g(y)\) autonomous?
  2. For \(y'=(y-1)(y+2)\), what values should be marked as equilibria on the phase line?
  3. For the equation in question 2, choose a test value in each interval and determine the arrow directions.
  4. Why is the sign of \(g(y)\), rather than the sign of \(y\), used to draw an arrow?
  5. What information does a phase line summarize, and name one kind of information it does not provide.

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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