Tutorials › Calculus I › Workshop on Separable Equations With Equilibria

Slope Fields and Separable Equations · Tutorial 1382 of 1495

Workshop on Separable Equations With Equilibria

Combine equilibrium checks, phase-line signs, and separation to solve autonomous initial-value problems without losing valid solutions.

Intermediate 10 min read

What You'll Learn

  • Identify all equilibrium solutions by factoring the autonomous equation.
  • Use signs between equilibria to determine whether solutions increase or decrease.
  • Separate variables only on intervals where the right-hand side is nonzero.
  • Apply an initial condition to select the correct solution branch and constant.
  • Check explicit and equilibrium solutions directly in the original equation.
  • Recognize how division can omit equilibrium solutions.

Equilibria, Motion, and Initial Conditions

An autonomous differential equation has a right-hand side that depends on the dependent variable but not explicitly on the independent variable. Its standard form is \(y'=F(y)\). When \(F\) has several zeros, the equation has several constant solutions, and those solutions divide the number line into intervals where the direction of motion may differ.

Solving an initial-value problem in this setting takes more than separating variables. First identify every equilibrium, then determine the sign of \(F\) between equilibria. If the initial value is an equilibrium, the constant solution must be kept. Otherwise, separation is valid only on the interval containing the initial value, where \(F\) does not vanish.

Definition: An equilibrium solution of \(y'=F(y)\) is a constant function \(y(t)=c\) for which \(F(c)=0\). Substitution gives \(y'=0=F(c)\), so the constant function solves the equation.

Factor First and Read the Phase Line

For a factored equation, the equilibrium values are the roots of \(F(y)\). Between consecutive roots, \(F\) has a constant sign if it is continuous and has no additional zeros there. The sign tells the direction of motion: when \(F(y)>0\), solutions increase; when \(F(y)<0\), they decrease.

A phase line records this information on the \(y\)-axis. Mark each equilibrium and place an upward arrow on intervals where \(F>0\), and a downward arrow where \(F<0\). This gives a useful qualitative check on a formula obtained by separation. It also helps determine which interval can contain a solution with a specified initial value.

Sign of \(F(y)\)What a solution does there
\(F(y)>0\)It increases as \(t\) increases.
\(F(y)<0\)It decreases as \(t\) increases.
\(F(y)=0\)The corresponding constant function is an equilibrium solution.

The phase line describes direction, not the exact speed or a complete formula. Separation provides the formula when the initial value lies away from an equilibrium.

Why Separation Works on One Branch

Suppose \(F\) is continuous on an interval \(I\) and is nonzero throughout \(I\). A solution whose values lie in \(I\) can be separated because division by \(F(y)\) is then legitimate. Define an antiderivative on \(I\) by \(G(y)=\int_{y_0}^{y} \frac{du}{F(u)}\). The chain rule explains why this integral appears:

$$ \frac{d}{dt}G(y(t)) = G'(y(t))y'(t) = \frac{1}{F(y(t))}F(y(t)) = 1. $$

Consequently, \(G(y(t))=t-t_0\) for a solution with \(y(t_0)=y_0\). In integral form, this is

$$ \int_{y_0}^{y(t)}\frac{du}{F(u)}=t-t_0. $$

This argument justifies separation on an interval where \(F\neq 0\). It does not justify division at an equilibrium, because \(1/F(y)\) is undefined there. The initial value must therefore be checked against the equilibria before separating.

Worked Example: A Logistic-Type Equation with Two Equilibria

Worked Example: A Logistic-Type Equation with Two Equilibria

Solve \(y'=y(2-y)\), \(y(0)=1\), and use the signs of the factors to check the direction of motion.

The factored right-hand side vanishes at \(y=0\) and \(y=2\). Since the initial value \(1\) is between them, \(F(y)\) is nonzero on that branch and separation is allowed there. For \(0<y<2\), both factors \(y\) and \(2-y\) are positive, so \(y'>0\).

Separate and integrate using partial fractions:

$$ \frac{dy}{y(2-y)}=dt, \qquad \frac{1}{y(2-y)} = \frac{1}{2y}+\frac{1}{2(2-y)}. $$

Because \(\int \frac{1}{2(2-y)}\,dy=-\frac12\ln|2-y|\), integration gives

$$ \frac12\ln|y|-\frac12\ln|2-y|=t+C. $$

On the branch \(0<y<2\), the ratio \(y/(2-y)\) is positive. Multiply by \(2\), combine the logarithms, and exponentiate:

$$ \ln\!\left(\frac{y}{2-y}\right)=2t+2C, \qquad \frac{y}{2-y}=Ae^{2t}. $$

Use \(y(0)=1\): \(1/(2-1)=A e^0\), so \(A=1\). Solving for \(y\) gives

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

Check the initial condition: \(y(0)=2/(1+1)=1\). To check the differential equation, differentiate the formula. Writing \(q=e^{-2t}\), we have \(q'=-2q\), so

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

Thus the formula satisfies both the equation and the initial condition. It increases while remaining between the equilibria, as the phase-line sign predicts.

Worked Example: Three Equilibria and Branch Selection

Worked Example: Three Equilibria and Branch Selection

Solve \(y'=y(1-y^2)\), \(y(0)=\frac12\).

Factor \(F(y)=y(1-y)(1+y)\). The equilibria are \(-1,0,1\). For \(0<y<1\), all three factors in \(y(1-y)(1+y)\) are positive, so solutions increase on this interval. The initial value is in this branch, so separation does not cross a zero of \(F\).

Separate variables. With \(u=y^2\), \(du=2y\,dy\), and therefore

$$ \int\frac{dy}{y(1-y^2)} = \frac12\int\frac{du}{u(1-u)} = \frac12\int\left(\frac1u+\frac{1}{1-u}\right)du = \frac12\ln|u|-\frac12\ln|1-u|+C. $$

Returning to \(y\), the separated equation becomes

$$ \frac12\ln\left(\frac{y^2}{1-y^2}\right)=t+C, \qquad \frac{y^2}{1-y^2}=Ae^{2t}, $$

where the logarithm has a positive argument on \(0<y<1\). At \(t=0\), \(y=\frac12\), so \(y^2/(1-y^2)=(1/4)/(3/4)=1/3\). Hence \(A=1/3\). Rearranging gives

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

The branch condition \(0<y<1\) selects the positive square root:

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

At \(t=0\), this gives \(1/\sqrt{4}=1/2\). To verify the equation, put \(q=3e^{-2t}\), so \(q'=-2q\) and \(y=(1+q)^{-1/2}\). Then

$$ y'=q(1+q)^{-3/2}, \qquad y(1-y^2) = (1+q)^{-1/2}\left(1-\frac{1}{1+q}\right) = q(1+q)^{-3/2}. $$

The derivative agrees with the right-hand side. The solution increases on the interval \(0<y<1\), consistent with the phase line.

Worked Example: An Initial Value at an Equilibrium

Worked Example: An Initial Value at an Equilibrium

Solve \(y'=(y+2)y(1-y)\), \(y(0)=-2\).

The factors show equilibria at \(-2\), \(0\), and \(1\). Since the initial value is an equilibrium, substitute the constant function \(y(t)=-2\): its derivative is \(0\), and the right-hand side is \(({-2}+2)(-2)(1-(-2))=0\). Therefore \(y(t)=-2\) is a solution satisfying the initial condition.

There is no need, and no permission, to divide by \(y+2\) at this initial value. Moreover, the right-hand side is a polynomial, so it is smooth. The local existence and uniqueness result for smooth equations implies that the solution through \((0,-2)\) is unique on its interval of existence. Since the constant function is one such solution, it is the solution of this initial-value problem.

The phase-line signs provide a qualitative check. For \(y<-2\), the factors have signs \((-)(-)(+)\), so \(y'>0\). For \(-2<y<0\), they have signs \((+)(-)(+)\), so \(y'<0\). The arrows point toward \(-2\) from both sides, but a solution starting exactly at \(-2\) remains there.

A Reliable Procedure

For an autonomous initial-value problem with a factored right-hand side, use the following order. It keeps equilibrium solutions visible and makes the chosen branch explicit.

1
Find the equilibria.
Factor \(F(y)\) and solve \(F(y)=0\). Record each constant solution before dividing by any factor.
2
Locate the initial value.
If \(y_0\) is an equilibrium, test the corresponding constant function in the original equation. If not, identify the interval between equilibria containing \(y_0\).
3
Read the signs.
Determine the sign of \(F\) on each interval. Use it to predict whether the solution increases or decreases there.
4
Separate on the selected interval.
When \(F\neq0\) on the branch, integrate \(dy/F(y)=dt\), using partial fractions or another appropriate algebraic rearrangement.
5
Apply the initial condition and check.
Determine the integration constant and any sign or branch choice from the initial value. Substitute the resulting formula into the original equation and check the initial condition.

Common Pitfall: Dividing Away an Equilibrium

Consider \(y'=y(2-y)\). A tempting first step is to divide both sides by \(y(2-y)\). That produces an equation involving \(1/[y(2-y)]\), but it is defined only when \(y\neq0\) and \(y\neq2\). The division has excluded the equilibrium solutions \(y(t)=0\) and \(y(t)=2\).

The incorrect conclusion would be: “The separated formula gives all solutions, so there are no constant solutions.” The correction is to check the roots before dividing. Both constants satisfy the original equation: at \(y=0\), \(y(2-y)=0\), and at \(y=2\), \(y(2-y)=0\). A separated formula derived on an interval away from these roots describes non-equilibrium solutions on that branch; it does not replace the equilibrium solutions.

Key takeaway: For an initial value at a root of \(F\), check the equilibrium solution directly. For an initial value between roots, separate only on the interval containing that value, and use the initial condition to select the correct branch.

Check Your Understanding

For each problem, identify what the equilibria and signs tell you before attempting a calculation.

  1. For \(y'=y(3-y)\), find the equilibrium values and determine the sign of \(y'\) when \(0<y<3\).
  2. For \(y'=y(1-y^2)\), \(y(0)=-\frac12\), which interval between equilibria contains the initial value?
  3. Why is dividing by \(F(y)\) invalid when the initial value is an equilibrium?
  4. For \(y'=(y-1)(y+2)\), \(y(0)=1\), what candidate solution should be checked first?
  5. After obtaining an explicit formula by separation, what two checks should be made against the original initial-value problem?

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