Concept understanding — Derivatives of Algebraic Functions Using Chain Rule
Derivatives of Algebraic Functions Using the Chain Rule
The Intuition: Why Do We Need This?
You already know how to differentiate simple functions like x2 or sinx. But what about something like (3x2+5)7? You could expand it — but that would be a nightmare. Or what about 1−x2? Expanding is impossible.
The chain rule solves this by letting you differentiate functions inside other functions — compositions. Think of it like peeling an onion: you differentiate the outer layer, then multiply by the derivative of the inner layer.
The Core Idea: A Real-World Analogy
Imagine a machine that first doubles a number, then cubes the result. If you input x, the machine does:
Inner function:u=2x (doubling)
Outer function:y=u3 (cubing)
Now, how fast does the final output change when you change x? It's not just the rate of the outer function, nor just the inner. It's the product of the two rates:
The outer function changes at rate dudy=3u2 (with respect to its own input u).
The inner function changes at rate dxdu=2 (with respect to x).
So the overall rate is:
dxdy=dudy⋅dxdu=3u2⋅2=6u2=6(2x)2=24x2
That's the chain rule: differentiate the outside, keep the inside the same, then multiply by the derivative of the inside.
dxdf(g(x))=f′(g(x))⋅g′(x)
The Precise Statement
If y=f(u) and u=g(x), then y is a function of x through u. The derivative is:
dxdy=dudy⋅dxdu
In function notation, if h(x)=f(g(x)), then:
h′(x)=f′(g(x))⋅g′(x)
The key: you evaluate the derivative of the outer function at the inner function (not at x), then multiply by the derivative of the inner function at x.
Step-by-Step Examples
Example 1: Differentiate y=(3x2+5)7
Outer function: (⋅)7, derivative: 7(⋅)6
Inner function: u=3x2+5, derivative: 6x
Apply the rule:
y′=7(3x2+5)6⋅(6x)=42x(3x2+5)6
Example 2: Differentiate y=1−x2
Rewrite: y=(1−x2)1/2
Outer: (⋅)1/2, derivative: 21(⋅)−1/2
Inner: u=1−x2, derivative: −2x
Apply:
y′=21(1−x2)−1/2⋅(−2x)=−1−x2x
Watch out
A common mistake: forgetting to multiply by the derivative of the inner function. For (3x2+5)7, some students write 7(3x2+5)6 and stop. That's wrong — you must also multiply by 6x.