Differential-Equations · Unit 5 · Video 2 · Interactive Practice

Every Zero of f Is a Barrier: Critical Points and the Two-Step Method

IKey Formulas

FormulaNameWhat it gives
dydt=f(y)\dfrac{dy}{dt} = f(y)Autonomous equationThe slope depends on yy alone, never on tt
f(y0)=0  ⟺  y≡y0 is a solutionf(y_0) = 0 \iff y \equiv y_0 \text{ is a solution}Critical point (Step 1)Every horizontal solution, found by algebra with no calculus
d(y0)dt=f(y0)  ⟺  0=f(y0)\dfrac{d(y_0)}{dt} = f(y_0) \iff 0 = f(y_0)The one-line proofOn the left y0y_0 is a constant function; on the right it is a number
f(y)>0⇒y increasing,f(y)<0⇒y decreasingf(y) > 0 \Rightarrow y \text{ increasing}, \quad f(y) < 0 \Rightarrow y \text{ decreasing}The sign of ff (Step 2)The direction of every solution between, above and below the barriers

Key Insight: The roots of ff cut the (t,y)(t, y) plane into bands. Each root is a constant solution, and no integral curve may cross or even touch another, so a solution stays in the band it starts in, and the sign of ff on that band says which way it moves.

💡 The fine print: the barrier is the uniqueness theorem at work, so it needs f′(y)f'(y) continuous, as it is for every polynomial on this page. Without that a barrier can leak: for dy/dt=3y2/3dy/dt = 3y^{2/3} from Unit 1, both y≡0y \equiv 0 and y=t3y = t^3 pass through (0,0)(0, 0), and y=t3y = t^3 runs straight through the constant solution.

IIWhich Horizontal Lines Are Solutions?

A horizontal line y≡cy \equiv c solves dy/dt=f(y)dy/dt = f(y) exactly when f(c)=0f(c) = 0, because its own slope is always zero.

💡 Challenge: find every height at which the field lies flat along the line, then confirm the list by solving (c−1)(3−c)=0(c - 1)(3 - c) = 0.

IIITwo Steps Fix Every Curve

No solving needed: the roots of ff place the barriers, and the sign of ff gives every curve its direction.

IVRead the Arrows Off the Graph

From the graph of ff alone, which way does yy move on each interval between the critical points?

VQuiz Questions

Problem 1 · A Constant Solution on Demand

Given: dydt=y2−ay+2\dfrac{dy}{dt} = y^2 - ay + 2, with aa a constant — find the value of aa for which the constant function y≡2y \equiv 2 is a solution.

✅ Correct! Plugging in y≡2y \equiv 2 makes the left side 00 and the right side f(2)=6−2af(2) = 6 - 2a, so the equation holds exactly when a=3a = 3. Then f(y)=(y−1)(y−2)f(y) = (y - 1)(y - 2), and y≡1y \equiv 1 is a second constant solution.
❌ The constant term was dropped. f(2)=22−2a+2=6−2af(2) = 2^2 - 2a + 2 = 6 - 2a, not 4−2a4 - 2a. With a=2a = 2, f(2)=2≠0f(2) = 2 \neq 0.
❌ Check the sign of the middle term. −a⋅2=−2a-a \cdot 2 = -2a, so f(2)=6−2af(2) = 6 - 2a, which vanishes at a=+3a = +3. With a=−3a = -3, f(2)=4+6+2=12f(2) = 4 + 6 + 2 = 12.
❌ That checks only the left side. d(2)dt=0\dfrac{d(2)}{dt} = 0 whatever aa is, but the equation needs the right side to match: f(2)=6−2af(2) = 6 - 2a must be 00 as well.
❌ Not quite. A constant y0y_0 is a solution exactly when f(y0)=0f(y_0) = 0. Evaluate f(2)f(2) and set it to zero.
Show solution

To say y≡2y \equiv 2 is a solution is to say that plugging it in works:

d(2)dt=22−a(2)+2\frac{d(2)}{dt} = 2^2 - a(2) + 2

The left side is 00, because the derivative of a constant is zero. The right side is the number f(2)=6−2af(2) = 6 - 2a. So the equation holds exactly when

