The rule (and why it looks confusing)
Most textbooks state the chain rule like this:
dxdy=dudy⋅dxdu
That notation is elegant once you understand it, but completely opaque when you first see it. Let's build the intuition first.
Intuition: peeling an onion
Think of a composite function as an onion. For example:
y=(3x2+1)5
The outer layer is (…)5 — the "raise to the power of 5" operation.
The inner layer is 3x2+1 — what's actually inside.
The chain rule says:
Differentiate the outside (leaving the inside untouched),
then multiply by the derivative of the inside.
dxdy=5(3x2+1)4⋅6x=30x(3x2+1)4
Worked examples
Example 1 — Power of a function
Differentiate y=(2x3−4)7.
Let u=2x3−4, so y=u7.
dudy=7u6,dxdu=6x2
∴dxdy=7(2x3−4)6⋅6x2=42x2(2x3−4)6
Example 2 — Trig
Differentiate y=sin(x2+1).
Outer: sin(…) → derivative cos(…)
Inner: x2+1 → derivative 2x
dxdy=cos(x2+1)⋅2x=2xcos(x2+1)
Example 3 — Exponential
Differentiate y=e3x.
Outer: e(…) → derivative e(…)
Inner: 3x → derivative 3
dxdy=e3x⋅3=3e3x
A note on the Leibniz notation
The fraction-like notation dudy⋅dxdu is helpful because it looks like the du's cancel:
dudy⋅dxdu=dxdy
This isn't literally true (derivatives are limits, not fractions), but as a memory device it's almost impossible to forget.
Common mistakes
| Mistake | Correct |
|---|
| dxd[sin(x2)]=cos(x2) | =2xcos(x2) |
| dxd[ex2]=ex2 | =2xex2 |
| dxd[(5x+3)4]=4(5x+3)3 | =20(5x+3)3 |
The mistake in every case: forgetting to multiply by the inner derivative.
Practice
- Differentiate y=(x2−3x)4
- Differentiate y=cos(5x2)
- Differentiate y=ex3−2
- Differentiate y=ln(4x2+1) (recall: dxd[lnu]=u1⋅dxdu)
Comments
Powered by giscus — uses GitHub Discussions, so you'll need a GitHub account to comment.
lib/config.ts.