Intermediate Algebra 2e — Original English

Evaluate and Graph Logarithmic Functions

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.

Rewrite withy=f(x).Interchange the variablesxandy.f(x)=axy=axx=aySolve fory.Oops! We have no way to solve fory!

To deal with this we define the logarithm function with base a to be the inverse of the exponential function f(x)=ax. We use the notation f−1(x)=logax and say the inverse function of the exponential function is the logarithmic function.

Convert Between Exponential and Logarithmic Form

Since the equations y=logax and x=ay 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 1. Notice the positions of the exponent and base.

This figure shows the expression y equals log sub a of x, where y is the exponent and a is the base. Next to this expression we have x equals a to the y, where again y is the exponent and a is the base.

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.”

Convert to logarithmic form: 23=8, 512=5, and (12)4=116.

Solution
In part (a) we have 2 to the 3 power equals 8, where the 2 is red and the 3 is blue. Following this, we have blue y equals log sub red a of x. Then 3 equals log sub 2 of 8. Hence, if 2 cubed equals 8, then 3 equals log sub 2 of 8. In part (b) we have 5 to the 1 over 2 power equals square root of 5, where the 5 is red and the 1 over 2 is blue. Following this, we have blue y equals log sub red a of x. Then 1 over 2 equals log sub 5 of the square root of 5. Hence, if 5 to the 1 over 2 power equals the square root of 5, then 1 over 2 equals log sub 5 of the square root of 5. In part (c) we have 1 over 2 to the x power equals 1 over 16, where the 1 over 2 is red and the x is blue. Following this, we have blue y equals log sub red a of x. Then x equals log sub 1 over 2 of 1 over 16. Hence, if 1 over 2 to the x power equals 1 over 16, then x equals log sub 1 over 2 of 1 over 16.

In the next example we do the reverse—convert logarithmic form to exponential form.

Convert to exponential form: 2=log864, 0=log41, and 3=log1011000.

Solution
In part (a) we have 2 equals log sub 8 of 64, where the 2 is blue and the 8 is red. Following this, we have x equals red a to the blue y power. Then 64 equals 8 squared. Hence, if 2 equals log sub 8 of 64, then 64 equals 8 squared. In part (b) we have 0 equals log sub 4 of 1, where the 0 is blue and the 4 is red. Following this, we have x equals red a to the blue y power. Then 1 equals 4 to the zero power. Hence, if 0 equals log sub 4 of 1, then 1 equals 4 to the zero power. In part (c) we have negative 3 equals log sub 10 of 1 over 1000, where the negative 3 is blue and the 10 is red. Following this, we have x equals red a to the blue y power. Then 1 over 1000 equals 10 to the negative three power. Hence, if negative 3 equals log sub 10 of 1 over 1000, then 1 over 1000 equals 10 to the negative 3 power.

Evaluate Logarithmic Functions

We can solve and evaluate logarithmic equations by using the technique of converting the equation to its equivalent exponential equation.

Find the value of x: logx36=2, log4x=3, and log1218=x.

Solution

Steps to solve the logarithmic equation log_x 36 = 2, demonstrating conversion to exponential form and applying base rules.
logx36=2
Convert to exponential form. x2=36
Solve the quadratic. x=6,x=−6
The base of a logarithmic function must be positive, so we eliminate x=−6. x=6Therefore,log636=2.

Steps to solve the logarithmic equation log₄x = 3 by converting it to exponential form.
log4x=3
Convert to exponential form. 43=x
Simplify. x=64Therefore,log464=3.

Step-by-step solution for evaluating log_(1/2)(1/8) by converting to exponential form.
log1218=x
Convert to exponential form. (12)x=18
Rewrite 18 as (12)3. (12)x=(12)3
With the same base, the exponents must be equal. x=3Therefore,log1218=3

When see an expression such as log327, we can find its exact value two ways. By inspection we realize it means 3 to what power will be 27? Since 33=27, we know log327=3. An alternate way is to set the expression equal to x and then convert it into an exponential equation.

Find the exact value of each logarithm without using a calculator: log525, log93, and log2116.

Solution

Demonstrates two methods to evaluate log_5(25): a direct question/answer approach and a step-by-step algebraic solution, clarifying the process of solving logarithms.
log525
5 to what power will be 25? log525=2
Or
Set the expression equal to x. log525=x
Change to exponential form. 5x=25
Rewrite 25 as 52. 5x=52
With the same base the exponents must be equal. x=2Therefore,log525=2.

