A levels Mathematics · Pure: trigonometry, exponentials and logarithms
Laws of logarithms
1What a logarithm is
A logarithm answers the question "what power?":
$$\log_a b = c \Leftrightarrow a^c = b$$
For example, $\log_2 8 = 3$ because $2^3 = 8$, and $\log_{10} 0.01 = -2$ because $10^{-2} = 0.01$.
Facts:
- $\log_a 1 = 0$ and $\log_a a = 1$.
- $\log_a(a^x) = x$ and $a^{\log_a x} = x$.
- You can only take the log of a positive number.
$\log_{10}$ is often written $\lg$ or just $\log$; $\log_e$ is written $\ln$.
Check yourself
What is log₃ 81?
Show the answer
4
3⁴ = 81.
2The laws of logarithms
For $a > 0$, $a \neq 1$, and positive $x$ and $y$:
- Product: $\log_a(xy) = \log_a x + \log_a y$
- Quotient: $\log_a\left(\dfrac{x}{y}\right) = \log_a x - \log_a y$
- Power: $\log_a(x^k) = k\log_a x$
These follow from the laws of indices.
Combining logs
- Write $2\log 5 + \log 4 - \log 2$ as a single logarithm.
- $= \log 25 + \log 4 - \log 2 = \log\left(\dfrac{25 \times 4}{2}\right) = \log 50$.
Expanding
- Write $\ln\dfrac{x^3}{\sqrt{y}}$ in terms of $\ln x$ and $\ln y$.
- $= 3\ln x - \frac{1}{2}\ln y$.
There is no law for $\log(x + y)$: it does not equal $\log x + \log y$.
Check yourself
What is log 3 + log 4 as a single logarithm?
Show the answer
log 12
Adding logs multiplies the numbers.
3Solving exponential equations
To solve $a^x = b$, take logs of both sides:
$$x\log a = \log b \quad \Rightarrow \quad x = \frac{\log b}{\log a}$$
Simple equation
- Solve $5^x = 30$.
- $x = \dfrac{\ln 30}{\ln 5} \approx 2.11$.
Unknowns on both sides
- Solve $3^{2x + 1} = 4^x$.
- $(2x + 1)\ln 3 = x\ln 4$.
- $2x\ln 3 - x\ln 4 = -\ln 3$, so $x(2\ln 3 - \ln 4) = -\ln 3$.
- $x = \dfrac{-\ln 3}{\ln 9 - \ln 4} = \dfrac{-\ln 3}{\ln 2.25} \approx -1.35$.
A disguised quadratic
- Solve $4^x - 6 \times 2^x + 8 = 0$.
- Let $u = 2^x$, so $4^x = u^2$: $u^2 - 6u + 8 = 0$.
- $u = 2$ or $u = 4$, giving $x = 1$ or $x = 2$.
Check yourself
How would you solve 7ˣ = 20?
Show the answer
Take logs: x = log 20 / log 7
The power comes down using the power law.
4Solving logarithmic equations
To solve equations involving logs, combine the logs into a single log, then convert to index form.
Two logs
- Solve $\log_2 x + \log_2(x - 2) = 3$.
- $\log_2[x(x - 2)] = 3$, so $x(x - 2) = 8$.
- $x^2 - 2x - 8 = 0$, so $(x - 4)(x + 2) = 0$.
- $x = 4$ or $x = -2$. Reject $x = -2$ because $\log_2(-2)$ is undefined.
- Solution: $x = 4$.
Always check answers in the original equation: the argument of every log must be positive.
Check yourself
Why is x = −2 rejected in the example?
Show the answer
The log of a negative number is undefined
Each log's argument must be positive.
5Change of base
To evaluate a log in an unusual base, use the change of base formula:
$$\log_a b = \frac{\log_c b}{\log_c a}$$
Usually $c = 10$ or $c = e$.
Change of base
- $\log_4 50 = \dfrac{\ln 50}{\ln 4} \approx 2.82$.
Equation in different bases
- Solve $\log_3 x = \log_9(x + 6)$.
- $\log_9(x + 6) = \dfrac{\log_3(x + 6)}{\log_3 9} = \frac{1}{2}\log_3(x + 6)$.
- So $2\log_3 x = \log_3(x + 6)$, giving $x^2 = x + 6$.
- $x = 3$ or $x = -2$; reject $-2$. Solution: $x = 3$.
Check yourself
What is log₂ 10 using natural logarithms?
Show the answer
ln 10 / ln 2
Change of base divides the logs.
6Logarithms and modelling
Logarithms turn exponential and power relationships into straight lines, which makes it easy to find unknown constants from data.
- If $y = ab^x$, then $\log y = \log a + x\log b$. Plot $\log y$ against $x$: a straight line with gradient $\log b$ and intercept $\log a$.
- If $y = ax^n$, then $\log y = \log a + n\log x$. Plot $\log y$ against $\log x$: gradient $n$, intercept $\log a$.
If y = axⁿ, plotting log y against log x gives a straight line: gradient n, y-intercept log a.
Finding constants
- Data fit $y = ax^n$. A graph of $\log y$ against $\log x$ is a straight line through $(0, 0.477)$ with gradient 2.
- $n = 2$ and $\log a = 0.477$, so $a = 10^{0.477} \approx 3$.
- Model: $y = 3x^2$.
Check yourself
If y = abˣ, which graph is a straight line?
Show the answer
log y against x
log y = log a + x log b.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera