Introduction to Logarithms

What is a Logarithm?

A logarithm answers the question: “What exponent do I need?”


You know that 23=82^3 = 8.

But what if I ask: “2 to what power gives 8?”

The answer is 3. A logarithm is how we write that question:

log2(8)=3\log_2(8) = 3

The logarithm finds the exponent.


Converting Between Forms

These say the same thing:

Exponential formLogarithm form
23=82^3 = 8log2(8)=3\log_2(8) = 3
102=10010^2 = 100log10(100)=2\log_{10}(100) = 2
51=55^1 = 5log5(5)=1\log_5(5) = 1
30=13^0 = 1log3(1)=0\log_3(1) = 0

How to Read It

log2(8)= ?\log_2(8) = \text{ ?}

Ask yourself: “2 to what power gives 8?”

2?=82^? = 823=82^3 = 8 → Answer: 3


More examples:

  • log3(9)=2\log_3(9) = 2 because 32=93^2 = 9
  • log10(1000)=3\log_{10}(1000) = 3 because 103=100010^3 = 1000
  • log5(1)=0\log_5(1) = 0 because 50=15^0 = 1

Two Special Bases

Two bases are so common they get their own notation:

Common logarithm (base 10):

log(x)=log10(x)\log(x) = \log_{10}(x)

Natural logarithm (base e):

ln(x)=loge(x)\ln(x) = \log_e(x)


What is e?

e2.71828...e \approx 2.71828... is called Euler’s number.

It appears whenever you have continuous growth.


Where e Comes From

Imagine you put $1 in a bank with 100% interest per year.


The more frequently you compound, the more you earn.

But there’s a limit. No matter how often you compound, you never exceed ee.

e=limn(1+1n)ne = \lim_{n \to \infty} \left(1 + \frac{1}{n}\right)^n


Why e Matters

ee isn’t arbitrary. It emerges naturally whenever growth is proportional to size:

  • Population growth
  • Radioactive decay
  • Compound interest
  • Cooling and heating

That’s why ln\ln is called the “natural” logarithm.


The Inverse Relationship

Logarithms and exponentials undo each other.

logb(bx)=x\log_b(b^x) = x

blogb(x)=xb^{\log_b(x)} = x

Just like x2=x\sqrt{x^2} = x, or how +5+5 and 5-5 cancel.


Examples:

  • log2(25)=5\log_2(2^5) = 5
  • 10log10(100)=10010^{\log_{10}(100)} = 100
  • ln(e3)=3\ln(e^3) = 3
  • eln(7)=7e^{\ln(7)} = 7