This topic covers exponential and logarithmic functions: their graphs, the laws of logarithms and the change of base, and equations of the form a to the power x equals b.
6.1 Properties and graphs of logarithmic and exponential functions
A logarithm 对数 answers the question "what power?". Exponential 指数 and logarithmic graphs never touch certain lines, and the exam asks for those lines, the intercepts and the range 范围.
What a logarithm is
- $\log_2 8 = 3$ because $2^3 = 8$. $\log_5 1 = 0$ because $5^0 = 1$.
- $\lg x$ means $\log_{10} x$. $\ln x$ means $\log_{\mathrm{e}} x$, where $\mathrm{e} \approx 2.718$.
- You can only take the logarithm of a positive number: $\ln 0$ and $\ln(-2)$ do not exist.
$\mathrm{e}^x$ and $\ln x$ are inverses
$\ln(\mathrm{e}^x) = x$ and $\mathrm{e}^{\ln x} = x$. So the graph of $y = \ln x$ is the reflection of $y = \mathrm{e}^x$ in the line $y = x$.

$y = \mathrm{e}^x$ gets close to the $x$-axis on the left but never reaches it. $y = \ln x$ gets close to the $y$-axis but never reaches it.
Asymptotes
An asymptote 渐近线 is a line that a curve gets closer and closer to but never meets.
| curve | asymptote | range |
|---|---|---|
| $y = k\mathrm{e}^{nx} + a$, $k > 0$ | $y = a$ | $y > a$ |
| $y = k\mathrm{e}^{nx} + a$, $k < 0$ | $y = a$ | $y < a$ |
| $y = k\ln(ax + b)$ | $x = -\dfrac{b}{a}$ | all real numbers |
$y = k\ln(ax + b)$ exists only when $ax + b > 0$. It meets the $x$-axis where $ax + b = 1$, because $\ln 1 = 0$.
Worked example 1. Sketch $y = 2\mathrm{e}^x - 3$ (left graph below).
- $y$-intercept: $2\mathrm{e}^0 - 3 = -1$.
- $x$-intercept: $2\mathrm{e}^x = 3$, so $\mathrm{e}^x = 1.5$ and $x = \ln 1.5$.
- Asymptote $y = -3$; range $y > -3$.
Worked example 2. Sketch $y = \ln(2x - 1)$ (right graph below).
- It exists when $2x - 1 > 0$, so $x > \frac{1}{2}$. The asymptote is $x = \frac{1}{2}$.
- $x$-intercept: $2x - 1 = 1$, so $x = 1$.

