Skip to content

Logarithmic and exponential functions

IGCSE Additional MathematicsTopic 6

Video lesson for this topic Open the video page
4:38

Topic 6: Logarithmic and exponential functions

A logarithm answers the question, what power? log base a of b equals c means a to the c equals b. So log base 2 of 8 is 3, because 2 cubed is 8, and log base 5…

English narration · English and 中文 subtitles you can switch

Handout

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_a b = c \quad \text{means} \quad a^c = b$$
  • $\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$.

The curves y = e^x and y = ln x are mirror images in the dashed line y = x; e^x passes through (0, 1) and ln x passes through (1, 0)

$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).

  1. $y$-intercept: $2\mathrm{e}^0 - 3 = -1$.
  2. $x$-intercept: $2\mathrm{e}^x = 3$, so $\mathrm{e}^x = 1.5$ and $x = \ln 1.5$.
  3. Asymptote $y = -3$; range $y > -3$.

Worked example 2. Sketch $y = \ln(2x - 1)$ (right graph below).

  1. It exists when $2x - 1 > 0$, so $x > \frac{1}{2}$. The asymptote is $x = \frac{1}{2}$.
  2. $x$-intercept: $2x - 1 = 1$, so $x = 1$.
Left: y = 2e^x - 3 rising from the dashed asymptote y = -3, through -1 on the y-axis and ln 1.5 on the x-axis. Right: y = ln(2x - 1) rising from the dashed asymptote x = 1/2 through 1 on the x-axis

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)$.

  1. $y = \ln(2x + 1)$, so $\mathrm{e}^y = 2x + 1$ and $x = \dfrac{\mathrm{e}^y - 1}{2}$.
  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.

  1. $3 = \lg 1000$ and $2\lg p = \lg p^2$.
  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:

$$\log_a b = \frac{\log_c b}{\log_c a} \qquad \text{so} \qquad \log_a b = \frac{1}{\log_b a}$$

Worked example 2.

  1. $\dfrac{1}{\log_5 \mathrm{e}} = \log_{\mathrm{e}} 5 = \ln 5$.
  2. $\log_4 x = \dfrac{\log_2 x}{\log_2 4} = \dfrac{\log_2 x}{2}$.

Solving log equations

  1. Use the laws to get one log on each side (or one log equal to a number).
  2. Remove the log: $\log_a X = c$ gives $X = a^c$.
  3. 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

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$.

  1. $\log_x 3 = \dfrac{1}{\log_3 x}$. Let $u = \log_3 x$: $u + \dfrac{2}{u} = 3$.
  2. Multiply by $u$: $u^2 - 3u + 2 = 0$, so $u = 1$ or $u = 2$.
  3. $\log_3 x = 1$ gives $x = 3$; $\log_3 x = 2$ gives $x = 9$.

6.3 Solve equations of the form a^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

$$a^x = b \quad \Longrightarrow \quad x\lg a = \lg b \quad \Longrightarrow \quad x = \frac{\lg b}{\lg a}$$

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 精确形式.

The curve y = 3^x rises through (0, 1); it meets the dashed line y = 20 once, at x = log_3 20, and never meets the dashed line y = -5

$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.

  1. $(w - 1)\lg 5 = \lg 12$, so $w - 1 = \dfrac{\lg 12}{\lg 5} = 1.544$.
  2. $w = 2.54$.

Worked example 2. Solve $\mathrm{e}^{2x + 1} = 7$, giving $x$ in exact form.

  1. $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 有效数字.

  1. $(x + 1)\lg 3 = 2x\lg 2$, so $x\lg 3 + \lg 3 = x\lg 4$.
  2. $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.

  1. Let $u = \mathrm{e}^x$: $u^2 - 5u + 6 = 0$, so $u = 2$ or $u = 3$.
  2. $\mathrm{e}^x = 2$ or $\mathrm{e}^x = 3$, so $x = \ln 2$ or $x = \ln 3$.
Vocabulary
English
logarithm/ˈlɒɡərɪθəm/
exponential/ˌekspəˈnenʃl/
asymptote/ˈæsɪmptəʊt/
range/reɪndʒ/
base/beɪs/
single logarithm
reject/rɪˈdʒekt/
exponential equation/ˌekspəˈnenʃl ɪˈkweɪʒn/
exact form
significant figures/sɪɡˈnɪfɪkənt ˈfɪɡəz/

Interactive lessons on this topic

Work through it step by step, with instant-check exercises.

More topics in IGCSE Additional Mathematics

Log in or create account

IGCSE, A-Level & AP