What is it?
, and above all : the only function (up to a factor) that is its own derivative. It models anything whose rate of change is proportional to its size — populations, interest, radioactive decay, and exponential algorithms.
Intuition
Adding a constant to the input multiplies the output by a constant: . Doubling time is constant. That is why exponential growth always wins in the end: every is eventually overtaken by .
Formulas
- growth proportional to size
Where it shows up in computing
Early epidemic growth and unconstrained populations are exponential, .
Brute-force search over bits takes steps: exponential time is the signature of intractability.
Where it shows up in AI
Sigmoid, softmax and tanh are all built from .
Where is it used?
Computing topics reachable from here, through the chain of ideas that leads to them:
λ Scientific computing and algorithms
- Logarithmic functions→Algorithm analysis and complexity★★★★★
- Derivatives of elementary functions→Antiderivatives and indefinite integrals→Symbolic computation (CAS)★★★★★
- Orders of growth→Asymptotic notation (O, o, Ω, Θ)→Order of convergence→Scientific computing★★★★★
- Derivatives of elementary functions→Antiderivatives and indefinite integrals→Fundamental theorem of calculus→Cumulative distribution function→Monte Carlo methods★★★★★
- Logarithmic functions→Floating point (IEEE 754)★★★★★
ℒ AI and machine learning
- Logarithmic functions→Loss function★★★★★
- Derivatives of elementary functions→Activation functions★★★★★
- Logarithmic functions→Loss function→Gradient descent★★★★★
- Logarithmic functions→Maximum likelihood estimation→Logistic regression★★★★★
- Derivatives of elementary functions→Activation functions→Neural networks★★★★★
- Logarithmic functions→Loss function→Regularization★★★★★
- +14
⚛ Physics and simulation
- Population and epidemic models★★★★★
- First-order linear equations→Second-order linear equations (oscillations)→Classical mechanics★★★★★
- First-order linear equations→Systems of ODEs→N-body gravitational simulation★★★★★
- Derivatives of elementary functions→Antiderivatives and indefinite integrals→Ordinary differential equations→Physics engines★★★★★
- Derivatives of elementary functions→Antiderivatives and indefinite integrals→Integration by parts→Finite element method★★★★★
- First-order linear equations→Systems of ODEs→Dynamical systems→Weather and climate modelling★★★★★
- +3
∿ Signals, media and vision
- Laplace transform→Z-transform→Digital filters★★★★★
- Derivatives of elementary functions→Antiderivatives and indefinite integrals→Integration by substitution→Trigonometric integrals→Signal processing★★★★★
- Derivatives of elementary functions→Antiderivatives and indefinite integrals→Ordinary differential equations→Partial differential equations→Image processing and computer vision★★★★★
What depends on it
Exercises
A dataset doubles every 18 months. How long until it is 100 times larger?
Solution
years.