School/□ Systems Engineer/Week 3
The power rule and friends
One rule, d/dx xⁿ = n·xⁿ⁻¹, differentiates every polynomial you will ever meet. Add sin, cos and eˣ and you can differentiate most engineering models in your head.
About 35 min · 3 goals · Checked by automated tests
1.Why should I care?
From now on you will differentiate quickly. The rules are consequences of the definition you used last lesson, so every one can be checked numerically, and the lab does exactly that.
- ◇ Apply the power, constant-multiple and sum rules to polynomials and roots.
- ◇ Recall the derivatives of sin x, cos x and eˣ.
- ◇ Sketch f′ from the graph of f, using where f is flat, rising and falling.
2.Predict
Look at f(x) = x³ − 3x. At x = 1 its graph has a local minimum. What is f′(1)?
Guess first. Being wrong here is how the surprise works.
3.Discover
Choose x³ − 3x and hide f′. Slide the point from left to right and predict, out loud, whether the slope is positive, negative or zero. Sketch f′ on paper. Then show f′ and compare. Repeat with sin x: which familiar function appears below it?
Loading the interactive…
Can't use the interactive? Read a description instead
The derivative grapher shows f on top and f′ below, linked by the chosen point. For x³ − 3x, f′ = 3x² − 3 is a parabola that crosses zero at x = −1 and x = 1, exactly where f has a peak and a trough. For sin x the lower graph is cos x. The readout states the value, the slope and whether f is rising, falling or stationary.
4.Checkpoint: guided practice
Check what you just discovered before going on. Hints appear after a wrong answer.
Practice 1 · a fresh version every time
A joint angle follows θ(t) = 2t³ + 5t + 7 radians. Using the power rule, find the angular velocity dθ/dt at t = 1 s, in rad/s.
5.Watch
→ See why d/dx x² = 2x by growing a square, and why sin's derivative is cos from a point moving round a circle.
Shows why the power rule and the derivative of sine are true by nudging squares, cubes and circles by a tiny amount.
Length: see YouTube · captions on YouTube · source
Nothing loads from YouTube until you press play.
The video is optional: everything you need is also in the lesson text and the interactive.
6.Understand
Three rules for polynomials
Power: d/dx xⁿ = n·xⁿ⁻¹ (any real n, so √x = x^½ gives ½x^(−½)). Constant multiple: d/dx [c·f] = c·f′. Sum: d/dx [f + g] = f′ + g′. A constant on its own has derivative 0: it does not change.
Three functions to know by heart
d/dx sin x = cos x, d/dx cos x = −sin x (angles in radians), d/dx eˣ = eˣ. The sine result rests on the limit sin(h)/h → 1 from week 2; the exponential result on (eʰ − 1)/h → 1.
Reading f′ from a graph
Where f rises, f′ > 0; where it falls, f′ < 0; at peaks, troughs and flat spots, f′ = 0; where f is steepest, |f′| is largest. You can sketch f′ without any formula, and engineers do this constantly with sensor plots.
Explain it another way
The derivative graph is a 'steepness meter' for the original graph: above zero while you climb, below zero while you descend, crossing zero at the top of each hill and bottom of each valley.
Derivative is a linear operator: d/dx[a·f + b·g] = a·f′ + b·g′. Combined with the power rule, d/dx Σ aₖxᵏ = Σ k·aₖxᵏ⁻¹.
From the binomial theorem, (x + h)ⁿ − xⁿ = n·xⁿ⁻¹h + O(h²), so the power rule holds for positive integers; for other real n it follows from xⁿ = e^(n ln x) and the chain rule (next lesson).
A robot joint's angle is often planned as a cubic in time, θ(t) = a + bt + ct² + dt³. The power rule gives its angular velocity and acceleration, which must stay within the motor's limits.
Worked example 1
Differentiate f(x) = 4x³ − 2√x + 7 and evaluate at x = 4.
f′(x) = 12x² − 2·½x^(−½) = 12x² − 1/√x. At x = 4: 12 × 16 − 1/2 = 191.5.
Common mix-ups
- d/dx eˣ = x·eˣ⁻¹ by the power rule.
✓ The power rule is for xⁿ (variable base, fixed power). eˣ has a fixed base and variable power; its derivative is eˣ. - Where f = 0, f′ = 0.
✓ Roots of f and stationary points are different things. Check the slope, not the height.
7.Practice on your own
Practice, not a test. Wrong answers get a hint and another try.
Practice 2
What is the derivative of √x at x = 4?
Practice 3
What is the slope of sin x at x = π/3? (Radians.)
Practice 4
Where is f′(x) = 0 for f(x) = x³ − 3x?
Practice 5 · a fresh version every time
A joint angle follows θ(t) = 0.5t⁴ + 3t² + 2 radians. Using the power rule, find the angular velocity dθ/dt at t = 1.5 s, in rad/s.
8.Apply it
A joint follows θ(t) = 0.3t² − 0.05t³ radians for 0 ≤ t ≤ 4 s. Find its angular velocity and acceleration as functions of t. When is it fastest, and is that inside the 4 s window?
9.Reflect
10.Go further
- OpenStax Calculus Volume 1 (free, open textbook) ↗A complete first-year calculus text with worked examples and exercises, free to read online.
Concepts: Derivatives and rates of change