upgrade
upgrade

📈AP Pre-Calculus

Important Logarithmic Functions

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

Logarithmic functions are the mathematical backbone of Unit 2 in AP Precalculus, and they're not going away—you'll see them in modeling questions, equation-solving problems, and function analysis throughout the exam. The key insight is that logarithms are inverses of exponential functions, which means every property of exponentials has a mirror property in logarithms. You're being tested on your ability to move fluidly between these two representations, apply transformation rules, and recognize when a real-world scenario calls for logarithmic modeling.

What makes logarithms tricky is that they compress huge ranges of values into manageable numbers—that's why they show up in pH scales, earthquake measurements, and sound intensity. The College Board wants you to understand not just how to manipulate logarithmic expressions, but why these functions behave the way they do: their restricted domains, their characteristic shapes, and their inverse relationship with exponentials. Don't just memorize formulas—know what concept each property illustrates and when to deploy it.


The Two Base Functions You Must Know

Every logarithmic calculation ultimately traces back to one of two special bases. These are the functions your calculator handles directly, and they form the foundation for all logarithmic work.

Natural Logarithm (ln x)

  • Base e≈2.718e \approx 2.718—this irrational number appears naturally in continuous growth and decay models
  • Inverse relationship: ln⁥(ex)=x\ln(e^x) = x and eln⁥x=xe^{\ln x} = x, which you'll use constantly when solving equations
  • Domain restriction: only defined for x>0x > 0, reflecting that you can only take logarithms of positive numbers

Common Logarithm (log⁥10x\log_{10} x)

  • Base 10—written simply as "log" when no base is specified, matching our decimal number system
  • Inverse relationship: log⁥10(10x)=x\log_{10}(10^x) = x and 10log⁥10x=x10^{\log_{10} x} = x, essential for order-of-magnitude calculations
  • Calculator default: most scientific calculators have a dedicated LOG button for this function

Compare: Natural log (ln) vs. Common log (log₁₀)—both follow identical properties and have the same domain/range, but ln models continuous processes (compound interest, radioactive decay) while log₁₀ measures orders of magnitude (Richter scale, pH). If an FRQ involves ee or continuous growth, reach for ln; if it involves powers of 10, use log₁₀.


Properties That Transform Expressions

These three rules let you break apart or combine logarithmic expressions—they're the algebraic workhorses of logarithm manipulation.

Product Rule

  • log⁥b(xy)=log⁥b(x)+log⁥b(y)\log_b(xy) = \log_b(x) + \log_b(y)—multiplication inside becomes addition outside
  • Expanding expressions: use this to break a single logarithm into simpler parts for solving
  • Condensing expressions: reverse it to combine multiple logarithms into one, often needed before exponentiating

Quotient Rule

  • log⁥b(xy)=log⁥b(x)−log⁥b(y)\log_b\left(\frac{x}{y}\right) = \log_b(x) - \log_b(y)—division inside becomes subtraction outside
  • Mirror of product rule: these two rules together handle all multiplication and division inside logarithms
  • Common error alert: students often confuse this with log⁥b(x)log⁥b(y)\frac{\log_b(x)}{\log_b(y)}, which is completely different

Power Rule

  • log⁥b(xk)=k⋅log⁥b(x)\log_b(x^k) = k \cdot \log_b(x)—exponents inside become coefficients outside
  • Most powerful for solving: this rule lets you "bring down" unknown exponents to solve exponential equations
  • Works with any exponent: kk can be negative, fractional, or any real number

Compare: Product rule vs. Power rule—both turn logarithms into simpler forms, but product rule handles multiple factors while power rule handles repeated factors (exponents). On FRQs, you'll often need both: first use the power rule to eliminate exponents, then product/quotient rules to separate terms.


The Change of Base Formula

This single formula connects all logarithmic bases and makes any logarithm calculator-friendly.

Change of Base Formula

  • log⁥b(a)=log⁥k(a)log⁥k(b)\log_b(a) = \frac{\log_k(a)}{\log_k(b)}—converts any base bb logarithm to a ratio of base kk logarithms
  • Calculator application: since calculators only have ln and log₁₀, use log⁥5(20)=ln⁥(20)ln⁥(5)\log_5(20) = \frac{\ln(20)}{\ln(5)} or log⁥(20)log⁥(5)\frac{\log(20)}{\log(5)}
  • Equation solving: essential when comparing or combining logarithms with different bases in the same problem

Inverse Function Relationships

The exponential-logarithmic inverse relationship is the conceptual heart of this unit—every graphing and solving technique flows from it.

Exponential-Logarithmic Inverses

  • f(x)=bxf(x) = b^x and g(x)=log⁥b(x)g(x) = \log_b(x) are inverses—meaning f(g(x))=xf(g(x)) = x and g(f(x))=xg(f(x)) = x for appropriate domains
  • Graphical reflection: inverse functions reflect across the line y=xy = x, so if you know one graph, you know the other
  • Domain-range swap: exponential has domain (−∞,∞)(-\infty, \infty) and range (0,∞)(0, \infty); logarithm flips these exactly

