Whether a population explodes or a substance decays, the mathematics is identical — only the sign of k changes. The same formula ln(2)/k gives you half-life for decay and doubling time for growth. Drag the slider to change k and watch how exponential behaviour unfolds in real-time.
To solve dy/dx = ky, separate variables to get dy/y = k dx, then integrate both sides. The left side becomes ln|y| and the right becomes kx + C. Exponentiating both sides gives |y| = e^(kx+C) = e^C · e^(kx). Since e^C is just another constant, we write y = Ae^(kx) where A = ±e^C represents the initial value at x = 0. This is the general solution to all exponential growth and decay problems — one elegant formula capturing everything from bacterial colonies to radioactive atoms.
The half-life formula t½ = ln(2)/k for decay and the doubling time formula for growth are mathematically identical — both equal ln(2)/|k| — revealing that exponential processes have a characteristic timescale determined entirely by the rate constant.