Some quantities rise quickly at first and then more and more slowly, without stopping: skill with practice, a sapling's height, sales after a launch. When the input has to multiply to give equal increases in the output, a logarithmic model fits. This page shows how to recognize that pattern, build the model from points or by regression, use it to predict, and say where it stops making sense.
Recognizing logarithmic data
Compare the three patterns side by side.
| Model | Inputs | Outputs |
|---|---|---|
| Linear | equal differences | equal differences |
| Exponential | equal differences | equal ratios |
| Logarithmic | equal ratios | equal differences |
The logarithmic row is the exponential row with inputs and outputs swapped, which is what you would expect from inverse functions.
Worked example 1. Typing speed after hours: , , , , . Which model fits, and why?
The inputs are not equally spaced (, , , apart), so equal differences in do not mean linear.
The inputs are each times the one before, and the outputs each increase by . Equal ratios in, equal differences out: logarithmic.
Building the model from points
For , a point with gives at once, because . A second point gives .
Worked example 2. Fit to the typing data.
At : .
At : , so . The model is ; every other point checks, for example at .
With base and no point at , write two equations, and , and solve the system.
Logarithmic regression
Real data are never exact. A graphing calculator's logarithmic regression fits . Store and with full precision; rounding them first can change the third decimal place of every later answer. Check the fit with a residual plot: residuals scattered with no pattern support the model.
Using the model
Worked example 3. With , when does the speed reach words per minute?
, so .
Exponential form: hours.
The same idea with a regression model: gives .
Rate of change and its meaning
For , a logarithmic model is increasing and concave down. Average rates of change over later intervals are smaller: in context, each extra unit of input adds less than the one before. And doubling the input always adds the same amount, . For , each doubling of weeks adds about words per minute.
Where the model stops working
- Near .
, so the model eventually gives negative speeds or heights. The context rules those inputs out. - Far past the data. The model keeps rising without bound, but nothing in the data says the real quantity does. Past the last data point there is no evidence for the model, so error can grow.
When you explain either one, name the specific values and say what goes wrong in context.