The core idea
Use the chain rule when one function is applied inside another function. A useful verbal pattern is: differentiate the outside, keep the inside, then multiply by the derivative of the inside.
This is a rule for composition. If y=f(g(x)), then dy/dx=f'(g(x))g'(x).
Worked example
For y=(3x²+1)^5, differentiate the outside first: 5(3x²+1)^4. Then multiply by the derivative of the inside, 6x. The derivative is 30x(3x²+1)^4.
The same structure appears with exponentials, logarithms and trigonometric functions whenever their input is itself a function of x.
How to practise
Start by circling the inner expression. Then identify the outer operation. This makes the chain structure much easier to see.
After differentiating, check whether every nested layer has contributed a derivative factor. Missing the derivative of an inner layer is one of the most common chain-rule errors.
