BC Calculus 12 · Differentiation (second half) · The derivative rules are tools — here is what they are for: reading a graph from its derivatives, and solving real problems about fastest, biggest, and how fast things change.
Free learning tool. No account, no sign-in. Just open and play.
Three Graphs, One Story
Drag the red dot along the top graph (or move the slider). The same x-value is marked on all three graphs at once: the height of f, the slope f′, and the bend f′′. When f′ is positive, f climbs; when f′′ is positive, f bends upward.
f(x) f′(x) f′′(x) the point a, marked on all three
What the signs tell you
At x = a
Value
What it means
The three graphs are one story told three ways. f′ = 0 marks a flat spot — a possible max or min. f′′ = 0 marks where the bend flips — a possible inflection point. Neither one alone settles it: a flat spot can also be a plateau, and a bend flip needs the sign to actually change.
Worked Examples
Each example shows one step at a time. Cover the next step, try it yourself, then reveal it. The last step is always the check. The graph plays along: each step moves the picture to the state that step is about.
Each click replaces the first three examples with a fresh set. Example 4 is fixed.
Example 1 — Reading f, f′ and f′′ together
For f(x) = x3 − 3x, find where f increases and decreases, its local max and min, and its inflection point.
Differentiate: f′(x) = 3x2 − 3 and f′′(x) = 6x.
Critical points: f′(x) = 0 when 3x2 − 3 = 0, so x = (−1) and x = 1.
Sign of f′: f′(x) > 0 on (−∞, −1) and (1, ∞), f′(x) < 0 on (−1, 1). So f increases, then decreases, then increases.
Local max at x = (−1), local min at x = 1 (first derivative test).
Concavity: f′′(x) > 0 on (0, ∞), f′′(x) < 0 on (−∞, 0). Inflection point at (0, 0).
Check: f(−1) = 2 and f(1) = (−2) — the max is above the min, and the graph crosses its tangent at (0, 0). ✓
Blue: f(x); dashed: f′(x) once the derivative enters the story. The dots mark the local max and min.
Example 2 — Optimization: the biggest rectangle
A rectangular garden has 40 m of fencing. What dimensions maximize the area?
Let x be the width (m). Then the length is 20 − x (half the perimeter is 20).
Area: A(x) = x(20 − x) = 20x − x2, for 0 < x < 20.
Differentiate: A′(x) = 20 − 2x.
Set A′(x) = 0: 20 − 2x = 0, so x = 10. The length is 20 − 10 = 10.
Second derivative: A′′(x) = (−2) < 0, so x = 10 is a maximum. Max area 100 m² — a 10 m by 10 m square.
Check: at x = 9 the area is 99, at x = 11 it is 99 — both less than 100. ✓
The rectangle stretches toward the square that maximizes its area.
Example 3 — Related rates: the sliding ladder
A 5 m ladder leans against a wall. The foot slides away from the wall at 2 m/s. How fast is the top sliding down when the foot is 3 m from the wall?
Let x be the foot’s distance from the wall and y the top’s height. Given: dxdt = 2 m/s. Find dydt when x = 3.
Relation: x2 + y2 = 25 (Pythagoras, the ladder is 5 m).
Differentiate with respect to t: 2x dxdt + 2y dydt = 0.
When x = 3, y = 4 (3-4-5 triangle). Substitute: 2(3)(2) + 2(4) dydt = 0.
Solve: dydt = −128 = (−1.5) m/s. The top slides down at 1.5 m/s.
Check: x grows, so y must shrink — the sign is negative, and 1.5 < 2, as expected (the top moves slower than the foot here). ✓
The ladder slides: as the foot moves out, the top drops.
Example 4 — Newton’s method: chasing √2
Use Newton’s method to approximate √2, starting at x₀ = 2. Take two steps.
We want √2, the root of f(x) = x2 − 2. f′(x) = 2x.
Newton’s formula: xnext = x − f(x)f′(x) = x − x2 − 22x.
Step 1: x₁ = 2 − 24 = 1.5.
Step 2: x₂ = 1.5 − 0.253 ≈ 1.4167.
Check: 1.41672 ≈ 2.007, and the true √2 ≈ 1.4142 — two steps already land within 0.003 of √2. ✓
Each tangent line’s x-intercept is the next guess — the guesses home in on √2.
Practice Generator
Fresh questions every time — the numbers change, so you cannot just memorize answers. Hint first, try it, then check the full solution. Optimization and related-rates questions come in two steps: set the problem up first, then finish it.
Score: 0 / 0
Press “New question” to start.
Your mistakes (saved in this browser only)
Questions you got wrong are listed here so you can review them. Nothing leaves your computer.
None yet. Good luck!
Printable Worksheet
Make a paper worksheet from this chapter's questions — pick a topic, generate a set, and print it (or save it as a PDF). The questions come from the same generator as the Practice Generator above, with the same answers.
Tip: optimization, related-rates and graph-reading questions come in two parts — set the problem up first (a), then finish it (b). In the print dialog, choose “Save as PDF” to keep a copy.
One-Page Summary
Reading f from f′ and f′′
Sign
What f does
f′(x) > 0
f increases on that interval
f′(x) < 0
f decreases on that interval
f′(x) = 0
Critical point — a possible local max, local min, or plateau
f′′(x) > 0
f is concave up (bends upward, like a cup)
f′′(x) < 0
f is concave down (bends downward, like a cap)
f′′(x) = 0 and the sign changes
Inflection point — the bend flips
First derivative test
At a critical point, if f′ changes from + to −, it is a local max; from − to +, a local min; if the sign does not change, it is neither (a plateau, like x3 at 0).
Second derivative test
At a critical point, if f′′ > 0 it is a local min; if f′′ < 0 it is a local max; if f′′ = 0 the test says nothing — go back to the first derivative test.
Mean Value Theorem
If f is continuous on [a, b] and differentiable on (a, b), there is a c in (a, b) with f′(c) = f(b) − f(a)b − a. Somewhere, the instantaneous rate equals the average rate. (Rolle’s theorem is the special case f(a) = f(b), giving f′(c) = 0.)
Differentiability
Differentiable implies continuous — but not the other way round. A corner (like |x| at 0), a cusp, or a vertical tangent makes f continuous but not differentiable there. If f is not continuous at a point, it cannot be differentiable there either.
Newton’s method
To solve f(x) = 0, start at x₀ and repeat xnext = x − f(x)f′(x). Each step follows the tangent line down to the x-axis. It converges fast near a simple root — and can fail if you start where f′ is near 0 or the tangent shoots away.
Optimization — the four steps
Set variables: name what varies, and what you are maximizing or minimizing.
Write the quantity as a function of one variable, using the constraint to eliminate the other.
Differentiate and set the derivative to 0; solve for the critical points.
Verify it is the right kind of extreme (second derivative, or check the endpoints) and answer the original question — with units.
Related rates — the four steps
Set variables and write down what is given (a rate) and what is asked (another rate).
Write the equation relating the variables (geometry first — Pythagoras, similar triangles, volume formulas).
Differentiate with respect to time t — every time-dependent variable gets a ddt factor (chain rule).
Substitute the values at the instant asked about — never before differentiating — and solve.
Common mistakes
Reading a max off the f′ graph: the highest point of f′ is not the max of f. f is highest where f′ crosses from + to −.
Calling every f′ = 0 point a max or min. Check the sign change — x3 at 0 is neither.
Calling every f′′ = 0 point an inflection point. The concavity must actually flip.
In optimization, forgetting the constraint and optimizing a two-variable expression, or forgetting to check the endpoints.
In related rates, substituting the instant’s numbers before differentiating — then the variables look like constants and their rates vanish.
Newton’s method: dividing by f′(x) when it is 0, or starting so far away that the iterations run off.
Mixing up average and instantaneous rate in the Mean Value Theorem: the theorem says they are equal at some c, not everywhere.
Scope note
This block applies the derivative rules — it adds no new differentiation rules. The definition, the power, product, quotient and chain rules, and implicit differentiation all live in the previous block, Derivatives: Definition and Rules. Curve sketching here uses those rules; optimization and related rates are the payoff.