🧱 Shaky on the basics? Start with Foundations →
Applications of Derivatives — Visual Lab
Module 3. The derivative stops being a rule to memorize and becomes a tool that builds things — the largest box, the fastest-changing moment, the exact shape of a curve. Cut squares from a sheet and watch the volume climb to its peak; then drive a cubic and see where it rises, falls, and bends.
Everything in this module is the first derivative \(f'\) answering one of two questions. "Where is the rate zero?" finds the candidates for a maximum or minimum — that's optimization. "What is the sign of the rate?" tells you where a function is increasing or decreasing, and the second derivative \(f''\) tells you which way it bends. Drive the lab below and keep the picture, the calculus, and the plain-English readout in agreement.
Optimization & Curve-Analysis Lab
Pick a mode, then drag the sliders. In The Open Box, choose the corner cut \(x\) and watch the volume function \(V(x)\) climb to its maximum where \(V'(x)=0\). In Curve Analyzer, drive a cubic and shade where it increases/decreases and is concave up/down, with critical and inflection points marked.
What you're seeing
- The box's volume is a function of one choice. Cut a square of side \(x\) from each corner of the sheet and fold up the flaps; the volume \(V(x)=x(L-2x)(W-2x)\) depends only on \(x\). The graph is that function.
- The peak sits exactly where \(V'(x)=0\). The tallest point of the \(V(x)\) curve is the maximum volume, and the tangent there is horizontal — the marked dot is the critical point that optimization hunts for.
- \(f'\) controls direction. In Curve Analyzer the graph is shaded green where the cubic increases (\(f'>0\)) and red where it decreases (\(f'<0\)). The boundaries — the critical points — are where \(f'=0\).
- \(f''\) controls bending. Concave-up stretches (\(f''>0\), "holds water") and concave-down stretches (\(f''<0\), "spills water") are shaded differently. Where the bending switches is the inflection point, where \(f''=0\).
- First- vs. second-derivative test. A critical point is a maximum if \(f'\) goes \(+\to-\) (or \(f''<0\) there), a minimum if \(f'\) goes \(-\to+\) (or \(f''>0\)). The readout names which one each marked point is.
Try this
- Slide the cut \(x\) toward the peak. Watch the box preview get taller-but-narrower and the volume rise, then fall. Stop where \(V(x)\) is highest — that's where \(V'(x)\) crosses zero.
- Push \(x\) to its extremes. At \(x=0\) there are no walls; near \(x=\tfrac{W}{2}\) there's no floor. Both give \(V=0\) — see why the maximum lives between the endpoints.
- Switch to Curve Analyzer and move \(b\). Watch a critical point appear, merge, or split. Find a \(b\) where the two critical points collide into one — what happens to the increasing/decreasing pattern?
- Find the inflection point. For a cubic it's exactly halfway between the two critical points. Slide the coefficients and confirm the concavity flips right where \(f''=0\).
Worked Examples
Two exemplars that mirror the lab: an optimization problem solved end-to-end, and a full sign-chart analysis of a curve.
The largest open box from a 12 in × 12 in sheet
Squares of side \(x\) are cut from the corners of a \(12\times 12\) sheet and the sides folded up. What cut \(x\) maximizes the box's volume?
- Model the quantity. The base is \((12-2x)\) by \((12-2x)\) and the height is \(x\), so \(V(x)=x(12-2x)^2\), valid on \(0\le x\le 6\).
- Differentiate. Expand \(V=4x^3-48x^2+144x\), so \(V'(x)=12x^2-96x+144=12(x^2-8x+12)=12(x-2)(x-6)\).
- Find critical points. \(V'(x)=0\) at \(x=2\) and \(x=6\). Only \(x=2\) is interior; \(x=6\) is an endpoint.
- Confirm it is a max (not a min). \(V''(x)=24x-96\); at \(x=2\), \(V''(2)=-48<0\), so the curve is concave down — a maximum. (Forgetting to confirm is the classic optimization slip.)
- Check the endpoints too. \(V(0)=0\) and \(V(6)=0\). The interior critical point wins.
Analyze \(f(x)=x^3-3x\)
Find where \(f\) increases/decreases, its local extrema, and its inflection point.
- Critical points from \(f'\). \(f'(x)=3x^2-3=3(x-1)(x+1)\), so \(f'(x)=0\) at \(x=-1\) and \(x=1\).
- Sign chart for \(f'\). Test points: \(f'(-2)=9>0\), \(f'(0)=-3<0\), \(f'(2)=9>0\). So \(f\) increases on \((-\infty,-1)\), decreases on \((-1,1)\), increases on \((1,\infty)\).
- Classify the extrema. At \(x=-1\), \(f'\) goes \(+\to-\): a local maximum, \(f(-1)=2\). At \(x=1\), \(f'\) goes \(-\to+\): a local minimum, \(f(1)=-2\).
- Concavity from \(f''\). \(f''(x)=6x\), zero at \(x=0\). Concave down for \(x<0\), concave up for \(x>0\).
- Inflection point. Concavity changes at \(x=0\), so \((0,0)\) is the inflection point — exactly halfway between the two critical points.
Why it matters
Where this shows up the moment you leave the classroom.
Optimization is the engineer's and economist's everyday verb: the most volume from the least material, the maximum profit, the minimum cost, the strongest beam from a fixed log. Every one of those is "set the derivative to zero, then confirm max vs. min" — the exact move you just made with the box. The increasing/decreasing and concavity readouts are how a curve's story gets told without plotting a hundred points: position vs. velocity vs. acceleration in physics, marginal cost in business, and the inflection point that signals a trend is about to slow down.
Key Vocabulary
The precise words a mathematician uses to describe what the sliders are doing.
An interior input where \(f'(x)=0\) (or \(f'\) is undefined). The only places a smooth function can have a local max or min.
Classify a critical point by the sign change of \(f'\): \(+\to-\) is a local max, \(-\to+\) is a local min.
At a critical point, \(f''<0\) means a local max (concave down), \(f''>0\) means a local min (concave up).
The direction a curve bends: concave up (\(f''>0\), holds water) or concave down (\(f''<0\), spills water).
A point where concavity changes sign — typically where \(f''(x)=0\) and switches. The curve straightens out, then bends the other way.
The single highest/lowest value on a closed interval. Found by comparing \(f\) at all critical points and the endpoints.
AP Calculus Framework
This lab targets the Contextual and Analytical Applications of Differentiation strands — AP Calculus AB/BC Units 4–5 — and the parallel topics in a collegiate Calculus I course. Scholars use \(f'\) to find critical points and decide increasing/decreasing, \(f''\) for concavity and inflection, and both together for optimization and curve sketching.
Unit 4 covers contextual applications — straight-line motion, related rates, linearization, and L'Hôpital's Rule. Unit 5 covers analytical applications — the Mean Value Theorem, the first- and second-derivative tests, absolute extrema on a closed interval, optimization, and curve sketching.
Ready for the full course map? Head back to Calculus, read the Student Support, or check the Pacing Guide to see where Module 3 sits in the year.
Module and topic structure follow the AP Calculus AB/BC Course and Exam Description (College Board) and a standard collegiate Calculus I–II sequence. AP® is a trademark of the College Board, which does not endorse this site. Classroom use is non-commercial.