Subjects / Math / Exponents and logarithms

Logarithm rules

There are no new rules here. A logarithm is an exponent, so every log rule is an exponent rule you already know, written from the other side.

One fact, two ways to write it

Call M=bmM = b^{m} and N=bnN = b^{n}. Then mm is the log of MM, and nn is the log of NN. Move the sliders and read both lines.

Base
Exponent side
Log side

The pairs

Left: the exponent rule. Right: the same rule as a log. Same colour code as everywhere else.

For every log rule, the base is positive and not 1, and the numbers inside the logs (M and N) are positive.

Product
bm⋅bn=b m+nb^{m}\cdot b^{n} = b^{\,m+n}
log⁡b(M⋅N)=log⁡b(M)+log⁡b(N)\log_{b}(M\cdot N) = \log_{b}(M) + \log_{b}(N)

Multiply the numbers, add the exponents.

Example
log⁡2(8⋅4)=3+2=5\log_{2}(8\cdot 4) = 3 + 2 = 5
Quotient
bmbn=b m−n\dfrac{b^{m}}{b^{n}} = b^{\,m-n}
log⁡b ⁣(MN)=log⁡b(M)−log⁡b(N)\log_{b}\!\left(\dfrac{M}{N}\right) = \log_{b}(M) - \log_{b}(N)

Divide the numbers, subtract the exponents.

Example
log⁡2 ⁣(324)=5−2=3\log_{2}\!\left(\dfrac{32}{4}\right) = 5 - 2 = 3
Power
(bm)p=b m⋅p\left(b^{m}\right)^{p} = b^{\,m\cdot p}
log⁡b ⁣(Mp)=p⋅log⁡b(M)\log_{b}\!\left(M^{p}\right) = p\cdot\log_{b}(M)

Raise the number to a power, multiply the exponent.

Example
log⁡2 ⁣(82)=2⋅3=6\log_{2}\!\left(8^{2}\right) = 2\cdot 3 = 6
Zero
b0=1b^{0} = 1
log⁡b(1)=0\log_{b}(1) = 0

The exponent that gives 1 is always 0.

Example
log⁡5(1)=0\log_{5}(1) = 0
One
b1=bb^{1} = b
log⁡b(b)=1\log_{b}(b) = 1

The exponent that gives the base itself is 1.

Example
log⁡3(3)=1\log_{3}(3) = 1

The two that undo each other

Do one, then the other, and you are back where you started.

What is not a rule

The log of a sum does not split.Check it with numbers: log⁡2(4+4)=log⁡2(8)=3\log_{2}(4 + 4) = \log_{2}(8) = 3, but log⁡2(4)+log⁡2(4)=2+2=4\log_{2}(4) + \log_{2}(4) = 2 + 2 = 4. Adding logs goes with multiplying the numbers.