6−2a=0⟹a=36 - 2a = 0 \quad\Longrightarrow\quad a = 3

Check: with a=3a = 3, f(y)=y2−3y+2=(y−1)(y−2)f(y) = y^2 - 3y + 2 = (y - 1)(y - 2), so f(2)=0f(2) = 0 ✅. The equation then has two critical points, 11 and 22, and two horizontal solutions, y≡1y \equiv 1 and y≡2y \equiv 2.

Problem 2 · Following One Solution

Given: dydt=9−y2\dfrac{dy}{dt} = 9 - y^2 with y(0)=1y(0) = 1 — which statement describes y(t)y(t) for t≥0t \ge 0?

✅ Correct! f(1)=9−1=8>0f(1) = 9 - 1 = 8 > 0, so yy increases, and the constant solution y≡3y \equiv 3 is a barrier just above it: the curve climbs toward 33 and never gets there.
❌ That reads the slope of the graph of ff, not its sign. ff is indeed decreasing at y=1y = 1, but dy/dtdy/dt is the value f(1)=8>0f(1) = 8 > 0, so yy increases.
❌ y=3y = 3 is a critical point, since 9−32=09 - 3^2 = 0. So y≡3y \equiv 3 is itself an integral curve, and no other integral curve can cross it.
❌ Reaching 33 would mean touching the integral curve y≡3y \equiv 3, putting two integral curves through one point. Integral curves cannot even touch, so the curve only approaches 33 as t→∞t \to \infty.
❌ Not quite. Find the critical points, then read the sign of ff at the starting value.
Show solution

Step 1 — critical points. 9−y2=(3−y)(3+y)=09 - y^2 = (3 - y)(3 + y) = 0 gives y=−3y = -3 and y=3y = 3: two horizontal solutions, two barriers.

Step 2 — sign of ff. (3−y)(3+y)>0(3 - y)(3 + y) > 0 for −3<y<3-3 < y < 3, and <0< 0 outside. The start y(0)=1y(0) = 1 lies between the barriers, where f>0f > 0, so yy increases, and since it cannot cross or touch y≡3y \equiv 3 it flattens out toward 33.

The slope of the graph of ff plays no role: f′(1)=−2<0f'(1) = -2 < 0 only says the speed dy/dtdy/dt shrinks as yy grows, which is why the curve flattens.

Check by solving (not needed): y=3tanh⁡(3t+C)y = 3\tanh(3t + C) with tanh⁡C=13\tanh C = \tfrac{1}{3} satisfies y′=9 sech2(3t+C)=9−y2y' = 9\,\mathrm{sech}^2(3t + C) = 9 - y^2, and it rises toward 33 without ever reaching it.

Problem 3 · Trapped in a Band

Given: dydt=y3−4y\dfrac{dy}{dt} = y^3 - 4y with y(0)=1y(0) = 1 — find the band that traps the solution and what it does in that band.

Between which constant solutions is y(t)y(t) trapped?

What does y(t)y(t) do as tt increases?

✅ Correct! The critical points are −2-2, 00 and 22, so y(0)=1y(0) = 1 sits in the band 0<y<20 < y < 2. There f(1)=−3<0f(1) = -3 < 0, so the curve falls toward the barrier y≡0y \equiv 0 and never reaches it.
❌ Dividing y3=4yy^3 = 4y by yy throws away the root y=0y = 0. Factor instead: y3−4y=y(y−2)(y+2)y^3 - 4y = y(y - 2)(y + 2), so y≡0y \equiv 0 is a barrier too, and it lies between −2-2 and the start 11.
❌ 11 is where the solution starts, not a critical point: f(1)=1−4=−3≠0f(1) = 1 - 4 = -3 \neq 0. Barriers are roots of ff, never initial values.
❌ y=2y = 2 is a root as well: 23−4(2)=02^3 - 4(2) = 0. So y≡2y \equiv 2 fences the curve in from above too.
❌ Check the sign. f(1)=13−4(1)=−3<0f(1) = 1^3 - 4(1) = -3 < 0, so dy/dt<0dy/dt < 0 and yy decreases.
❌ y≡0y \equiv 0 is a constant solution, since 03−4⋅0=00^3 - 4 \cdot 0 = 0, so it is a barrier the curve cannot cross. Falling on toward −2-2 is what you get after dividing by yy and losing that root.
❌ Reaching 00 at a finite time would put two integral curves, the solution and y≡0y \equiv 0, through one point. The curve gets arbitrarily close to 00 but never arrives.
❌ Not that band. The barriers are the roots of y3−4yy^3 - 4y; factor it completely.
❌ Not quite. Read the sign of ff at the starting value, and remember that barriers cannot be crossed or touched.
Show solution

