Lite / Engineering Complex Systems / 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.
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.
Predict
Look at f(x) = x³ − 3x. At x = 1 its graph has a local minimum. What is f′(1)?
- −2
- 0
- 1
- 3
Guess first, then reveal
At a smooth minimum the tangent is flat, so f′(1) = 0. By the power rule f′(x) = 3x² − 3, and 3 − 3 = 0.
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?
What the interactive shows (text version)
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.
Watch (optional)
Watch for: 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.
“Derivative formulas through geometry | Chapter 3, Essence of calculus” by 3Blue1Brown (opens YouTube; streaming video uses a lot of data)
The video is optional. Everything you need is in this lesson's text.
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
Intuitive
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.
Technical
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ᵏ⁻¹.
Mathematical
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).
Applied
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.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
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?
Reflect
Describe how you sketched f′ from f before seeing it. Which feature of f was most useful?
Write your answer on paper or in your own notes. Lite never stores what you write.
Go further
- OpenStax Calculus Volume 1 (free, open textbook)
A complete first-year calculus text with worked examples and exercises, free to read online.