5. Calculus

Derivatives Of Exponential And Logarithmic Functions

Derivatives of Exponential and Logarithmic Functions

Welcome, students! ๐ŸŒŸ In this lesson, you will learn how to differentiate exponential and logarithmic functions, two of the most important function types in calculus. These functions appear everywhere in science, finance, biology, technology, and population modelling. By the end of this lesson, you should be able to explain what the derivative tells us, apply the main differentiation rules, and interpret the results in real-world contexts.

Objectives and big idea

The derivative measures rate of change. In simple terms, it tells us how quickly a quantity is changing at a specific moment. For example, if a population is growing, the derivative tells us the growth rate. If a bank account is earning interest, the derivative describes how fast the balance is increasing. ๐Ÿ“ˆ

For exponential and logarithmic functions, derivatives are especially useful because these functions often model growth and decay. The most important ideas in this lesson are:

  • the derivative of $e^x$ is $e^x$
  • the derivative of $a^x$ is $a^x\ln(a)$ for $a>0$ and $a\neq 1$
  • the derivative of $\ln(x)$ is $\frac{1}{x}$ for $x>0$
  • the chain rule is needed for composite exponential and logarithmic functions
  • derivatives can be interpreted in context, not just calculated mechanically

These ideas connect directly to the broader study of calculus, especially rate of change, modelling, and problem solving.

Exponential functions and their derivatives

An exponential function has the variable in the exponent, such as $e^x$, $2^x$, or $5^{3x-1}$. Exponential functions grow or decay at a rate proportional to their current value, which makes them ideal for modelling bacteria growth, radioactive decay, compound interest, and some forms of technology adoption.

The most important exponential function in calculus is $f(x)=e^x$. Its derivative is

$$\frac{d}{dx}(e^x)=e^x$$

This is unusual because the function is equal to its own derivative. That means the slope of the graph of $e^x$ at each point is exactly the same as the function value at that point. If $x=0$, then $e^0=1$, so the slope there is $1$.

For general exponential functions, if $f(x)=a^x$ where $a>0$ and $a\neq 1$, then

$$\frac{d}{dx}(a^x)=a^x\ln(a)$$

This formula shows that the derivative depends on the base $a$. If $a>1$, the function is increasing, and the derivative is positive. If $0<a<1$, the function is decreasing, and the derivative is negative because $\ln(a)<0$.

Example: differentiating an exponential function

Suppose $f(x)=3^x$. Then

$$f'(x)=3^x\ln(3)$$

This means the slope of the curve at $x=2$ is

$$f'(2)=3^2\ln(3)=9\ln(3)$$

So the graph is increasing, and the steepness depends on both the function value and the constant $\ln(3)$.

Using the chain rule with exponentials

Many exam questions use composite functions such as $f(x)=e^{2x+1}$ or $g(x)=4^{x^2}$.

If $f(x)=e^{u(x)}$, then

$$\frac{d}{dx}\big(e^{u(x)}\big)=e^{u(x)}u'(x)$$

For example, if $f(x)=e^{3x-4}$, then

$$f'(x)=e^{3x-4}\cdot 3=3e^{3x-4}$$

If $g(x)=2^{x^2}$, then

$$g'(x)=2^{x^2}\ln(2)\cdot 2x$$

This is a clear case where the chain rule is essential. ๐Ÿง 

Logarithmic functions and their derivatives

The natural logarithm $\ln(x)$ is the inverse of $e^x$. Because of this relationship, the derivative of $\ln(x)$ is simple and very important:

$$\frac{d}{dx}(\ln(x))=\frac{1}{x}, \quad x>0$$

This tells us that $\ln(x)$ grows more slowly as $x$ gets larger. For example, the slope at $x=1$ is $1$, but the slope at $x=10$ is only $\frac{1}{10}$. So the graph gets flatter as $x$ increases.

The derivative of a logarithmic function with a constant base can also be found using the change-of-base formula. If

$$f(x)=\log_a(x)$$

then

$$\frac{d}{dx}(\log_a(x))=\frac{1}{x\ln(a)}$$

where $a>0$ and $a\neq 1$.

Example: differentiating a logarithmic function

If $f(x)=\ln(5x)$, then use the chain rule:

$$f'(x)=\frac{1}{5x}\cdot 5=\frac{1}{x}$$

Even though the function looks different from $\ln(x)$, its derivative simplifies nicely. This is a common pattern in calculus.

If $g(x)=\ln(x^2+1)$, then

$$g'(x)=\frac{1}{x^2+1}\cdot 2x=\frac{2x}{x^2+1}$$

Here the inside function $x^2+1$ is differentiated first, then multiplied by the reciprocal of the original inside expression.

