Sub topic 3
The Product, Quotient, and Power Rules
Assume you can solve linear and quadratic equations, use exponent rules, and understand that logarithms and exponentials are inverse functions. In this chapter, you will use logarithm rules to rewrite expressions, combine terms, and prepare equations for solving.
Conditions for logarithm rules
For a logarithm \(\log_b(x)\), the base must satisfy \(b>0\) and \(b\ne1\). Its argument must be positive, so \(x>0\).
If \(M>0\) and \(N>0\), the main rules are:
| Rule | Formula |
|---|---|
| Product rule | \(\log_b(MN)=\log_b(M)+\log_b(N)\) |
| Quotient rule | \(\log_b\left(\frac{M}{N}\right)=\log_b(M)-\log_b(N)\) |
| Power rule | \(\log_b(M^p)=p\log_b(M)\) |
The product rule changes one logarithm of a product into a sum. The quotient rule changes a logarithm of a quotient into a difference. The power rule moves an exponent in the argument to the front as a multiplier.
Expanding logarithmic expressions
To expand an expression, use the rules to separate products, quotients, and powers.
For example,
\[ \log_3\left(\frac{6x^2}{y}\right) \]
contains a quotient, a product in the numerator, and a power. Applying the rules gives
\[ \log3(6)+\log3(x^2)-\log_3(y) \]
and then
\[ \log3(6)+2\log3(x)-\log_3(y). \]
This expansion assumes \(x>0\) and \(y>0\). The original expression only requires \(6x^2/y>0\), but the expanded form contains \(\log_3(x)\), so \(x\) must be positive for the two expressions to be equivalent over the real numbers.
Condensing logarithmic expressions
To condense several logarithms into one, reverse the rules:
\[ 2\ln(x)+\ln(x-1)-\ln(4) \]
becomes
\[ \ln(x^2)+\ln(x-1)-\ln(4) \]
and then
\[ \ln\left(\frac{x^2(x-1)}{4}\right). \]
The original expression requires \(x>0\) and \(x-1>0\), so the complete restriction is \(x>1\).
The power rule applies to a power inside a logarithm. It does not mean that a logarithm distributes over addition.
Common errors
These statements are generally false:
\[ \logb(M+N)=\logb(M)+\log_b(N) \]
and
\[ \logb(M-N)=\logb(M)-\log_b(N). \]
There are no sum or difference rules. The product and quotient rules apply only when the entire argument is a product or quotient.
Another common error is forgetting parentheses. The expression
\[ \log_b(x^2) \]
can become \(2\logb(x)\) only when \(x>0\). If \(x<0\), \(\logb(x)\) is undefined even though \(x^2\) is positive.
Checking a rewrite with Python
A calculator or program can check equivalent numerical values, provided all logarithm arguments are positive.
import math
x = 3
left = math.log((6 * x**2) / 2, 3)
right = math.log(6, 3) + 2 * math.log(x, 3) - math.log(2, 3)
print(left)
print(right)
print(math.isclose(left, right))Both logarithmic forms evaluate to the same number, and the final line prints True.
Exercise
Condense 3 log2(x) - log2(y) + log_2(5), assuming x > 0 and y > 0.
Show answer
log_2(5x^3/y)