lesson

Unit 4 - Differential Equations and Alternative Coordinates · AP

Separable Differential Equations

Recognize when a rate law can be separated, integrate with conditions, and interpret the resulting family of models.

A law for change, not a finished function

A differential equation relates an unknown function to one or more of its derivatives. Instead of announcing a formula for a population, temperature, or concentration, it states how that quantity changes under specified conditions. The question is then to find functions that obey the law. This reversal matters: an antiderivative in a differential-equation problem is not simply an algebraic exercise, but a candidate model that must still satisfy the original rate relationship and any given starting condition.

An equation is separable when its variables can be arranged so all expressions involving the dependent variable are paired with dydy, and all expressions involving the independent variable are paired with dxdx. A typical form is

dydx=g(x)h(y).\frac{dy}{dx}=g(x)h(y).

Provided the needed quantities are nonzero where we divide, we can write

1h(y) dy=g(x) dx.\frac{1}{h(y)}\,dy=g(x)\,dx.

This notation is a compact way to organize the chain rule. It does not mean dy/dxdy/dx has been treated as an ordinary fraction without justification. After integrating, differentiating the answer provides the check that the separated relationship really reproduces the original equation.

L1-V01 — A slope field and solution family. Draw a light grey-blue, black-bordered vector panel containing a simple slope field for y′=yy'=yy′=y and several solution curves. Make the curve through a marked initial point visually distinctA differential equation supplies local slopes; different initial points select different curves from a solution family.
L1-V01 — A slope field and solution family. Draw a light grey-blue, black-bordered vector panel containing a simple slope field for y′=yy'=yy′=y and several solution curves. Make the curve through a marked initial point visually distinct

Separate, integrate, and keep the constant visible

Consider the growth law

dydt=0.4y,\frac{dy}{dt}=0.4y,

where tt is measured in days and yy is a population measured in cells. The number 0.40.4 has units 1/day1/\mathrm{day}, so the right side has units cells per day, matching dy/dtdy/dt. Separating gives

1y dy=0.4 dt.\frac{1}{y}\,dy=0.4\,dt.

Integrating both sides gives ln⁡∣y∣=0.4t+C\ln|y|=0.4t+C. Exponentiating produces ∣y∣=eCe0.4t|y|=e^C e^{0.4t}. Rather than carrying the absolute-value sign awkwardly, absorb both the sign and the positive factor into a new arbitrary constant AA:

y=Ae0.4t.y=Ae^{0.4t}.

The constant is not a decorative extra. It represents the whole family of possible initial populations. If the condition is y(0)=150y(0)=150 cells, substitution gives 150=Ae0150=Ae^0, so A=150A=150 and y=150e0.4ty=150e^{0.4t}. The starting condition is applied after integration because it selects one member of the family rather than changing the governing law itself.

The zero solution needs separate attention. Dividing by yy excluded y=0y=0, yet y(t)=0y(t)=0 also satisfies y′=0.4yy'=0.4y. In a population model it may be physically relevant; in another context it may fall outside the intended domain. Whenever separation divides by an expression containing the dependent variable, check whether the excluded value gives an additional constant solution. This small habit prevents losing a valid solution before the calculation begins.

L1-V02 — Separation as two accumulated sides. Show the equation dy/dt=g(t)h(y)dy/dt=g(t)h(y)dy/dt=g(t)h(y), then arrows rearranging it into dy/h(y)=g(t)dtdy/h(y)=g(t)dtdy/h(y)=g(t)dt, followed by two matching integral signs. Keep the visual symbolic and uncluttered, with no text rendered as fake mathA separable equation is reorganized so the y-dependent factor and dy are on one side and the t-dependent factor and dt are on the other.
L1-V02 — Separation as two accumulated sides. Show the equation dy/dt=g(t)h(y)dy/dt=g(t)h(y)dy/dt=g(t)h(y), then arrows rearranging it into dy/h(y)=g(t)dtdy/h(y)=g(t)dtdy/h(y)=g(t)dt, followed by two matching integral signs. Keep the visual symbolic and uncluttered, with no text rendered as fake math

Definite bounds can carry the initial condition

An alternative avoids the unnamed constant by integrating from the initial state directly. If y(t0)=y0y(t_0)=y_0, then a separated equation can be written as

∫y0y(t)1h(u) du=∫t0tg(s) ds.\int_{y_0}^{y(t)}\frac{1}{h(u)}\,du =\int_{t_0}^{t}g(s)\,ds.

The letters uu and ss are dummy variables. They prevent the upper bound y(t)y(t) from being confused with the integration variable, and they make clear which endpoint changes. For exponential growth from y(0)=150y(0)=150, definite integration gives

∫150y(t)1u du=∫0t0.4 ds.\int_{150}^{y(t)}\frac{1}{u}\,du =\int_0^t0.4\,ds.

This yields ln⁡ ⁣(y(t)150)=0.4t\ln\!\left(\frac{y(t)}{150}\right)=0.4t, followed by the same solution y(t)=150e0.4ty(t)=150e^{0.4t}. Both styles are valid. The indefinite style emphasizes the general solution family, while the definite style makes the initial state part of the accumulated-change statement from the outset.

L1-V03 — Initial condition chooses a trajectory. Plot several exponential curves with a single highlighted point at t=0t=0t=0, y=150y=150y=150, and highlight the one curve that passes through itAn initial condition chooses one solution curve from the full family allowed by the growth law.
L1-V03 — Initial condition chooses a trajectory. Plot several exponential curves with a single highlighted point at t=0t=0t=0, y=150y=150y=150, and highlight the one curve that passes through it

Interpretation and verification

The expression y=150e0.4ty=150e^{0.4t} is not automatically credible merely because the algebra is tidy. Differentiate it: y′=60e0.4ty'=60e^{0.4t}. Multiplying the original function by 0.40.4 gives 0.4y=60e0.4t0.4y=60e^{0.4t}, so the rate law is satisfied. Substituting t=0t=0 gives y(0)=150y(0)=150, so the initial condition is satisfied as well. These two checks test the two different claims made by the model.

The factor 0.40.4 tells a relative growth rate, not an added 0.40.4 cells per day. As the population increases, the amount added per day also increases. That is why the graph curves upward and why a linear model would eventually disagree. Units make the contrast explicit: a constant addition rate would have units cells per day, whereas 0.40.4 here has units per day and must be multiplied by the current population.

For retrieval, solve the initial-value problem dy/dt=−0.25ydy/dt=-0.25y with y(0)=80 mgy(0)=80\,\mathrm{mg}. First predict whether the curve rises or falls and whether it can cross zero. Then separate variables, apply the condition, and differentiate your result to verify the equation. State the units of 0.250.25 and explain what the negative sign means in this model. The next lesson will use qualitative reasoning and numerical steps when a closed-form separated solution is unavailable or less useful.

Knowledge Map

Where this lesson fits

Prerequisites

Unit 3 - Accumulation in Geometry, Physics, and ModelsMoments, Centers, and Probability

Next lessons

Unit 4 - Differential Equations and Alternative CoordinatesQualitative Models and Numerical ApproximationUnit 4 - Differential Equations and Alternative CoordinatesParametric Curves and Motion