










The Power, Sum, Product, and Quotient rules give you a massive arsenal for tackling calculus problems. But eventually, you will run into a function that doesn’t fit any of those molds. What do you do when a function is stuffed inside another function?
Think of equations like or
. You cannot use the Power Rule alone, and it isn’t two separate functions being multiplied. It is a composite function—a mathematical Russian nesting doll.
To find the derivative of these nested functions, you need The Chain Rule. It is arguably the most frequently used rule in all of calculus. Here is exactly how it works, the easiest way to visualize it, and several step-by-step examples.
What is the Chain Rule?
The Chain Rule tells us how to differentiate composite functions. The golden rule is simple: Take the derivative of the outside function (leaving the inside exactly as it is), and multiply it by the derivative of the inside function.
Mathematically, if you have a composite function , its derivative is:
In Leibniz notation, the “chain” concept is even clearer. It looks like interlocking gears transferring a rate of change:
If gear A turns gear B, and gear B turns gear C, you multiply their individual rates of change to find out how fast C is turning relative to A. You just work your way from the outside layer to the inside layer, multiplying as you go.
5 Examples of the Chain Rule in Action
Let’s unbox some composite functions, starting from a basic polynomial and moving to a complex “double chain.”
Example 1: The “Power Chain” Rule
Let’s find the derivative of a binomial raised to a power:
- Outside function: Something raised to the 3rd power,
.
- Inside function:
.
Step 1: Take the derivative of the outside using the Power Rule, leaving the inside alone.
Step 2: Multiply by the derivative of the inside. The derivative of is simply
.
Step 3: Simplify.
Example 2: Trigonometry and the Chain Rule
Trig functions almost always require the chain rule unless the inside angle is just a plain .
- Outside function:
.
- Inside function:
.
Step 1: Derivative of the outside (derivative of sine is cosine), keeping the inside untouched.
Step 2: Multiply by the derivative of the inside ( becomes
).
Rewrite it cleanly:
Example 3: Exponentials with Complex Powers
The derivative of is
, but what if the exponent is an entire equation?
- Outside function:
.
- Inside function:
.
Step 1: The derivative of the outside is just itself.
Step 2: Multiply by the derivative of the inside exponent.
Example 4: Dealing with Square Roots
Radicals are just fractional exponents in disguise, meaning they are perfect candidates for the Chain Rule.
First, rewrite it with a fractional exponent so you can see the layers clearly:
Step 1: Derivative of the outside (Power Rule). Bring down the and subtract 1 from the exponent.
Step 2: Multiply by the derivative of the inside ( becomes
).
Step 3: Clean up the negative exponent by pushing it to the denominator.
Example 5: The “Double Chain” (Three Layers Deep)
What happens if you have a function inside a function inside a function? You just keep unboxing.
First, rewrite it so the layers are painfully obvious:
- Outside layer:
- Middle layer:
- Inside layer:
Step 1: Derivative of the outermost layer.
Step 2: Multiply by the derivative of the middle layer (derivative of is
).
Step 3: Multiply by the derivative of the innermost layer (derivative of is
).
Step 4: Combine the constants to simplify the final answer.
Why This Rule Matters
The Chain Rule is the glue that holds differential calculus together. Very few real-world systems operate in isolation. In physics, an object’s temperature might depend on its volume, and its volume might depend on the pressure, which ultimately depends on time.
By allowing us to mathematically unbox interconnected systems one layer at a time, the Chain Rule lets us calculate complex, cascading rates of change without losing our minds. Just remember to work from the outside in, and never change the inside until it is that layer’s turn!
Discover more from Science Safari
Subscribe to get the latest posts sent to your email.