Differentiation and the Chain Rule
An input is squared and then passed through another function. How does an input change travel through both stages? This chapter derives the product and chain rules and keeps their conditions explicit.
- Chain rule: The derivative of a composition uses the outer derivative at the inner output multiplied by the inner derivative.
Differentiate a two-stage calculation
Let and . The composite is , with derivative . The inner increment is approximately and the outer increment is approximately .
If is differentiable at and at , the chain rule is
The evaluation point of the outer derivative matters. It is , not usually .
Combine functions
Where are differentiable,
For the product rule, write the increment as , divide by , and use continuity of . If , the quotient rule follows:
The denominator condition is part of the claim.
Use familiar derivatives with their domains
For positive integers , . Also , for , , and . Trigonometric derivative formulas use radians. If an angle is represented in degrees, converting it introduces a factor .
For a differentiable invertible scalar function with and a differentiable local inverse, by differentiating the inverse identity. The inverse-function theorem later supplies sufficient conditions for that inverse to exist and be differentiable.
Basic practice
Prepare
Reuse the functions from the composition chapter. Work with dimensionless inputs and radian angles.
Record assumed inputs, predictions, and exact calculations separately. If you use software, label rounded outputs; no physical measurement is implied.
Predict
Would reversing two functions leave their derivatives unchanged?
Execute
- Differentiate e^(x²) and (e^x)², then evaluate at x = 1.
- Differentiate x² sin x using the product rule.
- Differentiate log(x² + 1) and state its real domain.
Observe and record
| Case or quantity | Prediction | Exact result or argument | Error or software check |
|---|---|---|---|
| e^(x²) at 1 | |||
| (e^x)² at 1 | |||
| x² sin x | |||
| log(x² + 1) |
Check after working: The first values are 2e and 2e². The product derivative is 2x sin x + x² cos x. The logarithmic derivative is 2x/(x² + 1), defined for all real x.
Optional extension
Derive the quotient rule by combining the product rule with the derivative of u ↦ 1/u.
Keep and continue
Keep the derivative formulas and their domain restrictions. Next, use derivative signs to answer global questions on intervals.
Previous: Local Linear Approximation