Algebra

Logarithms Explained for Beginners

By Math Solving Space · · 2 min read

On this page
  1. The definition
  2. The three log laws
  3. Change of base
  4. Solving exponential equations
  5. Where logs appear
  6. Common mistakes
  7. Practice questions
  8. Frequently asked questions

A logarithm answers the question: what power do I raise the base to, to get this number? Since 103=100010^3 = 1000, we write log⁡101000=3\log_{10} 1000 = 3. Logarithms undo exponents, turn multiplication into addition, and let you solve equations where the unknown is in the power.

The definition

log⁡bx=y  ⟺  by=x\log_b x = y \iff b^y = x
Exponential form Log form
103=100010^3 = 1000 log⁡101000=3\log_{10} 1000 = 3
26=642^6 = 64 log⁡264=6\log_2 64 = 6
50=15^0 = 1 log⁡51=0\log_5 1 = 0
e1=ee^1 = e ln⁡e=1\ln e = 1

The natural log ln⁡x\ln x uses base e≈2.71828e \approx 2.71828. On most calculators, "log" means base 10.

The three log laws

log⁡b(xy)=log⁡bx+log⁡by\log_b(xy) = \log_b x + \log_b y
log⁡b(xy)=log⁡bx−log⁡by\log_b\left(\frac{x}{y}\right) = \log_b x - \log_b y
log⁡b(xk)=klog⁡bx\log_b(x^k) = k\log_b x

Example: log⁡28+log⁡24=log⁡232=5\log_2 8 + \log_2 4 = \log_2 32 = 5. Check: 3+2=53 + 2 = 5 ✓.

Change of base

Calculators usually only have log⁡10\log_{10} and ln⁡\ln. For any other base:

log⁡bx=ln⁡xln⁡b\log_b x = \frac{\ln x}{\ln b}

Example: log⁡350=ln⁡50ln⁡3≈3.9121.0986≈3.561\log_3 50 = \frac{\ln 50}{\ln 3} \approx \frac{3.912}{1.0986} \approx 3.561. Check: 33.561≈503^{3.561} \approx 50 ✓.

Solving exponential equations

Solve 2x=10242^x = 1024. Take logs of both sides and use the power law:

x=log⁡21024=10x = \log_2 1024 = 10

since 210=10242^{10} = 1024.

Solve 5x=405^x = 40:

x=ln⁡40ln⁡5≈2.292x = \frac{\ln 40}{\ln 5} \approx 2.292

Where logs appear

  • Growth and decay: how long until a population growing 5% a year doubles? Solve (1.05)t=2(1.05)^t = 2 to get t=ln⁡2ln⁡1.05≈14.2t = \frac{\ln 2}{\ln 1.05} \approx 14.2 years.
  • Scales: decibels, the Richter scale and pH are all logarithmic.
  • Computing: log⁡2n\log_2 n is how many times you can halve nn.

Common mistakes

  • log⁡(x+y)≠log⁡x+log⁡y\log(x + y) \ne \log x + \log y.
  • log⁡x⋅log⁡y\log x \cdot \log y is not log⁡(xy)\log(xy).
  • Using log⁡\log and ln⁡\ln interchangeably. They give different numbers.

Practice questions

  1. Evaluate log⁡5125\log_5 125.
  2. Write log⁡6+log⁡5\log 6 + \log 5 as a single log.
  3. Solve 3x=203^x = 20 to 3 significant figures.

Answers: 1) 33 2) log⁡30\log 30 3) x≈2.73x \approx 2.73

Try the logarithm calculator in any base, or go the other way with the exponents calculator. Logs also give doubling times and half-lives in exponential growth and decay.

Frequently asked questions

What is log 1?

log 1 = 0 in any base, because any base to the power 0 is 1.

What is the difference between log and ln?

log usually means base 10, and ln means base e. They are related by ln x = log x × ln 10.

Why can't you take the log of a negative number?

A positive base raised to any real power is always positive, so no real answer exists.

Open the calculator →

#logarithms#exponents#algebra