In the last topic a logarithm answered the question "which exponent?". This page turns that into a statement about functions: an exponential function and the logarithm with the same base are inverse functions. That one fact explains their graphs, their domains and asymptotes, and the way each one changes.
Two functions that undo each other
Take and , with the same base , . If , then , which means , so . Each function sends the other's outputs back to its inputs. They are inverses: .
Composing them gives the identity function:
- for every real number ;
- for every (the logarithm needs a positive input).
The pair used most is and : and .
Worked example 1. Evaluate and .
undoes , so .
undoes , so .
The graphs
Inverse functions have graphs that are reflections across the line , and every feature trades places.
| Feature | () | () |
|---|---|---|
| Domain | ||
| Range | ||
| Asymptote | horizontal, | vertical, |
| Key point | ||
| Another point |
The asymptote of the exponential, , becomes the behavior of the logarithm near :
How each one changes
An exponential function turns adding to the input into multiplying the output: . For , each increase of in multiplies by .
Its inverse does the reverse: multiplying the input of a logarithm adds to the output. Multiplying by adds to .
Worked example 2. A table gives at
Each input is times the one before, and the outputs are .
So equal factors of in the input give equal steps of in the output. Swap the rows and you get : equal steps of in the input give equal factors of in the output.
Inverting a stretched exponential
When an exponential has other steps around it, undo those steps first, in reverse order, and use the logarithm for the exponential step.
Worked example 3. Find the inverse of .
Swap: .
Undo the factor : .
Undo : . So , defined for , the range of .
Reading the inverse in context
If counts bacteria after hours, the inverse answers "when?": . The count is reached at hours. The exponential takes a time and gives a count; its inverse takes a count and gives a time.