Separation of Variables and Exponential Models
AP Calculus BC · Unit 7 — Differential Equations
Separation of variables, in a fixed order
- Separate: every $y$ with $dy$, every $x$ with $dx$. This is possible only when $\frac{dy}{dx}$ factors as $g(x)h(y)$.
- Integrate both sides, putting $+C$ on one side only.
- Substitute the initial condition immediately, while the equation is still in its raw antiderivative form.
- Solve for $y$, choosing the branch (sign of a square root, sign of $A$ in $y=Ae^{kx}$) that matches the initial condition.
- 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.