AA SL · Functions and their graphs · course

Exponential and logarithmic functions.

AA SL resourcesPDF

An exponential multiplies by the same factor at each step: it grows, or decays, faster than any polynomial, and never reaches its asymptote. The logarithm undoes it; its graph is the same curve, mirrored in the line $y=x$.

IExponential functionsSL 2.9 · $a^{x}$, $\mathrm{e}^{x}$, growth and decay, the asymptote

I.1 The graph of $a^{x}$

Definition 1

exponential function

For $a\gt 0$, $a\ne1$: $f(x)=a^{x}$, domain $\mathbb{R}$, range $y\gt 0$. The graph passes through $(0,\,1)$, with the horizontal asymptote $y=0$. The number $\mathrm{e}\approx2.718$ gives $\mathrm{e}^{x}$.
Example 1

Let $f(x)=3^{x}$. Find $f(2)$, $f(0)$ and $f(-1)$, then write down the asymptote and the range.

What you do
What you write
Step 1 SubstituteA negative power is a fraction, never negative.
$f(2)=9$, $f(0)=1$, $f(-1)=\dfrac13$
Step 2 Asymptote: the value never reached
$y=0$
Step 3 Range: above the asymptote
$f(x)\gt 0$
Figure 1 — As $3^{x}$ in Example 1, every curve $y=a^{x}$ passes through $(0,\,1)$.

Apply

  1. $f(x)=5^{x}$: find $f(-2)$.
    Answer$\frac1{25}$
  2. $f(x)=\left(\frac12\right)^{x}$: find $f(-3)$.
    Answer$8$
  3. Range of $\mathrm{e}^{x}$.
    Answer$y\gt 0$

I.2 Growth or decay

Property 1

growth and decay

$a\gt 1$: $a^{x}$ increases, growth. $0\lt a\lt 1$: it decreases, decay ($\mathrm{e}^{-x}$ is one). For $k\,a^{x}+c$: asymptote $y=c$, $y$-intercept $k+c$, range $y\gt c$ when $k\gt 0$.
Example 2

Does $f(x)=4\times0.7^{x}$ show growth or decay? Write down its $y$-intercept and the percentage change at each step.

What you do
What you write
Step 1 Compare the base with $1$
$0.7\lt 1$: decay
Step 2 $y$-intercept: $x=0$
$f(0)=4$
Step 3 Percentage: $(1-0.7)\times100\,\%$
it decreases by $30\,\%$ at each step

Apply

  1. $2\times1.5^{x}$: growth or decay? $y$-intercept?
    Answergrowth; $2$
  2. $6\,\mathrm{e}^{-x}$: growth or decay? $y$-intercept?
    Answerdecay; $6$

I.3 An exponential moved

Watch out 1
The asymptote of $3\times2^{x}-5$ is $y=-5$, not $y=0$, and its range is $y\gt -5$: a translation moves the asymptote with the graph.
Example 3

Let $f(x)=2\times3^{x}-6$. Write down the asymptote, the $y$-intercept and the range, then find the zero of $f$.

What you do
What you write
Step 1 Asymptote: the constant
$y=-6$
Step 2 $y$-intercept: $f(0)$
$2-6=-4$
Step 3 Range: above the asymptote ($k\gt 0$)
$f(x)\gt -6$
Step 4 Zero: solve $f(x)=0$
$3^{x}=3$, $x=1$

Apply

  1. $f(x)=5\times2^{x}-10$: asymptote, $y$-intercept, zero.
    Answer$y=-10$; $-5$; $x=1$
  2. $f(x)=7-\mathrm{e}^{x}$: asymptote, range, $y$-intercept.
    Answer$y=7$; $f(x)\lt 7$; $6$

I.4 Solving $a^{x}=b$

Example 4

Solve $5\times2^{x}=40$, then solve $3^{x}=20$.

What you do
What you write
Step 1 Isolate the power
$2^{x}=8$
Step 2 Write $b$ as a power of $a$ when you can
$2^{x}=2^{3}$: $x=3$
Step 3 Otherwise take logarithms
$x=\log_3 20=\dfrac{\ln20}{\ln3}=2.73$

