Precalculus with Integrated CalculusXYZ Homework Edition

⇩ Download ▾

7.2 Logarithmic Functions

In Section 7.1, we saw exponential functions f ( x ) = b x are are one-to-one which means they are invertible. In this section, we explore their inverses, the logarithmic functions which are called `logs' for short.

We have special notations for the common base, b = 10 , and the natural base, b = e .

Since logs are defined as the inverses of exponential functions, we can use Theorems 5.13 and 7.1 to tell us about logarithmic functions. For example, we know that the domain of a log function is the range of an exponential function, namely ( 0 , ) , and that the range of a log function is the domain of an exponential function, namely ( , ) .

Moreover, since we know the basic shapes of y = f ( x ) = b x for the different cases of b , we can obtain the graph of y = f 1 ( x ) = log b ( x ) by reflecting the graph of f across the line y = x . The y -intercept ( 0 , 1 ) on the graph of f corresponds to an x -intercept of ( 1 , 0 ) on the graph of f 1 . The horizontal asymptotes y = 0 on the graphs of the exponential functions become vertical asymptotes x = 0 on the log graphs.

Coordinate-plane figure.
Figure 7.28
Coordinate-plane figure.
Figure 7.29

Procedurally, logarithmic functions `undo' the exponential functions. Consider the function f ( x ) = 2 x . When we evaluate f ( 3 ) = 2 3 = 8 , the input 3 becomes the exponent on the base 2 to produce the real number 8 . The function f 1 ( x ) = log 2 ( x ) then takes the number 8 as its input and returns the exponent 3 as its output. In symbols, log 2 ( 8 ) = 3 .

More generally, log 2 ( x ) is the exponent you put on 2 to get x . Thus, log 2 ( 16 ) = 4 , because 2 4 = 16 . The following theorem summarizes the basic properties of logarithmic functions, all of which come from the fact that they are inverses of exponential functions.

As we have mentioned, Theorem 7.3 is a consequence of Theorems 5.13 and 7.1. However, it is worth the reader's time to understand Theorem 7.3 from an exponent perspective.

As an example, we know that the domain of g ( x ) = log 2 ( x ) is ( 0 , ) . Why? Because the range of f ( x ) = 2 x is ( 0 , ) . In a way, this says everything, but at the same time, it doesn't.

To really understand why the domain of g ( x ) = log 2 ( x ) is ( 0 , ) , consider trying to compute log 2 ( 1 ) . We are searching for the exponent we put on 2 to give us 1 . In other words, we are looking for x that satisfies 2 x = 1 . There is no such real number, since all powers of 2 are positive.