Steps for solving the logarithmic expression log_9 3 by converting it to exponential form.
log93
Set the expression equal to x. log93=x
Change to exponential form. 9x=3
Rewrite 9 as 32. (32)x=31
Simplify the exponents. 32x=31
With the same base the exponents must be equal. 2x=1
Solve the equation. x=12Therefore,log93=12.

This table demonstrates the step-by-step process for evaluating the logarithmic expression log
log2116
Set the expression equal to x. log2116=x
Change to exponential form. 2x=116
Rewrite 16 as 24. 2x=124
2x=2−4
With the same base the exponents must be equal. x=−4Therefore,log2116=−4.

Graph Logarithmic Functions

To graph a logarithmic function y=logax, it is easiest to convert the equation to its exponential form, x=ay. 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.

Graph y=log2x.

Solution

To graph the function, we will first rewrite the logarithmic equation, y=log2x, in exponential form, 2y=x.

We will use point plotting to graph the function. It will be easier to start with values of y and then get x.

y 2y=x (x,y)
−2 2−2=122=14 (14,-2)
−1 2−1=121=12 (12,−1)
0 20=1 (1,0)
1 21=2 (2,1)
2 22=4 (4,2)
3 23=8 (8,3)
This figure shows the logarithmic curve going through the points (1 over 2, negative 1), (1, 0), and (2, 1).

The graphs of y=log2x,y=log3x, and y=log5x are the shape we expect from a logarithmic function where a>1.

We notice that for each function the graph contains the point (1,0). This make sense because 0=loga1 means a0=1 which is true for any a.

The graph of each function, also contains the point (a,1). This makes sense as 1=logaa means a1=a. which is true for any a.

Notice too, the graph of each function y=logax also contains the point (1a,−1). This makes sense as −1=loga1a means a−1=1a, 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 (0,).

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 x=0, the y-axis, a vertical asymptote.

Our next example looks at the graph of y=logax when 0<a<1.

Graph y=log13x.

Solution

To graph the function, we will first rewrite the logarithmic equation, y=log13x, in exponential form, (13)y=x.

We will use point plotting to graph the function. It will be easier to start with values of y and then get x.

y (13)y=x (x,y)
−2 (13)−2=32=9 (9,−2)
−1 (13)−1=31=3 (3,−1)
0 (13)0=1 (1,0)
1 (13)1=13 (13,1)
2 (13)2=19 (19,2)
3 (13)3=127 (127,3)
This figure shows the logarithmic curve going through the points (1 over 3, 1), (1, 0), and (3, negative 1).

Now, let’s look at the graphs y=log12x,y=log13x and y=log14x, so we can identify some of the properties of logarithmic functions where 0<a<1.

The graphs of all have the same basic shape. While this is the shape we expect from a logarithmic function where 0<a<1.

We notice, that for each function again, the graph contains the points,(1,0),(a,1),(1a,−1). This make sense for the same reasons we argued above.

We notice the domain and range are also the same—the domain is (0,) and the range is (,). The y-axis is again the vertical asymptote.

We will summarize these properties in the chart below. Which also include when a>1.

We talked earlier about how the logarithmic function f−1(x)=logax is the inverse of the exponential function f(x)=ax. The graphs in Figure 2 show both the exponential (blue) and logarithmic (red) functions on the same graph for both a>1 and 0<a<1.

This figure shows that, for a greater than 1, the logarithmic curve going through the points (1 over a, negative 1), (1, 0), and (a, 1). It also shows the exponential curve going through the points (1, 1 over a), (0, 1), and (1, a) along with the line y equals x. The logarithmic curve is a mirror image of the exponential curve across the y equals x line. This figure shows that, for a greater than 0 and less than 1, the logarithmic curve going through the points (a, 1), (1, 0), and (1 over a, negative 1). It also shows the exponential curve going through the points (negative 1, 1 over a), (0, 1), and (1, a) along with the line y equals x. The logarithmic curve is a mirror image of the exponential curve across the y equals x line.

Notice how the graphs are reflections of each other through the line y=x. 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 f(x)=logex is generally written f(x)=lnx and we read it as “el en of x.

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.

It will be important for you to use your calculator to evaluate both common and natural logarithms. Find the log and ln keys on your calculator.

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, y=logax, we need to remember that for the base a, a>0 and a1. Also, the domain is x>0. Just as with radical equations, we must check our solutions to eliminate any extraneous solutions.

Solve: loga49=2 and lnx=3.

Solution

Step-by-step solution demonstrating how to solve the logarithmic equation log_a 49 = 2, from rewriting to verifying the base.
loga49=2
Rewrite in exponential form. a2=49
Solve the equation using the square root property. a=±7
The base cannot be negative, so we eliminate a=7. a=7,a=7
Check.
a=7loga49=2log749=?272=?4949=49

