01 / 20
log

Logarithmic
Expressions

Master the language of logarithms: convert between exponential and logarithmic forms, apply the key properties, and simplify with confidence.

AP Precalculus

What Is a Logarithm?

A logarithm answers one question: "What exponent do I need?" When we write \(\log_b(x) = y\), we are asking: to what power must we raise \(b\) to produce \(x\)?

Logarithms are the inverse of exponential functions. If exponentiation asks "what is \(2^3\)?", the logarithm asks "what exponent gives me \(8\) with base \(2\)?"

Exponential vs. Logarithmic Form

Exponential Form
\(b^y = x\)
Logarithmic Form
\(\log_b(x) = y\)
\(2^3 = 8\)
\(\log_2(8) = 3\)

Visualizing \(\log_2(x)\)

Special Logarithms

Common Log
\(\log(x) = \log_{10}(x)\). Base 10 is assumed when no base is written. Used in science and engineering.
Natural Log
\(\ln(x) = \log_e(x)\). Base \(e \approx 2.718\). Fundamental in calculus, finance, and growth models.
Binary Log
\(\log_2(x)\). Base 2. Essential in computer science and information theory.

Core Properties of Logarithms

1
Product Rule: \(\log_b(MN) = \log_b(M) + \log_b(N)\)
2
Quotient Rule: \(\displaystyle\log_b\!\left(\frac{M}{N}\right) = \log_b(M) - \log_b(N)\)
3
Power Rule: \(\log_b(M^k) = k \cdot \log_b(M)\)
4
Change of Base: \(\displaystyle\log_b(x) = \frac{\log_c(x)}{\log_c(b)}\) for any valid base \(c\)

Essential Identities

\(\log_b(1) = 0\)
Because \(b^0 = 1\) for every valid base.
\(\log_b(b) = 1\)
Because \(b^1 = b\). A base raised to 1 is itself.
\(b^{\log_b(x)} = x\)
Exponent and log with the same base cancel, leaving the argument.
\(\log_b(b^x) = x\)
Log of a base raised to a power just returns the exponent.

Expanding vs. Condensing

Expanding
Break a single log into a sum/difference of simpler logs using the Product, Quotient, and Power Rules.
Condensing
Combine multiple logs into a single log. Reverse the process: additions become products, subtractions become quotients.

How to Simplify a Logarithmic Expression

1
Identify the goal: Are you expanding (breaking apart) or condensing (combining)?
2
Apply the Power Rule first: Move any coefficients in front of a log up as exponents, or bring exponents down as coefficients.
3
Apply Product/Quotient Rules: Turn multiplication inside a log into addition outside, and division into subtraction (or vice versa).
4
Use identities to clean up: Replace \(\log_b(1)\) with \(0\), \(\log_b(b)\) with \(1\), and cancel inverse pairs.
5
Check the domain: Ensure every argument inside a log is positive. If a variable is involved, note restrictions.

Example 1: Expanding

1
Quotient Rule: \(\log_5(x^3) - \log_5(25y)\)
2
Product Rule on the second term: \(\log_5(x^3) - (\log_5(25) + \log_5(y))\). Note the parentheses!
3
Distribute & Apply Power Rule: \(3\log_5(x) - \log_5(25) - \log_5(y)\)
4
Simplify Identity: \(3\log_5(x) - 2 - \log_5(y)\), since \(\log_5(25) = 2\).

Example 2: Condensing

1
Power Rule: Move coefficients to exponents: \(\ln(a^2) + \ln(b) - \ln(c^3)\)
2
Product Rule: Combine the sums: \(\ln(a^2 \cdot b) - \ln(c^3)\)
3
Quotient Rule: Combine the difference: \(\displaystyle\ln\!\left(\frac{a^2 b}{c^3}\right)\)

Example 3: Change of Base

1
Apply Change of Base: \(\displaystyle\log_3(20) = \frac{\log(20)}{\log(3)}\)
2
Calculate: \(\log(20) \approx 1.3010\) and \(\log(3) \approx 0.4771\)
3
Divide: \(\displaystyle\frac{1.3010}{0.4771} \approx 2.727\)

Example 4: Exact Evaluation