While what we have said is exactly the same thing as saying `the domain of g ( x ) = log 2 ( x ) is ( 0 , ) because the range of f ( x ) = 2 x is ( 0 , ) ', we feel it is in a student's best interest to understand the statements in Theorem 7.3 at this level instead of just merely memorizing the facts.

Our first example gives us practice computing logarithms as well as constructing basic graphs.

Up until this point, restrictions on the domains of functions came from avoiding division by zero and keeping negative numbers from beneath even indexed radicals. With the introduction of logs, we now have another restriction. Since the domain of f ( x ) = log b ( x ) is ( 0 , ) , the argument of the log3 must be strictly positive.

While logarithms have some interesting applications of their own which you'll explore in the exercises, their primary use to us will be to undo exponential functions. (This is, after all, how they were defined.) Our last example reviews not only the major topics of this section, but reviews the salient points from Section 5.6.

Exercises

In Exercises -, use the property: b a = c if and only if log b ( c ) = a from Theorem 7.3 to rewrite the given equation in the other form. That is, rewrite the exponential equations as logarithmic equations and rewrite the logarithmic equations as exponential equations.

  1. 2 3 = 8
  2. 5 3 = 1 125
  3. 4 5 / 2 = 32
  4. ( 1 3 ) 2 = 9
  5. ( 4 25 ) 1 / 2 = 5 2
  6. 10 3 = 0.001
  7. e 0 = 1
  8. log 5 ( 25 ) = 2
  9. log 25 ( 5 ) = 1 2
  10. log 3 ( 1 81 ) = 4
  11. log 4 3 ( 3 4 ) = 1
  12. log ( 100 ) = 2
  13. log ( 0.1 ) = 1
  14. ln ( e ) = 1
  15. ln ( 1 e ) = 1 2

In Exercises -, evaluate the expression without using a calculator.

  1. log 3 ( 27 )
  2. log 6 ( 216 )
  3. log 2 ( 32 )
  4. log 6 ( 1 36 )
  5. log 8 ( 4 )
  6. log 36 ( 216 )
  7. log 1 5 ( 625 )
  8. log 1 6 ( 216 )
  9. log 36 ( 36 )
  10. log ( 1 1000000 )
  11. log ( 0.01 )
  12. ln ( e 3 )
  13. log 4 ( 8 )
  14. log 6 ( 1 )
  15. log 13 ( 13 )
  16. log 36 ( 36 4 )
  17. 7 log 7 ( 3 )
  18. 36 log 36 ( 216 )
  19. log 36 ( 36 216 )
  20. ln ( e 5 )
  21. log ( 10 11 9 )
  22. log ( 10 5 3 )
  23. ln ( 1 e )
  24. log 5 ( 3 log 3 ( 5 ) )
  25. log ( e ln ( 100 ) )
  26. log 2 ( 3 log 3 ( 2 ) )
  27. ln ( 42 6 log ( 1 ) )

In Exercises -, find the domain of the function.

  1. f ( x ) = ln ( x 2 + 1 )
  2. f ( x ) = log 7 ( 4 x + 8 )
  3. g ( t ) = ln ( 4 t 20 )
  4. g ( t ) = log ( t 2 + 9 t + 18 )
  5. f ( x ) = log ( x + 2 x 2 1 )
  6. f ( x ) = log ( x 2 + 9 x + 18 4 x 20 )
  7. g ( t ) = ln ( 7 t ) + ln ( t 4 )
  8. g ( t ) = ln ( 4 t 20 ) + ln ( t 2 + 9 t + 18 )
  9. f ( x ) = log ( x 2 + x + 1 )
  10. f ( x ) = log 4 ( x ) 4
  11. g ( t ) = log 9 ( | t + 3 | 4 )
  12. g ( t ) = ln ( t 4 3 )
  13. f ( x ) = 1 3 log 5 ( x )
  14. f ( x ) = 1 x log 1 2 ( x )
  15. f ( x ) = ln ( 2 x 3 x 2 + 13 x 6 )

In Exercises -, sketch the graph of g by starting with the graph of f and using transformations. Track at least three points of your choice and the vertical asymptote through the transformations. State the domain and range of g .

  1. f ( x ) = log 2 ( x ) , g ( x ) = log 2 ( x + 1 )
  2. f ( x ) = log 1 3 ( x ) , g ( x ) = log 1 3 ( x ) + 1
  3. f ( x ) = log 3 ( x ) , g ( x ) = log 3 ( x 2 )
  4. f ( x ) = log ( x ) , g ( x ) = 2 log ( x + 20 ) 1
  5. f ( t ) = log 0.5 ( t ) , g ( t ) = 10 log 0.5 ( t 100 )
  6. f ( t ) = log 1.25 ( t ) , g ( t ) = log 1.25 ( t + 1 ) + 2
  7. f ( t ) = ln ( t ) , g ( t ) = ln ( 8 t )
  8. f ( t ) = ln ( t ) , g ( t ) = 10 ln ( t 10 )
  9. Verify that each function in Exercises - is the inverse of the corresponding function in Exercises - in Section 7.1. (Match up # and #, and so on.)

In Exercises, -, the graph of a logarithmic function is given. Find a formula for the function in the form F ( x ) = a log 2 ( b x h ) + k .

  1. Points: ( 5 2 , 2 ) , ( 2 , 1 ) , ( 1 , 0 ) , Asymptote: x = 3 .

    Coordinate-plane figure.
    Figure 7.45
  2. Points: ( 1 , 1 ) , ( 2 , 0 ) , ( 5 2 , 1 ) Asymptote: x = 3 .

    Coordinate-plane figure.
    Figure 7.46
  3. Points: ( 1 2 , 5 2 ) , ( 1 , 3 ) , ( 2 , 7 2 ) , Asymptote: x = 0 .

    Coordinate-plane figure.
    Figure 7.47
  4. Points: ( 6 , 1 2 ) , ( 3 , 0 ) , ( 3 2 , 1 2 ) , Asymptote: x = 0 .

    Coordinate-plane figure.
    Figure 7.48
  5. Find a formula for each graph in Exercises - of the form G ( x ) = a log 4 ( b x h ) + k .

In Exercises -, find the inverse of the function from the `procedural perspective' discussed in Example 7.2.3 and graph the function and its inverse on the same set of axes.

  1. f ( x ) = 3 x + 2 4
  2. f ( x ) = log 4 ( x 1 )
  3. g ( t ) = 2 t + 1
  4. g ( t ) = 5 log ( t ) 2

