Separation of Variables and Exponential Models

AP Calculus BC · Unit 7 — Differential Equations

Separation of variables, in a fixed order

  1. Separate: every $y$ with $dy$, every $x$ with $dx$. This is possible only when $\frac{dy}{dx}$ factors as $g(x)h(y)$.
  2. Integrate both sides, putting $+C$ on one side only.
  3. Substitute the initial condition immediately, while the equation is still in its raw antiderivative form.
  4. Solve for $y$, choosing the branch (sign of a square root, sign of $A$ in $y=Ae^{kx}$) that matches the initial condition.
  5. State the interval on which the particular solution is valid: the largest interval containing the initial $x$ on which the formula is defined and the differential equation makes sense.

The exponential pattern is worth recognising on sight: $\frac{dy}{dx}=k(y-b)$ gives $y-b=Ae^{kx}$, hence $y=b+Ae^{kx}$. The line $y=b$ is the equilibrium solution, and $A$ carries the sign of $y_0-b$.

Step 5 matters on BC free-response: an answer with no interval, or an interval that quietly steps over a point where the formula blows up, does not earn the point.

Worked example: separate variables, choose the branch, read the long-term behavior

Solve $\dfrac{dy}{dt}=0.4\,(y-50)$ with $y(0)=20$, then say what $y$ approaches as $t$ gets large.

Solution

Separate: $\dfrac{dy}{y-50}=0.4\,dt$.

Integrate: $\ln\left|y-50\right|=0.4t+C$.

Apply the initial condition right away: $\ln\left|20-50\right|=\ln 30=C$.

Exponentiate: $\left|y-50\right|=e^{0.4t}\cdot e^{C}=30e^{0.4t}$. Since $y(0)=20<50$, $y-50$ is negative, so choose the negative branch:

$$y=50-30e^{0.4t}$$

Long-term behavior: $e^{0.4t}\to+\infty$ so $y\to-\infty$ — the solution runs away from the line $y=50$, not toward it.

That is the difference between positive $k$ and negative $k$: for the same equilibrium solution $y=50$, the sign of $k$ decides whether solutions are drawn in or pushed away.

Common mistake

From $\ln|y-50|=0.4t+C$, writing $y-50=e^{0.4t}+C$ is wrong at the root: $e^{a+b}=e^{a}e^{b}$, so the constant comes out as a factor, not a term. Its sibling trap is forgetting the shifted term: having $y-50=Ae^{0.4t}$ and then concluding $y=Ae^{0.4t}$, losing the number $50$ entirely. How to prevent both: once you have the formula, substitute $t=0$ and compare with the initial condition — it takes only ten seconds and catches both mistakes on the spot.

Key takeaway

Separate, integrate, apply the initial condition right away, choose the branch by sign, then state the domain. The form $y=b+Ae^{kx}$ should be recognized by eye: $b$ is the equilibrium solution, and the sign of $k$ says whether solutions are drawn in or pushed away.

← Slope Fields, Equilibrium Solutions, and Concavity · All AP Calculus BC lessons · Practice AP Calculus BC questions (free, instant scoring) · Euler's Method →