Logarithms are the inverses of exponential functions. You will explore the relationship between an exponential and a logarithmic function. You will also explore the basic characteristics of a logarithmic function, including domain, range, and long-run behavior.
Converting from Logarithmic to Exponential Form
In order to analyze the magnitude of earthquakes or compare the magnitudes of two different earthquakes, we need to be able to convert between logarithmic and exponential form. For example, suppose the amount of energy released from one earthquake were 500 times greater than the amount of energy released from another. We want to calculate the difference in magnitude. The equation that represents this problem is , where
represents the difference in magnitudes on the Richter Scale. How would we solve for
?
We have not yet learned a method for solving exponential equations. None of the algebraic tools discussed so far is sufficient to solve . We know that
and
, so it is clear that
must be some value between 2 and 3, since
is increasing. We can examine a graph, as in Figure 2, to better estimate the solution.
Figure 2
Estimating from a graph, however, is imprecise. To find an algebraic solution, we must introduce a new function. Observe that the graph in Figure 2 passes the horizontal line test. The exponential function is one-to-one, so its inverse,
is also a function. As is the case with all inverse functions, we simply interchange
and
and solve for
to find the inverse function. To represent
as a function of
, we use a logarithmic function of the form
. The base
logarithm of a number is the exponent by which we must raise
to get that number.
We read a logarithmic expression as, "The logarithm with base of
is equal to
, " or, simplified, "log base
of
is
". We can also say, "
raised to the power of
is
, " because logs are exponents. For example, the base 2 logarithm of 32 is 5, because 5 is the exponent we must apply to 2 to get 32. Since
, we can write
. We read this as "log base 2 of 32 is 5".
We can express the relationship between logarithmic form and its corresponding exponential form as follows:
Note that the base is always positive.
Because logarithm is a function, it is most correctly written as , using parentheses to denote function evaluation, just as we would with
. However, when the input is a single variable or number, it is common to see the parentheses dropped and the expression written without parentheses, as
. Note that many calculators require parentheses around the
.
We can illustrate the notation of logarithms as follows:
Notice that, comparing the logarithm function and the exponential function, the input and the output are switched. This means and
are inverse functions.
DEFINITION OF THE LOGARITHMIC FUNCTION
A logarithm base of a positive number
satisfies the following definition.
where,
- we read
as, "the logarithm with base
of
" or the "log base
".
- the logarithm
is the exponent to which
must be raised to get
.
Also, since the logarithmic and exponential functions switch the and
values, the domain and range of the exponential function are interchanged for the logarithmic function. Therefore,
- the domain of the logarithm function with base
is
.
- the range of the logarithm function with base
is
.
Q&A
Can we take the logarithm of a negative number?No. Because the base of an exponential function is always positive, no power of that base can ever be negative. We can never take the logarithm of a negative number. Also, we cannot take the logarithm of zero. Calculators may output a log of a negative number when in complex mode, but the log of a negative number is not a real number.
HOW TO
Given an equation in logarithmic form , convert it to exponential form.
EXAMPLE 1
Converting from Logarithmic Form to Exponential Form
Write the following logarithmic equations in exponential form.Solution
First, identify the values of and
. Then, write the equation in the form
.
Here, , and
. Therefore, the equation
is equivalent to
.
Here, ,and
. Therefore, the equation
is equivalent to
.