The Chain Rule
Many functions are composites—one function plugged inside another, like . For example, combines an outer function with an inner function . The chain rule is the fundamental tool for differentiating such compositions:
In plain terms: differentiate the outer function (keeping the inner function unchanged), then multiply by the derivative of the inner function.
Identifying Outer and Inner Functions
The critical first step is recognizing which function is outer and which is inner. Ask yourself: what would I compute last if I plugged in a number? That final operation is the outer function. For , you first compute , then take the square root—so the square root is outer () and is inner ().
Quick Examples
Power: For , differentiate the power to get , then multiply by the derivative of the inner function:
Trigonometric: For , the outer derivative is , multiplied by the inner derivative :
Multiple Layers
Some composites nest deeper. For , apply the chain rule repeatedly from outside to inside:
Each layer contributes one factor; multiply all factors together.
Common Pitfalls
The most frequent error is omitting the inner derivative entirely—writing instead of . Another mistake is misidentifying the outer function when the inner function is itself a sum or product. Always verify: does your answer preserve the original inner function unchanged inside the outer derivative?