Derivatives of Exponential and Logarithmic Functions: Learn It 1

  • Determine the derivatives of exponential and logarithmic functions
  • Apply logarithmic differentiation to find derivatives

Exponential and logarithmic functions are crucial in modeling growth processes, such as population dynamics and radioactive decay. These functions also simplify complex mathematical expressions. In this section, we delve deeper into their derivatives, highlighting the uniqueness of these functions, particularly through the properties of the natural exponential function, [latex]e^x[/latex].

Derivative of the Exponential Function

The differentiation of exponential functions [latex]B(x)=b^x[/latex] where [latex]b>0[/latex], begins with recognizing that these functions are defined for all real numbers and are continuous. This universality stems from the properties defined for exponentiation over rational and irrational numbers alike.

Historically, exponentiation for integers was defined straightforwardly—for example, [latex]b^n[/latex] where [latex]n[/latex] is an integer. For non-integer exponents, [latex]b^r[/latex] (where [latex]r[/latex] is any real number), we interpret this through a limiting process. Specifically, [latex]b^r[/latex] is understood as the limit of [latex]b^x[/latex] as [latex]x[/latex] approaches [latex]r[/latex] from rational values, ensuring the function’s continuity across all real numbers.

To illustrate, consider the function [latex]{4}^{x}[/latex] evaluated at values close to [latex]\pi[/latex]. We may view [latex]{4}^{\pi}[/latex] as the number satisfying:

[latex]\begin{array}{l}4^3<4^{\pi}<4^4, \\ 4^{3.1}<4^{\pi}<4^{3.2}, \\ 4^{3.14}<4^{\pi}<4^{3.15},\\ 4^{3.141}<4^{\pi}<4^{3.142}, \\ 4^{3.1415}<4^{\pi}<4^{3.1416}, \\ \cdots \end{array}[/latex]

As we see in the following table, [latex]4^{\pi}\approx 77.88[/latex].

Approximating a Value of [latex]4^{\pi}[/latex]
[latex]x[/latex] [latex]4^x[/latex] [latex]x[/latex] [latex]4^x[/latex]
[latex]4^3[/latex] [latex]64[/latex] [latex]4^{3.141593}[/latex] [latex]77.8802710486[/latex]
[latex]4^{3.1}[/latex] [latex]73.5166947198[/latex] [latex]4^{3.1416}[/latex] [latex]77.8810268071[/latex]
[latex]4^{3.14}[/latex] [latex]77.7084726013[/latex] [latex]4^{3.142}[/latex] [latex]77.9242251944[/latex]
[latex]4^{3.141}[/latex] [latex]77.8162741237[/latex] [latex]4^{3.15}[/latex] [latex]78.7932424541[/latex]
[latex]4^{3.1415}[/latex] [latex]77.8702309526[/latex] [latex]4^{3.2}[/latex] [latex]84.4485062895[/latex]
[latex]4^{3.14159}[/latex] [latex]77.8799471543[/latex] [latex]4^4[/latex] [latex]256[/latex]

The differentiation of exponential functions [latex]B(x)=b^x,[/latex] begins by confirming that [latex]b^x[/latex] is defined for all real numbers and is inherently continuous. We assume [latex]B^{\prime}(0)[/latex] exists and is positive. In this context, we delve deeper into proving that [latex]B(x)[/latex] is differentiable across its entire domain by making one key assumption: there exists a unique value [latex]b > 0[/latex] for which [latex]B^{\prime}(0)=1[/latex]. This value, defined as [latex]e[/latex], demonstrates unique properties, marking it as the base of natural logarithms.

Figure 1 provides graphs of the functions [latex]y=2^x, \, y=3^x, \, y=2.7^x[/latex], and [latex]y=2.8^x[/latex]. Observing the slopes of tangent lines at [latex]x=0[/latex] for these functions provides empirical evidence suggesting that [latex]e[/latex] is approximately between [latex]2.7[/latex] and [latex]2.8[/latex]. This observation is supported by the graph where the tangent line at [latex]x=0[/latex] for [latex]y=e^x[/latex] has a slope of [latex]1[/latex], uniquely defining [latex]e[/latex] as approximately [latex]2.718[/latex].

The graphs of 3x, 2.8x, 2.7x, and 2x are shown. In quadrant I, their order from least to greatest is 2x, 2.7x, 2.8x, and 3x. In quadrant II, this order is reversed. All cross the y-axis at (0, 1).
Figure 1. The graph of [latex]E(x)=e^x[/latex] is between [latex]y=2^x[/latex] and [latex]y=3^x[/latex].

The natural exponential function, [latex]E(x)=e^x[/latex], and its inverse, the natural logarithm [latex]L(x)=\log_e x=\ln x[/latex] are essential for understanding continuous growth and decay processes modeled in various scientific and financial contexts.

To estimate the value of [latex]e[/latex], we consider the derivative of exponential functions of the form [latex]B(x)=b^x[/latex] at [latex]x=0[/latex], denoted as [latex]B^{\prime}(0)[/latex].

To accurately determine [latex]B^{\prime}(0)[/latex], we select values of x very close to zero, such as [latex]x=0.00001[/latex] and [latex]x=-0.00001[/latex]. This method allows us to find [latex]B^{\prime}(0)[/latex] and compare it against our hypothesized value of [latex]b[/latex] that satisfies [latex]B^{\prime}(0)=1[/latex], indicating [latex]b=e[/latex].