In Exercises -, write the given function as a nontrivial decomposition of functions as directed.

  1. For f ( x ) = log 2 ( x + 3 ) + 4 , find functions g and h so that f = g + h .
  2. For f ( x ) = log ( 2 x ) e x , find functions g and h so that f = g h .
  3. For f ( t ) = 3 t log ( t ) , find functions g and h so that f = g h .
  4. For r ( x ) = ln ( x ) x , find functions f and g so r = f g .
  5. For k ( t ) = ln ( t 2 + 1 ) , find functions f and g so that k = g f .
  6. For p ( z ) = ( ln ( z ) ) 2 , find functions f and g so p = g f .

(Logarithmic Scales) In Exercises -, we introduce three widely used measurement scales which involve common logarithms: the Richter scale, the decibel scale and the pH scale. The computations involved in all three scales are nearly identical so pay attention to the subtle differences.

  1. Earthquakes are complicated events and it is not our intent to provide a complete discussion of the science involved in them. Instead, we refer the interested reader to a solid course in Geology5 or the U.S. Geological Survey's Earthquake Hazards Program found here and present only a simplified version of the Richter scale . The Richter scale measures the magnitude of an earthquake by comparing the amplitude of the seismic waves of the given earthquake to those of a “magnitude 0 event”, which was chosen to be a seismograph reading of 0.001 millimeters recorded on a seismometer 100 kilometers from the earthquake's epicenter. Specifically, the magnitude of an earthquake is given by

    M ( x ) = log ( x 0.001 )

    where x is the seismograph reading in millimeters of the earthquake recorded 100 kilometers from the epicenter.

    1. Show that M ( 0.001 ) = 0 .
    2. Compute M ( 80 , 000 ) .
    3. Show that an earthquake which registered 6.7 on the Richter scale had a seismograph reading ten times larger than one which measured 5.7.
    4. Find two news stories about recent earthquakes which give their magnitudes on the Richter scale. How many times larger was the seismograph reading of the earthquake with larger magnitude?
  2. While the decibel scale can be used in many disciplines,6 we shall restrict our attention to its use in acoustics, specifically its use in measuring the intensity level of sound. The Sound Intensity Level L (measured in decibels) of a sound intensity I (measured in watts per square meter) is given by

    L ( I ) = 10 log ( I 10 12 ) .

    Like the Richter scale, this scale compares I to baseline: 10 12 W m 2 is the threshold of human hearing.

    1. Compute L ( 10 6 ) .
    2. Damage to your hearing can start with short term exposure to sound levels around 115 decibels. What intensity I is needed to produce this level?
    3. Compute L ( 1 ) . How does this compare with the threshold of pain which is around 140 decibels?
  3. The pH of a solution is a measure of its acidity or alkalinity. Specifically, pH = log [ H + ] where [ H + ] is the hydrogen ion concentration in moles per liter. A solution with a pH less than 7 is an acid, one with a pH greater than 7 is a base (alkaline) and a pH of 7 is regarded as neutral.

    1. The hydrogen ion concentration of pure water is [ H + ] = 10 7 . Find its pH.
    2. Find the pH of a solution with [ H + ] = 6.3 × 10 13 .
    3. The pH of gastric acid (the acid in your stomach) is about 0.7 . What is the corresponding hydrogen ion concentration?
  4. Use the definition of logarithm to explain why log b 1 = 0 and log b b = 1 for every b > 0 , b 1 .

