Sub topic 3
The product, quotient, and power rules
What this chapter assumes
This chapter assumes you can solve linear and quadratic equations and use integer and rational exponent rules. It also assumes you know that a logarithm is the inverse of an exponential function: log_b(y) = x means b^x = y. The goal here is to learn three rules that let you rewrite logarithmic expressions. Later chapters use these rules to solve equations.
Each rule is the logarithm version of an exponent rule you already know. If you remember where each rule comes from, you can rebuild it when you forget it, and you are less likely to apply it wrongly.
Why the rules exist
Exponent rules say that multiplying powers of the same base adds the exponents. A logarithm returns an exponent. So a logarithm of a product should turn into a sum of exponents, which is a sum of logarithms.
In this chapter, b is the base. It must be positive and not equal to 1. The letters M and N stand for positive numbers or expressions. The positivity requirement matters, and a later section returns to it.
| Rule | Logarithm form | Exponent rule behind it |
|---|---|---|
| Product | log_b(MN) = log_b(M) + log_b(N) | b^p · b^q = b^(p+q) |
| Quotient | log_b(M/N) = log_b(M) − log_b(N) | b^p / b^q = b^(p−q) |
| Power | log_b(M^k) = k · log_b(M) | (b^p)^k = b^(pk) |
Deriving the product rule
Let p = log_b(M) and q = log_b(N). By the definition of a logarithm, M = b^p and N = b^q.
Multiply the two equations:
MN = b^p · b^q = b^(p+q)
Now take log_b of both sides. Because log_b undoes b^(...), the right side becomes the exponent:
log_b(MN) = p + q = log_b(M) + log_b(N)
The quotient and power rules follow the same pattern.
- Quotient:
M/N = b^p / b^q = b^(p−q), solog_b(M/N) = p − q. - Power:
M^k = (b^p)^k = b^(pk), solog_b(M^k) = pk = k · log_b(M).
Using the rules to expand
Expanding means writing one logarithm of a complicated expression as a sum or difference of simpler logarithms. Work from the outside in: handle the quotient and product first, then bring down exponents.
Example: expand log_2( (8x^3) / y ).
- Apply the quotient rule:
log_2(8x^3) − log_2(y). - Apply the product rule to the first term:
log_2(8) + log_2(x^3) − log_2(y). - Apply the power rule:
log_2(8) + 3·log_2(x) − log_2(y). - Evaluate
log_2(8) = 3:3 + 3·log_2(x) − log_2(y).
Roots are powers too. Since √x = x^(1/2), the power rule gives log_b(√x) = (1/2)·log_b(x). Likewise log_b(∛(x²)) = (2/3)·log_b(x).
Using the rules to condense
Condensing is the reverse: write a sum or difference of logarithms as one logarithm. Condense in this order:
- Move every coefficient into an exponent with the power rule.
- Combine sums into products and differences into quotients.
- Check that all logarithms share one base.
Example: condense 2·log_3(x) + log_3(5) − log_3(x + 1).
- Power rule:
log_3(x²) + log_3(5) − log_3(x + 1). - Product rule:
log_3(5x²) − log_3(x + 1). - Quotient rule:
log_3( 5x² / (x + 1) ).
The rules only combine logarithms with the same base. log_2(x) + log_3(x) cannot be condensed with these rules. The change of base chapter covers that case.
Checking the rules numerically
You can confirm each rule with a short script. The math.log function takes an optional second argument for the base.
import math
b = 3
M = 12.0
N = 5.0
k = 4
product = math.isclose(math.log(M * N, b), math.log(M, b) + math.log(N, b))
quotient = math.isclose(math.log(M / N, b), math.log(M, b) - math.log(N, b))
power = math.isclose(math.log(M ** k, b), k * math.log(M, b))
print(product, quotient, power) # True True TrueThe script uses math.isclose instead of == because floating-point arithmetic rounds results, so two correct expressions can differ in the last digits.
Common errors
Most mistakes come from treating a logarithm like a function that distributes over everything. It does not. The table lists the false statements that students write most often, next to the correct statements.
| Wrong | Why it is wrong | Correct |
|---|---|---|
| log_b(M + N) = log_b(M) + log_b(N) | The product rule applies to a product, not a sum. | log_b(MN) = log_b(M) + log_b(N) |
| log_b(M − N) = log_b(M) − log_b(N) | The quotient rule applies to a quotient, not a difference. | log_b(M/N) = log_b(M) − log_b(N) |
| log_b(M) / log_b(N) = log_b(M/N) | A ratio of logarithms is not the logarithm of a ratio. | log_b(M/N) = log_b(M) − log_b(N) |
| (log_b(M))^k = k · log_b(M) | The exponent k must be on the argument, not on the whole logarithm. | log_b(M^k) = k · log_b(M) |
| log_b(kM) = k · log_b(M) | The factor k multiplies the argument, so the product rule applies. | log_b(kM) = log_b(k) + log_b(M) |
A quick test catches the first error. Take b = 10, M = 10, N = 10. Then log(M + N) = log(20) ≈ 1.301, but log(M) + log(N) = 1 + 1 = 2. The two sides differ, so the statement is false.
Domain: the rules do not always preserve the allowed values
The rules are true only when every logarithm in the statement is defined. A logarithm is defined only for a positive argument. This produces an edge case that matters when you solve equations.
Consider log_b(x²). The power rule suggests 2·log_b(x). That is true for x > 0. But log_b(x²) is defined for every x ≠ 0, including negative x, while 2·log_b(x) is defined only for x > 0. For negative x, the correct statement is:
log_b(x²) = 2·log_b(|x|)
The same issue affects the product and quotient rules. The expression log_b(xy) is defined when x and y are both positive or both negative. The expression log_b(x) + log_b(y) needs both to be positive. So the rewritten expression can have a smaller domain than the original.
A numeric check shows the difference.
import math
x = -3.0
# Original form: defined for x != 0
print(math.log(x ** 2)) # 2.1972245773362196
# Rewritten form 2*log(x) fails for negative x
try:
print(2 * math.log(x))
except ValueError as error:
print("error:", error) # error: expected a positive input
# Corrected form uses the absolute value
print(2 * math.log(abs(x))) # 2.1972245773362196When you solve equations later in this tutorial, this edge case explains why some solutions of a rewritten equation fail in the original one. That behavior is called an extraneous solution, and a later chapter covers it in full.
Useful special values
Two facts follow directly from the definition and appear constantly.
log_b(1) = 0, becauseb^0 = 1.log_b(b) = 1, becauseb^1 = b.
Combined with the rules, they give useful results:
- Reciprocal:
log_b(1/N) = log_b(1) − log_b(N) = −log_b(N). - Power of the base:
log_b(b^k) = k · log_b(b) = k.
Example: simplify log_5(125) − log_5(25) + log_5(1/5).
- Write each argument as a power of 5:
log_5(5³) − log_5(5²) + log_5(5⁻¹). - Apply
log_b(b^k) = k:3 − 2 + (−1). - Result:
0.
You can reach the same answer by condensing: log_5( (125 · (1/5)) / 25 ) = log_5(1) = 0.
Worked example: expand and evaluate
Suppose log_10(2) ≈ 0.3010 and log_10(3) ≈ 0.4771. Find log_10(18) and log_10(4/3) without a calculator.
For 18, factor into primes: 18 = 2 · 3².
log_10(18) = log_10(2) + 2·log_10(3) ≈ 0.3010 + 2(0.4771) = 1.2552
For 4/3, use 4 = 2²:
log_10(4/3) = 2·log_10(2) − log_10(3) ≈ 0.6020 − 0.4771 = 0.1249
The strategy is to factor the argument into pieces whose logarithms you know. Then apply the product, quotient, and power rules.
Summary of the method
- Identify whether the argument is a product, a quotient, or a power.
- Apply the matching rule. Work from the outermost operation inward.
- Keep all logarithms in the same base.
- Note the domain of the original expression before you rewrite it.
- Test a doubtful identity with simple numbers.
Exercise
Expand log_4( (x^5 · √y) / z^3 ) into a sum and difference of logarithms of x, y, and z. Assume x, y, and z are positive.
Show answer
Apply the quotient rule first: log4(x^5 · √y) − log4(z^3). Apply the product rule to the first term: log4(x^5) + log4(√y) − log4(z^3). Write √y as y^(1/2) and use the power rule on each term: 5·log4(x) + (1/2)·log4(y) − 3·log4(z).
Exercise
Condense 3·log2(x) − (1/2)·log2(y) + 4 into a single logarithm with base 2.
Show answer
Write 4 as log2(16), because 2^4 = 16. Apply the power rule: log2(x^3) − log2(y^(1/2)) + log2(16). Combine the terms: log_2( 16x^3 / √y ).
Exercise
A student writes logb(x² − 9) = logb(x² ) − logb(9) and then simplifies to 2·logb(x) − 2·log_b(3). Identify the error and give a correct rewrite that uses the product and quotient rules properly.
Show answer
The quotient rule applies to a quotient, not to a difference inside the argument, so splitting x² − 9 into two logarithms is invalid. Factor first: x² − 9 = (x − 3)(x + 3). Then use the product rule: logb(x − 3) + logb(x + 3). This form is valid for x > 3. The original expression is also defined for x < −3, so the rewrite narrows the domain.
Exercise
Is the statement logb(x²) = 2·logb(x) true for all x in the domain of the left side? If not, give a corrected statement and a numeric example.
Show answer
No. The left side is defined for all x ≠ 0, but the right side needs x > 0. The correct identity is logb(x²) = 2·logb(|x|). For x = −3 and b = 10, log(9) ≈ 0.9542 and 2·log(3) ≈ 0.9542, but 2·log(−3) is undefined.