Sub topic 8
Where Logarithms Are Defined
Assume you can solve linear and quadratic equations, use exponent rules, and evaluate logarithms with a calculator. This chapter focuses on the domain restrictions that must be applied before and after solving logarithmic equations.
The domain rule
The domain of a function is the set of input values for which the function is defined. For a logarithm,
\[ \log_b(x) \]
is defined only when:
- The base satisfies \(b>0\).
- The base satisfies \(b\ne1\).
- The argument satisfies \(x>0\).
The argument is the expression inside the logarithm. Therefore, every logarithm in an equation must have a positive argument.
For example, \(\log_3(2x-5)\) requires
\[ 2x-5>0. \]
Solving this inequality gives
\[ x>\frac52. \]
Thus, the domain is \(x>\frac52\).
The base conditions usually come from the definition of the function. In a typical equation, the base is a fixed number such as \(2\), \(10\), or \(e\), so you mainly need to check the argument.
Finding domains with expressions
When the argument contains a variable, write an inequality and solve it.
| Logarithmic expression | Domain condition | Domain |
|---|---|---|
| \(\log_4(x+7)\) | \(x+7>0\) | \(x>-7\) |
| \(\ln(3x-6)\) | \(3x-6>0\) | \(x>2\) |
| \(\log_2(x^2-9)\) | \(x^2-9>0\) | \(x<-3\) or \(x>3\) |
For the last row, factor the argument:
\[ x^2-9=(x-3)(x+3). \]
The product is positive outside the two zeros, so \(x<-3\) or \(x>3\). The interval \(-3<x<3\) is excluded because the argument is negative there. The endpoints are also excluded because a logarithm of zero is undefined.
For a rational argument, solve an inequality rather than checking only the numerator. Consider
\[ \log_2\left(\frac{x+1}{x-4}\right). \]
The domain condition is
\[ \frac{x+1}{x-4}>0. \]
The critical values are \(-1\) and \(4\). A sign check gives
\[ x<-1 \quad\text{or}\quad x>4. \]
The values \(-1\) and \(4\) are excluded. At \(-1\), the argument is zero. At \(4\), the fraction is undefined.
Domain restrictions while solving equations
Record restrictions before applying logarithm rules. For example,
\[ \log5(x-1)+\log5(x+2)=1 \]
requires
\[ x-1>0 \quad\text{and}\quad x+2>0. \]
Together, these give \(x>1\). Combining the logarithms produces
\[ \log_5((x-1)(x+2))=1, \]
so
\[ (x-1)(x+2)=5. \]
Expanding and solving gives
\[ x^2+x-7=0, \qquad x=\frac{-1\pm\sqrt{29}}2. \]
The negative root is less than \(1\), so it violates the original domain restriction. Only
\[ x=\frac{-1+\sqrt{29}}2 \]
remains.
Domain restrictions prevent invalid logarithms and help identify extraneous solutions created by algebraic transformations.
Exercise
Find the domain of \(f(x)=\ln(16-x^2)\).
Show answer
Require \(16-x^2>0\). Thus \(x^2<16\), so the domain is \(-4<x<4\).