Learn
Lesson · Equilibria, Stability and Phase Lines · Sketching

Sketching Solutions from the Phase Line

In the t–y plane the equilibria are horizontal lines that no solution crosses, and between them each solution rises or falls as the phase line says. Differentiating y′ = f(y) once more gives y″ = f′(y)·f(y), which fixes the bend, so a solution has an inflection exactly where it crosses a level at which f′ changes sign. The lab computes those levels exactly and draws the curves for comparison.

y″ = f′(y)·y′ = f′(y)·f(y) horizontal at y*, monotone in each gap y″ > 0 where f′ and f have the same sign inflection at a level where f′ changes sign curves never cross; slide one: another
What a sketch must show, and how the bends are found

Core ideas

What this lesson establishes

Three ideas. The phase line fixes the outline, one more derivative fixes the bends, and the bends sit at levels and not at times.

1

The phase line fixes the outline

Draw each equilibrium as a horizontal line across the plane. Between two of them every solution is monotone, rising or falling as the arrow says, never touching either line, and levelling off towards a stable equilibrium. Close to an unstable one it leaves slowly and then speeds up.

2

The second derivative is f′ times f

Differentiate y′ = f(y) by the chain rule: y″ = f′(y)·y′, and y′ is f(y), so y″ = f′(y)·f(y). It is positive, concave up, where f′ and f have the same sign, and negative, concave down, where their signs differ. Both are functions of y alone.

3

The bend changes at a level, not at a time

A solution can only change its bend where y″ changes sign. At an equilibrium f is zero but the solution is a straight line, so that is no bend. Elsewhere it is where f′ is zero and changes sign: a height y, the same for every solution that crosses it, reached at a time that differs from solution to solution.

The material

Drawing the curves the phase line allows

The second derivative worked out, one equation sketched in full, and the cases where the inflection cannot be placed exactly.

Theorem · The second derivative of a solution

If y solves y′ = f(y), with f a polynomial, then y″ = f′(y)·f(y).

Differentiate both sides of y′ = f(y) with respect to t. On the left that gives y″. On the right the chain rule gives f′(y)·y′, the slope of f at the height y times the rate at which y is changing.

Replace y′ by f(y) in that product, which the equation allows at every t. The result is y″ = f′(y)·f(y), a function of y alone.

□

Take y′ = (y − 1)·(y − 3). Then f′(y) = 2y − 4, and y″ = (2y − 4)·(y − 1)·(y − 3). It is zero at y = 1 and y = 3, which are equilibria, and at y = 2, which is not.

gap f′ f y″ shape y < 1 − + − concave down 1 < y < 2 − − + concave up 2 < y < 3 + − − concave down y > 3 + + + concave up

A solution from y(0) = 5/2 is in the gap (1, 3), with f(5/2) = −3/4, so it falls. Above 2 it is concave down, y″ = (1)·(−3/4) = −3/4 at the start. It crosses the level 2 and from there it is concave up, y″ = 3/4 at y = 3/2 where f′ = −1 and f = −3/4, flattening out towards 1. The inflection is at the level y = 2.

Why the steepest place is the inflection

In the gap (1, 3) the speed |f(y)| is 1 at y = 2 and less everywhere else, so the curve is steepest as it crosses 2. A curve that is steepest at a point has no change of slope there, which is y″ = 0. The inflection and the maximum speed are the same level.

What a sketch must show

  • Each equilibrium as a horizontal line, solutions never crossing it.
  • In each gap, curves that rise or fall as the arrow says, monotone, levelling off towards a stable equilibrium.
  • Each inflection level as a guide, with the bend flipping where a curve crosses it.
  • Any curve slid left or right as another curve of the same equation.
Example · A logistic S-curve from the phase line

Take y′ = y·(1 − y/4), so f(y) = y − y²/4 and f′(y) = 1 − y/2, zero at y = 2, half of the equilibrium 4. The slopes at y = 1/2, 1, 2, 3 are 7/16, 3/4, 1, 3/4, and 0 at y = 4.

From y(0) = 1 the curve rises, concave up until it crosses 2, steepest there, then concave down, levelling off at 4. From y(0) = 6 it falls to 4, concave up all the way, with no inflection, since f′ < 0 and f < 0 above 4. “Logistic Growth” in Separable Equations, Growth and Decay found the same level K/2 as the point of fastest growth and printed y = 2 in the same tile; the phase line now says why the fastest point and the change of bend are one level.