Answers

  1. log 2 ( 8 ) = 3
  2. log 5 ( 1 125 ) = 3
  3. log 4 ( 32 ) = 5 2
  4. log 1 3 ( 9 ) = 2
  5. log 4 25 ( 5 2 ) = 1 2
  6. log ( 0.001 ) = 3
  7. ln ( 1 ) = 0
  8. 5 2 = 25
  9. ( 25 ) 1 2 = 5
  10. 3 4 = 1 81
  11. ( 4 3 ) 1 = 3 4
  12. 10 2 = 100
  13. 10 1 = 0.1
  14. e 1 = e
  15. e 1 2 = 1 e
  16. log 3 ( 27 ) = 3
  17. log 6 ( 216 ) = 3
  18. log 2 ( 32 ) = 5
  19. log 6 ( 1 36 ) = 2
  20. log 8 ( 4 ) = 2 3
  21. log 36 ( 216 ) = 3 2
  22. log 1 5 ( 625 ) = 4
  23. log 1 6 ( 216 ) = 3
  24. log 36 ( 36 ) = 1
  25. log 1 1000000 = 6
  26. log ( 0.01 ) = 2
  27. ln ( e 3 ) = 3
  28. log 4 ( 8 ) = 3 2
  29. log 6 ( 1 ) = 0
  30. log 13 ( 13 ) = 1 2
  31. log 36 ( 36 4 ) = 1 4
  32. 7 log 7 ( 3 ) = 3
  33. 36 log 36 ( 216 ) = 216
  34. log 36 ( 36 216 ) = 216
  35. ln ( e 5 ) = 5
  36. log ( 10 11 9 ) = 11 9
  37. log ( 10 5 3 ) = 5 3
  38. ln ( 1 e ) = 1 2
  39. log 5 ( 3 log 3 5 ) = 1
  40. log ( e ln ( 100 ) ) = 2
  41. log 2 ( 3 log 3 ( 2 ) ) = 1
  42. ln ( 42 6 log ( 1 ) ) = 0
  43. ( , )
  44. ( 2 , )
  45. ( 5 , )
  46. ( , 6 ) ( 3 , )
  47. ( 2 , 1 ) ( 1 , )
  48. ( 6 , 3 ) ( 5 , )
  49. ( 4 , 7 )
  50. ( 5 , )
  51. ( , )
  52. [ 1 , )
  53. ( , 7 ) ( 1 , )
  54. ( 13 , )
  55. ( 0 , 125 ) ( 125 , )
  56. No domain
  57. ( , 3 ) ( 1 2 , 2 )
  58. Domain of g : ( 1 , ) Range of g : ( , ) Points: ( 1 2 , 1 ) , ( 0 , 0 ) , ( 1 , 1 ) Asymptote: x = 1

    Coordinate-plane figure.
    Figure 7.49 y = g ( x ) = log 2 ( x + 1 )
  59. Domain of g : ( 0 , ) Range of g : ( , ) Points: ( 1 3 , 2 ) , ( 1 , 1 ) , ( 3 , 0 ) Asymptote: x = 0

    Coordinate-plane figure.
    Figure 7.50 y = g ( x ) = log 1 3 ( x ) + 1
  60. Domain of g : ( 2 , ) Range of g : ( , ) Points: ( 7 3 , 1 ) , ( 3 , 0 ) , ( 5 , 1 ) Asymptote: x = 2

    Coordinate-plane figure.
    Figure 7.51 y = g ( x ) = log 3 ( x 2 )
  61. Domain of g : ( 20 , ) Range of g : ( , ) Points: ( 19 , 1 ) , ( 10 , 1 ) , ( 80 , 3 ) Asymptote: x = 20

    Coordinate-plane figure.
    Figure 7.52 y = g ( x ) = 2 log ( x + 20 ) 1
  62. Domain of g : ( 0 , ) Range of g : ( , ) Points: ( 50 , 10 ) , ( 100 , 0 ) , ( 200 , 10 ) Asymptote: t = 0

    Coordinate-plane figure.
    Figure 7.53 y = g ( t ) = 10 log 0.5 ( t 100 )
  63. Domain of g : ( , 1 ) Range of g : ( , ) Points: ( 0.25 , 3 ) , ( 0 , 2 ) , ( 0.2 , 1 ) Asymptote: t = 1

    Coordinate-plane figure.
    Figure 7.54 y = g ( t ) = log 1.25 ( t + 1 ) + 2
  64. Domain of g : ( , 8 ) Range of g : ( , ) Points: ( 8 e , 1 ) ( 5.28 , 1 ) , ( 7 , 0 ) , ( 8 e 1 , 1 ) ( 7.63 , 1 ) Asymptote: t = 8

    Coordinate-plane figure.
    Figure 7.55 y = g ( t ) = ln ( 8 t )
  65. Domain of g : ( 0 , ) Range of g : ( , ) Points: ( 10 e 1 , 10 ) ( 3.68.10 ) ( 10 , 0 ) , ( 10 e , 10 ) ( 27.18 , 10 ) Asymptote: t = 0

    Coordinate-plane figure.
    Figure 7.56 y = g ( t ) = 10 ln ( t 10 )
  66. F ( x ) = log 2 ( x + 3 ) 1
  67. F ( x ) = log 2 ( x + 3 )
  68. F ( x ) = 1 2 log 2 ( x ) + 3
  69. F ( x ) = 1 2 log 2 ( x 3 )
  70. In order, the formulas for G ( x ) are:

    • G ( x ) = 2 log 4 ( x + 3 ) 1
    • G ( x ) = 2 log 4 ( x + 3 )
    • G ( x ) = log 4 ( x ) + 3
    • G ( x ) = log 4 ( x 3 )
  71. y = f ( x ) = 3 x + 2 4 y = f 1 ( x ) = log 3 ( x + 4 ) 2

    Coordinate-plane figure.
    Figure 7.57
  72. y = f ( x ) = log 4 ( x 1 ) y = f 1 ( x ) = 4 x + 1

    Coordinate-plane figure.
    Figure 7.58
  73. y = g ( t ) = 2 t + 1 y = g 1 ( t ) = log 2 ( t + 1 )

    Coordinate-plane figure.
    Figure 7.59
  74. y = g ( t ) = 5 log ( t ) 2 y = g 1 ( t ) = 10 t + 2 5

    Coordinate-plane figure.
    Figure 7.60
  75. One solution is g ( x ) = log 2 ( x + 3 ) and h ( x ) = 4 .
  76. One solution is g ( x ) = log ( 2 x ) and h ( x ) = e x .
  77. One solution is g ( t ) = 3 t and h ( t ) = log ( t ) .
  78. One solution is f ( x ) = ln ( x ) and g ( x ) = x .
  79. One solution is f ( t ) = t 2 + 1 and g ( t ) = ln ( t ) .
  80. One solution is f ( z ) = ln ( z ) and g ( z ) = z 2 .
    1. M ( 0.001 ) = log ( 0.001 0.001 ) = log ( 1 ) = 0 .
    2. M ( 80 , 000 ) = log ( 80 , 000 0.001 ) = log ( 80 , 000 , 000 ) 7.9 .
    1. L ( 10 6 ) = 60 decibels.
    2. I = 10 .5 0.316 watts per square meter.
    3. Since L ( 1 ) = 120 decibels and L ( 100 ) = 140 decibels, a sound with intensity level 140 decibels has an intensity 100 times greater than a sound with intensity level 120 decibels.
    1. The pH of pure water is 7.
    2. If [ H + ] = 6.3 × 10 13 then the solution has a pH of 12.2.
    3. [ H + ] = 10 0.7 .1995 moles per liter.

Adapted from Precalculus, Preliminary 4th Edition (integrated calculus), by Carl Stitz and Jeff Zeager (stitz-zeager.com), licensed under CC BY-NC-SA 3.0. Changes were made: reformatted as an accessible XYZ web edition. License: CC-BY-NC-SA-3.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.