<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# 2.5: The Chain Rule

Difficulty Level: At Grade Created by: CK-12

## Learning Objectives

A student will be able to:

• Know the chain rule and its proof.
• Apply the chain rule to the calculation of the derivative of a variety of composite functions.

We want to derive a rule for the derivative of a composite function of the form fg\begin{align*}f \circ g\end{align*} in terms of the derivatives of f\begin{align*}f\end{align*} and g\begin{align*}g\end{align*}. This rule allows us to differentiate complicated functions in terms of known derivatives of simpler functions.

The Chain Rule

If g\begin{align*}g\end{align*} is a differentiable function at x\begin{align*}x\end{align*} and f\begin{align*}f\end{align*} is differentiable at g(x)\begin{align*}g(x)\end{align*}, then the composition function fg=f(g(x))\begin{align*}f \circ g = f(g(x))\end{align*} is differentiable at x\begin{align*}x\end{align*}. The derivative of the composite function is:

(fg)(x)=f(g(x))g(x).

Another way of expressing, if u=u(x)\begin{align*}u = u(x)\end{align*} and f=f(u)\begin{align*}f = f(u)\end{align*}, then

ddx[f(u)]=f(u)dudx.

And a final way of expressing the chain rule is the easiest form to remember: If y\begin{align*}y\end{align*} is a function of u\begin{align*}u\end{align*} and u\begin{align*}u\end{align*} is a function of x\begin{align*}x\end{align*}, then

dydx=dydu.dudx.

Example 1:

Differentiate f(x)=(2x34x2+5)2.\begin{align*}f(x) = (2x^3 - 4x^2 + 5)^2.\end{align*}

Solution:

Using the chain rule, let u=2x34x2+5.\begin{align*}u = 2x^3 - 4x^2 + 5.\end{align*} Then

ddx[(2x24x2+5)2]=ddx[u2]=2ududx=2(2x34x2+5)(6x28x).

The example above is one of the most common types of composite functions. It is a power function of the type

y=[u(x)]n.

The rule for differentiating such functions is called the General Power Rule. It is a special case of the Chain Rule.

The General Power Rule

if

y=[u(x)]n

then

dydx=n[u(x)]n1u(x).

In simpler form, if

y=un

then

y=nun1u.

Example 2:

What is the slope of the tangent line to the function y=x23x+2\begin{align*}y = \sqrt {x^2 - 3x + 2}\end{align*} that passes through point x=3\begin{align*}x = 3\end{align*}?

Solution:

We can write y=(x23x+2)1/2.\begin{align*}y = (x^2 - 3x + 2)^{1/2}.\end{align*} This example illustrates the point that n\begin{align*} n \end{align*} can be any real number including fractions. Using the General Power Rule,

dydx=12(x23x+2)121(2x3)=12(x23x+2)1/2(2x3)=(2x3)2x23x+2

To find the slope of the tangent line, we simply substitute x=3\begin{align*}x = 3\end{align*} into the derivative:

Example 3:

Find \begin{align*}dy/dx\end{align*} for \begin{align*}y = \sin^3x\end{align*}.

Solution:

The function can be written as \begin{align*}y = [\sin x]^3.\end{align*} Thus

Example 4:

Find \begin{align*}dy/dx\end{align*} for \begin{align*}y = 5 \cos(3x^2 - 1).\end{align*}

Solution:

Let \begin{align*}u = 3x^2 - 1.\end{align*} By the chain rule,

where \begin{align*}f(u) = 5 \cos u.\end{align*} Thus

Example 5:

Find \begin{align*}dy/dx\end{align*} for \begin{align*}y= [\cos(\pi x^2)]^3.\end{align*}

Solution:

This example applies the chain rule twice because there are several functions embedded within each other.

Let \begin{align*}u\end{align*} be the inner function and \begin{align*}w\end{align*} be the innermost function.

Using the chain rule,

Notice that we used the General Power Rule and, in the last step, we took the derivative of the argument.

For an introduction to the Chain Rule (5.0), see Khan Academy, Calculus: Derivatives 4: The Chain Rule (9:12).

For more examples of the Chain Rule (5.0), see Math Video Tutorials by James Sousa The Chain Rule: Part 1 of 2 (8:45).

## Review Questions

Find \begin{align*}f'(x)\end{align*}.

1. \begin{align*}f(x) = (2x^2 - 3x)^{39}\end{align*}
2. \begin{align*} f(x) = \left (x^3 - \frac{5} {x^2} \right)^{-3}\end{align*}
3. \begin{align*} f(x) = \frac{1} {\sqrt{3x^2 -6x + 2}}\end{align*}
4. \begin{align*}f(x) = \sin^3x\end{align*}
5. \begin{align*}f(x) = \sin x^3\end{align*}
6. \begin{align*}f(x) = \sin^3x^3\end{align*}
7. \begin{align*}f(x) = \tan(4x^5)\end{align*}
8. \begin{align*} f(x) = \sqrt{4x - \sin^2 2x}\end{align*}
9. \begin{align*} f(x) = \frac{\sin x} {\cos(3x - 2)}\end{align*}
10. \begin{align*}f(x) = (5x + 8)^3 (x^3 + 7x)^{13}\end{align*}
11. \begin{align*} f(x) = \left (\frac{x - 3} {2x - 5} \right)^3\end{align*}

## Date Created:

Feb 23, 2012

Oct 30, 2015
You can only attach files to section which belong to you
If you would like to associate files with this section, please make a copy first.