Tutorials › Calculus I › Domain Checks in Logarithmic Equations

Exponential and Logarithmic Models · Tutorial 102 of 1495

Domain Checks in Logarithmic Equations

Use logarithm domains before solving, then verify each algebraic candidate in the equation you were given.

Beginner 10 min read

What You'll Learn

  • Find the domain of an equation by requiring each logarithm argument to be positive.
  • Use logarithm identities only where their arguments are defined.
  • Explain why solving a transformed equation can produce extraneous candidates.
  • Solve logarithmic equations while retaining only candidates in the original domain.
  • Verify a proposed solution by substitution into the original equation.

Why Domain Checks Matter

A logarithmic equation is defined only when every logarithm in it has a positive argument. An algebraic transformation can sometimes produce values that solve a transformed equation but make a logarithm in the original equation undefined. Such values are called extraneous candidates.

The reliable method is to identify the domain first, solve the equation, and then check each candidate in the original equation. The domain is not an optional final detail: it is part of the problem from the beginning.

Key rule: For a real logarithm \(\log_b(u)\), the base must satisfy \(b>0\) and \(b\ne 1\), and its argument must satisfy \(u>0\). In an equation, impose this positivity condition on every logarithm argument.

Finding the Domain of a Logarithmic Equation

To find the domain, list the argument of each logarithm and require it to be positive. The allowable values of the variable must satisfy all those conditions at once. The domain is their intersection.

For example, in \(\log(x-1)+\log(x+2)\), the two arguments are \(x-1\) and \(x+2\). They must both be positive, so \(x>1\) and \(x>-2\). A value must satisfy both conditions, which leaves \(x>1\).

This check should be made before using a logarithm identity. The product rule, for instance, says \(\log_b(u)+\log_b(v)=\log_b(uv)\) when \(u>0\) and \(v>0\). If either original argument is not positive, the original sum of logarithms is not defined, even if the product \(uv\) happens to be positive.

Equations with Matching Logarithms

When the bases are the same, logarithms are one-to-one on their domains. Thus, for \(b>0\), \(b\ne1\), and positive \(u\) and \(v\), the equation \(\log_b(u)=\log_b(v)\) is equivalent to \(u=v\). The positivity conditions remain essential: equating arguments does not make an undefined logarithm valid.

Worked Example: Matching Logarithms with a Domain Restriction

Solve \(\log_3(x+1)=\log_3(5-x)\).

First require both arguments to be positive:

$$ x+1>0 \quad\Longrightarrow\quad x>-1, \qquad 5-x>0 \quad\Longrightarrow\quad x<5. $$

The domain is therefore \(-1<x<5\). Since the bases match and both arguments are positive on this domain, equate the arguments:

$$ x+1=5-x. $$

Add \(x\) to both sides and subtract \(1\) from both sides:

$$ 2x=4 \quad\Longrightarrow\quad x=2. $$

The candidate \(2\) is in the domain. Check it in the original equation: \(x+1=3\) and \(5-x=3\), so both sides are \(\log_3(3)=1\). The solution is \(x=2\).

Why Transformations Can Create Extraneous Candidates

A transformation is safe only when it preserves the meaning of the equation for the values under consideration. Logarithm identities have domain conditions, and algebraic equations formed after applying those identities may have solutions outside the original domain.

For example, combining two logarithms into one replaces their separate arguments with a product. A positive product does not guarantee that each factor is positive. The combined expression may therefore be defined at values where the original logarithms are not. Those values must not be accepted as solutions.

Theorem: Suppose a real logarithmic equation has domain \(D\), the set of values for which every logarithm in the original equation is defined. If a valid sequence of transformations implies an algebraic equation \(P(x)=0\), then every solution of the original equation belongs to \(D\) and satisfies \(P(x)=0\). Consequently, the solutions of the original equation are among the roots of \(P(x)=0\) that also belong to \(D\). Each such candidate must still satisfy the original equation.

Here is the reasoning. A solution of the original equation must first make every original logarithm defined, so it belongs to \(D\). If the steps used to obtain \(P(x)=0\) are valid on \(D\), that solution must also satisfy the resulting equation. This establishes why solving the algebraic equation gives candidates rather than an automatic answer: its roots may include values outside \(D\), and a transformation that is not reversible can require additional checking.

Combining Logarithms and Filtering Candidates

When adding logarithms with the same base, first record the positivity conditions on their separate arguments. Then combine them, solve the resulting equation, and retain only candidates satisfying the original conditions. Finally substitute the retained candidates into the original equation.

