Skip to content

Exponentials and logarithms

AQA A-Level MathematicsTopic 6

Video lesson for this topic Open the video page
6:24

Exponentials and logarithms

Section F is exponentials and logarithms. A logarithm is an exponent: a to the x equals y means x is log base a of y. So each index law becomes a log law.…

English narration · English and 中文 subtitles you can switch

6.1

Scope and prerequisites

AQA A-level Mathematics 7357, section F (Exponentials and logarithms), version 1.3 (first assessment 2018). Original teaching notes.

Prerequisites: the laws of indices, and the graphs and transformations from section B.

These are original teaching examples, not official AQA material.

Vocabulary Train
English
logarithm/ˈlɒɡərɪθəm/
6.2

Exponentials and logarithms 对数

When the unknown is a power

A medicine leaves the blood so that the amount halves every few hours. A bank account grows by the same percentage every year. In both cases the unknown (the time) sits in a power. To find it, you need the reverse of a power: a logarithm. This section links the two, and uses them to model growth and decay.

A seismograph tracing an earthquake
Earthquake strength is measured on the logarithmic Richter scale.

A logarithm is a power: $a^x=y$ exactly when $x=\log_ay$. For example, $\log_2 8=3$ because $2^3=8$. The base 底数 $a$ is positive and not 1, and you can only take the log of a positive number.

Exponential graphs

An exponential function 指数函数 has the form $y=a^x$ with $a>0$.

The graphs of 2 to the x, 0.5 to the x and e to the x all pass through (0, 1) and approach the asymptote y equals 0
Every y = aˣ passes through (0, 1)
  • Every graph $y=a^x$ passes through $(0,1)$, because $a^0=1$.
  • $y=0$ is an asymptote 渐近线: the graph gets close to the $x$-axis but never meets it, so $a^x>0$ always.
  • If $a>1$ the graph shows exponential growth 指数增长; if $0<a<1$ it shows exponential decay 指数衰减.

The number $e=2.71828\ldots$ is special. The gradient of $y=e^x$ at every point equals its height: at $(1,e)$ the gradient is $e$. In section G you will see that

$$\frac{d}{dx}e^{kx}=ke^{kx}.$$

So the rate of change of $y=Ae^{kx}$ is proportional to $y$ itself. That is why $e^{kx}$ models anything whose rate of growth depends on its size, such as a population, money with interest, or a cooling drink.

The natural logarithm

The natural logarithm 自然对数 $\ln x$ means $\log_ex$. It is the inverse of $e^x$, so the two graphs are reflections in $y=x$.

$$e^{\ln x}=x\quad(x>0),\qquad \ln(e^x)=x.$$

$\ln x$ is defined only for $x>0$. Its graph passes through $(1,0)$ and has the $y$-axis as an asymptote.

Left: y = 2ˣ and y = log₂ x reflected in y = x. Right: ln y = ln 80 − 0.2t plotted as a straight line with the half-life point marked
Exponential and log are inverse functions; ln y against t is a straight line, and the half-life is ln 2 / 0.2 ≈ 3.47 hours

The laws of logarithms

Each law of logarithms comes from a law of indices.

Index law Log law
$a^ma^n=a^{m+n}$ $\log_a(uv)=\log_au+\log_av$
$a^m\div a^n=a^{m-n}$ $\log_a\frac uv=\log_au-\log_av$
$(a^m)^k=a^{mk}$ $\log_a(u^k)=k\log_au$
$a^0=1$, $a^1=a$ $\log_a1=0$, $\log_aa=1$

Worked example. Write $2\log_35+\log_34-\log_310$ as a single logarithm.

$$\log_325+\log_34-\log_310=\log_3\frac{25\times4}{10}=\log_310.$$

Common mistake. The laws are about products, not sums. $\log(u+v)$ does not split. And $\ln(2x)=\ln2+\ln x$, which is not $2\ln x$. (It is $\ln(x^2)$ that equals $2\ln x$.)

Solving exponential equations

Take logs of both sides. The power law brings the unknown down.

Worked example. Solve $3^x=20$.

