Chain Rule of Derivatives - Formula and Examples

The Chain Rule is one of the most common derivatives applied in Differential Calculus (or Calculus I). It is used in deriving a composition of functions. The chain rule can be proven using the backbone of Calculus, which is the limits. 

In this article, we will discuss everything about the chain rule. We will cover its definition, formula, and application usage. We will also look at some examples and practice problems to apply the principles of the chain rule.

CALCULUS
Formula for the chain rule of derivatives

Relevant for...

Learning about the chain rule with examples.

See formula

CALCULUS
Formula for the chain rule of derivatives

Relevant for...

Learning about the chain rule with examples.

See formula

The chain rule and its formula

What is the chain rule of derivatives?

The chain rule is defined as the derivative of a composition of at least two different types of functions, such as:

$$y’ = \frac{d}{dx}[f \left( g(x) \right)]$$

where g(x) is a domain of the function f(u).

We can also call the function f as the external function and the function g as the internal function. In this composition, f(x) and g(x) must be two different types of functions that cannot be evaluated algebraically as a single type of function.

Recall that a function composition can be considered as a function within a function, or as a function of another function.

The formula for the chain rule of derivatives

The chain rule formula can be expressed verbally as the derivative of the outer function f multiplied by the derivative of the inner function g. The inner function g is the domain of the derivative of the outer function f.

The chain rule formula can be illustrated as:

$$\frac{d}{dx} (f(g(x))) = \frac{d}{dx} (f(g(x))) \cdot \frac{d}{dx}(g(x))$$

where we derive f(g(x)) using the derivative method of the function f and using g(x) as the domain of the function f and then multiplying the derivative of the function f by the derivative of g(x).

In another form, it can also be illustrated as:

$$\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}$$

where

  • $latex f(u) =$ is the outer function
  • $latex u = g(x)$, is the inner function, and the domain of $latex f(u)$
  • $latex \frac{dy}{du} =$ the derivative of the outer function $latex f(u)$ in terms of $latex u$.
  • $latex \frac{du}{dx} =$ the derivative of the inner function $latex g(x)$ in terms of $latex x$

For more information on proving the chain rule using limits, visit our article on Proofs of the chain rule.

How to use the chain rule, a step-by-step tutorial

Suppose we have to derive

$latex H(x) = \sin{(x^3)}$

As you can see, this given function can be considered a composite function. Therefore, we can use the chain rule formula to derive this problem.

1. Write the formula for the chain rule as reference:

$$\frac{d}{dx} (H(x)) = \frac{d}{dx} \left(f(g(x)) \right) \cdot \frac{d}{x}(g(x))$$

You can use any form of the chain rule formula.

2. Identify the inner and outer functions.

If we consider the inner function as $latex g(x) = u=x^3$, then

$latex f(g(x)) = f(u)$

$latex f(u) = \sin{(u)}$

3. Apply the formula for the chain rule.

$$\frac{d}{dx} H(x) = \frac{d}{du}(f(u)) \cdot \frac{d}{dx}(g(x))$$

$$\frac{d}{dx} H(x) = \frac{d}{du}(\sin{(u)}) \cdot \frac{d}{dx}(x^3)$$

$$\frac{d}{dx} H(x) = (\cos{(u)}) \cdot (3x^2)$$

4. Substitute the inner function $latex g(x)=u=x^3$ into the derivative equation:

$$\frac{d}{dx} H(x) = (\cos{(x^3)}) \cdot (3x^2)$$

5. Simplify the obtained derivative:

$$\frac{d}{dx} H(x) = 3x^2 \cdot \cos{(x^3)}$$

$latex H'(x) = 3x^2 \cos{(x^3)}$

Chain rule - Examples with answers

EXAMPLE 1

Derive the following function:

$latex H(x) = (12x+6)^{24}$

Solution

EXAMPLE 2

Find the derivative of the given function.

$latex f(x) = \sqrt[12]{6x-3}$

Solution

EXAMPLE 3

Derive the following function:

$latex \cos{(12x^2+6x-3)}$

Solution

EXAMPLE 4

What is the derivative of the given function?

$latex \csc{\ln{(12x+6)}}$

Solution

EXAMPLE 5

Derive the following:

$latex e^{\sin^{2}{(6x-3)}}$

Solution

Chain rule of derivatives - Practice problems

Chain rule of derivatives quiz
Logo
You have completed the quiz!

Find the derivative of $latex f(x) = \ln{(e^x)}$

Write the answer in the input box.

$latex f'(x)=$

See also

Interested in learning more about the chain rule? Check out these pages:

Learn mathematics with our additional resources in different topics

LEARN MORE