Mathematics · Ch 5 — Continuity and Differentiability
Derivatives of Composite Functions
Derivatives of Composite Functions
5.3.1 Derivatives of Composite Functions
The Core Idea: Why We Need a Special Rule
For a function like you could expand and differentiate term by term, but that is hopeless for . The better view is that is two functions nested: with and , we have , a composite function ( applied first, then ).
Setting , so :
Multiplying the derivative of the outer function (w.r.t. the inner variable) by the derivative of the inner function is the essence of the chain rule.
Theorem 4: The Chain Rule
Statement: Let be a composite of two functions and ; i.e., . Suppose and both and exist. Then:
The proof is omitted: differentiate the outer function with respect to its argument , then multiply by the derivative of the inner function with respect to .
A common mistake is to forget that must be evaluated at , not at . Always substitute back after differentiating the outer function.
Extending the Chain Rule to Three Functions
For a composite of three functions, , with and : …
The Chain Rule (Theorem 4)
Statement. Let be a real-valued function which is a composite of two functions and ; i.e., . Suppose and if both and exist, then
The theorem requires three conditions: (i) must be expressible as , (ii) must be differentiable at , and (iii) must be differentiable at . When these hold, the derivative of the composite function is the product of the derivative of the outer function (evaluated at the inner function) and the derivative of the inner function.
›Proof
Proof. Let , so that for all in the domain. Define . Then .
By definition of the derivative,
Since and , we have
Let . Then . The numerator becomes . So
Multiply and divide by (provided for sufficiently small — the case is handled separately by a standard argument):
Now , so as , (since ). Also, as , because is continuous (differentiability implies continuity). Hence
Therefore,
This completes the proof. …