Now, we will define the domain and range of a logarithmic function given an equation or a graph. We will also construct graphs of logarithmic functions given tables and equations.
Graphing Logarithmic Functions
Now that we have a feel for the set of values for which a logarithmic function is defined, we move on to graphing logarithmic functions. The family of logarithmic functions includes the parent function along with all its transformations: shifts, stretches, compressions, and reflections.
We begin with the parent function . Because every logarithmic function of this form is the inverse of an exponential function with the form
, their graphs will be reflections of each other across the line
. To illustrate this, we can observe the relationship between the input and output values of
and its equivalent
in Table 1.
Table 1
Using the inputs and outputs from Table 1, we can build another table to observe the relationship between points on the graphs of the inverse functions and
. See Table 2.
Table 2
Figure 2 Notice that the graphs of and
are reflections about the line
.
Observe the following from the graph:
has a
-intercept at
and
has an
- intercept at
.
- The domain of
, is the same as the range of
.
- The range of
, is the same as the domain of
.
CHARACTERISTICS OF THE GRAPH OF THE PARENT FUNCTION,
:
For any real number and constant
, we can see the following characteristics in the graph of
:
- one-to-one function
- vertical asymptote:
- domain:
- range:
-intercept:
and key point
-intercept: none
- increasing if
- decreasing if
See Figure 3.
Figure 3
Figure 4 shows how changing the base in
can affect the graphs. Observe that the graphs compress vertically as the value of the base increases. (Note: recall that the function
has base
.)
Figure 4 The graphs of three logarithmic functions with different bases, all greater than 1.
HOW TO
Given a logarithmic function with the form , graph the function.
- Draw and label the vertical asymptote,
.
- Plot the
-intercept,
.
- Plot the key point
.
- Draw a smooth curve through the points.
- State the domain,
, the range,
, and the vertical asymptote,
.
EXAMPLE 3
Graphing a Logarithmic Function with the
.
Graph . State the domain, range, and asymptote.
Solution
Before graphing, identify the behavior and key points for the graph.- Since
is greater than one, we know the function is increasing. The left tail of the graph will approach the vertical asymptote
, and the right tail will increase slowly without bound.
- The
-intercept is
.
- The key point
is on the graph.
- We draw and label the asymptote, plot and label the points, and draw a smooth curve through the points (see Figure 5).
Figure 5
The domain is , the range is
, and the vertical asymptote is
.