Learning Outcomes
- Identify the form of a logarithmic function
- Explain the relationship between exponential and logarithmic functions
- Describe how to calculate a logarithm to a different base
Using our understanding of exponential functions, we can discuss their inverses, which are the logarithmic functions. Recall the definition of an inverse function.
Recall: Inverse Function
For any one-to-one function , a function is an inverse function of if . This can also be written as for all in the domain of . It also follows that for all in the domain of if is the inverse of .
The notation is read “ inverse.” Like any other function, we can use any variable name as the input for , so we will often write , which we read as inverse of “.
Logarithmic functions come in handy when we need to consider any phenomenon that varies over a wide range of values, such as pH in chemistry or decibels in sound levels.
The exponential function is one-to-one, with domain and range . Therefore, it has an inverse function, called the logarithmic function with base . For any , the logarithmic function with base , denoted , has domain and range , and satisfies
For example,
Furthermore, since and are inverse functions,
The most commonly used logarithmic function is the function . Since this function uses natural as its base, it is called the natural logarithm. Here we use the notation or to mean . For example,
Since the functions and are inverses of each other,
and their graphs are symmetric about the line (Figure 4).

Figure 4: The functions and are inverses of each other, so their graphs are symmetric about the line .
In general, for any base , the function is symmetric about the line with the function . Using this fact and the graphs of the exponential functions, we graph functions for several values of (Figure 5).

Figure 5: Graphs of are depicted for .
Before solving some equations involving exponential and logarithmic functions, let’s review the basic properties of logarithms.
Properties of Logarithms
If , and is any real number, then
Example: Solving Equations Involving Exponential Functions
Solve each of the following equations for .
Watch the following video to see the worked solution to Example: Solving Equations Involving Exponential Functions
Try It
Solve .
Example: Solving Equations Involving Logarithmic Functions
Solve each of the following equations for .
Watch the following video to see the worked solution to Example: Solving Equations Involving Logarithmic Functions
Try It
Solve .
Try It
When evaluating a logarithmic function with a calculator, you may have noticed that the only options are or log, called the common logarithm, or ln, which is the natural logarithm. However, exponential functions and logarithm functions can be expressed in terms of any desired base . If you need to use a calculator to evaluate an expression with a different base, you can apply the change-of-base formulas first. Using this change of base, we typically write a given exponential or logarithmic function in terms of the natural exponential and natural logarithmic functions.
Try It
Change-of-Base Formulas
Let , and .
- for any real number .
If , this equation reduces to . - for any real number .
If , this equation reduces to .
Proof
For the first change-of-base formula, we begin by making use of the power property of logarithmic functions. We know that for any base . Therefore,
In addition, we know that and are inverse functions. Therefore,
Combining these last two equalities, we conclude that .
To prove the second property, we show that
Let , and . We will show that . By the definition of logarithmic functions, we know that , and . From the previous equations, we see that
Therefore, . Since exponential functions are one-to-one, we can conclude that .
Example: Changing Bases
Use a calculating utility to evaluate with the change-of-base formula presented earlier.
Try It
Use the change-of-base formula and a calculating utility to evaluate .
Try It
Compare the relative severity of a magnitude 8.4 earthquake with a magnitude 7.4 earthquake.
Try It
Candela Citations
- 1.5 Exponential and Logarithmic Functions. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 1. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/details/books/calculus-volume-1. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction