We compute the derivative of a composition.

1 Compositions

Composition is an operation that is unique to functions. It involves taking the output of one function and using it as the input of another function. The composition of two functions and is the function defined by We refer to as the “inside” function and as the “outside” function.

PIC

(problem 1) Identify the inside and the outside functions in these compositions:
  • Inside function, and outside function,
  • Inside function, and outside function,
  • Inside function, and outside function,

A composition can be written as a chain of variables: if , then we can introduce a new variable, and we can write where .

(problem 2) Write the following compositions as a chain of variables:
(a)
The single equation can be written as where
(b)
The single equation ; can be written as where
(c)
The single equation ; can be written as where

2 The Chain Rule in Prime Notation

The chain rule is the formula for computing the derivative of a composition.

The formula can be expressed by saying that the derivative of a composition is “the derivative of the outside times the derivative of the inside.” It must be noted that the derivative of the outside function is evaluated at the inside function.
(problem 3a) Find the indicated derivative:
The chain rule says:
The “outside” function is and the “inside” function is .
Leave the inside in,
Multiply by the derivative of the inside,
Here is a video solution of problem 3a:
_
(problem 3b) Find the indicated derivative:
The chain rule says:
The “outside” function is and the “inside” function is .
Leave the inside in,
Multiply by the derivative of the inside,
(problem 4a)

Compute

The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,
(problem 4b)

Compute

The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,
(problem 5) Find the values of where the tangent line to the graph of is horizontal.
First we find the derivative:
The inside function is and the outside function is .
The tangent line is horizontal where the derivative is zero.
In increasing order, the -values where the tangent line is horizontal are ,, .

3 Leibniz Notation for the Chain Rule

The chain rule can also be expressed in Leibniz notation. A composition can be written using a chain of variables as: where . Observe that and . Thus, the chain rule in Leibniz notation is given by the elegant formula: In this format, the chain rule expresses the fact that “rates of change multiply.” To see this, consider a small change in the variable . This produces a change in which in turn produces a change in . The chain rule states that the rate of change of with respect to is the rate of change of with respect to times the rate of change of with respect to . For example, if is changing three times faster than and is changing four times faster than , then is changing times faster than .

(problem 6) Find if and simplify the answer.
We unravel the composition by substituting for leading to the following chain of variables: Then the derivatives are Finally, the chain rule says to multiply these derivatives: which can be simplified to .
(problem 7) Find the derivative of .
We unravel the composition by substituting for leading to the following chain of variables: Then the derivatives are Finally, the chain rule says to multiply these derivatives:
(problem 8) After million years, the amount of uranium 235 left from a sample of 20 grams is given by the function Find the rate at which uranium 235 is decaying after 2 million years.
We write as a composition: with To find we need and . We have, By the chain rule, After 2 million years, the rate of decay is This is a negative value, indicating that the amount of uranium 235 is decreasing over time.

4 Additional Examples and Problems

Here is a video of example 9:

_
(problem 9) Compute
The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,

Here is a video of example 10:

_
(problem 10) Compute
The chain rule says:
The inside function is and the outside function is
Leave the inside in,
Multiply by the derivative of the inside,

Here is a video of example 11:

_
(problem 11) Compute
The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,

Here is a video of example 12:

_
(problem 12a) Compute
The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,
(problem 12b) What is the derivative of ?

Here is a video of example 13:

_
(problem 13) Compute
The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,
(problem 14) Compute
The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,

Here is a video of example 15:

_
(problem 15) Compute
The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,

Here is a video of example 16:

_
(problem 16)

Compute

The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,

Here is a video of example 17:

_
(problem 17) Compute
The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,

Here is a video of example 18:

_
(problem 19)

Compute

The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,

Here is a video of example 20:

_
(problem 20a) Compute
The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,
(problem 20b) Compute
The chain rule says:
The outside function is and the inside function is .
Leave the inside in,
Multiply by the derivative of the inside,

We now create a general chain rule formula for the natural logarithm function. With as the inside function, and we obtain the following formula for the derivative of :

The above formula is both useful and important. We will see it again in the Logarithmic Differentiation section.

Here is a video of example 21
_
(problem 21) Compute

5 Chain Rule Formulas

(problem 22) What is the derivative of ?
(problem 23) What is the derivative of ?
(problem 24) What is the derivative of ?
(problem 25) What is the derivative of ?
(problem 26) What is the derivative of ?
(problem 27) What is the derivative of ?
(problem 28) What is the derivative of ?
(problem 29) What is the derivative of ? Simplify your answer as much as possible.

6 Proof of the Chain Rule

The chain rule is a consequence of the limit definition of the derivative. We give a proof of the chain rule here.

Proof
We start with the limit definition of the derivative: We multiply and divide by to get By the limit laws, this is equal to The second limit is by the definition of the derivative. To find the first limit, we let . By the continuity of , we have as . Thus, the first limit is Putting this all together, we have Note that in this proof, we had to assume that for close to .

Here are some detailed, lecture style videos on the chain rule:

_
_
_
2026-03-09 03:00:55