The chain rule: a careful proof and two applications
Composite functions and the chain rule
If maps to an intermediate value and acts on that value, their composition is . For example, and give .
If is differentiable at and is differentiable at , then
A useful reminder is differentiate the outside, keep the inside, then multiply by the derivative of the inside. The derivative of the outside must be evaluated at , not at .
For the example,
Expanding the polynomial first gives the same result and provides a simple check.
A proof that also handles zero inner increments
Fix a point and write . Differentiability of at means that the function
is continuous at .
Let . For every sufficiently small nonzero ,
This identity remains valid when , because both numerators are then zero. Since differentiability of implies continuity, . Taking limits gives
The familiar proof that divides by is a useful heuristic, but this extra definition fills the gap when that increment vanishes, possibly for infinitely many nearby values of .
Problem 1: a logistic function and a convergent iteration
Let
- Find the maximum of .
- Prove that has exactly one real solution.
- For any real starting value , prove that converges to that solution.
Part 1: differentiate from the outside inward
The outside reciprocal function has derivative , while the inside has derivative . Thus
For , the inequality gives . Therefore
with equality precisely at , or . The maximum is .
Part 2: a unique fixed point
Put . Then , so is strictly decreasing. Since ,
Continuity gives at least one zero, and strict decrease gives at most one. Call it . As , it lies in .
Part 3: a contraction estimate
Subtract from the recurrence:
If , the mean value theorem gives an intermediate point such that
The derivative bound yields
If , both sides are zero, so the inequality holds in that case too. Iteration gives
Hence for every real initial value. The bound is an inequality, not generally an equality; a maximum derivative provides an upper bound on the contraction factor.
Problem 2: compare an exponential with a cosine
Problem. Prove that for ,
Instead of differentiating their difference repeatedly, multiply by the positive factor . It suffices to show
The chain and product rules give
Let . Then
Since , we have , so . Consequently , proving the required strict inequality.
The important rearrangement is to turn a comparison into a product whose derivative contains a common positive exponential factor. The sign question then reduces to an elementary trigonometric expression.
A practical checking routine
Identify every layer before differentiating. In a reciprocal containing an exponential, for example, both the reciprocal and the exponential need the chain rule. Check the sign of each derivative, and distinguish a bound on a derivative from an equality. When a proof involves a difference quotient, do not divide by a quantity that may be zero without handling that case.
Related: logarithmic differentiation and the fundamental sine limit.
Related articles
- Equating rational and irrational parts: proof and worked problems
- How to simplify nested square roots, with three worked examples
- Conditional probability: the formula, information protocols, and worked examples
- Integration by parts: formulas, proof, and four useful patterns
- Triple-angle identities: remember, derive, and apply them
About the author
Koki Saito
Physician and graduate of the University of Tokyo Faculty of Medicine. Drawing on his entrance-exam experience, he explains how to choose mathematical methods and construct complete solutions.
Full profile →Have a question or spotted an error? Contact us.