Study Guide

Logarithmic Functions

AP PrecalculusΒ· AP Precalculus CED β€” Exponential and Logarithmic FunctionsΒ· 14 min read

1. Definition of Logarithmic Functions as Inversesβ˜…β˜…β˜†β˜†β˜†β± 3 min

A logarithmic function is the inverse of a one-to-one exponential function. Formally, for , if and only if . Standard notation uses for the common logarithm (base 10) and for the natural logarithm (base ), the most common form for calculus and continuous growth models.

Logarithmic functions reverse exponential operations, allowing us to solve for unknown exponents and model logarithmic scaling phenomena, from pH levels to decibel ratings. As the inverse of exponential functions, logarithmic functions swap the domain and range of exponential functions: logarithmic functions have a domain of only positive real numbers () and a range of all real numbers.

πŸ“˜ Definition

Logarithmic Function

, (base ), (base 10)

The inverse of a one-to-one exponential function with base , satisfying , defined only for positive .

Example:

, since

πŸ“ Worked Example

Rewrite in logarithmic form, and rewrite in exponential form.

  1. 1

    The base of the exponential becomes the base of the logarithm, and the exponent becomes the output of the logarithm.

    34=81β€…β€ŠβŸΉβ€…β€Šlog⁑381=43^4 = 81 \implies \log_3 81 = 4
  2. 2

    For the logarithmic statement, the base of the logarithm becomes the base of the exponential, and the output becomes the exponent.

    log⁑464=3β€…β€ŠβŸΉβ€…β€Š43=64\log_4 64 = 3 \implies 4^3 = 64

2. Core Properties and Change of Base Formulaβ˜…β˜…β˜†β˜†β˜†β± 4 min

All logarithm properties are derived directly from corresponding exponent rules, due to the inverse relationship between logarithms and exponentials. The key inverse identities connecting the two function types are:

blog⁑bx=x(x>0)andlog⁑b(bx)=x(for all real x)b^{\log_b x} = x \quad (x>0) \quad \text{and} \quad \log_b (b^x) = x \quad (\text{for all real } x)
  • Product Rule: (turns products of positive numbers into sums of logarithms)

  • Quotient Rule: (turns quotients of positive numbers into differences of logarithms)

  • Power Rule: for any real and positive

The change of base formula allows you to evaluate any logarithm using a standard calculator, which only computes base 10 or base logarithms:

log⁑ba=ln⁑aln⁑b=log⁑10alog⁑10b(a>0,b>0,bβ‰ 1)\log_b a = \frac{\ln a}{\ln b} = \frac{\log_{10} a}{\log_{10} b} \quad (a>0, b>0, b \neq 1)
πŸ“ Worked Example

Simplify to a simplified numerical value.

  1. 1

    Apply the quotient rule to the first two terms:

    log⁑5(2502)+3log⁑5(5)=log⁑5(125)+3log⁑5(51/2)\log_5 \left(\frac{250}{2}\right) + 3 \log_5 (\sqrt{5}) = \log_5 (125) + 3 \log_5 (5^{1/2})
  2. 2

    Apply the power rule to the second term, using :

    3log⁑5(51/2)=3β‹…12β‹…log⁑55=32(1)=323 \log_5 (5^{1/2}) = 3 \cdot \frac{1}{2} \cdot \log_5 5 = \frac{3}{2} (1) = \frac{3}{2}
  3. 3

    Rewrite 125 as a power of 5 and apply the inverse identity:

    log⁑5(53)=3log⁑55=3(1)=3\log_5 (5^3) = 3 \log_5 5 = 3(1) = 3
  4. 4

    Add the results for the final value:

    3+32=92=4.53 + \frac{3}{2} = \frac{9}{2} = 4.5

3. Solving Logarithmic Equationsβ˜…β˜…β˜…β˜†β˜†β± 4 min

A logarithmic equation has an unknown variable inside the argument of a logarithm. The core solution strategy uses the inverse relationship between logs and exponentials: isolate a single logarithmic term, convert to exponential form, then solve for the variable. If you have multiple logarithms on the same side, combine them using logarithm properties first.

The most critical step often missed is checking for extraneous solutions. Combining multiple logarithms erases individual domain restrictions, so all candidate solutions must be checked against the original equation, and any solution that makes a logarithm's argument non-positive must be discarded.

πŸ“ Worked Example

Solve for all real solutions.

  1. 1

    Write domain restrictions from the original equation: and , so overall valid domain is .

  2. 2

    Combine the two logarithms with the product rule:

    log⁑2(x(x+2))=3β€…β€ŠβŸΉβ€…β€Šlog⁑2(x2+2x)=3\log_2 \left(x(x+2)\right) = 3 \implies \log_2 (x^2 + 2x) = 3
  3. 3

    Convert to exponential form by definition of logarithms:

    23=x2+2xβ€…β€ŠβŸΉβ€…β€Šx2+2xβˆ’8=02^3 = x^2 + 2x \implies x^2 + 2x - 8 = 0
  4. 4

    Factor the quadratic to get candidate solutions:

    (x+4)(xβˆ’2)=0β€…β€ŠβŸΉβ€…β€Šx=βˆ’4 and x=2(x+4)(x-2) = 0 \implies x=-4 \text{ and } x=2
  5. 5

    Check against the original domain: is extraneous and discarded, while is valid.

βœ“ Quick check

Test your understanding of logarithm properties:

  1. Which of the following is equivalent to ?

    • A)

    • B)

    • C)

    • D)

    Reveal answer
    A) $\ln 2$ β€”

    Apply the power rule: , then apply the quotient rule: .

4. Graphing and Transformations of Logarithmic Functionsβ˜…β˜…β˜…β˜†β˜†β± 3 min

