Logarithms
The definition of a logarithm, converting between index and logarithmic form, evaluating logarithms and solving simple log equations.
We can answer "what is $2^5$?" easily. The reverse question, "$2$ to what power gives $32$?", needs its own name. The answer is called a logarithm. Logarithms are how you solve exponential equations like $2^x = 10$, and they are behind the Richter scale, decibels and pH.
Definition
The small number $a$ is the base. So $2^5 = 32$ and $\log_2 32 = 5$ say exactly the same thing. Base $10$ is so common that $\log_{10}$ is often written just $\log$, and it is the "log" button on your calculator.
(a) Write $3^4 = 81$ in logarithmic form. (b) Write $\log_5 125 = 3$ in index form.
Evaluating logarithms
To evaluate a log, write the number as a power of the base.
Evaluate (a) $\log_2 64$ (b) $\log_3 \dfrac19$ (c) $\log_{25} 5$.
Two values come straight from the index laws: $\log_a 1 = 0$, because $a^0 = 1$, and $\log_a a = 1$, because $a^1 = a$.
The graph
Since a log undoes an exponential, $y = \log_a x$ is the graph of $y = a^x$ with $x$ and $y$ swapped: a reflection in the line $y = x$.
Solid: y = log_b x. Dashed: y = b^x. Faint: the line y = x.
With $b = 2$, drag $P$ to $x = 8$ and read off $\log_2 8$. Then drag it to $x = 1$: what is the log there, and does that change when you change the base? Explain why using $b^0 = 1$.
Solving simple log equations
Rewrite the log equation in index form, then solve.
Solve (a) $\log_4 x = 3$ (b) $\log_x 49 = 2$.
Your turn
Evaluate $\log_{4} 8$.
Show the working
Write both as powers of $2$: $4^x = 8$ becomes $2^{2x} = 2^3$, so $2x = 3$ and $x = \tfrac32$. So $\log_4 8 = \tfrac32$.
$\log_2 8 = 3$ means:
The base $2$ raised to the answer $3$ gives $8$.
Evaluate $\log_2 32$.
$2^5 = 32$, so $\log_2 32 = 5$.
Evaluate $\log_{10} 1000$.
$10^3 = 1000$.
Evaluate $\log_5 1$.
$5^0 = 1$, so $\log_5 1 = 0$.
Evaluate $\log_2 \dfrac18$.
$\dfrac18 = \dfrac{1}{2^3} = 2^{-3}$, so the log is $-3$.
Solve $\log_3 x = 4$.
Index form: $x = 3^4 = 81$.
Solve $\log_x 16 = 4$.
$x^4 = 16$. The base must be positive, so $x = 2$.
Evaluate $\log_9 3$ as a decimal.
$3 = \sqrt9 = 9^{\frac12}$, so $\log_9 3 = 0.5$.
Challenge: solve $\log_2 x = -3$. Give a decimal.
$x = 2^{-3} = \dfrac18 = 0.125$.
Challenge: evaluate $\log_9 27$ as a decimal.
Write both as powers of $3$: $9^x = 27$ becomes $3^{2x} = 3^3$. So $2x = 3$ and $x = 1.5$.
Coaching Centre