School › Grade 12

Exponential & Logarithmic Functions

Grade 12 · Unit 3

📖 Short lecture

Exponential functions $f(x)=ab^x$ model growth ($b>1$) and decay ($0<b<1$). With a rate $r$ per period, $A(t)=P(1+r)^t$; compounded $n$ times a year, $A=P\left(1+\frac rn\right)^{nt}$; compounded continuously, $A=Pe^{rt}$, where $e\approx2.71828$.

The logarithm is the inverse of the exponential function: $\log_b x=y\iff b^y=x$, and $\ln x=\log_e x$. Properties: $\log_b(mn)=\log_bm+\log_bn$, $\log_b\frac mn=\log_bm-\log_bn$, $\log_bm^p=p\log_bm$, and the change of base $\log_bx=\frac{\ln x}{\ln b}$. Logarithms solve exponential equations, for example doubling times.

⚠️ Common mistakes

  • $\ln(x+y)\neq\ln x+\ln y$; only $\ln(xy)=\ln x+\ln y$.
  • $e^{x}$ is never $0$ or negative, so $e^x=-2$ has no solution.
  • Continuous growth uses $Pe^{rt}$; yearly compounding uses $P(1+r)^t$. Do not mix them.

🔑 Key formulas

$$A=Pe^{rt}$$
Continuous compounding
$$\log_b x=y\iff b^y=x$$
Definition of logarithm
$$\log_b x=\frac{\ln x}{\ln b}$$
Change of base
$$e=\lim_{n\to\infty}\left(1+\tfrac1n\right)^n\approx2.71828$$
The number $e$
$$\log_bx=\frac{\ln x}{\ln b}$$
Change of base

✏️ Worked example

10000 AED is invested at $5\%$ compounded continuously. When does it double?

  1. $\displaystyle 2P=Pe^{0.05t}$
  2. $\displaystyle \ln2=0.05t$
  3. $\displaystyle t=\frac{\ln2}{0.05}\approx13.9\text{ years}$

✔ After about $13.9$ years.

🧮 More worked examples

Each step says what we do and why.

Example 2Solve $e^{2x}-5e^x+6=0$.

  1. Let $u=e^x$.$$u^2-5u+6=0\Rightarrow u=2,\ 3$$
  2. Take $\ln$.$$x=\ln2\approx0.693,\quad x=\ln3\approx1.099$$
✔ $x=\ln2$ or $x=\ln3$.

Example 3Solve $\log_3(x+1)+\log_3(x-1)=1$.

  1. Product law.$$\log_3(x^2-1)=1\Rightarrow x^2-1=3$$
  2. Check the domain.$$x=\pm2,\quad x=-2\ \text{rejected}$$
✔ $x=2$.

Example 4Evaluate $\log_7 50$.

  1. Change of base.$$\frac{\ln50}{\ln7}=\frac{3.912}{1.946}\approx2.01$$
✔ About $2.01$.

Example 5Solve $3^{x+1}=5^x$.

  1. Take $\ln$.$$(x+1)\ln3=x\ln5$$
  2. Collect $x$.$$x(\ln5-\ln3)=\ln3$$
  3. Solve.$$x=\frac{\ln3}{\ln(5/3)}\approx\frac{1.0986}{0.5108}\approx2.151$$
✔ $x\approx2.151$.

Example 6Solve $\ln x+\ln(x-2)=\ln8$.

  1. Product law.$$x(x-2)=8\Rightarrow x^2-2x-8=0$$
  2. Solve and check the domain.$$x=4\ \checkmark,\quad x=-2\ \text{rejected}$$
✔ $x=4$.

Example 7Describe the graph of $y=\log_2(x-1)+3$.

  1. Domain and asymptote.$$x\gt1,\quad x=1$$
  2. Two points.$$x=2:\ y=3,\qquad x=3:\ y=4$$
✔ Right $1$, up $3$; VA $x=1$; through $(2,3)$ and $(3,4)$.

🖐️ Interactive demo & illustration

Move the sliders or press the buttons: the figure and the numbers update immediately. Try to predict the result before you look.

