A logarithm is an exponent. Every rule in this topic follows from that one sentence, so if a law ever looks arbitrary, translate it back into index form and it becomes obvious.
Laws of indices
am×an=am+nanam=am−n(am)n=amn
a0=1a−n=an1an1=naanm=nam
2625×23=2628=22=4
The exponential function
y=ax with a>0 and a=1 is an exponential function. Every one of them:
passes through (0,1), since a0=1;
is positive for all x, so the curve never touches the x-axis;
has the x-axis as a horizontal asymptote.
For a>1 the curve grows; for 0<a<1 it decays.
The natural exponential uses the constant e≈2.71828. It matters because y=ex is the one exponential curve whose gradient at every point equals its own height — a fact that makes calculus far tidier later.
Logarithms
The logarithm is the inverse of the exponential:
y=ax⟺x=logay
"logab" asks: to what power must a be raised to give b?
log232=5because 25=32log381=4because 34=81
Two immediate consequences:
loga1=0logaa=1
log10 is written log; loge is written ln and called the natural logarithm.
Each mirrors an index law: multiplying numbers adds their exponents, so it adds their logs.
log20−log4=log420=log53logx=logx3
Change of base
logab=logcalogcb
for any valid base c — usually 10 or e, since those are the calculator buttons.
log210=ln2ln10=0.69312.3026=3.32 (3 s.f.)
Check: 23.32≈10 ✓
Solving exponential and logarithmic equations
When the unknown is in the exponent, take logs of both sides.
Solve 2x=20.
xlog2=log20x=log2log20=4.32 (3 s.f.)
Solve 32x=50.
2xln3=ln50x=2ln3ln50=1.78 (3 s.f.)
When the unknown is inside a logarithm, combine into a single log and undo it.
Solve log2x+log2(x−2)=3.
log2(x(x−2))=3x(x−2)=23=8x2−2x−8=0(x−4)(x+2)=0
So x=4 or x=−2. But x=−2 would require log2(−2), which does not exist — reject it.
x=4
Check: log24+log22=2+1=3 ✓
Reducing to linear form
Experimental data often follows a power law or an exponential law. Taking logs turns either into a straight line, whose gradient and intercept you can measure.
Power law y=axn:
logy=loga+nlogx
Plot logy against logx: the gradient is n and the intercept is loga.
Exponential law y=abx:
logy=loga+xlogb
Plot logy against x — note, x itself, not logx: the gradient is logb and the intercept is loga.