1.7 - Differentiating a function of a function
The expression inside a power may itself change with . You will use the chain rule to follow both stages of that change, including roots and reciprocal powers with nonlinear expressions inside. Expanding simple cases will help you check that no factor has been missed.
The inner and outer functions
Why is the derivative of not just ? The fourth-power operation acts on , and that inner expression changes three times as fast as .
Break the calculation into two stages: , then . Near a particular input, a small change in produces a change in , which in turn produces a change in . The two local rates multiply.
Inner and outer functions
In , the inner function is , and the outer function is . A composite function applies the inner function first, then the outer function.
Keep the expression inside the power intact while differentiating the outer operation.
The chain rule
Where the required derivatives exist,
In particular, for constant rational ,
Apply this where the original function and the derivative are defined.
Not stated separately in the formula booklet: learn it.
The notation resembles cancelling , which is a helpful memory aid. The rule expresses the multiplication of local rates; the symbols are derivative notation, not ordinary fractions that can always be rearranged without checking conditions.
Worked example 1: an inner rate of one
Question. Differentiate .
Plan. Differentiate the fourth power, then multiply by the derivative of .
Answer. .
Check. Expanding gives , whose derivative is .
Change only the coefficient of inside the bracket. The inner rate is now .
Worked example 2: an inner rate of three
Question. Differentiate .
Plan. Use the same outer derivative and multiply by the new inner derivative.
Answer. .
Check. At , the derivative is . Expanding the original expression gives a linear term ; every higher-power term has derivative zero at , so the result agrees.
The opening question is resolved: measures change per unit change in the inner input; multiplying by converts it to change per unit .
Watch out
, not . Write the inner derivative as a separate factor before simplifying.
Try another linear inner function.
Nonlinear inner functions
The inner function does not have to be linear. For , the inside is , whose rate of change is . Rewrite the outer root as a power before using the same two-stage method.
For a square root, the real expression needs . The derivative formula obtained below has a square root in the denominator, so it applies where . The endpoint where the root is zero needs separate attention; do not substitute it into a denominator.
Worked example 3: a root with a cubic inside
Question. Differentiate , where , and find the derivative at .
Plan. Use outer exponent and inner derivative .
Answer. , with .
Check. At , the inside changes at rate , while the square-root operation changes at rate . Their product is . A chord to gives approximately .
Keep the same inner function and move the root to the denominator. Only the outer exponent changes, from to .
Worked example 4: a reciprocal root
Question. Differentiate , where , and find the derivative at .
Plan. Apply the power rule with exponent , then multiply by .
Answer. , with .
Check. The positive inner expression increases near ; its reciprocal root decreases. The negative sign fits. The chord to has gradient approximately , close to .
For an integer negative outer power, only a nonzero inner value is required. For example, is defined when , and its derivative is . Always read the domain from the complete expression.
Problem-solving
Write three things before simplifying: the outer exponent, the unchanged inner expression, and the inner derivative. Then combine coefficients and rewrite negative powers if useful.
Apply the root method to a new cubic inside.
Checking the chain factor
An expanded special case gives an independent check on a chain-rule result. This is particularly useful when the inside contains a coefficient or a power of . Choose expansion when it is short; keep the composite form when expansion would create many terms or cannot remove the root.
Worked example 5: checking a linear inner function
Question. Find the derivative of in two ways.
Plan. Differentiate by the chain rule, then expand the original square and differentiate term by term.
Answer. Both methods give .
Check. At , both give gradient . Omitting the inner factor would give , contradicting the expanded result.
Change only the inner function to a quadratic. The extra chain factor now varies with .
Worked example 6: checking a nonlinear inner function
Question. Find the derivative of in two ways.
Plan. Keep the inner derivative in the chain-rule method, then compare with expansion.
Answer. .
Check. At , the inner rate is , and the outer rate is ; their product is . The expanded derivative gives .
You can also check the structure without expanding: differentiating a function of usually introduces a factor of . This is a useful warning signal, although agreement at a few inputs is not a proof of an identity.
Watch out
For , the line has differentiated only the outer function. Multiply by , not by again.
Find and repair an omitted factor in a new expression.
Quick Recap
- Identify the inner function and the outer operation.
- Differentiate the outer operation, leaving its input intact, then multiply by the inner derivative.
- Rewrite roots and reciprocal powers before using the rule.
- Check domains and denominators before evaluating a derivative.
- Use a short expansion as an independent check when possible.
The missing factor in the opening question is : .