1
Rewrite both in terms of 2: \(4 = 2^2\) and \(32 = 2^5\).
2
Substitute: \(\log_{2^2}(2^5)\).
3
Apply change of base or power rule on the base: \(\displaystyle\frac{\log_2(2^5)}{\log_2(2^2)} = \frac{5}{2}\).
4
Answer: \(\log_4(32) = \dfrac{5}{2}\)

Common Mistakes to Avoid

✕ Distributing the log
\(\log(a + b) \neq \log(a) + \log(b)\). There is no sum rule for logs. The Product Rule applies to \(\log(a \cdot b)\), not \(\log(a + b)\).
✕ Wrong quotient direction
\(\log(a) - \log(b) = \log\!\left(\frac{a}{b}\right)\), NOT \(\log\!\left(\frac{b}{a}\right)\). The first term goes in the numerator.
✕ Forgetting the domain
The argument of a log must be positive. If you get \(\log(-3)\) in a solution, that answer is extraneous.

Properties Summary

Property Rule In Words
Product \(\log_b(MN) = \log_b M + \log_b N\) Multiply inside → add outside
Quotient \(\log_b\!\tfrac{M}{N} = \log_b M - \log_b N\) Divide inside → subtract outside
Power \(\log_b(M^k) = k\log_b M\) Exponent inside → coefficient outside
Change of Base \(\log_b x = \tfrac{\log_c x}{\log_c b}\) Convert to any convenient base
Inverse \(b^{\log_b x} = x\) Exp and log cancel

Worked practice: Practice Problems — sound intensity level

Work through this original lesson problem, then reveal the solution and illustrations.

The sound intensity level β (in decibels) is given by β = 10 log(I / I₀), where I is the intensity of the sound and I₀ = 10⁻¹² W/m² is the reference intensity. (a) A rock concert has an intensity I₁ = 10⁻¹ W/m². Calculate the decibel level β₁. (b) A whisper has an intensity I₂ = 10⁻¹⁰ W/m². Calculate the decibel level β₂. (c) Using logarithmic properties, express the difference β₁ − β₂ as a single logarithmic expression and evaluate it. (d) Explain what the result from part (c) tells you about how logarithmic scales compress the range of physical measurements.

Show answer and explanation

Rubric (4 points): Point 1 — Part (a): β₁ = 10 log(10⁻¹ / 10⁻¹²) = 10 log(10¹¹) = 10 × 11 = 110 dB. Point 2 — Part (b): β₂ = 10 log(10⁻¹⁰ / 10⁻¹²) = 10 log(10²) = 10 × 2 = 20 dB. Point 3 — Part (c): β₁ − β₂ = 10 log(I₁/I₀) − 10 log(I₂/I₀) = 10[log(I₁/I₀) − log(I₂/I₀)] = 10 log[(I₁/I₀) / (I₂/I₀)] = 10 log(I₁/I₂) by the quotient rule. Evaluating: 10 log(10⁻¹ / 10⁻¹⁰) = 10 log(10⁹) = 10 × 9 = 90 dB. Point 4 — Part (d): The rock concert is 10⁹ (one billion) times more intense than the whisper in raw physical units, yet the decibel difference is only 90 dB. The logarithmic scale compresses this factor-of-a-billion range into a manageable two-digit number. This illustrates why logarithmic expressions are essential for modeling quantities that span many orders of magnitude: they convert multiplicative ratios into additive differences, making comparison and communication practical.

Intensities 10⁻¹⁰ and 10⁻¹ W/m² relative to 10⁻¹² W/m² correspond to 20 and 110 dB, a difference of 90 dB.
The stipulated concert and whisper intensities differ by a factor 10^9, corresponding to 90 dB; the scenes are illustrative rather than measurements.

Question 1 of 5

What is the value of \(\log_2(64)\)?

Question 2 of 5

Which expression is equivalent to \(\log_3(x^4 y)\)?

Question 3 of 5

Condense: \(3\ln(a) - \ln(b)\)

Question 4 of 5

Using the change of base formula, which expression equals \(\log_5(12)\)?

Question 5 of 5

What is the value of \(\log_9(27)\)?