Logarithm: formulas & methods

Keep the method clear, then put it into practice.

A logarithm answers an exponent question. Keep arguments positive and use the same valid base within each identity.

log_b x
Exponent y satisfying b^y=x; b>0, b≠1, x>0.
M
Positive arguments; r is a real exponent.
N
Positive arguments; r is a real exponent.

Definition

log_b x=y ⇔ b^y=x

b>0, b≠1 and x>0.

Basic values

log_b 1=0; log_b b=1

The base restrictions still apply.

Product and quotient

log_b(MN)=log_b M+log_b N

log_b(M/N)=log_b M−log_b N; M,N>0.

Power

log_b(M^r)=r log_b M

M>0; do not apply to a nonpositive base without further analysis.

Change of base

log_b x=log_a x/log_a b

a and b are valid bases.

Inverse functions

b^(log_b x)=x; log_b(b^y)=y

x>0 and real y.

Explanations and worked examples

Open a method when you need more detail.

Full notation guide
log_b x
Exponent y satisfying b^y=x; b>0, b≠1, x>0.
M
Positive arguments; r is a real exponent.
N
Positive arguments; r is a real exponent.
ln x
Natural logarithm (base e).
log₁₀x
common logarithm (base 10).
a
Another valid base, a>0 and a≠1.
1. Convert between logarithmic and exponential form

A logarithm is an exponent, not a multiplication. Rewrite in exponential form when the base and argument are familiar powers.

log_b x=y ⇔ b^y=x
Worked example

Evaluate log₂32.

  1. 2⁵=32.
  2. Therefore log₂32=5.

5.

Remember

  • A real logarithm of zero or a negative number is undefined.
2. Combine products and quotients

The product rule follows from adding exponents of the same base. The quotient rule follows from subtracting those exponents.

log_b M+log_b N=log_b(MN)
log_b M−log_b N=log_b(M/N)
Worked example

Evaluate log₃81 − log₃9.

  1. Combine: log₃(81/9)=log₃9.
  2. Since 3²=9, the value is 2.

2.

Remember

  • There is no corresponding rule log(M+N)=log M+log N.
3. Bring an exponent outside a logarithm

For M>0, a power in the argument becomes a multiplier. This is useful for roots and reciprocals too.

log_b(M^r)=r log_b M
log_b(1/M)=−log_b M
Worked example

Evaluate log₅(1/125).

  1. 1/125=5^(−3).
  2. The logarithm is the exponent −3.

−3.

Remember

  • log_b(x²)=2log_b x assumes x>0. For nonzero real x, the broader identity is log_b(x²)=2log_b|x|.
4. Change the base to one you can use

Applying a common logarithm to b^y=x gives y log_a b=log_a x. Divide to recover y.

log_b x=ln x/ln b
log_b a=1/log_a b
Worked example

Given log₁₀2≈0.30103, estimate log₂10.

  1. log₂10=1/log₁₀2.
  2. 1/0.30103≈3.32193.

Approximately 3.32193.

Remember

  • The estimate inherits the rounding of the given logarithm; do not present it as an exact value.
5. Check the domain before solving

Combine logarithms only when each original argument is positive. An algebraic solution outside that domain must be rejected.

log_b M=log_b N ⇒ M=N for a valid fixed base
Worked example

Solve log₂(x−1)+log₂(x−3)=3.

  1. Require x>3.
  2. Combine: (x−1)(x−3)=8.
  3. x²−4x−5=0 gives x=5 or −1.
  4. Only x=5 satisfies x>3.

x=5.

Remember

  • A positive product does not guarantee its two original logarithm arguments were both positive.
6. Account for whether the logarithm increases or decreases

For b>1, log_b x is increasing. For 0<b<1, it is decreasing, so comparing the arguments reverses an inequality. Always enforce positive arguments.

b>1: log_b M>log_b N ⇔ M>N
0<b<1: log_b M>log_b N ⇔ M<N
Worked example

Solve log_(1/2) x > 2 over the reals.

  1. The base lies between 0 and 1, so reverse the comparison.
  2. 0<x<(1/2)².

0<x<1/4.

Remember

  • The positive-argument condition is part of the final solution, not optional.
Practise logarithm questions