A shortcut you have already noticed
From first principles you found:
- d/dx (x²) = 2x
- d/dx (x³) = 3x²
- d/dx (x⁴) = 4x³ (a challenge question in The Derivative from First Principles)
Do you see the pattern? The exponent comes down in front, and the new exponent is one less. This is the power rule, the first and most-used rule of differentiation.
The power rule
If f(x) = xⁿ, where n is a natural number, then f′(x) = nxⁿ⁻¹.
In Leibniz notation: d/dx (xⁿ) = nxⁿ⁻¹.
Two special cases: d/dx (x) = 1 (n = 1: the line y = x has slope 1) and d/dx (1) = 0 (think of 1 as x⁰).
Why it works
Use first principles with f(x) = xⁿ:
f′(x) = lim (h → 0) [(x + h)ⁿ − xⁿ] ÷ h
Multiply out (x + h)ⁿ = (x + h)(x + h)…(x + h), with n brackets. Each term of the product comes from choosing either x or h from every bracket.
- Choose x every time: one term, xⁿ.
- Choose h exactly once: n ways, each giving xⁿ⁻¹h, for a total of nxⁿ⁻¹h.
- Choose h two or more times: every such term contains h² (or a higher power).
So (x + h)ⁿ − xⁿ = nxⁿ⁻¹h + (terms with h² or higher). Dividing by h leaves nxⁿ⁻¹ + (terms with at least one h). As h → 0, those terms vanish, leaving nxⁿ⁻¹. (If you study the binomial theorem in Mathematics of Data Management, MDM4U, you will recognize n as the binomial coefficient "n choose 1".)
Hands-on activityPower-rule detective
You need: a scientific calculator, paper and a pencil.
- Pick a function xⁿ with n between 2 and 7, and a value of a between 0.5 and 2.
- Use the centred estimate [f(a + 0.001) − f(a − 0.001)] ÷ 0.002. Keep every digit on your calculator until the end.
- Now use the power rule: f′(a) = naⁿ⁻¹.
- Repeat for two more functions. Then ask a family member to pick n and a, and race: you use the power rule while they use the centred estimate.
- Finally, try f(x) = x⁵ at a = 0. What do both methods give?
What to look for: the two methods should agree to at least three decimal places every time (the power rule wins the race easily). For x⁵ at 0, both give 0 (the estimate works out to 0.000000000001, which is 0 apart from a tiny leftover from using h = 0.001): the tangent at the origin is horizontal.