Math ClubMath Club
v1 · padrão canônico

Lesson 7 — Logarithmic functions

Logarithm as the inverse of the exponential. Operational properties. Natural logarithm ln and common logarithm log. Logarithmic equations. Applications: pH, Richter scale, decibel, half-life.

Used in: 1.º ano EM (15 anos) · Math I japonês cap. 4 · Klasse 10 alemã · Química (pH) · Física (decibel, Richter)

logax=y    ay=x\log_a x = y \iff a^y = x

Logarithm is the inverse of the exponential: logax\log_a x answers the question "to what power must a be raised to give x?" The base satisfies a>0,a1a > 0, a \neq 1 and the argument requires x>0x > 0.

Choose your door

Rigorous notation, full derivation, hypotheses

Definition and properties

Definition and domain

"The logarithmic function with base bb, f(x)=logb(x)f(x) = \log_b(x), is the inverse of the exponential function g(x)=bxg(x) = b^x. The domain is (0,+)(0, +\infty) and the range is R\mathbb{R}." — OpenStax College Algebra 2e §6.3

Operational properties

"The product rule for logarithms is derived directly from the property aman=am+na^m \cdot a^n = a^{m+n}." — OpenStax College Algebra 2e §6.5

Graph — log and exponential as inverses

xyy = xln x(0,0)→

e^x and ln x are reflections of each other across the line y = x. The ln x curve passes through (1, 0) since ln 1 = 0; it grows without bound but very slowly.

Theorem and proof of the product property

Worked examples

Exercise list

45 exercises · 11 with worked solution (25%)

