Derivatives of Exponential and Logarithmic Functions

Engineering Context:

MAE: The function of a decreasing temperature is an exponential function. It is important for mechanical engineers to understand derivatives of exponential functions so that they can analyze the temperature changes of a system. This would help them design efficient systems.

T s 2 + T ln r r 2 ln r 1 r 2

ECE: To find the relationship between voltage in and voltage out, electrical engineers use the following equation. To find the change in voltage, these engineers would need to know how to take the derivative of this function.

V out = K ln ( V in V ref )

CEE/BE: Environmental and bilogical engineers solve problems about bacteria growth. These calculations often involve the exponential growth formula P = P 0 e r t . Finding the rate of change of the population of bacteria would require taking the derivative of this exponential function.

The Essentials

Derivative of Exponential Function:

d d x e f x = e f x · f x

Derivative of a Constant Exponential Function:

d d x a x = a x ln a , where a is some constant

Derivative of a General Logarithm:

d d x log b g x = 1 g x ln b · g x

Derivative of a Natural Logarithm:

d d x ln g x = 1 g x · g x

A Deeper Dive

Understanding why each of these derivatives are valid is quite interesting. Below are some proofs of the derivatives of logarithmic and exponential functions. Exponential functions and natural logarithms are inverse functions of one another. This is helpful to keep in mind when looking at these proofs.

Proof of the Derivative of an Exponential

y = e x

Use the definition of the derivative:

d y d x = lim h 0 e x + h -   e x h = e x e h 1 h
d y d x = e x lim h 0 e h - 1 h
d y d x = e x · 1 = e x

Proof of the Derivative of a General Logarithm:

log b x = y b y = x

Take the natural log of both sides.

ln b y =   ln x

Use log power rules.

y ln b =   ln x

Isolate y.

y = ln x ln b

Take the derivative with respect to x.

d y d x = 1 ln b · 1 x = 1 x ln b

Proof of the Derivative of a Natural Logarithm:

y =   ln x e y = e ln x e y = x

Use implicit differentiation.

e y d y d x = 1
d y d x = 1 e y
d y d x = 1 x

Practice

Find the following derivatives:

Exercise 1. d d x ln 5 x 2

Exercise 2. d d x e 2 x 3 + 3 x

Solutions:

Exercise 1.

d d x ln 5 x 2 = 1 5 x 2 · 10 x = 2 x

Exercise 2.

d d x e 2 x 3 + 3 x = e 2 x 3 + 3 x · 6 x 2 + 3 = 6 x 2 + 3 e 2 x 3 + 3 x