A function of a function
In f(g(t)) the number g(t) is computed first and fed to f. With f(t) = t² and g(t) = 3t + 1, the composition is (3t + 1)². Which one is inside matters: g(f(t)) would be 3t² + 1, a different function.
When one function is fed into another, the rate of the whole is a chain of two rates. The outer function's derivative is evaluated at the inner function's value, and multiplied by the inner function's derivative. Without the second factor the answer is wrong by exactly that factor. For polynomials the rule is proved from the product rule and checked by expanding.
Core ideas
Three ideas: what a composition is, why its rate is a product of two rates, and why the outer derivative is read at the inner value.
In f(g(t)) the number g(t) is computed first and fed to f. With f(t) = t² and g(t) = 3t + 1, the composition is (3t + 1)². Which one is inside matters: g(f(t)) would be 3t² + 1, a different function.
If t moves by a small step, the inner function moves by g′ times that step. The outer function then moves by f′ times what its input moved. The rate of the whole is the product of the two rates: the inner rate g′(t), and the outer rate f′ taken at the place the outer function is actually standing.
f′(g(t)) means: differentiate f, then put g(t) into the result. For f(t) = t² the derivative is 2t, and at the inner value 3t + 1 it is 2(3t + 1). Replacing g(t) by t throws away the inside of the composition.
The material
A first composition worked two ways, the rule and its proof, a power of a function, and the shift that leaves the multiplier alone.
Take f(t) = t² and the inner function g(t) = 3t + 1, so that f(g(t)) = (3t + 1)². Multiplied out this is 9t² + 6t + 1, and the power rule gives the derivative at once: 18t + 6.
Now suppose the expansion is not wanted. The derivative of the outer function t² is 2t, and read at the inner value 3t + 1 it is 2(3t + 1) = 6t + 2. That is not 18t + 6; it is off by a factor of 3, and 3 is the derivative of the inner function 3t + 1. Multiplying the two, (6t + 2)·3, gives 18t + 6.
For polynomials f and g, (f(g(t)))′ = f′(g(t))·g′(t).
Write u for g(t). For f(t) = tⁿ the claim is (uⁿ)′ = n·uⁿ⁻¹·u′. It is true for n = 1, where it says u′ = u′.
If it holds for n, the product rule gives (uⁿ⁺¹)′ = (uⁿ·u)′ = n·uⁿ⁻¹·u′·u + uⁿ·u′ = (n + 1)·uⁿ·u′, which is the claim for n + 1.
So the claim passes from each power to the next: from n = 1 to 2, from 2 to 3, and on to every power. A polynomial f is a sum of constants times powers, and differentiating is done term by term, so the claim holds for every polynomial f.
□
The proof is the product rule applied again and again, which is why this lesson follows “The Product Rule”. It covers the cases the Subject uses. In words: the rate of the whole is the outer function's rate, taken where the outer function is standing, times the rate at which the inner function is carrying it.
Let f(t) = t³ and g(t) = t² + 1. The outer derivative is 3t², read at the inner value it is 3(t² + 1)², and the inner derivative is 2t. The product is 6t·(t² + 1)², which expands to 6t⁵ + 12t³ + 6t.
Expanding first confirms it: (t² + 1)³ = t⁶ + 3t⁴ + 3t² + 1, and its derivative is 6t⁵ + 12t³ + 6t. The lab's equality tile reads equal.
With f(t) = t² and g(t) = t − 4 the composition is (t − 4)², and the rule gives 2(t − 4)·1 = 2t − 8. The inner derivative is 1, so the chain factor is invisible. That is why a shift of the input is easy to differentiate and a stretch is not: a shift moves the graph without changing how steep it is, and a stretch by 3 makes every slope 3 times as large.
The pattern for a stretch and shift together, f(k·t + c), is k·f′(k·t + c): the constant c never appears in the multiplier, and k always does.
Interactive
Difference quotients of polynomials, by algebra
Method
Four moves. Leaving the inner function in place is the second, and forgetting the last is the common slip.
In (t² + 1)³ the inner function is t² + 1 and the outer is the cube. The inner one is what you compute first.
Take the derivative of the outer function and put the inner function where its variable was: 3·(t² + 1)², not 3t².
The inner derivative of t² + 1 is 2t. It is a derivative, not the inner function repeated.
Multiply the two results. Expand f(g(t)) and differentiate it as a polynomial; the two answers must be the same polynomial.
The outer function is f(t) = t³ and the inner function is g(t) = t² + 1. Every line is exact.
Both routes give the same polynomial, and the lab's rule tile prints it for this pair. At t = 1 the slope is 6 + 12 + 6 = 24.
For a rehearsal, differentiate (2t + 5)³ by the rule: the outer derivative read at the inner value is 3(2t + 5)², and the inner derivative is 2.
You should be able to name the outer and inner functions, differentiate the outer one and read it at the inner value, multiply by the inner derivative, expand to verify, and say what goes wrong when the last factor is omitted.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.