Solving Strategy: Converting Forms

  • Exponential to logarithmic: by=xb^y = x becomes log⁥b(x)=y\log_b(x) = y—use when the variable is in the exponent
  • Logarithmic to exponential: log⁥b(x)=y\log_b(x) = y becomes by=xb^y = x—use when you need to isolate the argument
  • Check for extraneous solutions: always verify answers don't produce logarithms of negative numbers or zero

Compare: Solving exponential equations vs. logarithmic equations—for exponentials like 3x=153^x = 15, take the log of both sides; for logarithmic equations like log⁡2(x+1)=4\log_2(x+1) = 4, convert to exponential form. The strategy depends on where the variable lives.


Graphing and Transformations

Understanding the parent function's shape lets you quickly sketch any transformed logarithm.

Parent Function Behavior

  • Key point (1,0)(1, 0)—every logarithmic function passes through this point because log⁥b(1)=0\log_b(1) = 0 for any base
  • Vertical asymptote at x=0x = 0—the function approaches −∞-\infty as xx approaches 0 from the right
  • Increasing for b>1b > 1: larger inputs produce larger outputs, but the rate of increase slows (logarithmic growth)

Domain and Range

  • Domain: (0,∞)(0, \infty)—you cannot take the logarithm of zero or negative numbers
  • Range: (−∞,∞)(-\infty, \infty)—logarithmic outputs can be any real number, positive or negative
  • Transformation effects: horizontal shifts change the asymptote location; vertical shifts change the horizontal intercept

Transformations

  • y=log⁥b(x−h)+ky = \log_b(x - h) + k—shifts right by hh and up by kk, moving the asymptote to x=hx = h
  • y=alog⁥b(x)y = a\log_b(x)—vertical stretch by factor ∣a∣|a|; if a<0a < 0, reflects across the x-axis
  • y=log⁥b(−x)y = \log_b(-x)—reflects across the y-axis, creating domain (−∞,0)(-\infty, 0) with asymptote at x=0x = 0

Compare: Logarithmic graphs vs. exponential graphs—both have one asymptote, but logarithms have a vertical asymptote (restricting domain) while exponentials have a horizontal asymptote (restricting range). They're mirror images across y=xy = x.


Real-World Applications

Logarithms appear whenever quantities span multiple orders of magnitude or involve proportional change.

pH Scale

  • pH=−log⁥10[H+]\text{pH} = -\log_{10}[\text{H}^+]—measures hydrogen ion concentration, where lower pH means higher acidity
  • Logarithmic compression: each pH unit represents a 10-fold change in concentration
  • Negative sign: ensures that higher concentrations (more acidic) give lower pH values

Richter Scale

  • Logarithmic earthquake measurement—each whole number increase represents 10 times more ground motion
  • Energy scaling: the energy released increases by about 31.6 times per unit on the scale
  • Why logarithmic: earthquakes vary by factors of millions; a linear scale would be impractical

Decibel Scale

  • dB=10log⁥10(II0)\text{dB} = 10\log_{10}\left(\frac{I}{I_0}\right)—measures sound intensity relative to a reference level I0I_0
  • Doubling intensity: adds about 3 dB (since 10log⁥10(2)≈310\log_{10}(2) \approx 3)
  • Human perception: our ears respond logarithmically to sound, making this scale psychologically meaningful

Compare: pH vs. Richter vs. Decibels—all three use log⁡10\log_{10} because they measure phenomena spanning huge ranges. The key difference is the multiplier: pH uses −1-1, Richter uses 11, and decibels use 1010. Expect application problems to test whether you can set up and solve these equations.


Quick Reference Table

ConceptBest Examples
Base FunctionsNatural log (ln), Common log (log⁥10\log_{10})
Algebraic PropertiesProduct rule, Quotient rule, Power rule
Base ConversionChange of base formula
Inverse Relationshipsexe^x and ln, 10x10^x and log⁥10\log_{10}
Domain RestrictionsAll logarithms require x>0x > 0
Graph FeaturesVertical asymptote, passes through (1,0)(1, 0)
TransformationsHorizontal/vertical shifts, reflections, stretches
ApplicationspH scale, Richter scale, Decibel scale

Self-Check Questions

  1. Which two logarithmic properties would you combine to simplify log⁡3(x2y)−log⁡3(z)\log_3(x^2y) - \log_3(z) into a single logarithm?

  2. If log⁥b(x)=2\log_b(x) = 2 and log⁥b(y)=5\log_b(y) = 5, what is log⁥b(x3y)\log_b\left(\frac{x^3}{y}\right)? Which properties did you use?

  3. Compare and contrast the graphs of y=ln⁡(x)y = \ln(x) and y=ln⁡(x−2)y = \ln(x - 2). What changes and what stays the same?

  4. An FRQ gives you 52x+1=175^{2x+1} = 17 and asks for an exact answer. Write the solution in terms of logarithms and explain why you chose your approach.

  5. The pH of a solution drops from 6 to 4. By what factor did the hydrogen ion concentration increase? Explain using the definition of pH.