$$\ln(3^x)=\ln20\;\Rightarrow\;x\ln3=\ln20\;\Rightarrow\;x=\frac{\ln20}{\ln3}=2.727\ (\text{3 d.p.}).$$

Check: $3^{2.727}=20.0$ ✓.

Worked example: the unknown on both sides. Solve $5^{x+1}=2^{3x}$.

$$(x+1)\ln5=3x\ln2\;\Rightarrow\;x(\ln5-3\ln2)=-\ln5\;\Rightarrow\;x=\frac{\ln5}{3\ln2-\ln5}=\frac{\ln5}{\ln1.6}=3.42.$$

Worked example: a hidden quadratic. Solve $2^{2x}-6\times2^x+8=0$.

$2^{2x}=(2^x)^2$, so put $u=2^x$:

$$u^2-6u+8=0\;\Rightarrow\;(u-2)(u-4)=0\;\Rightarrow\;u=2\text{ or }u=4.$$

$2^x=2$ gives $x=1$, and $2^x=4$ gives $x=2$. If one value of $u$ had been zero or negative, it would give no solution, because $2^x$ is always positive.

Solving log equations

Combine the logs into one, then remove the log by writing a power.

Worked example. Solve $\log_2x+\log_2(x-2)=3$.

Both logs need positive arguments, so $x>2$. Then

$$\log_2\big(x(x-2)\big)=3\;\Rightarrow\;x(x-2)=2^3=8\;\Rightarrow\;x^2-2x-8=0\;\Rightarrow\;(x-4)(x+2)=0.$$

So $x=4$ or $x=-2$. But $x=-2$ makes $\log_2(-2)$ undefined, so $x=4$ only.

Growth and decay models

A model $y=Ae^{kt}$ has starting value $A$ (at $t=0$). If $k>0$ it grows; if $k<0$ it decays.

Worked example: half-life. A medicine in the blood follows $y=80e^{-0.2t}$, in mg, $t$ hours after a dose. Find the half-life 半衰期.

$$40=80e^{-0.2t}\;\Rightarrow\;e^{-0.2t}=\tfrac12\;\Rightarrow\;-0.2t=\ln\tfrac12=-\ln2\;\Rightarrow\;t=\frac{\ln2}{0.2}=3.47\text{ hours}.$$

The half-life is the same from any starting amount. In general it is $\dfrac{\ln2}{|k|}$.

Worked example: fitting a model. A population follows $P=Ae^{kt}$. It is 500 at $t=0$ and 800 at $t=5$ years. Find $A$ and $k$, and predict $P$ at $t=10$.

  • At $t=0$: $P=A=500$.
  • At $t=5$: $800=500e^{5k}$, so $e^{5k}=1.6$ and $k=\frac{\ln1.6}5=0.0940$.
  • At $t=10$: $P=500e^{10k}=500\times(e^{5k})^2=500\times1.6^2=1280$.

Two data points fix two constants. A prediction far beyond the data assumes that $k$ never changes, which a real population (with limited food and space) will not do. Compare with a new measurement before you trust it.

Rate of change. $\dfrac{dP}{dt}=kP$. At $t=5$ the population grows at $0.0940\times800=75$ per year.

Left: y = 80e^(−0.2t) falling 80, 40, 20, 10 at equal gaps of 3.47 hours. Right: P = 500e^(kt) through (0, 500), (5, 800) and (10, 1280), with the tangent at t = 5 of gradient about 75 per year
Decay halves in equal times whatever the amount; growth multiplies by 1.6 every 5 years, and the gradient kP is the rate of change

Straight lines from curved data

Logarithms turn some curves into straight lines, so you can read the constants from a graph.

Four panels. Top: bacteria count against time curves upward and a straight line fits poorly (r squared 0.86); its residual plot is U-shaped. Bottom: ln(count) against time is linear (r squared 0.98) and its residual plot is random scatter about 0
A log transformation turns a curved pattern into a straight one: compare the residual plots, not just $r^2$
  • $y=Ae^{kt}$: take logs, $\ln y=\ln A+kt$. Plot $\ln y$ against $t$: the gradient is $k$ and the intercept is $\ln A$.
  • $y=kb^x$: $\log y=\log k+x\log b$. Plot $\log y$ against $x$.
  • $y=ax^n$: $\log y=\log a+n\log x$. Plot $\log y$ against $\log x$.