Interpreting derivatives in context

In IB Mathematics: Applications and Interpretation HL, it is not enough to calculate derivatives; students, you must also interpret them in context. A derivative represents an instantaneous rate of change with respect to the independent variable.

For an exponential growth model such as

$$P(t)=P_0e^{kt}$$

the derivative is

$$P'(t)=kP_0e^{kt}=kP(t)$$

This means the rate of growth is proportional to the current amount. If $P(t)$ represents a population, then a larger population grows faster in absolute terms, even if the relative growth rate stays constant.

Real-world example: compound growth ๐Ÿ’ฐ

Suppose the value of an investment is modelled by

$$V(t)=2000e^{0.04t}$$

where $t$ is measured in years. Then

$$V'(t)=2000(0.04)e^{0.04t}=80e^{0.04t}$$

At $t=5$,

$$V'(5)=80e^{0.2}$$

This gives the instantaneous rate at which the investment value is increasing after 5 years. The derivative has units of dollars per year.

Real-world example: concentration and decay ๐Ÿงช

A medicine in the bloodstream may follow a decay model like

$$C(t)=C_0e^{-kt}$$

Then

$$C'(t)=-kC_0e^{-kt}=-kC(t)$$

The negative sign shows the concentration is decreasing over time. This kind of model helps scientists estimate how quickly a drug leaves the body.

Why logarithms matter in differentiation

Logarithms are especially helpful when dealing with products, quotients, or powers because they can simplify expressions. In calculus, logarithms also appear when solving equations that involve exponentials.

For example, if

$$e^{x}=7$$

then taking the natural logarithm of both sides gives

$$x=\ln(7)$$

This idea is useful when solving for time in exponential models. If

$$P(t)=P_0e^{kt}$$

and you need to find the time when the population reaches a certain value, logarithms help isolate $t$.

Example: solving with logarithms

If

$$1000e^{0.03t}=1500$$

then divide by $1000$:

$$e^{0.03t}=1.5$$

Take natural logs:

$$0.03t=\ln(1.5)$$

So

$$t=\frac{\ln(1.5)}{0.03}$$

This shows how logarithms connect differentiation, modelling, and solving equations.

Common IB-style reasoning and calculator support

In IB AI HL, technology may be used to confirm derivatives numerically or to explore graphs. A graphing calculator can help you check whether a derivative is positive, negative, or zero at a given point. It can also help you compare the steepness of graphs like $e^x$, $2^x$, and $\ln(x)$.

When using technology, remember that the calculator supports reasoning, but it does not replace understanding. You should still know:

  • how to apply the derivative rules
  • how to simplify results
  • how to interpret the meaning of the derivative
  • how to state units in context

For instance, if a model is $A(t)=50\ln(t+1)$, then

$$A'(t)=\frac{50}{t+1}$$

At $t=0$ the rate is $50$ units per time interval, but by $t=9$ the rate has dropped to $5$. This is a clear example of diminishing growth. ๐Ÿ“‰

Conclusion

Derivatives of exponential and logarithmic functions are central to calculus because they describe how fast quantities change in many real situations. The formulas for $\frac{d}{dx}(e^x)$, $\frac{d}{dx}(a^x)$, and $\frac{d}{dx}(\ln(x))$ are essential tools, and the chain rule extends them to more complex expressions. In IB Mathematics: Applications and Interpretation HL, these derivatives are not just symbolic rules; they are tools for understanding growth, decay, and change in context.

When you meet an exponential or logarithmic model, ask yourself: What is changing? How fast is it changing? What do the units mean? Those questions turn calculus into a powerful way to analyze the world around you, students. โœ…

Study Notes

  • The derivative measures instantaneous rate of change.
  • $\frac{d}{dx}(e^x)=e^x$.
  • $\frac{d}{dx}(a^x)=a^x\ln(a)$ for $a>0$ and $a\neq 1$.
  • $\frac{d}{dx}(\ln(x))=\frac{1}{x}$ for $x>0$.
  • For composite functions, use the chain rule, such as $\frac{d}{dx}(e^{u(x)})=e^{u(x)}u'(x)$.
  • For $f(x)=\ln(u(x))$, the derivative is $\frac{u'(x)}{u(x)}$.
  • Exponential models often describe growth or decay, such as $P(t)=P_0e^{kt}$.
  • Logarithms are useful for solving exponential equations.
  • In context, always interpret what the derivative means and include units.
  • Technology can help check answers, but mathematical reasoning is still essential.

Practice Quiz

5 questions to test your understanding

Derivatives Of Exponential And Logarithmic Functions โ€” IB Mathematics Applications And Interpretation HL | A-Warded