Rates of Change and Extremes
Using derivatives to find where a function is largest or smallest, how fast linked quantities change, and the shape of a graph.
Needs a step first: 8
At a smooth maximum or minimum the tangent is flat, so ; the sign of around it, or of at it, tells which kind it is. That turns "what is the best design?" into an equation to solve, as long as you also check the ends of the allowed range. The same tools give related rates and the shape of a graph from its derivatives. In many variables this becomes Optimisation in Many Variables and Gradient Descent.
Where it shows up: Training a model means finding where its loss is smallest, and maximum likelihood finds the parameters that make the data most probable by setting a derivative to zero.
How to hold it: In your head
See that a smooth best or worst point has a flat tangent, so an optimisation question becomes plus a check of the endpoints.
What knowing it looks like
- Find and classify the stationary points of a cubic using the first or second derivative.
- Set up and solve an optimisation problem from a description in words, checking the endpoints.
- Solve a related-rates problem, such as how fast a balloon's radius grows as it is filled.
Test yourself
An open-topped box is made from a cm sheet of card by cutting an square from each corner and folding up the sides. Which gives the largest volume, and what is that volume?
Show the worked answer
Needs a step first: 8
Learn it with an AI
Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.
Be my maths tutor. I'm learning "Rates of Change and Extremes" (Core tier): Using derivatives to find where a function is largest or smallest, how fast linked quantities change, and the shape of a graph. I already know: Rules of Differentiation. Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away. Finish by testing me with this: An open-topped box is made from a $12 \times 12$ cm sheet of card by cutting an $x \times x$ square from each corner and folding up the sides. Which $x$ gives the largest volume, and what is that volume? Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.
Needs first
Leads to
- Maximum LikelihoodEstimating a model's parameters by choosing the values that make the observed data most probable.Undergraduate II · Probability & Statistics
- Optimisation in Many VariablesFinding the highest and lowest points of a function of several variables: where the gradient is zero, sorted by the Hessian.Undergraduate I · Optimisation & Information
On the way to
Recommended
- Desmos Graphing CalculatorDesmos Studio · InteractiveFree graphing calculator in the browser and on phones: add a slider to any constant and watch a function, a derivative or a series change as you drag it.
- OpenStax CalculusOpenStax, Rice University · BookA free, peer-reviewed calculus textbook in three volumes, from limits through series to vectors and multiple integrals, with worked examples and answers.
- 宋浩老师官方宋浩(山东财经大学) · Videos · 中文Full university courses in calculus, linear algebra and probability by a Shandong University of Finance and Economics lecturer, clear and good-humoured; a new calculus series came out in October 2026.