Apply

  1. Solve $2^{x+1}=32$.
    Answer$x=4$
  2. Solve $\mathrm{e}^{x}=5$.
    Answer$x=\ln5$
  3. Solve $4\,\mathrm{e}^{2x}=12$.
    Answer$x=\frac12\ln3$

I.5 Exponential models

Example 5

A population is modelled by $P(t)=500\,\mathrm{e}^{0.04t}$, $t$ in years. Find the initial population, $P(10)$, and when the population reaches $1000$.

What you do
What you write
Step 1 Initial value: $t=0$
$P(0)=500$
Step 2 Substitute $t=10$
$500\,\mathrm{e}^{0.4}=745.9\ldots\approx746$
Step 3 Write the equation, isolate the power
$\mathrm{e}^{0.04t}=2$
Step 4 Take $\ln$
$t=\dfrac{\ln2}{0.04}=17.3$ years

Apply

  1. $V(t)=3000\times0.9^{t}$: find $V(5)$.
    Answer$1770$ ($1771.47$)
  2. Same $V$: when has the value halved?
    Answer$t=6.58$
  3. $N(t)=200\times2^{t/3}$: find $N(6)$.
    Answer$800$

IILogarithmic functionsSL 2.9 · $\log_a x$, $\ln x$, the inverse of the exponential

II.1 $\log_a x$: the power that gives $x$

Definition 2

logarithmic function

For $a\gt 0$, $a\ne1$: $y=\log_a x\iff a^{y}=x$. $\log_a x$ is the inverse of $a^{x}$; $\ln x=\log_{\mathrm{e}}x$ is the inverse of $\mathrm{e}^{x}$.
Example 6

Find $\log_2 32$, $\log_{10}0.001$ and $\ln\mathrm{e}^{3}$.

What you do
What you write
Step 1 Ask: the base to what power?
$2^{?}=32$, $10^{?}=0.001$, $\mathrm{e}^{?}=\mathrm{e}^{3}$
Step 2 Read the power
$5$, $-3$, $3$

Apply

  1. $\log_3 81$
    Answer$4$
  2. $\log_5 1$
    Answer$0$
  3. $\log_4 2$
    Answer$\frac12$
  4. $\ln\dfrac1{\mathrm{e}}$
    Answer$-1$

II.2 The graph of a logarithm

Property 2

the graph of the logarithm

$y=\log_a x$: domain $x\gt 0$, range $\mathbb{R}$, through $(1,\,0)$, vertical asymptote $x=0$; the reflection of $y=a^{x}$ in $y=x$. For $y=\ln(x-h)$ the asymptote is $x=h$.
Watch out 2
The argument must be positive: $\ln(x+2)$ needs $x\gt -2$. A negative logarithm is fine ($\ln0.5\lt 0$); a negative argument is not.
Example 7

Let $f(x)=\log_2(x+1)$. Write down the domain and the asymptote, then find the zero of $f$ and $f(7)$.

What you do
What you write
Step 1 Argument $\gt 0$
$x+1\gt 0$: domain $x\gt -1$
Step 2 Asymptote where the argument is $0$
$x=-1$
Step 3 Zero: argument $=1$
$x+1=1$, $x=0$
Step 4 Substitute
$f(7)=\log_2 8=3$
Figure 2 — $\ln x$ is the mirror image of $\mathrm{e}^{x}$ in $y=x$.

Apply

  1. $\ln(x-4)$: domain, asymptote, zero.
    Answer$x\gt 4$; $x=4$; $x=5$
  2. $\log_3(x+9)$: zero and $y$-intercept.
    Answer$x=-8$; $2$

II.3 Inverses of exponentials and logarithms

Example 8

Let $f(x)=\mathrm{e}^{x}+4$. Find $f^{-1}(x)$ and its domain.

What you do
What you write
Step 1 Exchange $x$ and $y$
$x=\mathrm{e}^{y}+4$
Step 2 Isolate the exponential
$\mathrm{e}^{y}=x-4$
Step 3 Take $\ln$
$f^{-1}(x)=\ln(x-4)$
Step 4 Domain = range of $f$
$x\gt 4$

