Tutorials › Calculus I › Parameter Effects on Equilibria and Solutions

Slope Fields and Separable Equations · Tutorial 1377 of 1495

Parameter Effects on Equilibria and Solutions

Learn to classify the equilibria of \(y'=y(a-y)\) as the parameter changes, and connect their phase-line directions to explicit solution behavior.

Intermediate 10 min read

What You'll Learn

  • Find the equilibrium values for positive, zero, and negative parameter values.
  • Determine phase-line directions by checking the sign of \(y(a-y)\) on each interval.
  • Compare which equilibria attract nearby solutions and which repel them.
  • Use explicit solutions to describe parameter-dependent behavior over time.
  • Identify the special case where the two equilibria merge and the solution behavior changes.
  • Avoid sign errors by checking the factors in the differential equation separately.

Why the Parameter Matters

A differential equation can keep the same algebraic form while its solutions change substantially as a parameter varies. For the family

$$ \frac{dy}{dt}=y(a-y), $$

\(a\) is a fixed real number, and \(y\) is the quantity that changes with time \(t\). The parameter affects both where solutions can remain constant and whether nearby solutions move toward or away from those constant values.

The central comparison is between \(a>0\), \(a=0\), and \(a<0\). When \(a\ne 0\), the equation has two equilibrium values, \(0\) and \(a\). At \(a=0\), those values coincide, and the resulting equation has a different pattern of solution behavior.

Definition: An equilibrium solution is a constant function \(y(t)=c\) that satisfies the differential equation for every \(t\) in its domain. For this equation, that requires \(c(a-c)=0\).

Equilibria and Phase-Line Directions

To find the equilibria, set the right-hand side equal to zero:

$$ y(a-y)=0. $$

Thus \(y=0\) or \(y=a\). If \(a\ne 0\), these are distinct equilibrium values. If \(a=0\), they are the same value, so there is only one distinct equilibrium: \(y=0\).

Between equilibrium values, the sign of \(y(a-y)\) determines the direction of change. A positive value means \(y\) increases as \(t\) increases; a negative value means \(y\) decreases. The sign must be checked separately on each interval, especially when \(a<0\).

Parameter case Interval for \(y\) Sign of \(y(a-y)\) Direction as \(t\) increases
\(a>0\) \(y<0\) Negative Decreasing
\(a>0\) \(0<y<a\) Positive Increasing
\(a>0\) \(y>a\) Negative Decreasing
\(a<0\) \(y<a\) Negative Decreasing
\(a<0\) \(a<y<0\) Positive Increasing
\(a<0\) \(y>0\) Negative Decreasing

For example, when \(a<0\) and \(y<a\), we have \(y<0\) and \(a-y>0\), so \(y(a-y)<0\). In the interval \(a<y<0\), both \(y\) and \(a-y\) are negative, so their product is positive. Keeping the order of \(a\) and \(0\) in mind prevents sign errors.

What the Phase Line Says About Stability

An equilibrium is called attracting if solutions starting sufficiently close to it move toward it as time increases. It is called repelling if nearby solutions move away from it. The phase-line directions show these tendencies without requiring an explicit solution formula.

If \(a>0\), solutions just below \(0\) decrease, while solutions just above \(0\) increase. Both directions point away from \(0\), so \(0\) is repelling. On either side of \(a\), solutions move toward \(a\): between \(0\) and \(a\) they increase, and above \(a\) they decrease. Thus \(a\) is attracting.

If \(a<0\), the order of the equilibria reverses. For \(y<a\), solutions decrease, moving away from \(a\). For \(a<y<0\), solutions increase, also moving away from \(a\). Therefore \(a\) is repelling. On both sides of \(0\), solutions move toward \(0\), so \(0\) is attracting.

Takeaway: When \(a\) changes sign, the equilibria \(0\) and \(a\) exchange their attracting and repelling roles. Their locations also change order: \(a\) is above \(0\) for \(a>0\), below \(0\) for \(a<0\).

Explicit Solutions When \(a\ne 0\)

The phase line describes directions. A separated formula gives more detail about the trajectory. Suppose \(a\ne 0\), and consider a non-equilibrium initial value \(y(t_0)=y_0\), with \(y_0\ne 0\) and \(y_0\ne a\). Separation gives

$$ \frac{dy}{y(a-y)}=dt. $$

The partial-fraction identity

$$ \frac{1}{y(a-y)} = \frac{1}{a}\left(\frac{1}{y}+\frac{1}{a-y}\right) $$

holds because the right-hand side simplifies to \(1/[y(a-y)]\). Integrating both sides, using \(\int 1/(a-y)\,dy=-\ln|a-y|\), yields

$$ \frac{1}{a}\ln\left|\frac{y}{a-y}\right|=t+C. $$

Exponentiating and incorporating the sign into a constant gives \(y/(a-y)=K e^{at}\). Applying \(y(t_0)=y_0\) and solving for \(y\) produces

$$ y(t)= \frac{a}{1+\left(\frac{a-y_0}{y_0}\right)e^{-a(t-t_0)}}. $$

This formula applies on intervals where its denominator is nonzero. The separation divided by \(y(a-y)\), so the equilibrium solutions must also be included separately: \(y(t)=0\) and \(y(t)=a\). In particular, dividing by the right-hand side without checking for equilibria would omit constant solutions.

Why the formula works: Separation converts the equation into an integral identity on any interval where \(y\ne 0\) and \(y\ne a\). The initial condition determines the constant, and solving the resulting relation gives the displayed expression. Substitution into the differential equation provides a direct check, as in the examples below.

Worked Examples

Worked Example: Positive Parameter and Attraction to \(a\)

Solve the initial-value problem \(y'=y(3-y)\), \(y(0)=1\), and describe its long-term behavior. Here \(a=3\), so the equilibria are \(0\) and \(3\). Since \(0<1<3\), the phase-line direction is upward, toward \(3\).

In the formula, \(a=3\), \(y_0=1\), and \(t_0=0\). Therefore

$$ \frac{a-y_0}{y_0}=\frac{3-1}{1}=2, \qquad y(t)=\frac{3}{1+2e^{-3t}}. $$

At \(t=0\), \(e^0=1\), so \(y(0)=3/(1+2)=1\), as required. To check the differential equation, let \(D=1+2e^{-3t}\). Then \(D'=-6e^{-3t}\), and

$$ y'(t)=-\frac{3D'}{D^2} =\frac{18e^{-3t}}{D^2}. $$

Also,

$$ y(3-y) = \frac{3}{D}\left(3-\frac{3}{D}\right) = \frac{9(D-1)}{D^2} = \frac{18e^{-3t}}{D^2}, $$

since \(D-1=2e^{-3t}\). Thus the formula satisfies the equation. As \(t\to\infty\), \(e^{-3t}\to0\), so \(y(t)\to3\), in agreement with the phase line.

Worked Example: Negative Parameter and a Different Attractor

Solve \(y'=y(-2-y)\), \(y(0)=-1\). Now \(a=-2\), and the equilibria are \(-2\) and \(0\). The initial value lies between them. On this interval \(y<0\) and \(-2-y<0\), so \(y'>0\): the solution increases toward \(0\).

The coefficient in the formula is

$$ \frac{a-y_0}{y_0} = \frac{-2-(-1)}{-1} = \frac{-1}{-1} = 1. $$

Consequently,

$$ y(t)=\frac{-2}{1+e^{2t}}. $$

At \(t=0\), this gives \(y(0)=-2/(1+1)=-1\). For a differential-equation check, set \(D=1+e^{2t}\). Then \(D'=2e^{2t}\), and

$$ y'(t)=\frac{4e^{2t}}{D^2}. $$

The right-hand side is

$$ y(-2-y) = \left(\frac{-2}{D}\right) \left(-2+\frac{2}{D}\right) = \left(\frac{-2}{D}\right) \left(\frac{-2(D-1)}{D}\right) = \frac{4e^{2t}}{D^2}. $$

The two sides agree. Since \(e^{2t}\to\infty\), the solution tends to \(0\) from below, as predicted by the phase line.

Worked Example: The Merged Equilibrium at \(a=0\)

Solve \(y'=-y^2\), \(y(0)=-2\). When \(a=0\), the equation is \(y'=y(0-y)=-y^2\), and its only equilibrium is \(y=0\). Separating for \(y\ne0\) gives \(1/y=t+C\), so the initial condition \(y(0)=-2\) gives \(C=-\tfrac12\), and hence

$$ y(t)=\frac{-2}{1-2t}. $$

Indeed, \(y(0)=-2/(1-0)=-2\). Differentiating gives

$$ y'(t)=\frac{-4}{(1-2t)^2}, \qquad -y(t)^2=-\left(\frac{-2}{1-2t}\right)^2 =\frac{-4}{(1-2t)^2}. $$

Thus the formula satisfies the equation wherever its denominator is nonzero. The denominator vanishes at \(1-2t=0\), or \(t=1/2\). The solution decreases without bound as \(t\) approaches \(1/2\) from below; it does not approach the equilibrium. This shows why the zero-parameter case cannot be treated as though it had two distinct equilibria.

What Changes as the Parameter Passes Through Zero?

For \(a>0\), the equilibrium \(a\) is positive and attracts solutions between \(0\) and \(a\), as well as solutions above \(a\). For \(a<0\), the equilibrium \(a\) is negative and repelling, while \(0\) attracts solutions on either side. At \(a=0\), the two equilibrium values coincide.

The equation at \(a=0\), \(y'=-y^2\), has an asymmetric pattern. If \(y>0\), then \(y'<0\), and the formula for a positive initial value \(y_0\) is \(y(t)=y_0/(1+y_0t)\); it tends to \(0\) as \(t\to\infty\). If \(y<0\), then \(y'<0\) as well, and the same formula has denominator zero at \(t=-1/y_0>0\). Thus negative initial values move away from zero and reach an unbounded value in finite positive time. The equilibrium at zero attracts from above but not from both sides.

The parameter also changes the initial slope at a fixed starting value. For example, at \(y=1\), the slope is \(a-1\): it is \(1\) when \(a=2\), \(-1\) when \(a=0\), and \(-3\) when \(a=-2\). This comparison shows that parameter changes affect not only the equilibrium locations but also the immediate direction and rate of change.

A Common Sign Mistake

A sign analysis must respect the order of the values \(a\), \(0\), and \(y\). For instance, take \(a=-2\) and \(y=-3\). It is incorrect to say that both \(y\) and \(a-y\) are negative merely because \(y<a\). In fact,

$$ y=-3<0, \qquad a-y=-2-(-3)=1>0, \qquad y(a-y)=(-3)(1)=-3<0. $$

The corrected method is to determine the sign of each factor separately, then multiply those signs. Here the solution decreases. A reliable phase-line analysis never infers the sign of a product from the position of \(y\) alone.

Why These Parameter Comparisons Matter

Equilibria describe the constant states of a model, while phase-line directions describe how nearby states change. Studying parameter effects connects these two features: a parameter may shift an equilibrium, reverse the direction of motion on an interval, or cause distinct equilibria to merge. The explicit formulas then show whether the predicted direction corresponds to approach to an equilibrium or, for some initial values, to a finite-time singularity.

For this equation, the decisive steps are to find the roots of \(y(a-y)\), order them correctly for the sign of \(a\), and test the factors on each interval. The special case \(a=0\) must be checked separately because the two roots are no longer distinct. These habits apply broadly when comparing parameter-dependent differential equations.

Check Your Understanding

Use the equilibria, factor signs, and solution behavior discussed above to answer these questions.

  1. For \(a=4\), identify the equilibria and state the direction of motion when \(0<y<4\).
  2. For \(a=-3\), determine the sign of \(y'\) when \(y<-3\), showing the sign of each factor.
  3. For \(a<0\), which equilibrium attracts solutions with initial values in the interval \((a,0)\)?
  4. Why must the cases \(a=0\) and \(a\ne0\) be distinguished when solving by separation?
  5. For \(a=0\) and \(y(0)=-1\), at what positive time does the explicit solution's denominator vanish?

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