The parent logarithmic function has consistent core features: it has a vertical asymptote at (the y-axis), passes through (since for any valid ), has domain and range of all real numbers. If , the function is strictly increasing and concave down; if , it is strictly decreasing and concave up.

Transformations of logarithmic functions follow the same rules as all other function transformations: for , controls vertical stretch/compression/reflection, controls horizontal stretch/compression/reflection, is the horizontal shift, and is the vertical shift. To find the new vertical asymptote after shifting, simply set the argument of the logarithm equal to zero and solve for , which avoids mistakes from memorizing shift directions.

πŸ“ Worked Example

For , identify the domain, equation of the vertical asymptote, and one point on the graph, then describe the transformation from the parent .

  1. 1

    Find the domain by requiring the argument to be positive:

    xβˆ’3>0β€…β€ŠβŸΉβ€…β€Šx>3, so domain is (3,∞)x-3>0 \implies x>3, \text{ so domain is } (3, \infty)
  2. 2

    Find the vertical asymptote by setting the argument equal to zero:

    xβˆ’3=0β€…β€ŠβŸΉβ€…β€Šx=3x-3=0 \implies x=3
  3. 3

    Find a simple point using the parent function's known intercept: when , the argument equals 1. Set , then calculate :

    f(4)=ln⁑(1)+2=0+2=2, so (4,2) is on the graphf(4) = \ln(1) + 2 = 0 + 2 = 2, \text{ so } (4,2) \text{ is on the graph}
  4. 4

    Describe the transformation:

    The graph of y=ln⁑x is shifted 3 units right and 2 units up\text{The graph of } y = \ln x \text{ is shifted 3 units right and 2 units up}
πŸ“ Worked Example

The pH of an aqueous solution is defined as , where is hydrogen ion concentration in moles per liter (mol/L). A sample of orange juice has a pH of 3.8, and black coffee has a pH of 5.0. (a) Find the hydrogen ion concentration of orange juice (rounded to 3 significant figures). (b) How many times greater is the hydrogen ion concentration in orange juice than in black coffee?

  1. 1

    Part (a): Substitute pH = 3.8 and rearrange:

    3.8=βˆ’log⁑10[H+]β€…β€ŠβŸΉβ€…β€Šlog⁑10[H+]=βˆ’3.83.8 = -\log_{10} [H^+] \implies \log_{10} [H^+] = -3.8
  2. 2

    Rewrite in exponential form and calculate:

    [H+]=10βˆ’3.8β‰ˆ1.58Γ—10βˆ’4 mol/L[H^+] = 10^{-3.8} \approx 1.58 \times 10^{-4} \text{ mol/L}
  3. 3

    Part (b): Find the hydrogen ion concentration of black coffee:

    5.0=βˆ’log⁑10[H+]coffeeβ€…β€ŠβŸΉβ€…β€Š[H+]coffee=10βˆ’5.0=1.0Γ—10βˆ’5 mol/L5.0 = -\log_{10} [H^+]_{\text{coffee}} \implies [H^+]_{\text{coffee}} = 10^{-5.0} = 1.0 \times 10^{-5} \text{ mol/L}
  4. 4

    Calculate the ratio of concentrations:

    1.58Γ—10βˆ’41.0Γ—10βˆ’5=15.8β‰ˆ16\frac{1.58 \times 10^{-4}}{1.0 \times 10^{-5}} = 15.8 \approx 16
  5. 5

    Final result: The hydrogen ion concentration of orange juice is approximately 16 times greater than that of black coffee.

5. Common Pitfalls

Wrong move:

Why:

Students confuse the product rule with adding arguments, misremembering that logs turn products into sums, not sums into sums.

Correct move:

Only ; there is no general simplification for the logarithm of a sum.

Wrong move:

After solving , keeping as a valid solution

Why:

Students check solutions against the final combined equation, not the original equation, forgetting that individual terms have domain restrictions lost when combining.

Correct move:

Always list domain restrictions from the original equation before solving, and discard any candidate that violates any restriction.

Wrong move:

Why:

Students confuse the change of base formula with the quotient rule, mixing up the order of operations.

Correct move:

The quotient rule is , while by change of baseβ€”they are not equivalent.

Wrong move:

Stating the domain of is

Why:

Students generalize the domain rule for to without checking when the argument is positive.

Correct move:

Always check for positive arguments directly: for all , so domain is .

Wrong move:

Writing the vertical asymptote of as

Why:

Students mix up horizontal shift direction, assuming shifts right instead of left.

Correct move:

Always find the vertical asymptote by setting the argument equal to zero and solving: , which gives the correct asymptote regardless of shift direction.

6. Quick Reference Cheatsheet

Category

Formula

Notes

Definition of Logarithm

Requires

Inverse Identity 1

Only valid for , any valid base

Inverse Identity 2

Valid for all real , any valid base

Product Rule

Requires ; does not apply to

Quotient Rule

Requires ; not equivalent to

Power Rule

Requires , works for any real

Change of Base Formula

Used to evaluate any log with a calculator;

Parent Log Graph Features

Vertical asymptote at , passes through , domain , range , increasing if , decreasing if

What's Next

Mastery of logarithmic functions is required for all remaining topics in Unit 2 of AP Precalculus, starting with exponential and logarithmic modeling, where you will use logarithms to solve for unknown parameters in continuous growth and decay models. Without solid proficiency in simplifying logarithmic expressions and checking for extraneous solutions when solving logarithmic equations, you will struggle to calculate half-life, doubling time, or estimate parameters for exponential data, a frequent free-response question topic on the AP exam. Logarithmic functions also lay critical groundwork for future calculus study, where the natural logarithm is the antiderivative of , and logarithmic differentiation simplifies complex derivative problems.