Logarithms Logarithms are the inverse of exponentials. The exponential function π¦ = π π₯ , is a one-to-one function1, so its inverse π₯ = π π¦ is a function. However written as π₯ = π π¦ , “x is a function of y.” To express the inverse where “y is a function of x,” write π¦ = ππππ (π₯). The statements π₯ = π π¦ and π¦ = ππππ (π₯) are equivalent and both represent the inverse of π¦ = π π₯ . Equivalent Exponential and Logarithmic Forms π₯ = π π¦ is equivalent to π¦ = ππππ (π₯) * For any positive base b, where b≠1. The above exponential statement, π₯ = π π¦ is equivalent to the logarithmic statement, π¦ = ππππ (π₯), and is pronounced, “y equals log base b of x.” The value of the subscript “b” is the “base of the logarithm,” just as “b” is the base of the exponential in the expression “π π¦ .” The below picture shows π¦ = 10π₯ , and its inverse π¦ = log10 π₯. As shown on the graph, the base number “10” is omitted and the logarithm is written as π¦ = log π₯. Logarithms with base 10 are considered common logs. Common logs can be written without showing the 10. Warning: economists usually mean natural log (a log with base π) and NOT the base-ten log when they write the log without a base. Original Exponential Function (Eq1) π¦ = 10π₯ Inverse of Original Function In Exponential Form: (Eq2) π₯ = 10π¦ (Eq3) In Logarithmic Form: π¦ = log10 π₯ The remainder of this less will focus on writing equivalent exponential and logarithmic statements, rather than working between an original statement and its inverse. In effect, you will practice the skills necessary to transform the above Eq2 into Eq3. 1 π π −1 Definitions Let π > 0, D1. If π₯ > 0, then the logarithm of π₯ to the base π denoted log π π₯ , is the number π¦ such that π π¦ = π₯; that is, π² = π₯π¨π π π± π’π ππ§π π¨π§π₯π² π’π ππ = π ππ¨π« π > π. In other words, log π π₯ is the exponent you put on π to give you π₯: log 2 (8) ⇒ 2π¦ = 8 = 23 ⇒ π¦ = 3. ⇒ log 2(8) = 3 In this case, log 2 (8) yielded the corresponding power to which 2 would have to be raised in order to get 8, which is 3 because 23 = 8. D2. log π (π π₯ ) = π₯ for all π₯ and π logπ π₯ = π₯ for all π₯ > 0. log 3 27 = log 3 (33 ) ⇒ 3π₯ = 33 ⇒ π₯ = 3. ⇒ log 3 (33 ) = 3. D3. ln π₯ = log π π₯, where π ≈ 2.718. In this case, the natural logarithm of π₯ is the power to which π would have to be raised in order to get π₯. ln 20 = log π 20 ⇒ π π₯ = 20 ⇒ π 3 ≈ 20 βΉ π₯ ≈ 3 . ⇒ ln 20 ≈ 3 In this case, ln 20 yielded the corresponding power to which π would have to be raised in order to get 20, which is approximately 3 because π 3 ≈ 20. D4. ln π = log π π = 1 and ln 1 = log π 1 = 0. D5. π ln π₯ = π₯ for π₯ > 0 and ln π π₯ = π₯ πππ πππ π₯. Theorem (Laws of Logarithms) Let π > 0. For any π₯, π¦ > 0, we have: LL0. log π π₯ = log π π¦ if and only if π₯ = π¦ (πΏπΏ0 Equality) LL1. log π (π₯ β π¦) = log π π₯ + log π π¦ LL2. log π (π¦) = log π π₯ − log π π¦ LL3. log π (π₯ π ) = π β log π π₯ LL4. log π (π π₯ ) = π₯ π₯ (πΏπΏ1 Product) (πΏπΏ2 Quotient) (πΏπΏ3 Power) (LL4 Inversion) LL5. log π π₯ = logπ π₯ logπ π (πΏπΏ5 Change of base formula) *Note that log π (π₯ + π¦) ≠ log π π₯ + log π π¦ and logπ π₯ logπ π¦ ≠ log π π₯ π¦ π₯ π¦ and log π (π₯ − π¦) ≠ log π ( ) log 2 16 = 4 ≠ log 2 8 + log 2 8 = 3 + 3 = 6 Concepts for Graphing (not included in practice problems) Logarithmic Concept Summary Parent Function π¦ = log π π₯, π > 0, π ≠ 1 Stretch (|π| > 1) Compress (shrink) (0 < |π| < 1) π¦ = alog π π₯ Reflection (π < 0) in x-axis Translations (horizontal by h; vertical by k) All Transformations combined π¦ = log π (π₯ − β) + π π¦ = alog π (π₯ − β) + π * With a function π¦ = πlog π π₯, where a>0 the domain is (0, ∞) and the range is (−∞, ∞). Note the impact of the following transformations when made in isolation. ο§ ο§ ο§ ο§ If a<0, the function will flip over the x-axis but will not change the domain or range. If “x” is negated in π¦ = πlog π π₯, i.e. π¦ = πlog π (−π₯), the function will flip over the y-axis and make the domain (−∞, 0). Adding “k” will vertically shift the function, but will not change the domain or range. Adding “h” will horizontally shift the function and make the domain (β, ∞). Examples 1. log 3 81 Remember that log 3 81 is the exponent we put on 3 to get 81. Using D1 we have that log 3 81 implies that 3π₯ = 81 , (with π₯ = log 3 81) ⇒ Since we know that 34 = 81, then x = log 3 81 = 4. 2. log12 144 Using D1 we have that log12 144 implies that 12π₯ = 144 ⇒ since we know that 122 = 144, then log12 144 = 2. 1 3. log 3 27 Using the law of exponents, we know that log 3 1 27 1 27 = 1 33 = 3−3. Using D1 and D2 we have that = log 3 3−3 = −3. 1 4. log10 (1000) 1 Remember that log10 (1000) is the exponent we put on 10 to get 1/1000. Using D1 we 1 1 have that log10 (1000) ⇒ 10π₯ = 1000 ⇒ since we know that 10−3 = 1/1000, then 1 log10 (1000) = −3. 5. log 5 1252 Using the law of exponents, we know that 1252 = (5 β 5 β 5)2 = (53 )2 = 56 . Using D1 and D2 we have that log 5 1252 = log 5 56 = 6. 6. 3log3 9 Using D2 we know that 3log3 9 = 9. Since log 3 9 = 2, then 32 = 9. 7. 5− log5 (25) 1 Using the law of exponents we have that, 5− log5 (25) = 5log5(25) . Using D1 and D2 we have 1 1 1 that 5− log5 (25) = 5log5(25) = 52 = 25. 8. log 4 6410 Using the law of exponents, we know that 6410 = (4 β 4 β 4)10 = (43 )10 = 430 . Using D1 and D2 we have that log 4 6410 = log 4 430 = 30. 9. log 2 410 Using the law of exponents, we know that 410 = (2 β 2)10 = (22 )10 = 220 . Using D1 and D2 we have that log 2 410 = log 2 220 = 20. 5 10. log 2 √8 5 Using the law of exponents, we know that √8 = 81/5 = (2 β 2 β 2)1/5 = (23 )1/5 = 23/5 . 3 5 Using D1 and D2 we have that log 2 √8 = log 2 (25 ) = 3/5. 11. log √6 36 2 2 4 Using the law of exponents, we know that 62 = 36, then ((√6) ) = √6 . Hence, 4 log √6 36 = log √6 √6 = 4. 12. log10 1 √10 Using the law of exponents we know that, have that log10 1 √10 1 1 √10 = 1 101/2 = 10−1/2 . Using D1 and D2 we = log10 (10−2 ) = −1/2. 13. log10 1,000,000 + log10 1,000 − log10 0.1 Using D1 we have that log10 1,000,000 implies that 10π₯ = 1,000,000 ⇒ π₯ = 6. We also know that log10 1,000 implies that 10π₯ = 1,000 ⇒ π₯ = 3. Finally, log10 0.1 implies that 10π₯ = 0.1 ⇒ π₯ = −1 because 1 10 = 0.1 = 10−1 . Hence, log10 1,000,000 + log10 1,000 − log10 0.1 = 6 + 3 − (−1) = 10. 14. log 2 16π₯ 3 7 Using LL2 and LL3 we have that, log 2 16π₯ 3 7 = log 2 16π₯ 3 − log 2 7 = log 2 16 + log 2 π₯ 3 − log 2 7 = 4 + 3 log 2 π₯ − log 2 7. 27(π₯+1)3 15. log 3 π₯ 2 (π₯−3)4 27(π₯+1)3 Using LL1, LL2 and LL3 we have that, log 3 π₯ 2 (π₯−3)4 = log 3 27(π₯ + 1)3 − log 3 π₯ 2 (π₯ − 3)4 = log 3 27 + 3 log 3 (π₯ + 1) − 2 log 3 π₯ − 4 log 3 π₯ − 3 = 3 + 3 log 3 (π₯ + 1) − 2 log 3 π₯ − 4 log 3 π₯ − 3.