A logarithm tells you which exponent turns one number into another. For example, log2(8)=3\log_2(8) = 3 because 23=82^3 = 8.

In general, if

logb(x)=y\log_b(x) = y

then

by=xb^y = x

That is the whole idea. A logarithm is the inverse of exponentiation.

For real-valued logarithms, the conditions matter: the base must satisfy b>0b > 0 and b1b \ne 1, and the input must satisfy x>0x > 0.

What a logarithm means

Read logb(x)\log_b(x) as "the power on bb that gives xx." That plain-language version is often easier to remember than the notation.

For example,

log10(100)=2\log_{10}(100) = 2

because

102=10010^2 = 100

The pattern is always the same. If the notation feels abstract, rewrite it as an exponential equation first.

Why Logarithms Are Useful

Exponents describe repeated multiplication and fast growth. Logarithms run that idea backward.

That makes them useful when the output is known but the exponent is not. They also turn multiplicative changes into additive ones, which is why they show up in growth models, sound levels, acidity scales, and algorithms.

Worked example: why a logarithm can be negative

Find

log2(18)\log_2\left(\frac{1}{8}\right)

Rewrite it in exponential form:

2y=182^y = \frac{1}{8}

Now ask what power of 22 gives 18\frac{1}{8}. Since

23=182^{-3} = \frac{1}{8}

the answer is

log2(18)=3\log_2\left(\frac{1}{8}\right) = -3

This clears up a common confusion. A logarithm can have a negative output even though its input must stay positive.

Common logarithm mistakes

  1. Mixing up the input and the output. In logb(x)=y\log_b(x) = y, the input is xx and the result is the exponent yy.
  2. Forgetting the domain. For real logarithms, logb(x)\log_b(x) is defined only when x>0x > 0.
  3. Thinking a negative logarithm means the input is negative. It does not. It means the needed exponent is negative.
  4. Ignoring the base. log2(8)=3\log_2(8) = 3, but log10(8)\log_{10}(8) is not 33.
  5. Reading the notation as ordinary division. logb(x)\log_b(x) is defined by the exponent relationship by=xb^y = x. The identity logb(x)=log(x)log(b)\log_b(x) = \frac{\log(x)}{\log(b)} is a separate change-of-base rule.

When logarithms are used

You will see logarithms when:

  1. Solving exponential equations
  2. Measuring quantities that span many scales, such as decibels or pH
  3. Analyzing growth, decay, or doubling time
  4. Simplifying formulas in algebra, calculus, statistics, and computer science

Translate every log into an exponent

If the notation feels abstract, translate it immediately:

logb(x)=y    by=x\log_b(x) = y \iff b^y = x

That one rewrite handles most beginner confusion.

Try your own version

Take one exponential statement like 34=813^4 = 81 and rewrite it as a logarithm. Then reverse the process with something like log10(0.01)\log_{10}(0.01) and check which exponent makes the statement true.

Frequently Asked Questions

What does a logarithm actually mean?
A logarithm tells you which exponent turns one number into another. Read log base b of x as the power on b that gives x. For example, log base 2 of 8 equals 3 because 2 to the third power is 8. A logarithm is the inverse of exponentiation, so you can always rewrite it as an exponential equation.
Can a logarithm be negative?
Yes, the output can be negative even though the input must stay positive. For example, log base 2 of one eighth equals negative 3, because 2 to the power negative 3 is one eighth. A negative logarithm does not mean the input is negative; it means the needed exponent is negative.
What are the conditions for a logarithm to be defined?
For real-valued logarithms, the base must be positive and not equal to 1, and the input must be strictly positive. Forgetting the domain is a common mistake: log base b of x is defined only when x is greater than zero, regardless of whether the resulting exponent is positive or negative.
Why are logarithms useful?
Exponents describe repeated multiplication and fast growth; logarithms run that idea backward. They are useful when the output is known but the exponent is not, such as solving exponential equations. They also turn multiplicative changes into additive ones, which is why they appear in growth models, sound levels, acidity scales, and algorithms.
What are the most common logarithm mistakes?
Mixing up the input and the output, forgetting that the input must be positive, assuming a negative result means a negative input, and ignoring the base. The base matters: log base 2 of 8 is 3, but log base 10 of 8 is not. Also, log notation is not division; the change-of-base identity is a separate rule.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →