MAT 171 Precalculus Algebra Dr. Claude Moore Cape Fear Community College CHAPTER 5: Exponential and Logarithmic Functions 5.1 Inverse Functions 5.2 Exponential Functions and Graphs 5.3 Logarithmic Functions and Graphs 5.4 Properties of Logarithmic Functions 5.5 Solving Exponential and Logarithmic Equations 5.6 Applications and Models: Growth and Decay; and Compound Interest 5.3 Logarithmic Functions and Graphs Find common logarithms and natural logarithms with and without a calculator. Convert between exponential and logarithmic equations. Change logarithmic bases. Graph logarithmic functions. Solve applied problems involving logarithmic functions. Logarithmic Functions These functions are inverses of exponential functions. We can draw the graph of the inverse of an exponential function by interchanging x and y. To Graph: x = 2 y. 1. Choose values for y. 2. Compute values for x. 3. Plot the points and connect them with a smooth curve. * Note that the curve does not touch or cross the y axis. Graph: x = 2 y. 1
This curve looks like the graph of y = 2 x reflected across the line y = x, as we would expect for an inverse. The inverse of y = 2 x is x = 2 y. Logarithmic Function, Base a We define y = log a x as that number y such that x = a y, where x > 0 and a is a positive constant other than 1. We read log a x as the logarithm, base a, of x. Finding Certain Logarithms Find each of the following logarithms. a) log 10 10,000 b) log 10 0.01 c) log 2 8 d) log 9 3 e) log 6 1 f) log 8 8 Solution: a) The exponent to which we raise 10 to obtain 10,000 is 4; thus log 10 10,000 = 4. b) The exponent to which we raise 10 to get 0.01 is 2, so log 10 0.01 = 2. c) log 2 8: 8 = 2 3. The exponent to which we raise 2 to get 8 is 3, so log 2 8 = 3. d) log 9 3: 3 = 9 1/2. The exponent to which we raise 9 to get 3 is 1/2, so log 9 3 = 1/2. e) log 6 1: 1 = 6 0. The exponent to which we raise 6 to get 1 is 0, so log 6 1 = 0. f) log 8 8: 8 = 8 1. The exponent to which we raise 8 to get 8 is 4, so log 8 8 = 1. 2
Logarithms log a 1 = 0 and log a a = 1, for any logarithmic base a. Convert each of the following to a logarithmic equation. a) 16 = 2 x b) 10 3 = 0.001 c) e t = 70 A logarithm is an exponent! Find each of the following common logarithms on a calculator. Round to four decimal places. a) log 645,778 b) log 0.0000239 c) log ( 3) Natural Logarithms Logarithms, base e, are called natural logarithms. The abbreviation ln is generally used for natural logarithms. Thus, ln x means log e x. ln 1 = 0 and ln e = 1, for the logarithmic base e. (b) log 0.0000239 4.6216 3
Find each of the following natural logarithms on a calculator. Round to four decimal places. a) ln 645,778 b) ln 0.0000239 c) log ( 5) d) ln e e) ln 1 (a) ln 645778 13.3782 (b) ln 0.0000239 10.6416 Changing Logarithmic Bases The Change of Base Formula For any logarithmic bases a and b, and any positive number M, Find log 5 8 using common logarithms. Solution: First, we let a = 10, b = 5, and M = 8. Then we substitute into the change of base formula: We can also use base e for a conversion. Find log 5 8 using natural logarithms. Solution: Substituting e for a, 6 for b and 8 for M, we have 4
Graphs of Logarithmic Functions Graph: y = f (x) = log 5 x. Solution: Method 1 y = log 5 x is equivalent to x = 5 y. Select y and compute x. Graph: y = f (x) = log 5 x. Solution: Method 2 Use a graphing calculator. First change bases. Graph: y = f (x) = log 5 x. Solution: Method 3 Calculators which graph inverses automatically. Begin with Y1 = 5 x, the graphs of both Y1 and its inverse Y2 = log 5 x will be drawn. If calculator does not graph inverse function, graph Y2 = (log x) / (log 5) or Y2 = (ln x) / (ln 5). Graph each of the following. Describe how each graph can be obtained from the graph of y = ln x. Give the domain and the vertical asymptote of each function. a) f (x) = ln (x + 3) b) f (x) = 3 ln x c) f (x) = ln (x 1) 5
a) f (x) = ln (x + 3) The graph is a shift 3 units left. The domain is the set of all real numbers greater than 3, ( 3, ). The line x = 3 is the vertical asymptote. b) f (x) = 3 ln x The graph is a vertical shrinking of y = ln x, followed by a reflection across the x axis and a translation up 3 units. The domain is the set of all positive real numbers, (0, ). The y axis is the vertical asymptote. c) f (x) = ln (x 1) The graph is a translation of y = ln x, right 1 unit. The effect of the absolute is to reflect the negative output across the x axis. The domain is the set of all positive real numbers greater than 1, (1, ). The line x =1 is the vertical asymptote. Application In a study by psychologists Bornstein and Bornstein, it was found that the average walking speed w, in feet per second, of a person living in a city of population P, in thousands, is given by the function w(p) = 0.37 ln P + 0.05. 6
a. The population of Hartford, Connecticut, is 124,848. Find the average walking speed of people living in Hartford. b. The population of San Antonio, Texas, is 1,236,249. Find the average walking speed of people living in San Antonio. c. Graph the function. d. A sociologist computes the average walking speed in a city to the approximately 2.0 ft/sec. Use this information to estimate the population of the city. Solution: a. Since P is in thousands and 124,848 = 124.848 thousand, we substitute 124.848 for P: w(124.848) = 0.37 ln 124.848 + 0.05 1.8 ft/sec. The average walking speed of people living in Hartford is about 1.8 ft/sec. b. Substitute 1236.249 for P: w(1236.249) = 0.37 ln 1236.249 + 0.05 2.7 ft/sec. The average walking speed of people living in San Antonio is about 2.7 ft/sec. c. Graph with a viewing window [0, 600, 0, 4] because inputs are very large and outputs are very small by comparison. d. To find the population for which the walking speed is 2.0 ft/sec, we substitute 2.0 for w(p), 2.0 = 0.37 ln P + 0.05, and solve for P. Use the Intersect method. Graph Y1 = 0.37 ln x + 0.05 and Y2 = 2. In a city with an average walking speed of 2.0 ft/sec, the population is about 194.5 thousand or 194,500. 7
423/10. 423/4. Find the following without using a calculator: log Make a hand drawn graph of each of the following. Then 3 9 check your work using a graphing calculator: x = (4/3) y 423/15. Find the following without using a calculator: log 2 (1/4) 423/24. Find the following without using a calculator: log 10 (8/5) 8
423/40. Convert to a logarithmic equation: Q t = x 423/50. Convert to an exponential equation: ln 0.38 = 0.9676 ln 0.38 = 0.9676 is equivalent to 0.38 = e 0.9676 423/44. Convert to a logarithmic equation: e t = 4000 423/54. Convert to an exponential equation: ln W 5 = t ln W 5 = t is equivalent to W 5 = e t 423/62. Find each of the following using a calculator. Round to four decimal places: ln 50 423/74. Find the logarithm using common logarithm and change of base formula: log 5.3 1700 ln 50 = 3.9120. Check: e 3.9120 50. 423/68. Find each of the following using a calculator. Round to four decimal places: ln 0 Zero is not in the domain of logarithm function. So, ln (0) does not exist. Remember that logarithm (positive quantity). 9
423/76. Find the logarithm using natural logarithm and change of base formula: log 4 25 log 4 25 = (log 25) / (log 4) = 2.3219 423/80. Graph the function and its inverse using the same set of axes. Use any method: f(x) = log 4 x, f 1 (x) = 4 x Let Y1 = log 4 x = (log x) / (log 4) and Y2 = 4 x and find where Y1 = Y2. Y2 Y1 424/84. For each of the following functions, briefly describe how the graph can be obtained from the graph of a basic logarithmic function. Then graph the function using a graphing calculator. Give the domain and the vertical asymptote of each function. f(x) = log 3 (x 2) f(x) = log 3 (x 2) is the graph of y = log 3 x shifted 2 units to the right because x 2 = 0 yields x = 2 which represents the vertical asymptote. In order to graph with the calculator, we must use the change of base formula as follows: 424/94. ph of Substances in Chemistry. In chemistry, the ph of a substance is defined as ph = log [H+], where H+ is the hydrogen ion concentration, in moles per liter. Find the ph of each substance. a) Pineapple juice; Hydrogen Ion Concentration 1.6 x 10 4 c) Mouthwash; Hydrogen Ion Concentration 6.3 x 10 7 (a) H+ = 1.6 x 10 4 So the ph = log(1.6 x 10 4 ) 3.796 f(x) = log 3 (x 2) = (log (x 2)) / (log 3) (b) H+ = 6.3 x 10 7 So the ph = log(6.3 x 10 7 ) 6.201 x intercept moves from (1, 0) to (3,0). 10