150 Convert 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
We have not yet learned a method for solving exponential equations. None of the algebraic tools discussed so far is sufficient to solve

Estimating from a graph, however, is imprecise. To find an algebraic solution, we must introduce a new function. Observe that the graph above passes the horizontal line test. The exponential function
We read a logarithmic expression as, “The logarithm with base b of x is equal to y,” or, simplified, “log base b of x is y.” We can also say, “b raised to the power of y is x,” 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 express the relationship between logarithmic form and its corresponding exponential form as follows:
Note that the base b is always positive.
Because logarithm is a function, it is most correctly written as
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
A General Note: Definition of the Logarithmic Function
A logarithm base b of a positive number x satisfies the following definition.
For
where,
- we read
as, “the logarithm with base b of x” or the “log base b of x.” - the logarithm y is the exponent to which b must be raised to get x.
Also, since the logarithmic and exponential functions switch the x and y values, the domain and range of the exponential function are interchanged for the logarithmic function. Therefore,
- the domain of the logarithm function with base
. - the range of the logarithm function with base
.
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.
- Examine the equation
and identify b, y, and x. - Rewrite
as .
Example 1: Converting from Logarithmic Form to Exponential Form
Write the following logarithmic equations in exponential form.
Solution
First, identify the values of b, y, and x. Then, write the equation in the form
Here,
. Therefore, the equation is equivalent to .Here, b = 3, y = 2, and x = 9. Therefore, the equation
is equivalent to .