shaun ault

ap calculus review: chain rule

of all the derivative rules it seems that the chain rule gets the worst press. many students dread the rule, think that it’s too difficult, don’t fully understand where to apply it, and generally wish that it would go away.

are you in this group?

if so then i hope that by the end of this short article, you’ll gain a better appreciation for the chain rule and how it is used in derivative problems.

the chain rule

we use the chain rule to find the derivative of a composition of functions, that is a function of the form f(g(x)).

what is a composition?

if f(x) and g(x) are two functions, then we call f(g(x)) the composition of f and g. we might call f the “outside” function, and g the “inside” function.

for example, if f(x) = sin(x), and g(x) = x2 + 1, then their composition is:

f(g(x)) = sin(x2 + 1).

decomposition

to use the chain rule properly, you need to know how to go the other direction. in other words, you have to learn how to decompose a composite function into a pair of functions — the outside and inside functions.

to make it clearer, we often use a different variable name, such as u, for the input variable of the outside function.

for example, if y = (4x – 2)3, then the most natural decomposition would be:

(outside function, or f(u)):   y = u3, and

(inside function, or g(x)):   u = 4x – 2.

statement of the chain rule

suppose f and g are differentiable functions. then the composite function, f(g(x)) is also differentiable, and

statement of the chain rule

i think of this as a 3-step process.

three step process for chain rule

  1. find the derivative of the outside.
  2. plug in the inside function.
  3. multiply by the derivative of the inside.

equivalently, if y = f(u), and u = g(x), then

chain rule in leibniz notation

here, the rule has been written in leibniz notation, and clearly expresses the fact that the derivative of a composition is really just the product of the derivatives of the individual functions. just don’t forget that step of plugging back in u = g(x).

example

find the derivative of y = square root of x^2 + 1.

first decompose the function.

(outside function):   f(u) = square root of u.

(inside function):   g(x) = x2 + 1.

following the three-step process,

  1. first find the derivative of the outside: derivative of the outside function
  2. next, plug in the inside function: plugging in the inside function
  3. finally, multiply by the derivative of the inside: step 3 of the chain rule example

now that we have found the derivative correctly, let’s simplify the final answer using algebra.

final simplified form of the example derivative

conclusion

use the chain rule to find the derivative of a composition. always keep in mind the 3-step process:

  1. find the derivative of the outside.
  2. plug in the inside function.
  3. multiply by the derivative of the inside.

author

  • shaun ault

    shaun earned his ph. d. in mathematics from the ohio state university in 2008 (go bucks!!). he received his ba in mathematics with a minor in computer science from oberlin college in 2002. in addition, shaun earned a b. mus. from the oberlin conservatory in the same year, with a major in music composition. shaun still loves music — almost as much as math! — and he (thinks he) can play piano, guitar, and bass. shaun has taught and tutored students in mathematics for about a decade, and hopes his experience can help you to succeed!

more from magoosh