Evaluate and Graph Logarithmic Functions
By the end of this section, you will be able to:
- Convert between exponential and logarithmic form
- Evaluate logarithmic functions
- Graph Logarithmic functions
- Solve logarithmic equations
- Use logarithmic models in applications
We have spent some time finding the inverse of many functions. It works well to ‘undo’ an operation with another operation. Subtracting ‘undoes’ addition, multiplication ‘undoes’ division, taking the square root ‘undoes’ squaring.
As we studied the exponential function, we saw that it is one-to-one as its graphs pass the horizontal line test. This means an exponential function does have an inverse. If we try our algebraic method for finding an inverse, we run into a problem.
To deal with this we define the logarithm function with base a to be the inverse of the exponential function We use the notation and say the inverse function of the exponential function is the logarithmic function.
Logarithmic Function. The function is the logarithmic function with base , where and
Convert Between Exponential and Logarithmic Form
Since the equations and are equivalent, we can go back and forth between them. This will often be the method to solve some exponential and logarithmic equations. To help with converting back and forth let’s take a close look at the equations. See Figure 10.3. Notice the positions of the exponent and base.
In both forms, is the base, is the exponent, and is the resulting number.
If we realize the logarithm is the exponent it makes the conversion easier. You may want to repeat, “base to the exponent give us the number.”
Example 10.18. Convert to logarithmic form: ⓐ ⓑ and ⓒ
Solution.
Identify the base and the exponent in each exponential equation:
| Exponential form | Logarithmic form |
|---|---|
Which choice correctly converts all three equations to logarithmic form: ⓐ , ⓑ , and ⓒ ?
In , the equivalent logarithmic form is .Which choice correctly converts all three equations to logarithmic form: ⓐ , ⓑ , and ⓒ ?
Keep the exponential base as the logarithmic base.In the next example we do the reverse—convert logarithmic form to exponential form.
Example 10.19. Convert to exponential form: ⓐ ⓑ and ⓒ
Solution.
Identify the base and the exponent in each logarithmic equation:
| Logarithmic form | Exponential form |
|---|---|
Which choice correctly converts all three equations to exponential form: ⓐ , ⓑ , and ⓒ ?
In , the equivalent exponential form is .Which choice correctly converts all three equations to exponential form: ⓐ , ⓑ , and ⓒ ?
The logarithm is the exponent on the base.Evaluate Logarithmic Functions
We can solve and evaluate logarithmic equations by using the technique of converting the equation to its equivalent exponential equation.
Example 10.20. Find the value of x: ⓐ ⓑ and ⓒ
Solution.
ⓐ
| Convert to exponential form. | |
| Solve the quadratic. | |
| The base of a logarithmic function must be positive, so we eliminate . |
ⓑ
| Convert to exponential form. | |
| Simplify. |
ⓒ
| Convert to exponential form. | |
| Rewrite as . | |
| With the same base, the exponents must be equal. |
Find in ⓐ , ⓑ , and ⓒ . Enter the results as an ordered triple.
Convert each logarithmic equation to exponential form.Find in ⓐ , ⓑ , and ⓒ . Enter the results as an ordered triple.
Rewrite each statement in exponential form before solving.When see an expression such as we can find its exact value two ways. By inspection we realize it means “3 to what power will be 27”? Since we know An alternate way is to set the expression equal to and then convert it into an exponential equation.
Example 10.21. Find the exact value of each logarithm without using a calculator: ⓐ ⓑ and ⓒ
Solution.
ⓐ
| 5 to what power will be 25? | |
| Or | |
| Set the expression equal to . | |
| Change to exponential form. | |
| Rewrite 25 as . | |
| With the same base the exponents must be equal. |
ⓑ
| Set the expression equal to . | |
| Change to exponential form. | |
| Rewrite 9 as . | |
| Simplify the exponents. | |
| With the same base the exponents must be equal. | |
| Solve the equation. |
ⓒ
| Set the expression equal to . | |
| Change to exponential form. | |
| Rewrite 16 as . | |
| With the same base the exponents must be equal. |
Find ⓐ , ⓑ , and ⓒ exactly. Enter the results as an ordered triple.
Ask which power of each base produces the logarithm's argument.Find ⓐ , ⓑ , and ⓒ exactly. Enter the results as an ordered triple.
Rewrite 81, 2, and as powers of the corresponding bases.Graph Logarithmic Functions
To graph a logarithmic function it is easiest to convert the equation to its exponential form, Generally, when we look for ordered pairs for the graph of a function, we usually choose an x-value and then determine its corresponding y-value. In this case you may find it easier to choose y-values and then determine its corresponding x-value.
Example 10.22. Graph
Solution.
To graph the function, we will first rewrite the logarithmic equation, in exponential form,
We will use point plotting to graph the function. It will be easier to start with values of y and then get x.
| 0 | ||
| 1 | ||
| 2 | ||
| 3 |
Which description matches the graph of ?
A logarithmic graph is the reflection of its exponential inverse across .Which description matches the graph of ?
Evaluate and , and note that the base is greater than 1.The graphs of and are the shape we expect from a logarithmic function where
We notice that for each function the graph contains the point This make sense because means which is true for any a.
The graph of each function, also contains the point This makes sense as means which is true for any a.
Notice too, the graph of each function also contains the point This makes sense as means which is true for any a.
Look at each graph again. Now we will see that many characteristics of the logarithm function are simply ’mirror images’ of the characteristics of the corresponding exponential function.
What is the domain of the function? The graph never hits the y-axis. The domain is all positive numbers. We write the domain in interval notation as
What is the range for each function? From the graphs we can see that the range is the set of all real numbers. There is no restriction on the range. We write the range in interval notation as
When the graph approaches the y-axis so very closely but will never cross it, we call the line the y-axis, a vertical asymptote.
Our next example looks at the graph of when
Example 10.23. Graph
Solution.
To graph the function, we will first rewrite the logarithmic equation, in exponential form,
We will use point plotting to graph the function. It will be easier to start with values of y and then get x.
| 0 | ||
| 1 | ||
| 2 | ||
| 3 |
Which description matches the graph of ?
A logarithm with a base between 0 and 1 is decreasing.Which description matches the graph of ?
Use and the inverse relationship between exponential and logarithmic functions.Now, let’s look at the graphs and , so we can identify some of the properties of logarithmic functions where
The graphs of all have the same basic shape. While this is the shape we expect from a logarithmic function where
We notice, that for each function again, the graph contains the points, This make sense for the same reasons we argued above.
We notice the domain and range are also the same—the domain is and the range is The -axis is again the vertical asymptote.
We will summarize these properties in the chart below. Which also include when
We talked earlier about how the logarithmic function is the inverse of the exponential function The graphs in Figure 10.4 show both the exponential (blue) and logarithmic (red) functions on the same graph for both and
Notice how the graphs are reflections of each other through the line We know this is true of inverse functions. Keeping a visual in your mind of these graphs will help you remember the domain and range of each function. Notice the x-axis is the horizontal asymptote for the exponential functions and the y-axis is the vertical asymptote for the logarithmic functions.
Solve Logarithmic Equations
When we talked about exponential functions, we introduced the number e. Just as e was a base for an exponential function, it can be used a base for logarithmic functions too. The logarithmic function with base e is called the natural logarithmic function. The function is generally written and we read it as “el en of .”
When the base of the logarithm function is 10, we call it the common logarithmic function and the base is not shown. If the base a of a logarithm is not shown, we assume it is 10.
Use the calculator’s log key for common logarithms and its ln key for natural logarithms.
To solve logarithmic equations, one strategy is to change the equation to exponential form and then solve the exponential equation as we did before. As we solve logarithmic equations, , we need to remember that for the base a, and Also, the domain is Just as with radical equations, we must check our solutions to eliminate any extraneous solutions.
Example 10.24. Solve: ⓐ and ⓑ
Solution.
ⓐ
| Rewrite in exponential form. | |
| Solve the equation using the square root property. | |
| The base cannot be negative, so we eliminate | |
| Check. | |
ⓑ
| Rewrite in exponential form. | |
| Check. | |
Solve ⓐ and ⓑ . Enter as an ordered pair.
Convert both equations to exponential form.Solve ⓐ and ⓑ . Enter as an ordered pair.
Use and remember that has base .Example 10.25. Solve: ⓐ and ⓑ
Solution.
ⓐ
| Rewrite in exponential form. | |
| Simplify. | |
| Solve the equation. | |
| Check. | |
ⓑ
| Rewrite in exponential form. | |
| Since the bases are the same the exponents are equal. | |
| Solve the equation. | |
| Check. | |
Solve ⓐ and ⓑ . Enter the two -values as an ordered pair.
Convert the first equation to exponential form and apply the inverse property to the second.Solve ⓐ and ⓑ . Enter the two -values as an ordered pair.
Rewrite the logarithmic equation exponentially; simplify directly.Use Logarithmic Models in Applications
There are many applications that are modeled by logarithmic equations. We will first look at the logarithmic equation that gives the decibel (dB) level of sound. Decibels range from 0, which is barely audible to 160, which can rupture an eardrum. The in the formula represents the intensity of sound that is barely audible.
Decibel Level of Sound. The loudness level, D, measured in decibels, of a sound of intensity, I, measured in watts per square inch is
Example 10.26. Extended exposure to noise that measures 85 dB can cause permanent damage to the inner ear which will result in hearing loss. What is the decibel level of music coming through ear phones with intensity watts per square inch?
Solution.
| Substitute in the intensity level, I. | |
| Simplify. | |
| Since . | |
| Multiply. | |
| The decibel level of music coming through earphones is 100 dB. |
What is the decibel level of a quiet dishwasher with intensity watts per square inch?
50 dBUse .What is the decibel level of heavy city traffic with intensity watts per square inch?
90 dBSubstitute the intensity into .The magnitude of an earthquake is measured by a logarithmic scale called the Richter scale. The model is where is the intensity of the shock wave. This model provides a way to measure earthquake intensity.
Example 10.27. In 1906, San Francisco experienced an intense earthquake with a magnitude of 7.8 on the Richter scale. Over 80% of the city was destroyed by the resulting fires. In 2014, Los Angeles experienced a moderate earthquake that measured 5.1 on the Richter scale and caused $108 million dollars of damage. Compare the intensities of the two earthquakes.
Solution.
To compare the intensities, we first need to convert the magnitudes to intensities using the log formula. Then we will set up a ratio to compare the intensities.
| Convert the magnitudes to intensities. | |
|---|---|
| Form a ratio of the intensities. | |
| Substitute in the values. | |
| Divide by subtracting the exponents. | |
| Evaluate. | |
| The intensity of the 1906 earthquake was about 501 times the intensity of the 2014 earthquake. |
An earthquake measured 7.8 and another measured 6.9 on the Richter scale. About how many times as intense was the first earthquake?
about 8 times as intenseThe intensity ratio is ; round to the nearest whole number.An earthquake in Chile measured 8.2 and one in Los Angeles measured 5.1. About how many times as intense was the Chile earthquake?
about times as intenseCompute and round to the nearest whole number.This section is adapted from Intermediate Algebra 2e, Section 10.3: Evaluate and Graph Logarithmic Functions by Lynn Marecek and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: reformatted the worked solutions for the web; omitted the Be Prepared quiz, media links, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.