Sub topic 14
Common Mistakes to Avoid
Assume you know integer, negative, and fractional exponents, basic algebra, function notation, and how to use a calculator or basic Python. This chapter focuses on errors that occur when applying logarithm laws.
Check the definition and the domain
A logarithm is an exponent:
\[ \log_b(x)=y \quad\text{means}\quad b^y=x. \]
For real logarithms, the base must satisfy \(b>0\) and \(b\ne1\). The argument must satisfy \(x>0\). Therefore, expressions such as \(\log2(0)\) and \(\log5(-3)\) are undefined in the real numbers.
When solving an equation, check the argument after finding a candidate solution.
For example:
\[ \log_3(x-2)=2 \]
gives
\[ x-2=3^2=9,\qquad x=11. \]
The domain condition \(x-2>0\) requires \(x>2\), so \(x=11\) is valid.
Do not split a sum inside a logarithm
The product law is
\[ \logb(xy)=\logb(x)+\log_b(y). \]
It does not apply to addition. In general,
\[ \logb(x+y)\ne\logb(x)+\log_b(y). \]
For instance,
\[ \log{10}(3+5)=\log{10}(8), \]
but this is not equal to \(\log{10}(3)+\log{10}(5)\).
Similarly, the quotient law applies to division:
\[ \logb\left(\frac{x}{y}\right)=\logb(x)-\log_b(y), \]
not to subtraction. There is no general rule that simplifies \(\log_b(x-y)\).
| Expression | Correct rule |
|---|---|
| \(\log_b(xy)\) | \(\log_b(x)+\log_b(y)\) |
| \(\log_b(x/y)\) | \(\log_b(x)-\log_b(y)\) |
| \(\log_b(x^r)\) | \(r\log_b(x)\) |
| \(\log_b(x+y)\) | No matching log law |
Keep powers and parentheses clear
The power law moves an exponent from inside a logarithm to its coefficient:
\[ \logb(x^r)=r\logb(x). \]
It does not mean
\[ \logb(x+r)=r\logb(x). \]
Also, \(\logb(x^2)\) is defined for every nonzero real \(x\), because \(x^2>0\). However, \(2\logb(x)\) requires \(x>0\). This distinction matters when rewriting expressions over the real numbers.
A common error is forgetting that a logarithm applies to the entire parenthesized argument:
\[ \logb\left(\frac{x^2y}{z}\right) =2\logb(x)+\logb(y)-\logb(z), \]
provided \(x,y,z>0\).
import math
a, b = 3.0, 5.0
print(math.isclose(math.log10(a + b),
math.log10(a) + math.log10(b))) # False
print(math.isclose(math.log10(a * b),
math.log10(a) + math.log10(b))) # TrueUse the same base
The laws require every logarithm in an expression to use the same base. You may combine
\[ \log2(x)+\log2(y) \]
as \(\log2(xy)\), but not \(\log2(x)+\log_3(y)\) without first changing one base.
The change-of-base formula is
\[ \log_b(x)=\frac{\ln(x)}{\ln(b)}. \]
It is also easy to confuse \(\log_b(x)\) with \(b^x\). They are inverse operations:
\[ \log_b(x)=y \quad\Longleftrightarrow\quad b^y=x. \]
A reliable checking routine
Exercise
Is \(\log4(x+1)=\log4(x)+\log_4(1)\) a valid use of a logarithm law?
Show answer
No. The product law does not apply to \(x+1\). The right side simplifies to \(\log4(x)\), which is generally different from \(\log4(x+1)\).