Euler Hall — free maths guides

Find the domain of a logarithmic function by requiring its argument to be positive

Identify a logarithm's argument as everything inside the logarithm. The idea in plain words, a worked example, and a check with the answers shown — part of the free Precalculus guides.

The argument, not the input

A logarithm answers "what power of the base gives this number?". Since a positive base raised to any power is always positive, the only numbers it can ever give are positive ones. So

log⁡b(something) is defined only when the something is >0.\log_b(\text{something}) \text{ is defined only when the something is } > 0.

The "something" is the argument — everything inside the logarithm. It is not the same asxx. Forf(x)=log⁡(2x−6)f(x) = \log(2x - 6) the argument is2x−62x - 6, and the condition is

2x−6>0⟹x>3.2x - 6 > 0 \quad \Longrightarrow \quad x > 3.

Note the strict inequality. Atx=3x = 3 the argument is exactly zero, and no power of a positive base gives zero, so33 is not in the domain. The domain is an open interval, not a closed one.

Why zero is excluded too

It is tempting to think only negatives are refused, since "you cannot take the log of a negative". But zero is refused for the same reason, and the reason is worth seeing.

log⁡b(0)\log_b(0) asks: what power ofbb gives 0? No power does.b10b^{10} is large,b−10b^{-10} is a small positive number, andbanythingb^{\text{anything}} never reaches zero — it approaches it, but never arrives. So 0 is not in the range of the exponential, and therefore not in the domain of the logarithm.

That is why the domain edge is always open. A closed endpoint would include an input where the logarithm has no value at all.

A worked example in the exam's shape

Find the domain off(x)=ln⁡(5−2x)f(x) = \ln(5 - 2x).

The argument is5−2x5 - 2x, and it must be positive:

5−2x>0⟹5>2x⟹x<52.5 - 2x > 0 \quad \Longrightarrow \quad 5 > 2x \quad \Longrightarrow \quad x < \frac{5}{2}.

So the domain isx<52x < \tfrac{5}{2}.

Notice the direction flipped because the coefficient ofxx is negative. That is correct and it is the step most often lost: dividing by−2-2 would reverse the inequality again, but here no division by a negative happened — the2x2x was moved across. Checking one value either side is the safest confirmation:x=2x = 2 gives argument 1 (fine) andx=3x = 3 gives−1-1 (refused).

By the end you can
  • Identify a logarithm's argument as everything inside the logarithm
  • Solve the strict inequality that a positive argument requires
  • Explain why the boundary input itself is excluded
  • Locate a shifted logarithm's vertical asymptote from its domain
Check yourself

Find the domain of each:

  1. 1.f(x)=log⁡(x+7)f(x) = \log(x + 7)
  2. 2.g(x)=ln⁡(4−x)g(x) = \ln(4 - x)
  3. 3.h(x)=log⁡2(3x)h(x) = \log_2(3x)
Answers
  1. 1.x+7>0x + 7 > 0, sox>−7x > -7.
  2. 2.4−x>04 - x > 0, sox<4x < 4 — the direction flips because of the minus.
  3. 3.3x>03x > 0, sox>0x > 0; the boundary is 0 and 0 itself is excluded.
Work out where to start — free, no accountAnswer six real questions — free, no account