Apply

  1. $f(x)=\ln(x+1)$: find $f^{-1}(x)$.
    Answer$\mathrm{e}^{x}-1$
  2. $f(x)=2^{x}-3$: find $f^{-1}(x)$.
    Answer$\log_2(x+3)$
  3. $f(x)=\log_5 x+2$: find $f^{-1}(x)$.
    Answer$5^{x-2}$

II.4 Solving $\log_a(\ldots)=k$

Example 9

Solve $\ln(2x-1)=3$.

What you do
What you write
Step 1 Undo $\ln$ with $\mathrm{e}$
$2x-1=\mathrm{e}^{3}$
Step 2 Solve for $x$
$x=\dfrac{\mathrm{e}^{3}+1}{2}$
Step 3 Check the argument is positive
$2x-1=\mathrm{e}^{3}\gt 0$

Apply

  1. Solve $\log_2 x=5$.
    Answer$x=32$
  2. Solve $\ln(x+3)=0$.
    Answer$x=-2$
  3. Solve $\log_{10}x=-2$.
    Answer$x=0.01$

IIIExam-style questionsfrom the shortest to the longest · every one in steps, with its marks

A Exponential graphs

Exam-style question 1Paper 1 · no calculator · [Maximum mark: 5]

Let $f(x)=3\times2^{x}-4$.

(a)Write down the $y$-intercept of the graph of $f$.[1]
(b)Write down the equation of the horizontal asymptote of the graph of $f$.[1]
(c)Write down the range of $f$.[1]
(d)Solve $f(x)=20$.[2]
More questions like this

Working (a)

What you do
What you write
Step 1 $y$-intercept: $f(0)$
$-1$
$3\times1-4$.

Working (b)

What you do
What you write
Step 1 Asymptote: the constant
$y=-4$

Working (c)

What you do
What you write
Step 1 Range: above the asymptote
$f(x)\gt -4$

Working (d)

What you do
What you write
Step 1 Isolate the power
$3\times2^{x}=24\Rightarrow2^{x}=8$
Step 2 Write $8$ as a power of $2$
$x=3$

Play this question in Mark it: find each mark yourself →

B Exponential models

Exam-style question 2Paper 1 · no calculator · [Maximum mark: 6]

The number of bacteria in a dish $t$ hours after the start of an experiment is $N(t)=200\,\mathrm{e}^{kt}$. After $3$ hours there are $800$ bacteria.

(a)Write down the number of bacteria at the start.[1]
(b)Show that $k=\dfrac{\ln4}{3}$.[2]
(c)Find the time at which there are $3200$ bacteria.[3]
More questions like this

Working (a)

What you do
What you write
Step 1 Initial value: $t=0$
$200$

Working (b)

What you do
What you write
Step 1 Write the equation, isolate the power
$200\,\mathrm{e}^{3k}=800\Rightarrow\mathrm{e}^{3k}=4$
Step 2 Take $\ln$
$3k=\ln4$
Step 3 Divide by $3$
$k=\dfrac{\ln4}{3}$

Working (c)

What you do
What you write
Step 1 Isolate the power
$\mathrm{e}^{kt}=16$
Step 2 Take $\ln$
$\dfrac{\ln4}{3}\,t=\ln16=2\ln4$
Step 3 Solve for $t$
$t=6$ hours
$16=4^{2}$: the population is multiplied by $4$ every $3$ hours.

Play this question in Mark it: find each mark yourself →

C Logarithms and inverses

Exam-style question 3Paper 1 · no calculator · [Maximum mark: 6]

Let $f(x)=\ln(x-2)+1$, for $x\gt 2$.

(a)Write down the equation of the vertical asymptote of the graph of $f$.[1]
(b)Find the exact $x$-intercept of the graph of $f$.[2]
(c)Find $f^{-1}(x)$.[2]
(d)Write down the range of $f^{-1}$.[1]
More questions like this

Working (a)

What you do
What you write
Step 1 Asymptote: argument $=0$
$x=2$

Working (b)

What you do
What you write
Step 1 Undo $\ln$ with $\mathrm{e}$
$\ln(x-2)=-1\Rightarrow x-2=\mathrm{e}^{-1}$
Step 2 Solve for $x$
$x=2+\mathrm{e}^{-1}$
Exact: not $2.37$.

Working (c)

