The chain rule is the derivative rule for a function inside another function. If one quantity depends on a middle step, and that middle step depends on , the total rate of change comes from multiplying those two changes together.
What The Chain Rule Says
If , and is differentiable at while is differentiable at , then:
In plain language: differentiate the outer function, keep the inner expression in place, then multiply by the derivative of the inner expression.
Intuition
A composite function changes in two layers. First, a small change in changes the inner expression . Then that change in changes the outer value .
The chain rule connects those layers. It says the overall change is the change from the outside times the change from the inside.
Worked Example
Find the derivative of:
Here the inner function is:
and the outer function is:
Differentiate the outer function first:
Now differentiate the inner function:
Multiply them:
Substitute back :
That last factor, , is the part people most often forget.
Common Mistakes
- Differentiating the outer function and stopping too early. For , is not the full derivative.
- Misidentifying the outer function. In , the outer function is , not the square.
- Using the chain rule when there is no composition. For , you do not need an extra inner derivative.
When You Use It
The chain rule appears whenever functions are nested. Common examples include:
- Powers of expressions such as
- Trig functions of expressions such as or
- Exponentials and logs such as or
- Implicit differentiation, where several chain rule steps often appear at once
A Fast Check
After differentiating a composite function, ask one question: did the derivative of the inner expression appear somewhere in the answer?
If not, there is a good chance the chain rule step is incomplete.
Try Your Own Version
Take and name the inner function before you differentiate. If your final answer does not include the derivative of , redo the last step and check where it disappeared.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →