5.3 Properties and Graphs of Logarithmic Functions
In Section 5.2, we saw exponential functions are one-to-one which means they are invertible. In this section, we explore their inverses, the logarithmic functions which are called `logs’ for short.
Definition 5.4
For the exponential function ,
is called the base
logarithm function. We read `
‘ as `log base
of
.’
We have special notations for the common base, , and the natural base,
.
Definition 5.5
- The common logarithm of a real number
is
and is usually written
.
- The natural logarithm of a real number
is
and is usually written
.
As logs are defined as the inverses of exponential functions, we can use Theorems 5.1 and 5.3 to tell us about logarithmic functions. For example, we know that the domain of a log function is the range of an exponential function, namely , and that the range of a log function is the domain of an exponential function, namely
.
Moreover, we know the basic shapes of for the different cases of
, thus we can obtain the graph of
by reflecting the graph of
across the line
. The
-intercept
on the graph of
corresponds to an
-intercept of
on the graph of
. The horizontal asymptotes
on the graphs of the exponential functions become vertical asymptotes
on the log graphs.

Procedurally, logarithmic functions `undo’ the exponential functions. Consider the function . When we evaluate
, the input
becomes the exponent on the base
to produce the real number
. The function
then takes the number
as its input and returns the exponent
as its output. In symbols,
.
More generally, is the exponent you put on
to get
. Thus,
, because
. The following theorem summarizes the basic properties of logarithmic functions, all of which come from the fact that they are inverses of exponential functions.
Theorem 5.5 Properties of Logarithmic Functions
Suppose , for
, and
.
- The domain of
is
and the range of
is
.
is on the graph of
and
is a vertical asymptote of the graph of
.
is one-to-one, continuous and smooth
if and only if
. That is,
is the exponent you put on
to obtain
.
for all real numbers
and
for all
- If
:
is always increasing
- As
,
- As
,
- The graph of
resembles:
- If
:
is always decreasing
- As
,
- As
,
- The graph of
resembles:
As we have mentioned, Theorem 5.5 is a consequence of Theorems 5.1 and 5.3. However, it is worth the reader’s time to understand Theorem 5.5 from an exponent perspective.
As an example, we know that the domain of is
. Why? Because the range of
is
. In a way, this says everything, but at the same time, it doesn’t.
To really understand why the domain of is
, consider trying to compute
. We are searching for the exponent we put on
to give us
. In other words, we are looking for
that satisfies
. There is no such real number, because all powers of
are positive.
While what we have said is exactly the same thing as saying `the domain of is
because the range of
is
‘, we feel it is in a student’s best interest to understand the statements in Theorem 5.5 at this level instead of just merely memorizing the facts.
Our first example gives us practice computing logarithms as well as constructing basic graphs.
Example 5.3.1
Example 5.3.1.1a
Simplify the following:
Solution:
Simplify .
The number is the exponent we put on
to get
. As such, we want to write
as a power of 3.
We find , so that
.
Example 5.3.1.1b
Simplify the following:
Solution:
Simplify .
To find , we need rewrite
as a power of 2.
We find , so
.
Example 5.3.1.1c
Simplify the following:
Solution:
Simplify .
To determine , we need to express
as a power of
.
We know , and
, so we have
.
We get .
Example 5.3.1.1d
Simplify the following:
Solution:
Simplify .
First, recall that the notation means
, so we are looking for the exponent to put on
to obtain
.
Rewriting , we find
.
Example 5.3.1.1e
Simplify the following:
Solution:
Simplify .
Rewriting as
, we see that we need to write
as a power of
.
We have .
Hence, .
Example 5.3.1.1f
Simplify the following:
Solution:
Simplify .
We can use Theorem 5.5 directly to simplify .
We can also understand this problem by first finding . By definition,
is the exponent we put on
to get
. Because
, we have
.
We now substitute to find .
Example 5.3.1.1g
Simplify the following:
Solution:
Simplify .
From Theorem 5.5, we know ,[1] but we cannot directly apply this formula to the expression
without first using a property of exponents. (Can you see why?)
Rather, we find: .
Example 5.3.1.2a
Graph the following functions by starting with a basic logarithmic function and using transformations, Theorem 1.12. Track at least three points and the vertical asymptote through the transformations.
Solution:
Graph
To graph we start with the graph of
. and use Theorem 1.12.
First we choose some `control points’ on the graph of . We are instructed to track three points (and the vertical asymptote, therefore
) through the transformations, we choose the points corresponding to powers of
:
,
, and
, respectively.
Next, we note . Per Theorem 1.12, we first multiply the
-coordinates of the points on the graph of
by
, horizontally expanding the graph by a factor of
. Next, we add
to the
-coordinates of each point on this new graph, vertically shifting the graph up
.