What you do
What you write
Step 1 Exchange $x$ and $y$, undo $\ln$
$x=\ln(y-2)+1\Rightarrow y-2=\mathrm{e}^{x-1}$
Step 2 Make $y$ the subject
$f^{-1}(x)=\mathrm{e}^{x-1}+2$

Working (d)

What you do
What you write
Step 1 Range of $f^{-1}$ = domain of $f$
$f^{-1}(x)\gt 2$
The domain of $f$.

Play this question in Mark it: find each mark yourself →

Exam-style question 4Paper 1 · no calculator · [Maximum mark: 4]

Let $f(x)=\log_3(x+1)$, for $x\gt -1$.

(a)Find $f(8)$.[1]
(b)Find $f^{-1}(x)$.[2]
(c)Write down the range of $f^{-1}$.[1]
More questions like this

Working (a)

What you do
What you write
Step 1 The power of $3$ that gives $9$
$\log_3 9=2$

Working (b)

What you do
What you write
Step 1 Exchange $x$ and $y$, undo $\log_3$
$x=\log_3(y+1)\Rightarrow3^{x}=y+1$
Step 2 Make $y$ the subject
$f^{-1}(x)=3^{x}-1$

Working (c)

What you do
What you write
Step 1 Range of $f^{-1}$ = domain of $f$
$f^{-1}(x)\gt -1$

Play this question in Mark it: find each mark yourself →

D A model on the GDC (Paper 2)

Exam-style question 5Paper 2 · calculator · [Maximum mark: 6]

The temperature, in $^{\circ}$C, of a cup of tea $t$ minutes after it is made is $T(t)=20+70\,\mathrm{e}^{-0.08t}$, for $t\ge0$.

(a)Write down the initial temperature of the tea.[1]
(b)Write down the equation of the horizontal asymptote of the graph of $T$, and interpret it in context.[1]
(c)Find the time at which the temperature is $40\,^{\circ}$C.[2]
(d)Find the time from which the tea stays below $25\,^{\circ}$C.[2]
More questions like this

Working (a)

What you do
What you write
Step 1 Initial value: $t=0$
$90\,^{\circ}$C

Working (b)

What you do
What you write
Step 1 Read the asymptote, say what it means
$T=20$: the tea cools towards the temperature of the room, $20\,^{\circ}$C
The equation and its meaning.

Working (c)

What you do
What you write
Step 1 Write the equation
$20+70\,\mathrm{e}^{-0.08t}=40$
Step 2 Solve on the GDC
$t=15.7$ min ($15.6595\ldots$)

Working (d)

What you do
What you write
Step 1 Write the equation
$20+70\,\mathrm{e}^{-0.08t}=25$
Step 2 Solve on the GDC
after $33.0$ min ($32.9882\ldots$)

Play this question in Mark it: find each mark yourself →

IVWhich method? Read the questionthe whole topic on one page

The question says
You write
A function $k\,a^{x}+c$ is given and you must find “the asymptote” of its graph: it is set by the constant added, $c$.
$y=c$, as an equation P1
You must find “the range” of an exponential function: it comes from the asymptote and the sign of $k$.
$y\gt c$ (or $y\lt c$ when $k\lt 0$) P1
A function with a logarithm, such as $\ln(2x-3)$, is given and you must find “the domain”: the argument is positive.
solve “inside $\gt 0$” W2
You must “solve” an equation with the unknown in the exponent, $a^{x}=b$ or $\mathrm{e}^{kx}=b$: take logarithms.
$x=\log_a b$, or $kx=\ln b$ D2
A model $A\,\mathrm{e}^{kt}$ is described in a context and you must “find $k$”: the question gives one value of the model, such as the amount at $t=5$.
divide by $A$, then $\ln$ P1
You must “find $f^{-1}$” of a function built on $\mathrm{e}$ or $\ln$: they undo each other.
$\ln$ becomes $\mathrm{e}^{\ldots}$ and back; asymptotes swap P2
On Paper 2, a model in a context asks “how long until…” a value is reached: it is an equation in $t$.
the GDC: the model and the target value, then the intersection
In the exam 1

command terms

Exact: keep $\mathrm{e}$ and $\ln$, no decimals. Asymptote: an equation. Initial value: $t=0$. Show that: start from the given data, end at the value given, every step written.