Logarithmic Functions
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Translate between logarithmic and exponential statements while preserving the three numerical roles
- Evaluate exact logarithms, including fractional values and common and natural logarithms
- Check that logarithm bases and whole arguments meet their real-number restrictions
- Apply both inverse identities while retaining the domains of the original expressions
- Read logarithmic graphs from exchanged coordinates, domains, ranges, and asymptotes
Keep the base, recover the exponent
A logarithm names an exponent. For example, can also be written , read as “log base two of eight equals three.” The base stays ; the positive result becomes the input; the exponent becomes the output.
The previous lesson established that is one-to-one and has range when its base is positive and different from . Every positive output therefore identifies exactly one real exponent. This is why the reversed question defines a function.
For with and , the logarithm is the unique real exponent on that produces . Its input is called its argument. Thus
This works in both directions because the two statements describe the same power. The restriction is on the whole argument. For , it is that must be positive, allowing negative as well as some positive .
The excluded bases have concrete problems. At base , every exponent gives , so an output cannot identify a unique exponent. At base , negative exponents fail. A negative base such as has no real value at exponent . These bases cannot supply the real exponential function we need to reverse. An argument of zero or a negative number also fails, because a power of a positive base never produces either.
Worked example 1 Read exact exponents in three forms
Problem. Evaluate each logarithm exactly and verify it with a power.
(a) .
(b) .
(c) .
Solution. (a) Since and , the exponent on must multiply to give . It is :
Therefore .
(b) A negative exponent takes a reciprocal. We have , so . A base below can give a negative logarithm of a number above .
(c) Since , we obtain . For every valid base, and , because and .
Check your understanding
Which exponential statement says the same thing as ?
Keep as the base and use as its exponent.
The argument is the result of the power.
Two logarithms with short names
Some bases are used often enough to have their own notation. Because , the common logarithm, written with no base, gives . In this course, a missing base means .
The previous lesson used the number as an exponential base. The natural logarithm, written , has base . Since , we have . “Natural” names the base; it does not change the inverse question.
Worked example 2 Match the notation to the base
Problem. Find exact values for (a) and (b) . For (c), use a calculator to evaluate to three decimal places and state what that number represents.
Solution. (a) The base is . Since , the answer is .
(b) The base is . The exponent producing is , so .
(c) The natural-log key gives
This is an approximation to the exponent on that produces . The exact statement is . Substituting the rounded exponent gives , so the rounded value needs an approximation sign.
Check your understanding
Which pair is correct?
The common logarithm uses base , and the natural logarithm uses base . Each returns the exponent on its own base.
Undo both journeys on the right domains
Going forward and then backward returns the exponent. For example, and . Going backward and then forward returns a positive argument: and .
In general, for a positive base , the two inverse identities are
and
The domains differ because is positive for every real , while the logarithm in the second identity must receive a positive input before anything can undo it. Matching bases matter too: does not directly undo a base- power.
Worked example 3 Keep the original domain after undoing
Problem. Simplify each expression and state its full real domain.
(a) .
(b) .
Solution. (a) The exponent can be any real number. The exponential is always positive, so it is always an allowed logarithm input. Thus for every real .
(b) First require the logarithm’s argument to be positive:
This means or . On that domain, . The original expression remains undefined at , although the polynomial alone would return there. The same simplified formula does not make these two functions identical.
Check your understanding
For which inputs does hold as a real identity?
The logarithm must exist before the power can undo it. Its whole argument must be positive.
This gives . At either endpoint the argument is zero, which is excluded.
Exchange points and the graph’s features
An inverse graph exchanges inputs and outputs. Since , the exponential point becomes the logarithmic point . Likewise, becomes , and becomes . Swapping coordinates reflects the graph across , with equal unit scales on the axes.
The base changes both sides of the inverse pair
y = 2ˣ. y = log₂ x. Base 2 is greater than 1, so both curves rise. Reflecting across y = x sends (1, 2) on the exponential to (2, 1) on the logarithm. The exponential never reaches y = 0 and the logarithm never reaches x = 0, which is that same asymptote reflected.
Choose base , then base . Both curves rise in the first case and fall in the second. Try base too: the exponential becomes the horizontal line , and the logarithm disappears. The coordinate exchange requires a one-to-one original function.
The same exchange explains the allowed inputs, possible outputs, and asymptotes for every valid base:
| Feature | Exponential | Logarithm |
|---|---|---|
| Domain | All real numbers | |
| Range | All real numbers | |
| Axis crossing | ||
| Asymptote | Horizontal | Vertical |
| Direction for | Increasing | Increasing |
| Direction for | Decreasing | Decreasing |
The exponential’s positive outputs become the logarithm’s positive inputs. Its horizontal asymptote reflects to a vertical asymptote, so the logarithm never reaches the -axis. The direction stays the same: reading a strictly increasing or decreasing input-output pairing backward preserves that direction.
For a decreasing base, the direction near the vertical asymptote deserves a separate look. Powers , , and give logarithm points , , and . Smaller positive inputs have larger outputs.
When , falls without bound as approaches zero from the right and rises without bound as grows. When , it rises without bound near zero from the right and falls without bound as grows. In both cases, its range includes every real number. A negative output is allowed; a nonpositive argument is not.
Check your understanding
For , which description of is correct?
The inverse is . The exponential's positive range becomes its domain, and the original real domain becomes its range.
Both members of this inverse pair decrease because the base lies between zero and one.
Change the argument, then check the graph
A transformed argument changes which original inputs the logarithm sees. For , input sends argument to the logarithm, giving . Input sends , giving . Following the argument prevents a shift from being mistaken for a new domain rule.
Worked example 4 Describe a logarithm with a reversed input
Problem. For , find its domain and range, its vertical asymptote, and both axis intercepts. State whether it increases or decreases, and describe its behavior near the asymptote.
Solution. Require , giving domain . As moves through that domain, takes every positive value. The logarithm therefore still produces every real output, giving range .
At the argument is , so the horizontal-axis intercept is . At the argument is , so the vertical-axis intercept is .
As increases, decreases. Since increases with its argument, decreases with . When approaches from the left, the positive argument approaches zero and the output falls without bound. The vertical asymptote is .
Check your understanding
For , which domain and vertical asymptote are correct?
The whole argument must be positive.
Thus . As the input approaches from the right, that argument approaches zero, giving the vertical asymptote . The boundary is excluded.