Skip to main content

Section 2.5 Chain Rule

So far, we can differentiate:

  • power functions

  • polynomials

  • trig functions

  • product and quotient functions

What is left?

  • compositions

  • functions defined implicitly by equations

    (equations where we can't easily solve for \(y\))

The chain rule is used for derivatives of functions of the form:

\begin{equation*} y = f(g(x)) = (f \circ g)(x) \end{equation*}

We can solve this if we let \(u = g(x)\) and \(y = f(u)\) so that:

\begin{equation*} \dfrac{dy}{dx} = \dfrac{df}{du} \cdot \dfrac{du}{dx} \end{equation*}

This can also be written as:

\begin{equation*} \dfrac{d}{dx}\left( f( g(x) \right) = f'(g(x)) \cdot g'(x) \end{equation*}
Example 2.5.1.

Write as \(u = g(x)\) and \(y = f(u)\text{:}\)

\begin{equation*} f(x) = 4 \cos^5(x) = 4(\cos(x))^5 \end{equation*}

We can make \(u = \cos(x)\) and the leftovers as \(f(u) = 4u^5\text{.}\)

Steps:

  1. composition -- \(f(x)\) is a composition of:

    • \(\displaystyle f(u) = 4u^5\)

    • \(\displaystyle u = g(x) = \cos(x)\)

  2. differentiate each piece:

    • outside: \(\dfrac{df}{du} = \dfrac{d}{du}(4x^5) = 20u^4\)

    • inside:\(\dfrac{du}{dx} = \dfrac{d}{dx}(\cos(x)) = - \sin(x)\)

  3. multiply and label:

    • \(\displaystyle f'(x) = 20u^4 (- \sin(x)) = -20(\cos(x))^4(\sin(x))\)
Example 2.5.2.

Find \(f'(x)\) for \(f(x) = \dfrac{1}{(x^3 + 2x)^9}\text{:}\)

  • composition:

    \(g(x) = x^3 + 2x\)

    \(f(g) = g^{-9}\)

  • derivatives:

    \(g'(x) = 3x^2 + 2\)

    \(f'(g) = -9g^{-10}\)

  • multiply:

    \(f'(x) = -9 (x^3 + 2x)^{-10} (3x^2 + 2)\)