This table illustrates the step-by-step process of solving a logarithmic equation, including rewriting it in exponential form and verifying the solution.
lnx=3
Rewrite in exponential form. e3=x
Check.
x=e3lnx=3lne3=?3e3=e3

Solve: log2(3x5)=4 and lne2x=4.

Solution

Step-by-step solution and verification of the logarithmic equation log₂(3x - 5) = 4, demonstrating the conversion to exponential form and algebraic solving.
log2(3x5)=4
Rewrite in exponential form. 24=3x5
Simplify. 16=3x5
Solve the equation. 21=3x
7=x
Check.
x=7log2(3x5)=4log2(375)=?4log2(16)=?424=?1616=16

Step-by-step solution and check for the logarithmic equation ln(e^2x) = 4.
lne2x=4
Rewrite in exponential form. e4=e2x
Since the bases are the same the exponents are equal. 4=2x
Solve the equation. 2=x
Check.
x=2lne2x=4 lne2·2=?4 lne4=?4 e4=e4

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 10−12 in the formula represents the intensity of sound that is barely audible.

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 10−2 watts per square inch?

Solution
The image displays the formula D = 10 log(I / 10^-12), which calculates the decibel level (D) from a given sound intensity (I).
Substitute in the intensity level, I. An equation: D = 10 log(10^-2 / 10^-12), demonstrating a base-10 logarithm of a fraction of powers of ten, with 10^-2 highlighted in red.
Simplify. A mathematical equation is displayed: D = 10 log(10^10).
Since log1010=10. A mathematical equation shows D equals 10 times 10
Multiply. The image displays a clear mathematical expression: D = 100. The text is in a bold, sans-serif font against a plain white background, occupying the top left portion of the frame.
The decibel level of music coming through earphones is 100 dB.

The magnitude R of an earthquake is measured by a logarithmic scale called the Richter scale. The model is R=logI, where I is the intensity of the shock wave. This model provides a way to measure earthquake intensity.

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.

This table illustrates the step-by-step calculation to compare the intensities of the 1906 and 2014 earthquakes using logarithmic and exponential conversions, culminating in their intensity ratio.
Convert the magnitudes to intensities. R=logI
1906 earthquake 7.8=logI
Convert to exponential form. I=107.8
2014 earthquake 5.1=logI
Convert to exponential form. I=105.1
Form a ratio of the intensities. Intensityfor1906Intensityfor2014
Substitute in the values. 107.8105.1
Divide by subtracting the exponents. 102.7
Evaluate. 501
The intensity of the 1906 earthquake was about 501 times the intensity of the 2014 earthquake.

Key Concepts

  • Properties of the Graph of y=logax:
    when a>1 when 0<a<1
    Domain (0,) Domain (0,)
    Range (,) Range (,)
    x-intercept (1,0) x-intercept (1,0)
    y-intercept none y-intercept none
    Contains (a,1),(1a,−1) Contains (a,1),(1a,−1)
    Asymptote y-axis Asymptote y-axis
    Basic shape increasing Basic shape decreasing

    This figure shows that, for a greater than 1, the logarithmic curve going through the points (1 over a, negative 1), (1, 0), and (a, 1). This figure shows that, for a greater than 0 and less than 1, the logarithmic curve going through the points (a, 1), (1, 0), and (1 over a, negative 1).
  • Decibel Level of Sound: The loudness level, D, measured in decibels, of a sound of intensity, I, measured in watts per square inch is D=10log(I10−12).
  • Earthquake Intensity: The magnitude R of an earthquake is measured by R=logI, where I is the intensity of its shock wave.

Practice Makes Perfect

Convert Between Exponential and Logarithmic Form

In the following exercises, convert from exponential to logarithmic form.

42=16

25=32

Solution

log232=5

33=27

53=125

Solution

log5125=3

103=1000

10−2=1100

Solution

log1100=−2

x12=3

x13=63

Solution

logx63=13

32x=324

17x=175

Solution

log17175=x

(14)2=116

(13)4=181

Solution

log13181=4

3−2=19

4−3=164

Solution

log4164=−3

ex=6

e3=x

Solution

lnx=3

In the following exercises, convert each logarithmic equation to exponential form.

3=log464

6=log264

Solution

64=26

4=logx81

5=logx32

Solution

32=x5

0=log121

0=log71

Solution

1=70

1=log33

1=log99

Solution

9=91

−4=log10110,000

3=log101,000

