Sub topic 9
The Quotient Law: Logs Turn Quotients into Differences
Assume you know the laws of exponents, basic algebra, function notation, and how to use a calculator or basic Python. The quotient law is one of the main tools for simplifying logarithmic expressions.
The quotient law
For a valid base \(b\),
\[ \logb\left(\frac{x}{y}\right)=\logb(x)-\log_b(y) \]
The conditions are:
- \(b>0\)
- \(b\ne 1\)
- \(x>0\)
- \(y>0\)
The law says that division inside a logarithm becomes subtraction outside the logarithm.
For example,
\[ \log2\left(\frac{32}{4}\right) =\log2(32)-\log_2(4) =5-2 =3 \]
This agrees with the direct calculation because \(32/4=8\) and \(\log_2(8)=3\).
Why the law works
Let
\[ u=\logb(x) \quad\text{and}\quad v=\logb(y) \]
By the definition of a logarithm,
\[ x=b^u \quad\text{and}\quad y=b^v \]
Now divide the expressions:
\[ \frac{x}{y}=\frac{b^u}{b^v}=b^{u-v} \]
Taking \(\log_b\) of both sides gives
\[ \log_b\left(\frac{x}{y}\right)=u-v \]
Substituting the definitions of \(u\) and \(v\) produces
\[ \logb\left(\frac{x}{y}\right)=\logb(x)-\log_b(y) \]
The subtraction comes directly from the exponent rule for dividing powers with the same base.
Expanding and combining expressions
Use the law to expand one logarithm into a difference:
\[ \log5\left(\frac{125}{25}\right) =\log5(125)-\log_5(25) \]
\[ =3-2=1 \]
You can also reverse the process. A difference of logarithms with the same base can be combined into one logarithm:
\[ \log3(81)-\log3(9) =\log3\left(\frac{81}{9}\right) =\log3(9) =2 \]
The bases must match. In general,
\[ \logb(x)-\logb(y) \]
can be combined, but
\[ \log2(x)-\log3(y) \]
cannot be combined using the quotient law.
Domain checks and common errors
A logarithm accepts only a positive input. Therefore, both \(x\) and \(y\) must be positive in
\[ \log_b\left(\frac{x}{y}\right) \]
For instance, \(\log_2(-8/4)\) is undefined over the real numbers, even though the quotient equals \(-2\). The quotient law does not allow you to bypass the logarithm's domain.
The law also does not apply to subtraction inside the argument:
\[ \logb(x-y)\ne\logb(x)-\log_b(y) \]
For example, \(\log{10}(10-1)=\log{10}(9)\), while \(\log{10}(10)-\log{10}(1)=1-0=1\). These values are different.
import math
x, y = 50.0, 4.0
left = math.log10(x / y)
right = math.log10(x) - math.log10(y)
print(left)
print(right)
print(math.isclose(left, right)) # TrueExercise
Expand and evaluate \(\log_2(64/8)\).
Show answer
\(\log2(64)-\log2(8)=6-3=3\).