The cubic of the earlier lessons has f′(y) = 3y² − 8y + 3, whose roots are (4 ± √7)/3, exactly, and ≈ 0.451416 and ≈ 2.21525 rounded. The inflection levels are real and irrational. The lab places only the rational ones, so its inflection tile reads none rational there; the sketch still has two bends, at heights that are not fractions.

Interactive

Autonomous equations

Equilibria, the phase line, and where solutions go

Autonomous equationsy′ = f(y): the sign of f decides the direction
exact Euler stepscurves drawn by stepping in floating pointphase line

Method

Sketching solution curves from f

Five moves, each using something computed earlier in the course.

1

Draw the equilibria as horizontal lines

Find them exactly and draw them across the t–y plane, labelled stable or unstable. No curve will cross any of them.

2

Sketch the monotone curves in each gap

Use the arrow of the gap: up or down, levelling off at a stable end, leaving an unstable end slowly. A gap with no equilibrium at an end has curves that run off the page.

3

Compute f′ and find where it is zero

Differentiate, solve f′(y) = 0 exactly, and keep the roots at which f′ changes sign and f is not zero. Each is the level of an inflection.

4

Read the bend in every strip

Between the lines, y″ = f′·f is positive where the signs agree and negative where they differ. Draw each curve concave up or down accordingly, flipping where it crosses an inflection level.

5

Compare with the drawn curves

Check the arrows, the levelling off and the level of each flip against the lab. A curve that crosses an equilibrium, or has a bend at the wrong level, has a slip in a sign.

From the phase line to the curve

Score 0 / 0

y′ = (y − 1)(y − 3): the curve from y(0) = 5/2

Here f′(y) = 2y − 4, so y″ = (2y − 4)·f(y). Find the level of the bend, then read the shape of the solution on each side of it.

y″ = f′(y)·f(y) = (2y − 4)·(y − 1)·(y − 3) f′(y) = 0 at y = 2 y = 5/2: f = −3/4, f′ = 1 y″ = −3/4 down y = 3/2: f = −3/4, f′ = −1 y″ = 3/4 up from 5/2: falls, concave down to y = 2, then concave up, levelling off at 1

The curve is monotone, falling, and never reaches 1 or goes below it. It changes bend at the level y = 2, where it is steepest: the lab's inflection tile reads y = 2, and the start 5/2 is drawn crossing that level. The start 3/2 is already below it, and its curve is concave up throughout.

For a rehearsal, take the start y(0) = 4 on the same equation. f(4) = 3 and f′(4) = 4, so y″ = 12 > 0: rising and concave up, with no inflection, running off the page.

Common mistakes

1
Sketching a curve between two equilibria as a straight line or a parabolaFor y′ = y·(1 − y/4) the slopes at y = 1/2, 1, 2, 3, 4 are 7/16, 3/4, 1, 3/4, 0. A straight line has one slope throughout, and a parabola cannot level off at both ends. The curve is an S: slope rising to 1 at y = 2 and falling to 0 at y = 4. The shape comes from f, and each equation draws its own.
2
Marking the equilibria as inflectionsAt an equilibrium f = 0, so f′·f = 0 and y″ = 0 there. That is a horizontal straight line, which has no bend, and the solutions near it are the ones that bend. An inflection needs f′ to change sign at a level where f is not zero, as at y = 2 for the quadratic.
3
Putting the inflection at a time instead of a levelThe bend changes where a solution crosses y = 2, and two solutions of the same equation reach 2 at different times: starting at 1/2 and at 1 on the logistic equation, the first gets there later. The level is the same for both, which is why the lab reports y = 2 and no time.

Check your understanding

✓
Finish when you can sketch solution curves from the phase line alone, with the inflection level computed.

You should be able to draw the equilibria as horizontal lines, sketch monotone curves in each gap, work out y″ = f′(y)·f(y), solve f′(y) = 0 for the levels of the bends, and check the sketch against the drawn curves.

Note: That completes first-order equations with no t in them: the phase line names the equilibria and their types, gives every limit, follows them as a parameter moves, and draws the curves. The next course takes the equations that do have t in them, but are linear, and solves them in closed form.

Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it. Carry it to another device.

Feedback and recommendations

Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.

No recommendations yet for this lesson.