Step 1 — critical points. Factor completely, never divide by yy:

y3−4y=y(y2−4)=y(y−2)(y+2)=0⟹y=−2, 0, 2y^3 - 4y = y(y^2 - 4) = y(y - 2)(y + 2) = 0 \quad\Longrightarrow\quad y = -2,\ 0,\ 2

Step 2 — sign of ff, one factor at a time:

IntervalSigns of y, y−2, y+2y,\ y - 2,\ y + 2f(y)f(y)y(t)y(t)
y<−2y < -2−, −, −-,\ -,\ -<0< 0decreasing
−2<y<0-2 < y < 0−, −, +-,\ -,\ +>0> 0increasing
0<y<20 < y < 2+, −, ++,\ -,\ +<0< 0decreasing
y>2y > 2+, +, ++,\ +,\ +>0> 0increasing

The start y(0)=1y(0) = 1 lies in the band 0<y<20 < y < 2, trapped between the barriers y≡0y \equiv 0 and y≡2y \equiv 2. There f<0f < 0 (indeed f(1)=−3f(1) = -3), so yy decreases, and since it cannot cross or touch y≡0y \equiv 0 it flattens out toward 00 without reaching it.

Problem 4 · Reading Backwards From a Solution

Given: a solution of dydt=f(y)\dfrac{dy}{dt} = f(y), with ff a polynomial, has y(0)=1y(0) = 1 and y(5)=4y(5) = 4 — what must be true of ff on [1,4][1, 4]?

✅ Correct! The curve passes through every height from 11 to 44, so none of those heights can be a critical point: that barrier would be crossed or touched. So ff never vanishes on [1,4][1, 4], keeps one sign there, and since yy went up, that sign is ++.
❌ The endpoints cannot be critical points either. If f(1)=0f(1) = 0, then y≡1y \equiv 1 is a solution through the point (0,1)(0, 1), and so is this curve: two integral curves through one point. The curve would have to be y≡1y \equiv 1 and could never reach 44.
❌ A zero cc in (1,4)(1, 4) makes y≡cy \equiv c a barrier, and a curve going from 11 to 44 must cross height cc. Solutions of an autonomous equation never turn around: a turning point would need dy/dt=f(y)=0dy/dt = f(y) = 0 there, and that height is a constant solution.
❌ To turn negative after being positive at 11, the polynomial ff must pass through 00 in between, and that zero would be a barrier lying across the curve's path.
❌ Not quite. Ask which heights in [1,4][1, 4] could possibly be critical points, given that the curve passes through all of them.
Show solution

No critical point in [1,4][1, 4]. Suppose f(c)=0f(c) = 0 for some cc with 1≤c≤41 \le c \le 4. The solution is continuous and runs from y(0)=1y(0) = 1 to y(5)=4y(5) = 4, so it takes the value cc at some time t∗t^* in [0,5][0, 5]. Then the solution and the constant solution y≡cy \equiv c both pass through the point (t∗,c)(t^*, c). Two integral curves cannot touch, so the solution is y≡cy \equiv c, which contradicts y(0)=1≠4=y(5)y(0) = 1 \neq 4 = y(5).

One sign on [1,4][1, 4]. A continuous ff with no zero on [1,4][1, 4] cannot change sign there.

That sign is ++. yy rose from 11 to 44, so at some moment it was climbing at a height inside [1,4][1, 4], and there dy/dt=f(y)>0dy/dt = f(y) > 0. Hence

f(y)>0for every y∈[1,4].f(y) > 0 \quad \text{for every } y \in [1, 4].

This is the barrier argument run backwards: a solution that climbs from 11 to 44 proves there are no barriers in between and that the arrows there all point toward increasing yy.

Solved: 0 / 4