Convert Between Logarithmic and Exponential

Site: Saylor Academy
Course: MA001: College Algebra
Book: Convert Between Logarithmic and Exponential
Printed by: Guest user
Date: Sunday, May 19, 2024, 3:29 PM

Description

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.

Logarithmic Functions

Learning Objectives

In this section, you will:

  • Convert from logarithmic to exponential form.
  • Convert from exponential to logarithmic form.
  • Evaluate logarithms.
  • Use common logarithms.
  • Use natural logarithms.


Figure 1 Devastation of March 11, 2011 earthquake in Honshu, Japan. (credit: Daniel Pierce)

In 2010, a major earthquake struck Haiti, destroying or damaging over 285,000 homes. One year later, another, stronger earthquake devastated Honshu, Japan, destroying or damaging over 332,000 buildings, like those shown in Figure 1. Even though both caused substantial damage, the earthquake in 2011 was 100 times stronger than the earthquake in Haiti. How do we know? The magnitudes of earthquakes are measured on a scale known as the Richter Scale. The Haitian earthquake registered a 7.0 on the Richter Scale whereas the Japanese earthquake registered a 9.0.

The Richter Scale is a base-ten logarithmic scale. In other words, an earthquake of magnitude 8 is not twice as great as an earthquake of magnitude 4. It is 10^{8−4}=10^4=10,000 times as great! In this lesson, we will investigate the nature of the Richter Scale and the base-ten function upon which it depends.


Source: Rice University, https://openstax.org/books/college-algebra/pages/6-3-logarithmic-functions
Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 License.

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 10^x=500, where x represents the difference in magnitudes on the Richter Scale. How would we solve for x?

We have not yet learned a method for solving exponential equations. None of the algebraic tools discussed so far is sufficient to solve 10^x=500. We know that 10^2=100 and 10^3=1000, so it is clear that x must be some value between 2 and 3, since y=10^x 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 y=b^x is one-to-one, so its inverse, x=b^y is also a function. As is the case with all inverse functions, we simply interchange x and y and solve for y to find the inverse function. To represent y as a function of x, we use a logarithmic function of the form y=log_b(x). The base b logarithm of a number is the exponent by which we must raise b to get that number.

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 2^5=32, we can write log_232=5. 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:

\log _{b}(x)=y \Leftrightarrow b^{y}=x, b > 0, b \neq 1

Note that the base b is always positive.


Because logarithm is a function, it is most correctly written as log_b(x), using parentheses to denote function evaluation, just as we would with f(x). 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 log_bx. Note that many calculators require parentheses around the x.

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 y=log_b(x) and y=b^x are inverse functions.


DEFINITION OF THE LOGARITHMIC FUNCTION

A logarithm base b of a positive number x satisfies the following definition.

For x > 0,b > 0,b \neq 1,

y=log_b(x) \quad is equivalent to b^y=x

where,

  • we read log_b(x) 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 b is (0, \infty).
  • the range of the logarithm function with base b is (− \infty, \infty).


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 log_b(x)=y, convert it to exponential form.

  1. Examine the equation y=log_b(x) and identify b,y, and x.
  2. Rewrite log_b(x)=y as b^y=x.


EXAMPLE 1

Converting from Logarithmic Form to Exponential Form

Write the following logarithmic equations in exponential form.

log_6(\sqrt{6})=\frac{1}{2}

log_3(9)=2


Solution

First, identify the values of b,y, and x. Then, write the equation in the form b^y=x.

log_6(\sqrt{6})=\frac{1}{2}

Here, b=6,y= \frac{1}{2}, and x= \sqrt{6}. Therefore, the equation log_6(\sqrt{6})=\frac{1}{2} is equivalent to 6 \frac{1}{2}= \sqrt{6}.

log_3(9)=2

Here, b=3,y=2,and x=9. Therefore, the equation log_3(9)=2 is equivalent to 3^2=9.


TRY IT #1

Write the following logarithmic equations in exponential form.

log_{10}(1,000,000)=6

log_5(25)=2

Converting from Exponential to Logarithmic Form

To convert from exponents to logarithms, we follow the same steps in reverse. We identify the base b, exponent x, and output y. Then we write x=log_b(y).


EXAMPLE 2

Converting from Exponential Form to Logarithmic Form

Write the following exponential equations in logarithmic form.

  1. 2^3=8
  2. 5^2=25
  3. 10^{−4}=\frac{1}{10,000}


Solution

First, identify the values of b,y, and x. Then, write the equation in the form x=log_b(y).

  1. 2^3=8
  2. Here, b=2, x=3, and y=8. Therefore, the equation 2^3=8 is equivalent to log_2(8)=3.
  3. 5^2=25
  4. Here, b=5, x=2, and y=25. Therefore, the equation 5^2=25 is equivalent to log_5(25)=2.
  5. 10^{−4}=\frac{1}{10,000}
  6. Here, b=10, x=−4, and y= \frac{1}{10,000}. Therefore, the equation 10^{−4}= \frac{1}{10,000} is equivalent to log_{10}(\frac{1}{10,000})=−4.


TRY IT #2

Write the following exponential equations in logarithmic form.

3^2=9

5^3=125

2{−1}=\frac{1}{2}

Evaluating Logarithms

Knowing the squares, cubes, and roots of numbers allows us to evaluate many logarithms mentally. For example, consider log_28. We ask, "To what exponent must 2 be raised in order to get 8?" Because we already know 2^3=8, it follows that log_28=3.

Now consider solving log_749 and log_327 mentally.

  • We ask, "To what exponent must 7 be raised in order to get 49?" We know 7^2=49. Therefore, log_749=2
  • We ask, "To what exponent must 3 be raised in order to get 27?" We know 3^3=27. Therefore, log_327=3

Even some seemingly more complicated logarithms can be evaluated without a calculator. For example, let's evaluate log_{\frac{2}{3}} \frac{4}{9} mentally.

  • We ask, "To what exponent must \frac{2}{3} be raised in order to get \frac{4}{9}? " We know 2^2=4 and 3^2=9, so (\frac{2}{3})^2= \frac{4}{9}. Therefore, log_{\frac{2}{3}}(\frac{4}{9})=2.


HOW TO

Given a logarithm of the form y=log_b(x), evaluate it mentally.

  1. Rewrite the argument x as a power of b: b^y=x.
  2. Use previous knowledge of powers of b identify y by asking, "To what exponent should b be raised in order to get x?"


EXAMPLE 3

Solving Logarithms Mentally

Solve y=log_4(64) without using a calculator.


Solution

First we rewrite the logarithm in exponential form: 4^y=64. Next, we ask, "To what exponent must 4 be raised in order to get 64?"

We know

4^3=64

Therefore,

log_4(64)=3


TRY IT #3

Solve y=log_{121} (11) without using a calculator.


EXAMPLE 4

Evaluating the Logarithm of a Reciprocal

Evaluate y=log_3(\frac{1}{27}) without using a calculator.


Solution

First we rewrite the logarithm in exponential form: 3^y= \frac{1}{27}. Next, we ask, "To what exponent must 3 be raised in order to get \frac{1}{27}?"

We know 3^3=27, but what must we do to get the reciprocal, \frac{1}{27}? Recall from working with exponents that b^{−a}= \frac{1}{b^a}. We use this information to write

3^{−3}=\frac{1}{3^3}

=\frac{1}{27}

Therefore, log_3(\frac{1}{27})=−3.


TRY IT #4

Evaluate y=log_2(\frac{1}{32}) without using a calculator.

Convert Between Logs and Exponents


Source: Bigbend Emporium, https://www.youtube.com/watch?v=BC9hT-t0NaI
Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 License.