When do you use the chain rule?
You use the chain rule whenever you need to take the derivative of a composite function. A composite function is simply a function that has another function tucked inside it, usually written as . If you can identify an "outside" function and an "inside" function, you need the chain rule.
Think of it like opening a set of Russian nesting dolls. To get to the inner doll, you first have to open the outer doll. In calculus, to differentiate the whole expression, you differentiate the outside function first (leaving the inside alone), and then you multiply that result by the derivative of the inside function.
What is the chain rule?
The chain rule is a formula for computing the derivative of the composition of two or more functions. Mathematically, if you have a function , the chain rule states that the derivative is . You take the derivative of the outside function , keep the inside function exactly as it is, and then multiply by the derivative of the inside function .
How to recognize when to use it
You can spot a chain rule problem by looking for grouped expressions. Look for parentheses raised to a power, such as . Look for trigonometric functions with expressions other than just inside them, like . You should also look out for expressions under a square root, or natural logs of polynomials, like . If you can say "a function of a function," the chain rule is your tool.
Where students slip up
The most common mistake students make is differentiating both the inside and the outside functions at the same time. For example, when differentiating , a student might write . This is incorrect because it changes the "inside" during the first step. The correct approach leaves the inside alone first: , and then multiplies by the derivative of the inside: .
Worked through
Find the derivative of .
First, identify the outside function and the inside function. The outside function is "something raised to the power of 4" and the inside function is .
Step 1: Differentiate the outside function using the power rule, leaving the inside alone. This gives us .
Step 2: Find the derivative of the inside function, . Using the power rule, the derivative is .
Step 3: Multiply them together. .
Step 4: Simplify by multiplying the terms on the outside. .
Questions students ask
Ask about this topic
Where this comes from: Stewart, James. Calculus: Early Transcendentals. · OpenStax. Calculus Volume 1, Chapter 3.6: The Chain Rule.
See also