Course contentsShow
← Mathematics
Lesson 628 of 3,12115. Exponential and Logarithmic FunctionsFree lesson

Domain Restrictions of Logarithmic Functions

Identify that logarithms are only defined for positive arguments and positive bases not equal to 1.

Domain Restrictions of Logarithmic Functions

What you'll learn: You'll understand exactly when a logarithmic expression is mathematically valid and when it's undefined.

The Core Rule

Logarithms come with strict requirements for what values they can accept. Remember that a logarithm like log_b(x) asks the question: "What power do I raise b to in order to get x?"

For this question to make sense mathematically, two conditions must be met:

  1. The argument (x) must be positive: You can only take the logarithm of positive numbers. log_b(x) requires x > 0.
  2. The base (b) must be positive and not equal to 1: The base must satisfy b > 0 and b ≠ 1.

Why These Restrictions?

Think about it this way: If you tried to compute log₂(-8), you're asking "What power of 2 gives me -8?" But any power of a positive number always gives a positive result—you can never get a negative number! So log₂(-8) is undefined.

Similarly, log₂(0) is undefined because no power of 2 ever equals zero (2^x gets smaller and smaller as x decreases, but never reaches 0).

The base can't be 1 because 1 raised to any power always equals 1, making the logarithm meaningless for most arguments. And negative bases create inconsistencies with fractional exponents.

Examples

  • log(5) ✓ Valid (5 > 0)
  • log(-3) ✗ Undefined (negative argument)
  • log₅(0) ✗ Undefined (zero argument)
  • ln(e²) ✓ Valid (e² > 0)
  • log₁(10) ✗ Undefined (base equals 1)

Key Takeaway: Logarithms are only defined when the argument is strictly positive (x > 0) and the base is positive and not equal to 1 (b > 0, b ≠ 1).