The Chain Rule is one of the major tools used in Differential Calculus (*or Calculus I*) derivation applications. It is very essential for the derivative of compositions of at least two different types of functions.

However, as easy as it seems to just use a standard formula to derive the composition of functions, it is significant to learn the concepts and foundations behind the creation of this standard formula that will satisfy the principles of the chain rule. Hence, in this chapter, we will focus mainly on the proofs of the chain rule formula.

## What is the Chain Rule?

The chain rule is defined as the derivative of the composition of at least two different types of functions. This rule can be used to derive a composition of functions such as but not limited to:

where *g(x) *is a domain of function *f*. In this composition, functions *f *and *g* must be two different types of function, which cannot be algebraically evaluated into a single type of function.

But how exactly do we derive that given function using the chain rule?

The Chain Rule states that the derivative of a composition of at least two different types of functions is equal to the derivative of the outside function *f*, and then multiplied by the derivative of its inner function *g*. The function *g* will be the domain of the derivative of the outside function *f.*

To better illustrate, we have

where you derive the outside function *f* by using the function *f*‘s derivative method while composing the original form of function *g* as its domain and then multiply the whole quantity by the derivative of the inner function *g* or *g(x)*.

We can also illustrate the chain rule formula as:

where

- the outer function
- , the domain of outer function
- the derivative of the outer function in terms of
- the derivative of the inner function in terms of

Most of the time, this form of formula is used for beginners. Although, it has more steps, but it is proven to be more convenient and less confusing. This form uses a substitution method in the chain rule formula to derive the outside function/s.

Somewhat easy, right? But we should not take this formula superficially if we aim to be able to derive any composition of functions. In order to learn and understand the concepts behind the development of this chain rule formula, we need to be familiarized with any proof which would satisfy the statement of the chain rule.

Start now: Explore our additional Mathematics resources

## Proof of The Chain Rule

To understand this proof, you are highly recommended to be familiarized with the topics, *The Slope of a Tangent Line* and *Derivatives Using Limits*.

We can recall that a derivative can be express in terms of limits in the following way:

Now, let’s suppose we have the following function:

Then, if we get the derivative, we have,

We can use the derivation in terms of limits:

By substituting the equation , we have

What manipulations can we do in this limit in order to arrive to the chain rule formula?

In our limit, we can multiply the function by

which is basically just equal to one. Thus, it won’t change our limit at all. By doing so, we have

Since we have a product of two fractions in our limit equation, we can apply the commutative property of multiplication in their denominators. By doing so, we have

By applying the properties of limits, we have

The second part of the right hand side is simply the derivative of *g*(*x*) written in limis. Then, we have

We can use the laws of limits to rearrange our limit like this:

*Let’s mark this equation as *

But before evaluating , let

*Let’s mark this equation as *

Equating in terms of , we have

*Let’s mark this equation as *

If we evaluate

*Let’s mark this expression as *

from , we have

And if evaluate the limit of in terms of , we have

Because of this, we can conclude that

Therefore, we can now evaluate in terms of instead of to further solve our remaining limits. Thus, we have

*Let’s mark this equation as *

By substituting and into , we have

Multiplying the equation above, we have

By solving the remaining limit, we have

or it can be simply illustrated as

which is now * The Chain Rule Formula*.

Finally, we now have proven the chain rule formula *by applying the concepts of limits*.

## Chain Rule – Examples with Answers

### EXAMPLE 1

Derive the following:

##### Solution

The first thing we need to do is to list down the chain rule formula for our reference:

If you are a beginner, it is recommended that you identify the functions involved in the composition. Otherwise, you can directly use the chain rule formula with fewer steps as long as you know the derivative methods of the type of functions involved.

Assuming you are a beginner, let us identify the functions involved from the function composition:

The given is

From the given, we have

If , then

∴ is a power function and will use the power formula to be derived

∴ is an polynomial function and will use the sum/difference of derivatives to be derived

If , then

Applying the chain rule formula, we have:

Since , let’s substitute into :

Simplifying algebraically, we have

**And the final answer is:**

### EXAMPLE 2

**W**hat is the derivative of ?

##### Solution

If , then

∴ is a power function and will use the power rule to be derived

∴ is a sum of power and trigonometric functions and will use the sum/difference of derivatives to be derived

If , then

Applying the chain rule formula, we have:

Since , let’s substitute into :

Simplifying algebraically, we have

**And the final answer is:**

### EXAMPLE 3

Derive the function:

##### Solution

If , then

∴ is a logarithmic function and will use the derivative of logarithmic functions to be derived

∴ is a polynomial function and will use the sum/difference of derivatives to be derived

If , then

Applying the chain rule formula, we have:

Since , let’s substitute into :

Simplifying algebraically, we have

**And the final answer is:**

### EXAMPLE 4

What is the derivative of ?

##### Solution

If , then

∴ is a exponential function and will use the derivative of exponential functions to be derived

∴ is a polynomial function and will use the sum/difference of derivatives to be derived

If , then

Applying the chain rule formula, we have:

Since , let’s substitute into :

Simplifying algebraically, we have

**And the final answer is:**

### EXAMPLE 5

Find the derivative of the following function:

##### Solution

This is a *more complex case* as the function is a *composition of three functions*. From the given, we have

If , then

∴ is a power function and will use power formula to be derived

If , then

∴ is a trigonometric function and will use the derivative of trigonometric functions to be derived

∴ is a power function and will use power formula to be derived

If , then

If , then

Adjusting our *chain rule formula* for the derivative of *compositions of three functions*, we have

Applying our adjusted chain rule formula for the derivative of composition of three functions, we have

Since and , let’s do the substitutions:

Simplifying algebraically, we have

**And the final answer is:**

As you can observe from our solution in this problem, deriving compositions of three functions, you will realize why the chain rule is coined from the term “chain”.

## See also

Interested in learning more about the chain rule? Take a look at these pages:

### Learn mathematics with our additional resources in different topics

**LEARN MORE**