If money doubles every year, how many years until it is eight times as large? You know the output of the power and want the exponent. A logarithm answers exactly that question, and it does so as a function in its own right, the inverse of an exponential function.
Key terms
Logarithm, base and argument
Definition Let with , and let . The logarithm of with base , written , is the unique real number such that . In symbols,
The number is the base and the number is the argument. Uniqueness holds because is strictly increasing or strictly decreasing in , and existence holds because takes every positive value.
In plain words The logarithm asks which power of gives . The base is the number being raised to a power and the argument is the result you want to reach.
Example Since , we have , so money that doubles yearly becomes eight times as large in years. Also and because .
Exponent as output
Definition The equations and are two forms of the same statement, the logarithmic form and the exponential form. In the logarithmic form the exponent is the output of the function and the power is the input.
In plain words An exponential function takes an exponent and returns a power. A logarithm takes the power and returns the exponent.
Example Each fact can be written both ways.
| exponential form | logarithmic form |
|---|---|
Inverse relationship
Definition For with , the function is one-to-one from onto , and its inverse is from onto . The two cancellation identities are
In particular and .
In plain words Raising to a power and taking the base logarithm undo each other, as long as you stay inside their domains.
Example The identities give and . The expression has no real value, because does not exist.
Positive argument, domain and range
Definition The real function has domain and range . Every real output is attained, at the positive input . Zero and negative arguments have no real logarithm, because for every real . For a composite such as the domain is the set of in the domain of with .
In plain words A positive base raised to any power is positive, so only positive numbers can be reached. In return, every exponent, large, small or negative, is the logarithm of some positive number.
Example The value is undefined, since no real gives . The function needs , which means , so its domain is .
Logarithmic graph
Definition The graph of is the reflection of the graph of across the line . A point lies on the graph of exactly when lies on the graph of . Every logarithmic graph passes through and .
In plain words Take a table of powers, swap the two rows, and plot. The new points trace the logarithm.
Example For base , swapping the rows of a power table gives
The graph rises slowly to the right, crosses the -axis at and drops steeply as approaches .
Vertical asymptote
Definition For , as , and for , as . In both cases the line is a vertical asymptote of the graph. The graph lies entirely to the right of it and never touches it, since is not in the domain. This is the horizontal asymptote of reflected across .
In plain words As the argument gets close to , you need a huge negative exponent (or a huge positive one when the base is below ) to reach it, so the graph runs off along the -axis.
Example For base , the input has logarithm . Inputs extremely close to give outputs far down, but the graph never reaches .
Increasing and decreasing logarithms
Definition If , then is strictly increasing on . If , then is strictly decreasing on . The logarithm has the same direction of change as the exponential with the same base. For ,
so the graph of is the reflection of the graph of across the -axis.
In plain words A base above makes both the power and the logarithm go up. A base between and makes both go down.
Example Compare base with base .
Each value in the last row is the negative of the one above it. Both graphs pass through , but the second one falls as grows and climbs toward as .
Check yourself
- Evaluate , , and .
Show the answer
The values are , , and , because , , and .
- Find the domain and the vertical asymptote of .
Show the answer
The argument must be positive, so , which gives . The domain is . As the argument approaches from above, so the line is the vertical asymptote.
- Without a calculator, decide whether is positive or negative.
Show the answer
It is negative. The base is less than , so the logarithm is decreasing and equals at . Since , its value is below . Indeed .