TL;DR
An exponential function is a function where the input is the exponent. Each time the input goes up by one, the output gets multiplied by the same fixed factor, so it doubles, triples, or shrinks by the same share at every step. The special base is the one where the output's rate of growth equals its current size, which is why it appears throughout mathematics.
Where you'll see it: in compound interest, population growth, radioactive decay, and the softmax step that turns a neural network's scores into probabilities.
Intuition
Repeated multiplication
Fold a sheet of paper in half and you have 2 layers. Fold again and you have 4, then 8. After ten folds you have layers. Each fold does not add a fixed number of layers. It doubles the total. That pattern, where a count of steps turns into a multiplication, is what an exponential function describes.
Compare two ways of changing a number each day, starting from 1:
| Day | Add 3 each day | Multiply by 3 each day |
|---|---|---|
| 0 | 1 | 1 |
| 1 | 4 | 3 |
| 2 | 7 | 9 |
| 3 | 10 | 27 |
| 4 | 13 | 81 |
| 5 | 16 | 243 |
Adding is a straight line. Multiplying starts out similar and then pulls away very quickly. Exponential growth is always this second kind of pattern.
Why the base
Base 2 and base 10 are convenient but arbitrary. Ask a different question: for which base does the function grow at a rate equal to its own size? Every base gives a growth rate that is a fixed fraction of the current value. For base , that fraction is exactly 1, so the function grows exactly as fast as it is large. That property makes the natural base for calculus, probability, and continuous growth.
- e^x
- e^(-x), decay
The math
Definition
For a base with , the exponential function with base is
Here is a fixed positive number and is the input, which can be any real number. For a positive whole-number exponent, means multiply by itself times. For a negative exponent, . For a fraction such as , the value is a root, so is the number that, multiplied by itself, gives 2. For other real , such as , the value is defined by filling in the gaps so the curve stays smooth and the laws below keep holding. The base must be positive and not 1, because is always 1 and would describe nothing interesting.
Laws of exponents
For any base and any real and :
The first law is the one to remember. Multiplying by itself times and then more times is the same as multiplying it times. Check with .
The laws force . Since , the factor must be 1.
Growth and decay per step
The defining feature is that every unit step in multiplies the output by the same amount:
If , the function grows. If , it decays towards zero. More generally, a quantity that starts at and changes by factor per unit of time is . For example, 50 bacteria that triple every hour have .
The number
The constant comes from compound growth. Suppose you start with $1 and earn 100% interest per year, but the interest is added times a year, each time at the rate . After one year you have :
| Compounding periods | Value after one year |
|---|---|
| 1 | 2.00000 |
| 2 | 2.25000 |
| 12 | 2.61304 |
| 365 | 2.71457 |
As grows without bound, the value approaches a limit:
We write (also ) for the exponential function with base .
The growth-rate property can be checked numerically. For a small step , . At , . A step of should add about , and indeed , an increase of . The increase is the current value times the step, which is the sense in which is special.
Worked examples
A colony of 1000 bacteria doubles every 3 hours. How many bacteria after 9 hours?
- Count the doublings: .
- Multiply 1000 by 2 three times: .
- The colony has 8000 bacteria.
Reverse question: when does it reach 64,000?
- , so there are 6 doublings.
- hours.
Put $100 in an account that pays 5% per year.
Compounded once a year: after 10 years the balance is .
- .
- .
- .
- .
- Balance: 100 \cdot 1.6289 = \162.89$.
Compounded continuously: the balance is .
- .
- Balance: \164.87$.
Continuous compounding adds only about $2 more than yearly compounding here. Compounding more often helps, but the gain levels off: even infinitely frequent compounding only reaches the factor .
A sample starts with 80 grams of a substance whose half-life is 10 days. The amount left after days is .
- After 30 days, , so grams.
- After 15 days, , so grams.
- Sanity check: 15 days lies between one half-life (40 grams left) and two (20 grams left), and 28.3 grams does too.
A classifier gives three raw scores: 2, 1, and 0. To turn them into probabilities with Softmax, exponentiate each score and divide by the total.
- Exponentiate: , , .
- Sum: .
- Divide: , , .
- The three probabilities sum to 1. The top score gets the largest share, and a gap of 1 in the raw scores becomes a factor of in the exponentiated values.
Tradeoffs and failure modes
Exponential growth looks small at first and then becomes enormous, and that is where most mistakes happen. Common problems:
| Situation | What goes wrong | Better choice |
|---|---|---|
| Growth by a fixed percentage | A straight line underestimates later values | An exponential model |
| Growth limited by resources (crowding, saturation) | A pure exponential predicts unbounded growth | A logistic curve |
| Forecasting far ahead | A small error in the rate becomes a huge error later | Check the rate, forecast a shorter horizon |
| Computing for large on a computer | overflows standard floating-point numbers | Subtract the largest value first (the softmax trick) |
A few points to keep in mind:
- Exponentials beat polynomials eventually. at is 100, and is 1024. At , is 400 but is about a million.
- Decay never reaches zero. gets arbitrarily close to zero without touching it, so "fully decayed" is a modelling choice.
- Percentages and differences are not the same. A growth of 10% per year doubles a quantity in about 7 years, but adding 10 units per year is a straight line.
History
Exponential growth was understood as a pattern long before it had a name. In 1614, John Napier published his tables of logarithms, which are the inverse of exponentials, to turn long multiplications into additions. In the 1680s, Jacob Bernoulli, studying compound interest, found that approaches a fixed limit, which later became . Leonhard Euler began writing the letter for this constant in the 1720s and 1730s, and his 1748 textbook helped make the notation standard.
In 1798, Thomas Malthus argued in his essay on population that people multiply geometrically while food supply grows only arithmetically, a claim built on exponential growth. In 1838, Pierre-François Verhulst proposed the logistic curve as a way to model growth that levels off when resources run out. Exponential models caught on because they describe anything that compounds, and they remain the default first guess for growth and decay today.
Check yourself
QuestionWhat is , and why?Show answer
It is 1. The first exponent law says . Taking gives , and dividing both sides by leaves .
QuestionA quantity starts at 50 and triples every 2 years. What is it after 6 years?Show answer
Three tripling periods fit into 6 years, so the value is .
QuestionWhy do mathematicians prefer the base over base 2 or base 10 when working with continuous growth?Show answer
For base , the growth of over a small step is exactly the current value times the step size, so the function grows at a rate equal to its own size. Other bases give that same rate only up to a constant factor, which must be carried through every formula. The base removes the constant, which is why it simplifies calculus and continuous models.
QuestionA savings account grows as with continuous compounding at 4% per year. Roughly how many years does it take to double?Show answer
You need . Check the endpoints: at , and at . So it takes a little over 17 years, about 17.3 years, to double. The answer is between 17 and 18 years.
Sources
- Exponential function (Wikipedia): https://en.wikipedia.org/wiki/Exponential_function
- E (mathematical constant) (Wikipedia): https://en.wikipedia.org/wiki/E_(mathematical_constant)
- Compound interest (Wikipedia): https://en.wikipedia.org/wiki/Compound_interest