Solution

1,000=103

5=logex

x=loge43

Solution

43=ex

Evaluate Logarithmic Functions

In the following exercises, find the value of x in each logarithmic equation.

logx49=2

logx121=2

Solution

x=11

logx27=3

logx64=3

Solution

x=4

log3x=4

log5x=3

Solution

x=125

log2x=−6

log3x=−5

Solution

x=1243

log14116=x

log1319=x

Solution

x=2

log1464=x

log1981=x

Solution

x=−2

In the following exercises, find the exact value of each logarithm without using a calculator.

log749

log636

Solution

2

log41

log51

Solution

0

log164

log273

Solution

13

log122

log124

Solution

−2

log2116

log3127

Solution

−3

log4116

log9181

Solution

−2

Graph Logarithmic Functions

In the following exercises, graph each logarithmic function.

y=log2x

y=log4x

Solution

This figure shows the logarithmic curve going through the points (1 over 4, negative 1), (1, 0), and (4, 1).

y=log6x

y=log7x

Solution

This figure shows that the logarithmic curve going through the points (1 over 7, negative 1), (1, 0), and (7, 1).

y=log1.5x

y=log2.5x

Solution

This figure shows the logarithmic curve going through the points (2 over 5, negative 1), (1, 0), and (2.5, 1).

y=log13x

y=log15x

Solution

This figure shows the logarithmic curve going through the points (1 over 5, 1), (1, 0), and (5, negative 1).

y=log0.4x

y=log0.6x

Solution

This figure shows the logarithmic curve going through the points (3 over 5, 1), (1, 0), and (5 over 3, negative 1).

Solve Logarithmic Equations

In the following exercises, solve each logarithmic equation.

loga16=2

loga81=2

Solution

a=9

loga8=3

loga27=3

Solution

a=3

loga32=2

loga24=3

Solution

a=233

lnx=5

lnx=4

Solution

x=e4

log2(5x+1)=4

log2(6x+2)=5

Solution

x=5

log3(4x3)=2

log3(5x4)=4

Solution

x=17

log4(5x+6)=3

log4(3x2)=2

Solution

x=6

lne4x=8

lne2x=6

Solution

x=3

logx2=2

log(x225)=2

Solution

x=−55,x=55

log2(x24)=5

log3(x2+2)=3

Solution

x=−5,x=5

Use Logarithmic Models in Applications

In the following exercises, use a logarithmic model to solve.

What is the decibel level of normal conversation with intensity 10−6 watts per square inch?

What is the decibel level of a whisper with intensity 10−10 watts per square inch?

Solution

A whisper has a decibel level of 20 dB.

What is the decibel level of the noise from a motorcycle with intensity 10−2 watts per square inch?

What is the decibel level of the sound of a garbage disposal with intensity 10−2 watts per square inch?

Solution

The sound of a garbage disposal has a decibel level of 100 dB.

In 2014, Chile experienced an intense earthquake with a magnitude of 8.2 on the Richter scale. In 2010, Haiti also experienced an intense earthquake which measured 7.0 on the Richter scale. Compare the intensities of the two earthquakes.

The Los Angeles area experiences many earthquakes. In 1994, the Northridge earthquake measured magnitude of 6.7 on the Richter scale. In 2014, Los Angeles also experienced an earthquake which measured 5.1 on the Richter scale. Compare the intensities of the two earthquakes.

Solution

The intensity of the 1994 Northridge earthquake in the Los Angeles area was about 40 times the intensity of the 2014 earthquake.

Writing Exercises

Explain how to change an equation from logarithmic form to exponential form.

Explain the difference between common logarithms and natural logarithms.

Solution

Answers will vary.

Explain why logaax=x.

Explain how to find the log732 on your calculator.

Solution

Answers will vary.

Self Check


After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

This table has four rows and five columns. The first row, which serves as a header, reads I can…, Confidently, With some help, and No—I don’t get it. The first column below the header row reads Convert between exponential and logarithmic form, evaluate logarithmic functions, graph logarithmic functions, solve logarithmic equations, and use logarithmic models in applications. The rest of the cells are blank.

After reviewing this checklist, what will you do to become confident for all objectives?

common logarithmic function
The function f(x)=logx is the common logarithmic function with base10, where x>0.
y=logxis equivalent tox=10y
logarithmic function
The function f(x)=logax is the logarithmic function with base a, where a>0,x>0, and a1.
y=logaxis equivalent tox=ay
natural logarithmic function
The function f(x)=lnx is the natural logarithmic function with base e, where x>0.
y=lnxis equivalent tox=ey