Application 27Understanding 7Modeling 8Challenge 3
  1. Ex. 7.1Understanding

    How can the logarithmic equation logbx=y\log_b x = y be solved for xx using properties of exponents?

    Select the correct option
    Select an option first
    Show solution
    The equivalent definition is logbx=yby=x\log_b x = y \Leftrightarrow b^y = x. Simply raise the base to the exponent.
    Show step-by-step (with the why)
    1. Recognize the definition: logbx=y\log_b x = y means "bb raised to yy gives xx".
    2. Rewrite the equality in exponential form: by=xb^y = x.
    3. This equivalence is exactly the definition of logarithm as the inverse of the exponential.
  2. Ex. 7.2Understanding

    Discuss the meaning of the common logarithm. What is its relationship to a base-bb logarithm and how does the notation differ?

    Select the correct option
    Select an option first
    Show solution
    Common logarithm = base 10. The notation is logx\log x (no base subscript), in contrast to lnx\ln x which has base ee.
  3. Ex. 7.3UnderstandingAnswer key

    What types of translations affect the domain of a logarithmic function?

    Select the correct option
    Select an option first
    Show solution
    Shifting the curve horizontally (replacing xx with xhx - h) moves the vertical asymptote and changes the domain, but the range remains R\mathbb{R}.
  4. Ex. 7.4Understanding

    Consider the general logarithmic function f(x)=logb(x)f(x) = \log_b(x). Why can xx not be zero?

    Select the correct option
    Select an option first
    Show solution
    For f(x)=logb(x)f(x) = \log_b(x) to be defined, the argument xx must be strictly positive: x>0x > 0. The logarithm of zero and of negative numbers does not exist in the reals.
  5. Ex. 7.5Application

    Rewrite the equation log4(q)=m\log_4(q) = m in exponential form.

    Select the correct option
    Select an option first
    Show solution
    Exponential form of log4(q)=m\log_4(q) = m: base 4, exponent mm, result qq. Therefore 4m=q4^m = q.
  6. Ex. 7.6Application

    Rewrite loga(b)=c\log_a(b) = c in exponential form.

    Select the correct option
    Select an option first
    Show solution
    Exponential form of loga(b)=c\log_a(b) = c: ac=ba^c = b.
  7. Ex. 7.7Application

    Rewrite log16(y)=x\log_{16}(y) = x in exponential form.

    Select the correct option
    Select an option first
    Show solution
    Exponential form of log16(y)=x\log_{16}(y) = x: 16x=y16^x = y.
  8. Ex. 7.8Application

    Rewrite logx(64)=y\log_x(64) = y in exponential form.

    Select the correct option
    Select an option first
    Show solution
    Exponential form of logx(64)=y\log_x(64) = y: base xx, exponent yy, result 6464. Therefore xy=64x^y = 64.
  9. Ex. 7.9Application

    Rewrite logy(x)=11\log_y(x) = -11 in exponential form.

    Select the correct option
    Select an option first
    Show solution
    Exponential form of logy(x)=11\log_y(x) = -11: y11=xy^{-11} = x.
    Show step-by-step (with the why)
    1. Identify: base yy, exponent 11-11, result xx.
    2. Write in the form baseexponent=result\text{base}^{\text{exponent}} = \text{result}.
    3. Conclusion: y11=xy^{-11} = x.
  10. Ex. 7.10Application

    Rewrite 2x=y2^x = y in logarithmic form.

    Select the correct option
    Select an option first
    Show solution
    Logarithmic form of 2x=y2^x = y: base 2, exponent xx, result yy. Therefore log2y=x\log_2 y = x.
  11. Ex. 7.11Application

    Rewrite 10a=b10^a = b in logarithmic form.

    Select the correct option
    Select an option first
    Show solution
    Logarithmic form of 10a=b10^a = b: log10b=a\log_{10} b = a.
  12. Ex. 7.12Application

    Evaluate log525\log_5 25 without a calculator.

    Select the correct option
    Select an option first
    Show solution
    Since 52=255^2 = 25, we have log525=2\log_5 25 = 2. (Ans: 2)
  13. Ex. 7.13Application

    Evaluate log28\log_2 8 without a calculator.

    Select the correct option
    Select an option first
    Show solution
    Since 23=82^3 = 8, we have log28=3\log_2 8 = 3. (Ans: 3)
  14. Ex. 7.14ApplicationAnswer key

    Evaluate log(0,0001)\log(0{,}0001) without a calculator.

    Select the correct option
    Select an option first
    Show solution
    Since 104=0,000110^{-4} = 0{,}0001, we have log(0,0001)=4\log(0{,}0001) = -4. (Ans: -4)
    Show step-by-step (with the why)
    1. Write 0,0001=1040{,}0001 = 10^{-4}.
    2. Apply the identity: log10(104)=4\log_{10}(10^{-4}) = -4.
    3. Conclusion: log(0,0001)=4\log(0{,}0001) = -4.
  15. Ex. 7.15Application

    Evaluate ln(e3)\ln(e^{-3}) without a calculator.

    Select the correct option
    Select an option first
    Show solution
    Since e3e^{-3} is the exponent: ln(e3)=3\ln(e^{-3}) = -3 by the inverse identity. (Ans: -3)
  16. Ex. 7.16Application

    Evaluate ln(e1/3)\ln(e^{1/3}) without a calculator.

    Select the correct option
    Select an option first
    Show solution
    By the identity: ln(e1/3)=13\ln(e^{1/3}) = \frac{1}{3}. (Ans: 1/3)
  17. Ex. 7.17ApplicationAnswer key

    Evaluate ln(1)\ln(1) without a calculator.

    Select the correct option
    Select an option first
    Show solution
    By definition: a0=1a^0 = 1 for any a>0a > 0, therefore ln(1)=0\ln(1) = 0. (Ans: 0)
  18. Ex. 7.18ApplicationAnswer key

    Evaluate ln(e0,225)3\ln(e^{-0{,}225}) - 3 without a calculator.

    Select the correct option
    Select an option first
    Show solution
    By the identity: ln(e0,225)=0,225\ln(e^{-0{,}225}) = -0{,}225. Subtracting 3: 0,2253=3,225-0{,}225 - 3 = -3{,}225. (Ans: -3.225)
  19. Ex. 7.19Application

    Evaluate 25ln(e2/5)25\ln(e^{2/5}) without a calculator.

    Select the correct option
    Select an option first
    Show solution
    By the identity ln(ex)=x\ln(e^x) = x: 25ln(e2/5)=2525=1025 \ln(e^{2/5}) = 25 \cdot \frac{2}{5} = 10. (Ans: 10)
    Show step-by-step (with the why)
    1. Use the identity: ln(e2/5)=25\ln(e^{2/5}) = \frac{2}{5}.
    2. Multiply by the coefficient: 2525=1025 \cdot \frac{2}{5} = 10.
  20. Ex. 7.20ModelingAnswer key

    Determine the domain, range, and vertical asymptote of h(x)=log4(x1)+1h(x) = \log_4(x-1) + 1.

    Select the correct option
    Select an option first
    Show solution
    For h(x)=log4(x1)+1h(x) = \log_4(x-1) + 1: a positive argument requires x1>0x - 1 > 0, so domain is (1,)(1, \infty); the range of any logarithm is R\mathbb{R}; vertical asymptote at x=1x = 1.
  21. Ex. 7.21Modeling

    Determine the domain and vertical asymptote of f(x)=log(5x+10)+3f(x) = \log(5x+10) + 3.

    Select the correct option
    Select an option first
    Show solution
    For f(x)=log(5x+10)+3f(x) = \log(5x+10) + 3: a positive argument requires 5x+10>0x>25x + 10 > 0 \Rightarrow x > -2; vertical asymptote at x=2x = -2.
  22. Ex. 7.22Modeling

    Determine the domain and vertical asymptote of g(x)=ln(x)2g(x) = \ln(-x) - 2.

    Select the correct option
    Select an option first
    Show solution
    For g(x)=ln(x)2g(x) = \ln(-x) - 2: a positive argument requires x>0x<0-x > 0 \Rightarrow x < 0; vertical asymptote at x=0x = 0.
  23. Ex. 7.23Modeling

    Determine the domain and vertical asymptote of f(x)=log(3x+1)f(x) = \log(3x+1).

    Select the correct option
    Select an option first
    Show solution
    For f(x)=log(3x+1)f(x) = \log(3x+1): a positive argument requires 3x+1>0x>133x + 1 > 0 \Rightarrow x > -\frac{1}{3}; vertical asymptote at x=13x = -\frac{1}{3}.
  24. Ex. 7.24ModelingAnswer key

    Determine the domain and vertical asymptote of g(x)=ln(3x+9)7g(x) = -\ln(3x+9) - 7.

    Select the correct option
    Select an option first
    Show solution
    For g(x)=ln(3x+9)7g(x) = -\ln(3x+9) - 7: a positive argument requires 3x+9>0x>33x + 9 > 0 \Rightarrow x > -3; vertical asymptote at x=3x = -3.
  25. Ex. 7.25Understanding

    Let bb be any positive real number such that b1b \neq 1. What must logb1\log_b 1 equal? Justify your answer.

    Select the correct option
    Select an option first
    Show solution
    For any valid base, b0=1b^0 = 1, therefore logb1=0\log_b 1 = 0. This follows directly from the definition of logarithm as the inverse of the exponential.
    Show step-by-step (with the why)
    1. Let b>0,b1b > 0, b \neq 1 be any valid base.
    2. Find the exponent yy such that by=1b^y = 1.
    3. By the property of exponents, b0=1b^0 = 1 for all bb.
    4. Therefore logb1=0\log_b 1 = 0.
  26. Ex. 7.26Understanding

    How does the power rule for logarithms help when computing logb(xn)\log_b(x^n)?

    Select the correct option
    Select an option first
    Show solution
    The power rule: logb(xn)=nlogbx\log_b(x^n) = n \log_b x. It brings the exponent nn forward as a factor, simplifying computations with arbitrary powers.
  27. Ex. 7.27Understanding

    What does the change of base formula do? Why is it useful when using a calculator?

    Select the correct option
    Select an option first
    Show solution
    The change of base formula: logax=lnxlna=logxloga\log_a x = \frac{\ln x}{\ln a} = \frac{\log x}{\log a}. It is useful because scientific calculators only have ln\ln and log10\log_{10}.
  28. Ex. 7.28Application

    Expand as completely as possible: logb(7x2y)\log_b(7x \cdot 2y).

    Select the correct option
    Select an option first
    Show solution
    By P1: logb(7x2y)=logb7+logbx+logb2+logby\log_b(7x \cdot 2y) = \log_b 7 + \log_b x + \log_b 2 + \log_b y.
  29. Ex. 7.29ApplicationAnswer key

    Expand as completely as possible: ln(3ab5c)\ln(3ab \cdot 5c).

    Select the correct option
    Select an option first
    Show solution
    By P1 applied repeatedly: ln(3ab5c)=ln3+lna+lnb+ln5+lnc\ln(3ab \cdot 5c) = \ln 3 + \ln a + \ln b + \ln 5 + \ln c.
  30. Ex. 7.30ApplicationAnswer key

    Expand as completely as possible: logb ⁣(1317)\log_b\!\left(\frac{13}{17}\right).

    Select the correct option
    Select an option first
    Show solution
    By P2: logb ⁣(1317)=logb13logb17\log_b\!\left(\frac{13}{17}\right) = \log_b 13 - \log_b 17.
  31. Ex. 7.31Application

    Expand as completely as possible: ln ⁣(14k)\ln\!\left(\frac{1}{4k}\right).

    Select the correct option
    Select an option first
    Show solution
    By P2: ln ⁣(14k)=ln1ln4lnk=0ln4lnk=ln4lnk\ln\!\left(\frac{1}{4k}\right) = \ln 1 - \ln 4 - \ln k = 0 - \ln 4 - \ln k = -\ln 4 - \ln k.
    Show step-by-step (with the why)
    1. Write as a quotient: ln(1)ln(4k)\ln(1) - \ln(4k).
    2. Since ln1=0\ln 1 = 0: result is ln(4k)-\ln(4k).
    3. Apply P1: ln4lnk-\ln 4 - \ln k.
  32. Ex. 7.32Application

    Condense into a single logarithm: ln7+lnx+lny\ln 7 + \ln x + \ln y.

    Select the correct option
    Select an option first
    Show solution
    By P1: ln7+lnx+lny=ln(7xy)\ln 7 + \ln x + \ln y = \ln(7xy).
  33. Ex. 7.33Application

    Condense into a single logarithm: logb28logb7\log_b 28 - \log_b 7.

    Select the correct option
    Select an option first
    Show solution
    By P2: logb28logb7=logb ⁣(287)=logb4\log_b 28 - \log_b 7 = \log_b\!\left(\frac{28}{7}\right) = \log_b 4.
  34. Ex. 7.34Application

    Condense into a single logarithm: 13ln8\frac{1}{3}\ln 8.

    Select the correct option
    Select an option first
    Show solution
    By P3: 13ln8=ln(81/3)=ln2\frac{1}{3}\ln 8 = \ln(8^{1/3}) = \ln 2. (Ans: ln2\ln 2)
  35. Ex. 7.35ApplicationAnswer key

    Evaluate without a calculator: log3 ⁣(19)3log33\log_3\!\left(\frac{1}{9}\right) - 3\log_3 3.

    Select the correct option
    Select an option first
    Show solution
    By P3: log3 ⁣(19)=log3(32)=2\log_3\!\left(\frac{1}{9}\right) = \log_3(3^{-2}) = -2. Subtracting: 23log33=23=5-2 - 3\log_3 3 = -2 - 3 = -5. (Ans: -5)
    Show step-by-step (with the why)
    1. log3(1/9)=log3(32)=2\log_3(1/9) = \log_3(3^{-2}) = -2.
    2. log33=1\log_3 3 = 1, so 3log33=33\log_3 3 = 3.
    3. Result: 23=5-2 - 3 = -5.
  36. Ex. 7.36Application

    Evaluate without a calculator: 2log934log93+log9 ⁣(1729)2\log_9 3 - 4\log_9 3 + \log_9\!\left(\frac{1}{729}\right). (Ans: -4)

    Select the correct option
    Select an option first
    Show solution
    Combine the two terms with log93\log_9 3: (24)log93=212=1(2 - 4)\log_9 3 = -2 \cdot \frac{1}{2} = -1. Then, log9 ⁣(1729)=log9(36)=612=3\log_9\!\left(\frac{1}{729}\right) = \log_9(3^{-6}) = -6 \cdot \frac{1}{2} = -3. Total: 1+(3)=4-1 + (-3) = -4. (Ans: -4)
  37. Ex. 7.37Application

    Use the change of base formula to evaluate log322\log_3 22 as a quotient of natural logarithms. Round to five decimal places.

    Select the correct option
    Select an option first
    Show solution
    Change of base: log322=ln22ln33,091041,098612,81359\log_3 22 = \frac{\ln 22}{\ln 3} \approx \frac{3{,}09104}{1{,}09861} \approx 2{,}81359. (Ans: approx. 2.81359)
  38. Ex. 7.38Application

    Use the change of base formula to evaluate log865\log_8 65 as a quotient of natural logarithms. Round to five decimal places.

    Select the correct option
    Select an option first
    Show solution
    Change of base: log865=ln65ln84,174392,079442,00746\log_8 65 = \frac{\ln 65}{\ln 8} \approx \frac{4{,}17439}{2{,}07944} \approx 2{,}00746. (Ans: approx. 2.00746)
  39. Ex. 7.39ApplicationAnswer key

    Use the change of base formula to evaluate log65,38\log_6 5{,}38 as a quotient of natural logarithms. Round to five decimal places.

    Select the correct option
    Select an option first
    Show solution
    Change of base: log65,38=ln5,38ln61,682451,791760,93913\log_6 5{,}38 = \frac{\ln 5{,}38}{\ln 6} \approx \frac{1{,}68245}{1{,}79176} \approx 0{,}93913. (Ans: approx. 0.93913)
  40. Ex. 7.40Challenge

    Use the product rule for logarithms to find all values of xx such that log12(2x+6)+log12(x+2)=2\log_{12}(2x+6) + \log_{12}(x+2) = 2. Show your solution steps.

    Select the correct option
    Select an option first
    Show solution
    By P1: (2x+6)(x+2)=144(2x+6)(x+2) = 144. Expanding: 2x2+10x132=0x2+5x66=02x^2 + 10x - 132 = 0 \Rightarrow x^2 + 5x - 66 = 0. Discriminant: 25+264=289=17225 + 264 = 289 = 17^2. Roots: x=5±172x = \frac{-5 \pm 17}{2}, so x=6x = 6 or x=11x = -11. The domain requires x>2x > -2, therefore x=6x = 6 is the only solution.
    Show step-by-step (with the why)
    1. Apply P1: log12[(2x+6)(x+2)]=2\log_{12}[(2x+6)(x+2)] = 2.
    2. Convert: (2x+6)(x+2)=122=144(2x+6)(x+2) = 12^2 = 144.
    3. Expand: 2x2+10x+12=144x2+5x66=02x^2 + 10x + 12 = 144 \Rightarrow x^2 + 5x - 66 = 0.
    4. Quadratic formula: x=5±2892=5±172x = \frac{-5 \pm \sqrt{289}}{2} = \frac{-5 \pm 17}{2}, so x=6x = 6 or x=11x = -11.
    5. Domain: 2x+6>0x>32x + 6 > 0 \Rightarrow x > -3 and x+2>0x>2x + 2 > 0 \Rightarrow x > -2. Accept x=6x = 6.
  41. Ex. 7.41Challenge

    Use the quotient rule for logarithms to find all values of xx such that log6(x+2)log6(x3)=1\log_6(x+2) - \log_6(x-3) = 1. (Ans: x=4x = 4)

    Select the correct option
    Select an option first
    Show solution
    By P2: log6 ⁣(x+2x3)=1x+2x3=6\log_6\!\left(\frac{x+2}{x-3}\right) = 1 \Rightarrow \frac{x+2}{x-3} = 6. Solving: x+2=6x1820=5xx=4x + 2 = 6x - 18 \Rightarrow 20 = 5x \Rightarrow x = 4. Checking the domain with x=4x = 4: x+2=6>0x + 2 = 6 > 0 and x3=1>0x - 3 = 1 > 0; valid. (Ans: 4)
    Show step-by-step (with the why)
    1. Apply P2: log6 ⁣(x+2x3)=1\log_6\!\left(\frac{x+2}{x-3}\right) = 1.
    2. Convert: x+2x3=61=6\frac{x+2}{x-3} = 6^1 = 6.
    3. Solve: x+2=6(x3)=6x1820=5xx=4x + 2 = 6(x-3) = 6x - 18 \Rightarrow 20 = 5x \Rightarrow x = 4.
    4. Check domain: both arguments positive at x=4x = 4. Valid.
  42. Ex. 7.42Modeling

    The exposure index EIEI of a camera is given by EI=log2(f2t)EI = \log_2(f^2 t), where ff is the aperture (f-stop) and tt is the exposure time in seconds. If f=8f = 8 and t=2t = 2, what is the exposure index? (Ans: 7)

    Select the correct option
    Select an option first
    Show solution
    With f=8f = 8 and t=2t = 2: EI=log2(f2t)=log2(642)=log2128=log2(27)=7EI = \log_2(f^2 t) = \log_2(64 \cdot 2) = \log_2 128 = \log_2(2^7) = 7.
    Show step-by-step (with the why)
    1. Substitute: EI=log2(822)=log2(642)=log2128EI = \log_2(8^2 \cdot 2) = \log_2(64 \cdot 2) = \log_2 128.
    2. Write 128 as a power of 2: 128=27128 = 2^7.
    3. Apply the identity: log2(27)=7\log_2(2^7) = 7.
  43. Ex. 7.43Modeling

    Using the formula EI=log2(f2t)EI = \log_2(f^2 t): if the meter reads EI=2EI = -2 and the desired exposure time is t=16t = 16 s, what should the aperture ff be? (Ans: f=1/8f = 1/8)

    Select the correct option
    Select an option first
    Show solution
    With EI=2EI = -2 and t=16t = 16: 2=log2(f216)f216=22=14f2=164f=18-2 = \log_2(f^2 \cdot 16) \Rightarrow f^2 \cdot 16 = 2^{-2} = \frac{1}{4} \Rightarrow f^2 = \frac{1}{64} \Rightarrow f = \frac{1}{8}.
  44. Ex. 7.44Modeling

    The intensities of two earthquakes at a seismographic station can be compared using the formula log ⁣(I1I2)=M1M2\log\!\left(\frac{I_1}{I_2}\right) = M_1 - M_2. In August 2009 an earthquake of magnitude 6.1 occurred; in March 2011, one of magnitude 9.0. How many times more intense was the second compared to the first? (Ans: approx. 794)

    Select the correct option
    Select an option first
    Show solution
    Using log ⁣(I1I2)=M1M2\log\!\left(\frac{I_1}{I_2}\right) = M_1 - M_2 with M1=6,1M_1 = 6{,}1 and M2=9,0M_2 = 9{,}0: I2I1=10M2M1=102,9794\frac{I_2}{I_1} = 10^{M_2 - M_1} = 10^{2{,}9} \approx 794. The magnitude-9.0 earthquake was about 794 times more intense.
    Show step-by-step (with the why)
    1. Rewrite: log(I2/I1)=M2M1=9,06,1=2,9\log(I_2/I_1) = M_2 - M_1 = 9{,}0 - 6{,}1 = 2{,}9.
    2. Convert: I2/I1=102,9794I_2/I_1 = 10^{2{,}9} \approx 794.
    3. Interpretation: the second earthquake was approximately 794 times more intense.
  45. Ex. 7.45ChallengeAnswer key

    Prove that logb(n)=1logn(b)\log_b(n) = \frac{1}{\log_n(b)} for any positive integers b>1b > 1 and n>1n > 1.

    Select the correct option
    Select an option first
    Show solution
    By the change of base formula: logb(n)=lnnlnb\log_b(n) = \frac{\ln n}{\ln b} and logn(b)=lnblnn\log_n(b) = \frac{\ln b}{\ln n}. Therefore logb(n)=1logn(b)\log_b(n) = \frac{1}{\log_n(b)} — they are reciprocals of each other.

Sources

Only books that directly fed this text and exercises. Full catalog at /livros.

  • OpenStax College Algebra 2e — Jay Abramson et al. · 2022, 2nd ed · EN · CC-BY 4.0 · §6.3–6.6 (definition, operational properties, logarithmic equations). Primary source for blocks A, B, and C.
  • OpenStax Algebra and Trigonometry 2e — Jay Abramson et al. · 2022, 2nd ed · EN · CC-BY 4.0 · §6.3–6.7 (logarithms, properties, exponential and logarithmic models). Primary source for block D.
  • Stitz–Zeager Precalculus — Carl Stitz, Jeff Zeager · 2013, v3 · EN · CC-BY-NC-SA · §6.2–6.3 (logarithmic functions, change of base, equations). Source for block E (change of base).
  • Active Calculus 2.0 — Matt Boelkins · 2024 · EN · CC-BY-NC-SA · §1.7 (natural logarithm and its relation to 1/x1/x). Exercise 7.46.

Updated on 2026-05-05 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.