Primer on Logarithms
Logarithms are the "inverse of exponentiation." If you’ve ever wondered “what power of a number produces another number?”, you’re working with logarithms. This primer introduces logarithms, explains their properties, and proves those properties step by step.
What is a Logarithm?
The logarithm answers the question:
"To what power must the base be raised to produce a given number?"
Mathematically:
logb(x)=ymeansby=x
- b: the base of the logarithm (e.g., 2, 10, or e).
- x: the number you’re taking the logarithm of.
- y: the exponent.
Example:
log2(8)=3 because 23=8.
Key Properties of Logarithms
Logarithms simplify complex operations. Below are the fundamental properties, along with proofs.
1. Product Rule
logb(xy)=logb(x)+logb(y)
Proof:
- Let logb(x)=p and logb(y)=q. By the definition of logarithms:
bp=xandbq=y
- The product xy is:
xy=bp⋅bq
- By the laws of exponents, bp⋅bq=bp+q, so:
xy=bp+q
- Take logb of both sides:
logb(xy)=logb(bp+q)
- By the property logb(bk)=k, we get:
logb(xy)=p+q
- Substitute back p=logb(x) and q=logb(y):
logb(xy)=logb(x)+logb(y)
2. Quotient Rule
logb(yx)=logb(x)−logb(y)
Proof:
- Let logb(x)=p and logb(y)=q. By the definition of logarithms:
bp=xandbq=y
- The quotient yx is:
yx=bqbp
- By the laws of exponents, bqbp=bp−q, so:
yx=bp−q
- Take logb of both sides:
logb(yx)=logb(bp−q)
- By the property logb(bk)=k, we get:
logb(yx)=p−q
- Substitute back p=logb(x) and q=logb(y):
logb(yx)=logb(x)−logb(y)
3. Power Rule
logb(xk)=k⋅logb(x)
Proof:
- Let logb(x)=p. By the definition of logarithms:
bp=x
- Raise both sides to the power k:
(bp)k=xk
- By the laws of exponents, (bp)k=bpk, so:
xk=bpk
- Take logb of both sides:
logb(xk)=logb(bpk)
- By the property logb(bk)=k, we get:
logb(xk)=pk
- Substitute back p=logb(x):
logb(xk)=k⋅logb(x)
logb(x)=logk(b)logk(x)
Proof:
- Let logb(x)=p. By the definition of logarithms:
bp=x
- Take logk of both sides (using a new base k):
logk(bp)=logk(x)
- By the power rule, logk(bp)=p⋅logk(b):
p⋅logk(b)=logk(x)
- Solve for p:
p=logk(b)logk(x)
- Recall that p=logb(x), so:
logb(x)=logk(b)logk(x)
Applications of Logarithms
Logarithms have widespread applications:
- Growth and Decay: Population dynamics, radioactive decay, and compound interest.
- Scales: Decibels (sound), pH (acidity), and earthquake magnitudes.
- Computing: Algorithm efficiency (e.g., O(logn)), binary trees, and compression.
Quick Practice Problems
- Prove logb(1)=0.
- Simplify log2(16).
- Solve for x: 10log(x)=1000.