4F

Exponential functions with other bases

Writing a^x as e^(x ln a), differentiating and integrating a^x, and why e is the natural base for calculus.

Populations double, bacteria triple, and sound levels go up in powers of $10$. These models use bases like $2$, $3$ and $10$, not $e$. Since $e$ is the only base with a clean derivative, the trick is to rewrite any base as a power of $e$, and then use what we already know.

Changing to base $e$

Any positive number can be written as a power of $e$, because $e^{\ln a} = a$. Then the index laws give:

Changing the base
$$a^x = \big(e^{\ln a}\big)^x = e^{x\ln a}$$

For example, $2^x = e^{x\ln 2} \approx e^{0.693x}$ and $10^x = e^{x\ln 10} \approx e^{2.303x}$. So every exponential curve is a horizontal stretch of $y = e^x$.

Differentiating $a^x$

Use the chain rule on $e^{x\ln a}$. The power $x\ln a$ has derivative $\ln a$, a constant:

Calculus with base a
$$\frac{d}{dx}a^x = (\ln a)\,a^x \qquad\qquad \int a^x\,dx = \frac{a^x}{\ln a} + C$$

So the derivative of $a^x$ is a constant multiple of itself, and that constant is $\ln a$. The integral divides by the same constant, just as $\displaystyle\int e^{kx}\,dx = \tfrac1k e^{kx} + C$.

Which base has gradient 1 at (0, 1)?

y = aˣ with its tangent at the y-intercept (dashed).

Try this

Slide $a$ until the tangent at $(0, 1)$ has gradient exactly $1$. Which famous number have you found? That is why $e$ is called the natural base.

Example 1●●

(a) Find the gradient of $y = 2^x$ at $x = 0$. (b) Differentiate $y = 5 \times 3^{2x}$.

(a) $y' = (\ln 2)2^x$, so the gradient at $x = 0$ is $\ln 2 \approx 0.69$.
The gradient at 0 is ln 2 × 2⁰ = ln 2.
(b) $y' = 5 \times 2\ln 3 \times 3^{2x} = 10\ln 3 \times 3^{2x}$
3^(2x) = e^(2x ln 3). The power has derivative 2 ln 3.

Integrals and areas

Example 2●●

Find the exact area under $y = 2^x$ between $x = 0$ and $x = 3$.

Area $= \displaystyle\int_0^3 2^x\,dx = \Big[\dfrac{2^x}{\ln 2}\Big]_0^3$
$= \dfrac{8 - 1}{\ln 2} = \dfrac{7}{\ln 2} \approx 10.10$ square units.
2³ = 8 and 2⁰ = 1.

Your turn

Find the equation of the tangent to $y = 2^x$ at its $y$-intercept, and where it meets the $x$-axis.

Show the working

At $(0, 1)$ the gradient is $\ln 2$, so the tangent is $y = (\ln 2)x + 1$. Setting $y = 0$ gives $x = -\dfrac{1}{\ln 2} \approx -1.44$.

Flashcards
$a^x$ as a power of $e$
$e^{x\ln a}$
$dfrac{d}{dx}a^x$
$(\ln a)\,a^x$
$displaystyleint a^x,dx$
$\dfrac{a^x}{\ln a} + C$
Practice
  1. $2^x$ can be written as:

  2. Find the gradient of $y = 2^x$ at $x = 0$, to two decimal places.

  3. Find the derivative of $10^x$ at $x = 1$, to two decimal places.

  4. $\displaystyle\int 3^x\,dx =$

  5. Evaluate $\displaystyle\int_0^1 3^x\,dx$, to two decimal places.

  6. Find the area under $y = 2^x$ from $x = 0$ to $x = 3$, to two decimal places.

  7. Find the derivative of $2^{3x}$ at $x = 0$, to two decimal places.

  8. Why is $e$ the natural base for calculus?

  9. Exam style: find the $x$-value where the gradient of $y = 2^x$ is exactly $1$, to two decimal places.

  10. Exam style: find the area under $y = 5^x$ from $x = 0$ to $x = 2$, to two decimal places.

Formula sheet