The table below illustrates how varying [latex]b[/latex] around the theoretical value of [latex]e[/latex] allows us to pinpoint the exact value where [latex]B^{\prime}(0) \approx 1[/latex] , suggesting [latex]e \approx 2.718[/latex].

Estimating a Value of [latex]e[/latex]
[latex]b[/latex] [latex]\frac{b^{-0.00001}-1}{-0.00001} < B^{\prime}(0) < \frac{b^{0.00001}-1}{0.00001}[/latex] [latex]b[/latex] [latex]\frac{b^{-0.00001}-1}{-0.00001} < B^{\prime}(0) < \frac{b^{0.00001}-1}{0.00001}[/latex]
[latex]2[/latex] [latex]0.693145 < B^{\prime}(0) < 0.69315[/latex] [latex]2.7183[/latex] [latex]1.000002 < B^{\prime}(0) < 1.000012[/latex]
[latex]2.7[/latex] [latex]0.993247 < B^{\prime}(0) < 0.993257[/latex] [latex]2.719[/latex] [latex]1.000259 < B^{\prime}(0) < 1.000269[/latex]
[latex]2.71[/latex] [latex]0.996944 < B^{\prime}(0) < 0.996954[/latex] [latex]2.72[/latex] [latex]1.000627 < B^{\prime}(0) < 1.000637[/latex]
[latex]2.718[/latex] [latex]0.999891 < B^{\prime}(0) < 0.999901[/latex] [latex]2.8[/latex] [latex]1.029614 < B^{\prime}(0) < 1.029625[/latex]
[latex]2.7182[/latex] [latex]0.999965 < B^{\prime}(0) < 0.999975[/latex] [latex]3[/latex] [latex]1.098606 < B^{\prime}(0) < 1.098618[/latex]

The graph of [latex]E(x)=e^x[/latex] is shown alongside the line [latex]y=x+1[/latex] in Figure 2, demonstrating that the tangent to [latex]E(x)=e^x[/latex] at [latex]x=0[/latex] has a slope of [latex]1[/latex]. This observation supports the hypothesis that the value of [latex]e[/latex] optimizes the slope at [latex]x=0[/latex] to exactly [latex]1[/latex].

Graph of the function ex along with its tangent at (0, 1), x + 1.
Figure 2. The tangent line to [latex]E(x)=e^x[/latex] at [latex]x=0[/latex] has slope 1.

Now that we understand the underlying behavior at [latex]x=0[/latex], let’s derive the general derivative formula for [latex]B(x)=b^x, \, b>0[/latex]. We start by applying the limit definition of the derivative:

[latex]B^{\prime}(0)=\underset{h\to 0}{\lim}\dfrac{b^{0+h}-b^0}{h}=\underset{h\to 0}{\lim}\dfrac{b^h-1}{h}[/latex]

Turning to [latex]B^{\prime}(x)[/latex], we obtain the following.

[latex]\begin{array}{lllll} B^{\prime}(x) & =\underset{h\to 0}{\lim}\frac{b^{x+h}-b^x}{h} & & & \text{Apply the limit definition of the derivative.} \\ & =\underset{h\to 0}{\lim}\frac{b^xb^h-b^x}{h} & & & \text{Note that} \, b^{x+h}=b^x b^h. \\ & =\underset{h\to 0}{\lim}\frac{b^x(b^h-1)}{h} & & & \text{Factor out} \, b^x. \\ & =b^x\underset{h\to 0}{\lim}\frac{b^h-1}{h} & & & \text{Apply a property of limits.} \\ & =b^x B^{\prime}(0) & & & \text{Use} \, B^{\prime}(0)=\underset{h\to 0}{\lim}\frac{b^{0+h}-b^0}{h}=\underset{h\to 0}{\lim}\frac{b^h-1}{h}. \end{array}[/latex]

We see that on the basis of the assumption that [latex]B(x)=b^x[/latex] is differentiable at [latex]0, \, B(x)[/latex] is not only differentiable everywhere, but its derivative is

[latex]B^{\prime}(x)=b^x B^{\prime}(0)[/latex]

For [latex]E(x)=e^x, \, E^{\prime}(0)=1[/latex]. Thus, we have [latex]E^{\prime}(x)=e^x[/latex]. (The value of [latex]B^{\prime}(0)[/latex] for an arbitrary function of the form [latex]B(x)=b^x, \, b>0[/latex], will be derived later.)

derivative of the natural exponential function

Let [latex]E(x)=e^x[/latex] be the natural exponential function. Then

[latex]E^{\prime}(x)=e^x[/latex]

 

In general,

[latex]\frac{d}{dx}(e^{g(x)})=e^{g(x)} g^{\prime}(x)[/latex]

If it helps, think of the formula as the chain rule being applied to natural exponential functions. The derivative of [latex]{e}[/latex] raised to the power of a function will simply be [latex]{e}[/latex] raised to the power of the function multiplied by the derivative of that function.

Find the derivative of [latex]f(x)=e^{\tan (2x)}[/latex].

Find the derivative of [latex]y=\dfrac{e^{x^2}}{x}[/latex].


A colony of mosquitoes has an initial population of [latex]1000.[/latex] After [latex]t[/latex] days, the population is given by [latex]A(t)=1000e^{0.3t}[/latex]. Show that the ratio of the rate of change of the population, [latex]A^{\prime}(t)[/latex], to the population size, [latex]A(t)[/latex] is constant.