The horizontal asymptote, remains unchanged under the horizontal stretch and the vertical shift.
Below we graph on the left and
on the right.
As always we can check our answer by verifying each of the points ,
and
, is on the graph of
by checking
,
, and
. We can check the end behavior as well, that is, as
,
and as
,
. We leave these calculations to the reader.
Example 5.3.1.2b
Graph the following functions by starting with a basic logarithmic function and using transformations, Theorem 1.12. Track at least three points and the vertical asymptote through the transformations.
Solution:
Graph .
Due to the fact that the base of is
, we start with the graph of
.
is an irrational number, so we use the approximation
when plotting points, but label points using exact coordinates in terms of
.
We choose points corresponding to powers of on the graph of
:
,
, and
, respectively.
, so Theorem 1.12 instructs us to first subtract
from each of the
-coordinates of the points on the graph of
, shifting the graph to the left two units.
Next, we multiply (divide) the -coordinates of points on this new graph by
which reflects the graph across the
-axis. Lastly, we multiply each of the
-coordinates of this second graph by
, reflecting it across the
-axis.
Tracking points, we have ,
, and
.
The vertical asymptote is affected by the horizontal shift and the reflection about the -axis only:
.
We graph below on the left and the transformed function
below on the right. As usual, we can check our answer by verifying the indicated points do, in fact, lie on the graph of
along with checking the behavior as
and
.
Example 5.3.1.3
Write a formula for the graph of the function below. Assume the base of the logarithm is .
Solution:
Write a formula for , assume the base of the logarithm is
.
We are told to assume the base of the exponential function is . We assume then the function
is the result of the transforming the graph of
using Theorem 1.12. This means we are tasked with finding values for
,
,
, and
so that
.
Because the vertical asymptote to the graph of is
and the vertical asymptote to the graph
is
, we know we have a horizontal shift of
units. Moreover, the curve approaches the vertical asymptote from the left, so we also know we have a reflection about the
-axis and
(this is not your base, but instead the coefficient of
.) The recipe in Theorem 1.12 instructs us to perform the horizontal shift before the reflection across the
-axis, so we take
and assume for simplicity
so
.
To determine and
, we make use of the two points on the graph.
is on the graph of
, so
. This reduces to
or
. Next, we use the point
to get
. This reduces to
or
. From
, we get
which when substituted into
gives
or
. Hence,
.
Putting all of this work together we find .
As always, we can check our answer by verifying ,
,
as
and
as
. We leave these details to the reader.[2]
Up until this point, restrictions on the domains of functions came from avoiding division by zero and keeping negative numbers from beneath even indexed radicals. With the introduction of logarithms, we now have another restriction. The argument of the logarithm[3] must be strictly positive, because the domain of is
.
Example 5.3.2
Example 5.3.2.1
State the domain each function analytically and check your answer using a graph.
Solution:
State the domain of .
We set to obtain
, or
.
To verify our domain, we graph using transformations. Taking a cue from Theorem 1.12, we rewrite
and view this function as a transformed version of
.
To graph , We select three points to track corresponding to powers of
:
,
and
, along with the vertical asymptote
.
As , Theorem 1.12 tells us that to obtain the destinations of these points, we first subtract
from the
-coordinates (shifting the graph left
units), then divide (multiply) by the
-coordinates by
(causing a reflection across the
-axis).
Next, we multiply the -coordinates by
which results in a vertical stretch by a factor of
, then we finish by subtracting
from the
-coordinates which shifts the graph down
unit.
Tracking points, we find: ,
, and
.
The vertical shift and reflection about the -axis affects the vertical asymptote:
Plotting these three points along with the vertical asymptote produces the graph of .
Example 5.3.2.2
State the domain each function analytically and check your answer using a graph.
Solution:
State the domain of .
To find the domain of , we need to solve the inequality
using a sign diagram.[4]
If we define , we find
is undefined at
and
when
. Choosing some test values, we generate the sign diagram below.
We find on
which is the domain of
. The graph below confirms this.
We can tell from the graph of that it is not the result of Section 1.6 transformations being applied to the graph
, (do you see why?) so barring a more detailed analysis using Calculus, producing a graph using a graphing utility is the best we could do, for now.
One thing worthy of note, however, is the end behavior of . The graph suggests that as
,
. We can verify this analytically. Using results from Chapter 3 and continuity, we know that as
,
. Hence, it makes sense that
.
While logarithms have some interesting applications of their own which you’ll explore in the exercises, their primary use to us will be to undo exponential functions. (This is, after all, how they were defined.) Our last example reviews not only the major topics of this section, but reviews the salient points from Section 5.1.
Example 5.3.3
Example 5.3.3.1
Let .
Graph using transformations and state the domain and range of
.
Solution:
Graph using transformations and state the domain and range of
.
To graph using Theorem 1.12, we first identify
and note
. Choosing the `control points’ of
,
and
on the graph of
along with the horizontal asymptote
, we implement the algorithm set forth in Theorem1.12.
First, we first add to the
-coordinates of the points on the graph of
which shifts the the graph of
to the right one unit. Next, we subtract
from each of the
-coordinates on this new graph, shifting the graph down
units to get the graph of
.
Looking point-by-point, we have ,
, and, finally,
.
The horizontal asymptote is affected only by the vertical shift, .
From the graph of , we get the domain is
and the range is
.
Example 5.3.3.2
Let .
Explain why is invertible and find a formula for
.
Solution:
Explain why is invertible and find a formula for
.
The graph of passes the Horizontal Line Test so
is one-to-one, hence invertible.
To find a formula for , we normally set
, interchange the
and
, then proceed to solve for
. Doing so in this situation leads us to the equation
. We have yet to discuss how to solve this kind of equation, so we will attempt to find the formula for
procedurally.
Thinking of as a process, the formula
takes an input
and applies the steps: first subtract
. Second put the result of the first step as the exponent on
. Last, subtract
from the result of the second step.
Clearly, to undo subtracting , we will add
, and similarly we undo subtracting
by adding
. How do we undo the second step? The answer is we use the logarithm.
By definition, undoes exponentiation by
. Hence,
should: first, add
. Second, take the logarithm base
of the result of the first step. Lastly, add
to the result of the second step. In symbols,
.
Example 5.3.3.3
Let .
Graph using transformations and state the domain and range of
.
Solution:
Graph using transformations and state the domain and range of
.
To graph using Theorem 1.12, we start with
and track the points
,
and
on the graph of
along with the vertical asymptote
through the transformations.
As , we first subtract
from each of the
-coordinates of each of the points on the graph of
shifting the graph of
to the left three units. We then add
to each of the
-coordinates of the points on this new graph, shifting the graph up one unit.
Tracking points, we get ,
, and
.
The vertical asymptote is only affected by the horizontal shift, so we have .
From the graph below, we get the domain of is
, which matches the range of
, and the range of
is
, which matches the domain of
, in accordance with Theorem 5.1.
Example 5.3.3.4
Let .
Verify for all
in the domain of
and
for all
in the domain of
.
Solution:
Verify for all
in the domain of
and
for all
in the domain of
.
We now verify that and
satisfy the composition requirement for inverses. When simplifying
we assume
can be any real number while when simplifying
, we restrict our attention to
. (Do you see why?)
Note the use of the inverse properties of exponential and logarithmic functions from Theorem 5.5 when it comes to simplifying expressions of the form and
.
Example 5.3.3.5
Let .
Graph and
on the same set of axes and check for symmetry about the line
.
Solution:
Graph and
on the same set of axes and check for symmetry about the line
.
Last, but certainly not least, we graph and
on the same set of axes and observe the symmetry about the line
.
Example 5.3.3.6a
Let .
Use or
to solve the following equations. Check your answers algebraically.
Solution:
Use or
to solve
Viewing as
, we apply
to `undo’
to get
, which reduces to
. We have shown (algebraically and graphically!) that
, we get
Alternatively, we know from Theorem 5.1 that is equivalent to
directly.
Note that, by definition, , thus
, as required.
Example 5.3.3.6b
Let .
Use or
to solve the following equations. Check your answers algebraically.
Solution:
Use or
to solve
Because we may think of the equation as
, we can solve this equation by applying
to both sides to get
or
As a result of , we get
, as required.
5.3.1 Section Exercises
In Exercises 1 – 15, use the property: if and only if
from Theorem 5.5 to rewrite the given equation in the other form. That is, rewrite the exponential equations as logarithmic equations and rewrite the logarithmic equations as exponential equations.
In Exercises 16 – 42, evaluate the expression without using a calculator.
In Exercises 43 – 57, find the domain of the function.
In Exercises 58 – 65, sketch the graph of by starting with the graph of
and using transformations. Track at least three points of your choice and the vertical asymptote through the transformations. State the domain and range of
.
and
and
and
and
and
and
and
and
In Exercises 66 – 69, the graph of a logarithmic function is given. Find a formula for the function in the form .
- Points:
,
,
, Asymptote:
- Points:
,
,
, Asymptote:
- Points:
,
,
, Asymptote:
- Points:
,
,
, Asymptote:
- Find a formula for each graph in Exercises 66 – 69 of the form
.
In Exercises 71 – 74, find the inverse of the function from the `procedural perspective’ discussed in Example 5.3.3 and graph the function and its inverse on the same set of axes.
In Exercises 75 – 80, write the given function as a nontrivial decomposition of functions as directed.
- For
, find functions
and
so that
.
- For
, find functions
and
so that
.
- For
, find functions
and
so that
.
- For
, find functions
and
so
.
- For
, find functions
and
so that
.
- For
, find functions
and
so
.
- Earthquakes are complicated events and it is not our intent to provide a complete discussion of the science involved in them. Instead, we refer the interested reader to a solid course in Geology[5] or the U.S. Geological Survey’s Earthquake Hazards Program found here and present only a simplified version of the Richter scale. The Richter scale measures the magnitude of an earthquake by comparing the amplitude of the seismic waves of the given earthquake to those of a “magnitude 0 event”, which was chosen to be a seismograph reading of
millimeters recorded on a seismometer 100 kilometers from the earthquake’s epicenter. Specifically, the magnitude of an earthquake is given by
where
is the seismograph reading in millimeters of the earthquake recorded 100 kilometers from the epicenter.
- Show that
.
- Compute
.
- Show that an earthquake which registered 6.7 on the Richter scale had a seismograph reading ten times larger than one which measured 5.7.
- Find two news stories about recent earthquakes which give their magnitudes on the Richter scale. How many times larger was the seismograph reading of the earthquake with larger magnitude?
- Show that
- While the decibel scale can be used in many disciplines,[6] we shall restrict our attention to its use in acoustics, specifically its use in measuring the intensity level of sound. The Sound Intensity Level
(measured in decibels) of a sound intensity
(measured in watts per square meter) is given by
Like the Richter scale, this scale compares
to baseline:
is the threshold of human hearing.
- Compute
.
- Damage to your hearing can start with short term exposure to sound levels around 115 decibels. What intensity
is needed to produce this level?
- Compute
. How does this compare with the threshold of pain which is around 140 decibels?
- Compute
- The pH of a solution is a measure of its acidity or alkalinity. Specifically,
where
is the hydrogen ion concentration in moles per liter. A solution with a pH less than 7 is an acid, one with a pH greater than 7 is a base (alkaline) and a pH of 7 is regarded as neutral.
- The hydrogen ion concentration of pure water is
.
- Find the pH of a solution with
.
- The pH of gastric acid (the acid in your stomach) is about
. What is the corresponding hydrogen ion concentration?
- The hydrogen ion concentration of pure water is
- Use the definition of logarithm to explain why
and
for every
.
Section 5.3 Exercise Answers can be found in the Appendix … Coming soon
- It is worth a moment of your time to think your way through why
. By definition,
is the exponent we put on 117 to get 6. What are we doing with this exponent? We are putting it on 117, so we get 6. ↵
- As with Exercise 5.2.1 in Section 5.2, we may well wonder if our solution to this problem is the only solution because we made a simplifying assumption that
. We leave this for a thoughtful discussion in Exercise 40 in Section 5.4. ↵
- that is, what's `inside' the log ↵
- See Section 3.3 for a review of this process, if needed. ↵
- Rock-solid, perhaps? ↵
- See this webpage for more information. ↵
The logarithmic function is the inverse function for the exponential function of the same base.