Model Plot Gradient Intercept
$y=kb^x$ $\log y$ against $x$ $\log b$ $\log k$
$y=ax^n$ $\log y$ against $\log x$ $n$ $\log a$

Worked example. Data follow $y=ax^n$. Two points on the line of $\log y$ against $\log x$ are $(0.301,1.380)$ and $(0.903,3.186)$. Find $a$ and $n$.

$$n=\frac{3.186-1.380}{0.903-0.301}=\frac{1.806}{0.602}=3,\qquad\log a=1.380-3(0.301)=0.477,\qquad a=10^{0.477}=3.$$

So $y=3x^3$.

Common mistake. Choosing the wrong plot. If $x$ is the power ($b^x$), plot $\log y$ against $x$. If $x$ is the base ($x^n$), plot $\log y$ against $\log x$.

Traps

Wrong Right
$\log(u+v)=\log u+\log v$ $\log(uv)=\log u+\log v$; $\log(u+v)$ does not split
$\ln(2x)=2\ln x$ $\ln(2x)=\ln2+\ln x$; $\ln(x^2)=2\ln x$
keeping a root that makes a log argument negative state the domain first and test every answer
$e^{x+2}=e^x+e^2$ $e^{x+2}=e^x\times e^2$

Practice

  1. Evaluate $\log_232$ and $\log_9 3$.
  2. Solve $e^{2x}=7$, giving an exact answer.
  3. Solve $\ln x+\ln(x+3)=\ln10$.
  4. Solve $3^{2x}-10\times3^x+9=0$.
  5. A substance decays as $m=Ae^{-0.05t}$. Find its half-life.
  6. A car is worth 120 000 yuan when new and 80 000 yuan after 2 years. Model the value as $V=Ae^{kt}$ and predict the value after 5 years.
  7. Which graph would you plot to test the model $y=ax^n$?

Answers.

  1. $5$; $\frac12$.
  2. $x=\frac12\ln7$.
  3. $x(x+3)=10\Rightarrow(x+5)(x-2)=0$; $x>0$ so $x=2$.
  4. $u=3^x$: $(u-1)(u-9)=0$, so $x=0$ or $x=2$.
  5. $\frac{\ln2}{0.05}=20\ln2\approx13.9$.
  6. $A=120\,000$, $e^{2k}=\frac23$, $k=\frac12\ln\frac23=-0.203$; $V(5)=120\,000e^{-1.014}\approx43\,500$ yuan.
  7. $\log y$ against $\log x$: gradient $n$, intercept $\log a$.

Key points

  • A logarithm is a power: $a^x=y\Leftrightarrow x=\log_ay$.
  • $e^x$ and $\ln x$ are inverse functions; $\ln x$ needs $x>0$.
  • Take logs to bring a power down; substitute $u=a^x$ for a hidden quadratic.
  • Check every answer of a log equation against the domain.
  • In $y=Ae^{kt}$ the rate of change is $ky$; for decay ($k<0$), the half-life is $\frac{\ln2}{|k|}$.
  • Plot $\ln y$ against $t$ for $Ae^{kt}$, and $\log y$ against $\log x$ for $ax^n$.
Vocabulary Train
English
base/beɪs/
exponential function/ˌekspəˈnenʃl ˈfʌŋkʃn/
asymptote/ˈæsɪmptəʊt/
exponential growth/ˌekspəˈnenʃl ɡrəʊθ/
exponential decay/ˌekspəˈnenʃl dɪˈkeɪ/
natural logarithm/ˈnætʃərəl ˈlɒɡərɪθəm/
half-life/hɑːf laɪf/

Interactive lessons on this topic

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

More topics in AQA A-Level Mathematics

Log in or create account

IGCSE, A-Level & AP