Each dashed line is an asymptote; every intercept is labelled.
The inverse of a log or exponential function
Use the method of sheet 1.6: write $y = f(x)$, make $x$ the subject, then swap. Change $\ln$ into $\mathrm{e}$ (or $\mathrm{e}$ into $\ln$) to undo it.
Worked example 3. $f(x) = \ln(2x + 1)$ for $x > -\frac{1}{2}$. Find $f^{-1}(x)$.
- $y = \ln(2x + 1)$, so $\mathrm{e}^y = 2x + 1$ and $x = \dfrac{\mathrm{e}^y - 1}{2}$.
- $f^{-1}(x) = \dfrac{\mathrm{e}^x - 1}{2}$. Its domain is the range of $f$: all real numbers.
6.2 Laws of logarithms, including change of base
The laws of logarithms turn products into sums and powers into multiples. Exam questions use them to write an expression as a single logarithm 单个对数 and to solve equations.
The laws (any base $a$; $x, y > 0$)
| law | example |
|---|---|
| $\log_a (xy) = \log_a x + \log_a y$ | $\lg 2 + \lg 5 = \lg 10 = 1$ |
| $\log_a \left(\dfrac{x}{y}\right) = \log_a x - \log_a y$ | $\ln 12 - \ln 4 = \ln 3$ |
| $\log_a (x^n) = n \log_a x$ | $2\lg 3 = \lg 9$ |
| $\log_a a = 1$, $\log_a 1 = 0$ | $\ln \mathrm{e} = 1$ |
A number can be written as a log: $3 = \lg 10^3 = \lg 1000$, and $2 = \log_a a^2$.
Worked example 1. Write $3 + 2\lg p - \lg q$ as a single logarithm.
- $3 = \lg 1000$ and $2\lg p = \lg p^2$.
- $\lg 1000 + \lg p^2 - \lg q = \lg \left(\dfrac{1000p^2}{q}\right)$.
Change of base
The base 碱基 is the small number $a$ in $\log_a$. To change it:
Worked example 2.
- $\dfrac{1}{\log_5 \mathrm{e}} = \log_{\mathrm{e}} 5 = \ln 5$.
- $\log_4 x = \dfrac{\log_2 x}{\log_2 4} = \dfrac{\log_2 x}{2}$.
Solving log equations
- Use the laws to get one log on each side (or one log equal to a number).
- Remove the log: $\log_a X = c$ gives $X = a^c$.
- Check every answer: the expression inside each log in the question must be positive.
Worked example 3. Solve $\log_2(x + 1) + \log_2(x - 1) = 3$.
![A flow of four boxes: log2(x + 1) + log2(x - 1) = 3, then log2[(x + 1)(x - 1)] = 3, then x^2 - 1 = 8 giving x = 3 or x = -3, then the shaded answer x = 3; notes under the boxes say one log, remove the log, and reject x = -3 because log2(-4) does not exist](/handout-media/igcse_additional_mathematics/assets/06-ex-6.2-flow.png?v=1795984534)
The note under each box gives the law used to reach it.
Two different bases: a hidden quadratic
Worked example 4. Solve $\log_3 x + 2\log_x 3 = 3$.
- $\log_x 3 = \dfrac{1}{\log_3 x}$. Let $u = \log_3 x$: $u + \dfrac{2}{u} = 3$.
- Multiply by $u$: $u^2 - 3u + 2 = 0$, so $u = 1$ or $u = 2$.
- $\log_3 x = 1$ gives $x = 3$; $\log_3 x = 2$ gives $x = 9$.
6.3 Solve equations of the form a^x = ba^x = b
In an exponential equation 指数方程 the unknown is in the power, as in $3^x = 20$. Taking logarithms of both sides brings the power down, by the law $\log(a^x) = x\log a$ (sheet 6.2).
$a^x = b$: take logs of both sides
With base $\mathrm{e}$, use $\ln$: $\mathrm{e}^x = b$ gives $x = \ln b$. Leave $\ln$ in the answer when the question asks for exact form 精确形式.

$a^x$ is always positive, so $3^x = 20$ has exactly one solution and $3^x = -5$ has none.
Worked example 1. Solve $5^{w - 1} = 12$, giving $w$ to 2 decimal places.
- $(w - 1)\lg 5 = \lg 12$, so $w - 1 = \dfrac{\lg 12}{\lg 5} = 1.544$.
- $w = 2.54$.
Worked example 2. Solve $\mathrm{e}^{2x + 1} = 7$, giving $x$ in exact form.
- $2x + 1 = \ln 7$, so $x = \dfrac{\ln 7 - 1}{2}$.
The unknown in two different powers
Take $\lg$ of both sides, expand the brackets, then collect the $x$ terms on one side.
Worked example 3. Solve $3^{x + 1} = 2^{2x}$, giving $x$ to 3 significant figures 有效数字.
- $(x + 1)\lg 3 = 2x\lg 2$, so $x\lg 3 + \lg 3 = x\lg 4$.
- $x(\lg 4 - \lg 3) = \lg 3$, so $x = \dfrac{\lg 3}{\lg 4 - \lg 3} = 3.82$.
Hidden quadratics with $\mathrm{e}^x$
Use the method of sheet 4.3 with $u = \mathrm{e}^x$ (or $u = 2^x$, $u = \mathrm{e}^{3x}$, …). Reject 拒绝 $u \leqslant 0$: a power of a positive number is never zero or negative. If there is a negative power such as $\mathrm{e}^{-x}$, first multiply every term by $\mathrm{e}^x$.
Worked example 4. Solve $\mathrm{e}^{2x} - 5\mathrm{e}^x + 6 = 0$, giving exact answers.
- Let $u = \mathrm{e}^x$: $u^2 - 5u + 6 = 0$, so $u = 2$ or $u = 3$.
- $\mathrm{e}^x = 2$ or $\mathrm{e}^x = 3$, so $x = \ln 2$ or $x = \ln 3$.