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:
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:
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$.
y = aˣ with its tangent at the y-intercept (dashed).
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.
(a) Find the gradient of $y = 2^x$ at $x = 0$. (b) Differentiate $y = 5 \times 3^{2x}$.
Integrals and areas
Find the exact area under $y = 2^x$ between $x = 0$ and $x = 3$.
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$.
$2^x$ can be written as:
$2 = e^{\ln 2}$, so $2^x = \big(e^{\ln 2}\big)^x = e^{x\ln 2}$.
Find the gradient of $y = 2^x$ at $x = 0$, to two decimal places.
$y' = (\ln 2)2^x$, so at $x = 0$ the gradient is $\ln 2 \approx 0.69$.
Find the derivative of $10^x$ at $x = 1$, to two decimal places.
$(\ln 10) \times 10^1 = 10\ln 10 \approx 23.03$.
$\displaystyle\int 3^x\,dx =$
Divide by $\ln 3$. The second option is the derivative, and the third wrongly treats $3^x$ as a power of $x$.
Evaluate $\displaystyle\int_0^1 3^x\,dx$, to two decimal places.
$\Big[\dfrac{3^x}{\ln 3}\Big]_0^1 = \dfrac{3 - 1}{\ln 3} = \dfrac{2}{\ln 3} \approx 1.82$.
Find the area under $y = 2^x$ from $x = 0$ to $x = 3$, to two decimal places.
$\dfrac{2^3 - 2^0}{\ln 2} = \dfrac{7}{\ln 2} \approx 10.10$.
Find the derivative of $2^{3x}$ at $x = 0$, to two decimal places.
$2^{3x} = e^{3x\ln 2}$, with derivative $3\ln 2 \times 2^{3x}$. At $x = 0$: $3\ln 2 \approx 2.08$.
Why is $e$ the natural base for calculus?
$\dfrac{d}{dx}a^x = (\ln a)a^x$, and only $a = e$ makes the constant $\ln a$ equal to $1$.
Exam style: find the $x$-value where the gradient of $y = 2^x$ is exactly $1$, to two decimal places.
$(\ln 2)2^x = 1$ gives $2^x = \dfrac{1}{\ln 2}$. Take logs: $x\ln 2 = -\ln(\ln 2)$, so $x = -\dfrac{\ln(\ln 2)}{\ln 2} \approx 0.53$.
Exam style: find the area under $y = 5^x$ from $x = 0$ to $x = 2$, to two decimal places.
$\Big[\dfrac{5^x}{\ln 5}\Big]_0^2 = \dfrac{25 - 1}{\ln 5} = \dfrac{24}{\ln 5} \approx 14.91$.
Coaching Centre