What is the Chain Rule? (Beginner Friendly Explanation + Examples)
A simple guide to understanding and using the chain rule in calculus.
The chain rule is a fundamental concept in calculus used to find the derivative of composite functions. A composite function is a function created by plugging one function into another.
Think of it like a set of Russian nesting dolls—one doll is inside another. The chain rule helps us "unpack" these layers to find the derivative.
The Formula
The chain rule can be written in a couple of ways. If you have a function , its derivative is:
In Leibniz notation, if is a function of , and is a function of , then:
This basically means: "take the derivative of the outer function (leaving the inner function as is), then multiply by the derivative of the inner function."
Example 1: A Simple Case
Let's find the derivative of .
Step 1: Identify the inner and outer functions.
- The outer function is .
- The inner function is .
Step 2: Find the derivatives of these functions.
- The derivative of the outer function is .
- The derivative of the inner function is .
Step 3: Apply the chain rule.
Substitute back into :
Now multiply by the derivative of the inner function:
Simplify the expression:
Example 2: Trigonometric Functions
Let's find the derivative of .
Step 1: Identify the inner and outer functions.
- The outer function is .
- The inner function is .
Step 2: Find the derivatives.
- The derivative of the outer function is .
- The derivative of the inner function is .
Step 3: Apply the chain rule.
Substitute into :
Multiply by the derivative of the inner function:
Simplify:
Example 3: A More Complex Case
Let's find the derivative of .
First, rewrite the square root as a power: .
Step 1: Identify the functions.
- Outer function:
- Inner function:
Notice that the inner function is also a composite function! We'll need to apply the chain rule again.
Step 2: Find the derivative of the outer function.
Step 3: Find the derivative of the inner function. To find the derivative of , we need the chain rule for .
- Outer function: (derivative is )
- Inner function: (derivative is ) So, the derivative of is . The derivative of 5 is 0.
Step 4: Apply the chain rule to the main function.
Simplify:
Common Mistakes to Avoid
- Forgetting to multiply by the derivative of the inner function. This is the most common mistake.
- Plugging the wrong thing into the derivative of the outer function. Remember to leave the original inner function inside.
- Incorrectly identifying the inner and outer functions. Practice breaking down functions into their component parts.
Key Takeaways
- The chain rule is for differentiating composite functions ().
- The rule is: (derivative of the outside) * (derivative of the inside).
- You might need to apply the chain rule multiple times for deeply nested functions.
Happy differentiating!