Separable Differential Equations and Exponential Models
Quick answer
A differential equation is separable when its right side factors as a function of x times a function of y. Move every y to one side and every x to the other, integrate both sides, and solve for y, using an initial condition to fix the constant. The most important case is dy/dt = ky, whose solutions are y = y₀e^(kt): exponential growth when k > 0 and decay when k < 0, with a fixed doubling time or half-life. Newton's law of cooling separates the same way.
What you'll learn
Recognize and solve separable differential equations
Find particular solutions from initial conditions
Model exponential growth and decay with dy/dt = ky
Solve problems about half-life, doubling time and cooling
The equation dxdy=2xy has a right side that factors into an x
part and a y part. Such an equation is separable. Divide by the y part
and multiply by dx, so each variable has its own side:
ydy=2xdx
Integrate both sides:
∫ydy=∫2xdx⟹ln∣y∣=x2+C
and solve for y: ∣y∣=ex2+C=eCex2, so y=Aex2,
with A any constant.
Moving dx around looks like treating dxdy as a fraction. What is
really happening is the chain rule.
Suppose y(x) solves dxdy=g(x)h(y). Let H be an antiderivative
of h1 and G one of g. By the chain rule,
dxdH(y(x))=h(y)1⋅dxdy=g(x)=dxdG(x)
Two functions with the same derivative differ by a constant, so
H(y)=G(x)+C — exactly what integrating both sides produced. Separation
of variables is the chain rule applied to an unknown solution.
When a quantity changes at a rate proportional to its size,
dtdy=ky⟹y=y0ekt
where y0=y(0). Separating gives ln∣y∣=kt+C, and the initial
value fixes the constant. For k>0 this is growth, with a fixed
doubling timekln2. For k<0 it is decay, with a fixed
half-life∣k∣ln2.
The half-life is the same whatever amount is left. Each 5-year step below
halves the amount, from 100 to 50 and from 12.5 to 6.25 alike.
y = 100 · (1/2)^(t/5)
Every 5 years, half of what is left decays
Newton’s law of cooling, dtdT=−k(T−Troom), separates
the same way and gives T=Troom+(T0−Troom)e−kt: the
difference from room temperature decays exponentially.