Example — Exponential growth: y=kyy'=ky

The simplest ODE: dydx=ky\dfrac{dy}{dx} = ky. We separate: dyy=kdx\dfrac{dy}{y} = k\,dx. We integrate: lny=kx+C\ln|y| = kx + C, hence y=Aekxy = Ae^{kx} with A=eCA = e^C.

With initial condition y(0)=y0y(0) = y_0 we get A=y0A = y_0, therefore: y(x)=y0ekx\boxed{y(x) = y_0\,e^{kx}}

The sign of kk decides the behaviour:

  • if k>0k>0: exponential growth (population, compound interest);
  • if k<0k<0: exponential decay (radioactivity).

Topics: Differential equations
Concepts: Initial condition · Exponential growth · Decay · Separable variables
Functions: Exponential function
Skills: Integrating · Solving equations