🎬 Compound more often: meeting the number e

Invest $1$ AED at $100\%$ for one year, compounded $n$ times: you get $\left(1+\frac1n\right)^n$. Yearly gives $2$, monthly about $2.613$, daily about $2.7146$. Increase $n$: the amount never passes a ceiling, the number $e\approx2.71828$. That is why continuous growth is written $Pe^{rt}$.

🎞️ Logarithm = exponential reflected in y = x

$y=\log_bx$ is the inverse of $y=b^x$, so its graph is the mirror image in the line $y=x$: every point $(p,q)$ on $b^x$ becomes $(q,p)$ on $\log_bx$. Change the base and press the mirror button to watch the points fly across the line. Notice the asymptote $y=0$ becomes $x=0$.

🌍 Modelling problems

Real-life situations: translate the words into mathematics, solve, then interpret the answer.

🦠 Bacteria

A culture grows as $N=500e^{0.4t}$ ($t$ in h). When does it reach $10\,000$?

Show the solution
  1. Divide.$$e^{0.4t}=20$$
  2. Take $\ln$.$$t=\frac{\ln20}{0.4}\approx7.49$$

✔ After about $7.5$ h.

🦴 Carbon dating

Carbon-14 has half-life $5730$ years. A bone has $30\%$ of its original C-14. Estimate its age.

Show the solution
  1. Decay constant.$$k=\frac{\ln2}{5730}\approx0.000121$$
  2. Solve.$$e^{-kt}=0.3\Rightarrow t=\frac{-\ln0.3}{k}\approx9953$$

✔ About $10\,000$ years.

☕ Cooling coffee

Coffee cools as $T=22+68e^{-0.05t}$ ($^\circ$C, $t$ in min). When is it $50\,^\circ$C?

Show the solution
  1. Isolate the exponential.$$e^{-0.05t}=\frac{28}{68}$$
  2. Take $\ln$.$$t=\frac{-\ln(28/68)}{0.05}\approx17.7$$

✔ After about $17.7$ min.

🏦 Quarterly or continuous?

$5000$ AED is invested at $6\%$ for $10$ years. Compare quarterly and continuous compounding.

Show the solution
  1. Quarterly.$$5000(1.015)^{40}\approx9070$$
  2. Continuous.$$5000e^{0.6}\approx9111$$

✔ Continuous gives about $41$ AED more.

📣 A rumour spreads

In a school of $1000$, $N(t)=\dfrac{1000}{1+99e^{-0.5t}}$ students have heard a rumour after $t$ days. When have half heard it?

Show the solution
  1. Set $N=500$.$$1+99e^{-0.5t}=2\Rightarrow e^{-0.5t}=\tfrac1{99}$$
  2. Solve.$$t=2\ln99\approx9.2$$

✔ After about $9$ days.

🔊 Loudness

A street is $80$ dB and a classroom $60$ dB. How many times more intense is the street?

Show the solution
  1. $L=10\log\frac{I}{I_0}$, so the ratio is$$10^{(80-60)/10}=10^2$$

✔ $100$ times.

🏆 Challenge problems

Harder problems for students aiming higher. Try first, then open the solution.

🏆 Mixed bases

Solve $\log_2x+\log_4x=6$.

Show the solution
  1. Change of base.$$\log_4x=\tfrac12\log_2x$$
  2. Solve.$$\tfrac32\log_2x=6\Rightarrow\log_2x=4$$

✔ $x=16$.

🏆 Hidden quadratic

Solve $4^x-3\cdot2^{x+1}+8=0$.

Show the solution
  1. Let $u=2^x$.$$u^2-6u+8=0\Rightarrow u=2,\ 4$$
  2. Back to $x$.$$2^x=2\Rightarrow x=1,\qquad2^x=4\Rightarrow x=2$$

✔ $x=1$ or $x=2$.

✅ Multiple-choice quiz

📝 Short essay

Explain why exponential growth eventually exceeds any linear growth. Compare $y=100x$ and $y=2^x$.