Worked Example: A Candidate Rejected by the Domain

Solve \(\log_2(x-1)+\log_2(x+1)=1\).

The separate arguments must both be positive:

$$ x-1>0 \quad\Longrightarrow\quad x>1, \qquad x+1>0 \quad\Longrightarrow\quad x>-1. $$

Both conditions together give the domain \(x>1\). On this domain, the product rule applies:

$$ \log_2\big((x-1)(x+1)\big)=1. $$

Write the right side as a logarithm, \(1=\log_2(2)\). Both arguments are positive on the original domain, so matching the logarithms gives

$$ (x-1)(x+1)=2. $$

Expand and solve:

$$ x^2-1=2, \qquad x^2=3, \qquad x=\sqrt{3}\ \text{or}\ x=-\sqrt{3}. $$

The domain requires \(x>1\), so \(-\sqrt{3}\) is rejected and \(\sqrt{3}\) remains. Verify it in the original equation. Its arguments are positive because \(\sqrt{3}>1\), and

$$ (\sqrt{3}-1)(\sqrt{3}+1)=3-1=2. $$

Therefore, by the product rule, the left side of the original equation is \(\log_2(2)=1\), equal to its right side. The solution is \(x=\sqrt{3}\).

When the Equation Has No Valid Solution

Sometimes every root of the equation produced by algebra falls outside the original domain. In that case the original equation has no real solutions. A particularly important warning is that a logarithm argument equal to zero is not allowed: logarithms require strictly positive arguments.

Worked Example: No Root Survives the Domain Check

Solve \(\ln(x^2+x-2)=\ln(x-1)\).

Require both arguments to be positive. The right argument gives \(x-1>0\), so \(x>1\). The left argument factors as \((x+2)(x-1)\); when \(x>1\), both factors are positive, so the left argument is positive as well. Thus the domain is exactly \(x>1\).

Both logarithms have the same base \(e\), and their arguments are positive on the domain. Equate the arguments:

$$ x^2+x-2=x-1. $$

Subtract \(x-1\) from both sides:

$$ 0=(x^2+x-2)-(x-1)=x^2-1. $$

Thus the algebraic candidates satisfy

$$ x^2-1=0, \qquad (x-1)(x+1)=0, \qquad x=1\ \text{or}\ x=-1. $$

Neither candidate belongs to the domain \(x>1\). At \(x=1\), both arguments are \(0\), and \(\ln(0)\) is undefined. At \(x=-1\), both arguments are \(-2\), and the real logarithm of a negative number is undefined. Therefore, the original equation has no real solutions.

A Complete Check: From Domain to Verification

The reasoning can be organized as a short sequence. This order helps prevent two common errors: losing an original restriction while simplifying, and reporting an algebraic root before checking it.

1
List the logarithm arguments.
Write down every expression inside a logarithm in the original equation.
2
Find the original domain.
Require each listed argument to be strictly positive, and keep values satisfying all conditions.
3
Solve using valid transformations.
Apply logarithm identities only when their argument conditions hold, and solve the resulting equation for candidates.
4
Filter and verify.
Reject candidates outside the original domain, then substitute each remaining candidate into the original equation.

Checking a candidate in a transformed equation alone is not enough. The transformed equation may have a wider domain than the original, or a step may not be reversible for every algebraic candidate. The original equation is the final test.

Common Pitfall: Treating a Candidate as a Solution

A frequent mistake is to solve an equation obtained after applying logarithm laws and report every root. For instance, in the second worked example, \(x=-\sqrt{3}\) satisfies the equation \(x^2=3\), but it does not satisfy the original logarithmic equation: \(x-1<0\) and \(x+1<0\), so neither logarithm is defined over the real numbers.

The correction is to keep the original domain alongside the algebra throughout the solution. Then test every root against those restrictions and substitute any survivors into the original equation. The domain conditions are not consequences of the final algebra; they come from the original logarithms and must be preserved.

Check Your Understanding

For each problem, begin by identifying the domain before solving.

  1. Find the domain of \(\ln(x-3)+\ln(x+1)\).
  2. For \(\log_4(x+2)=\log_4(6-x)\), what conditions must a solution satisfy before the arguments are equated?
  3. Why can a root of an equation obtained by combining logarithms fail to solve the original equation?
  4. In \(\ln(x^2-4)=\ln(x-2)\), what positivity conditions must be checked before matching the arguments?
  5. After solving a logarithmic equation algebraically, what two checks should be made before reporting a solution?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon