Optimization is the process of finding the maximum or minimum value of a function, subject to any given constraints. It's calculus put to work in the real world: a business wants to maximize profit, an engineer wants to minimize material cost, a physicist wants to find the path of least time.
The key insight is that at a maximum or minimum, the function momentarily stops changing — its derivative is zero. So finding the best value reduces to: write a function, differentiate it, set equal to zero, solve.
This simple process underlies machine learning, economics, logistics, structural engineering, and most of applied mathematics. Optimization is what calculus was built for.
Imagine you're climbing a mountain in thick fog. You can't see the summit, but you can feel the slope under your feet. As long as the ground slopes upward, keep climbing. The moment the ground becomes flat — derivative zero — you're at a local peak. Optimization is exactly this: walk until the slope is zero.
You have 40 metres of fencing and want to enclose the largest possible rectangular garden. What dimensions give the maximum area? Without calculus, you might guess. With optimization, you express area as a function of one variable, differentiate, set to zero — and get the exact answer: a square, every time.
Differentiate, set = 0.
Optimal: height = diameter.
\(p = 50\)
Max revenue at price \(\$50\).
Differentiate, set = 0, solve for \(x\).
\(V' = 0\) gives \(x = 2\)
Max volume = 128 units³
Ready to test your knowledge?
Optimization is one of the most-tested topics in Calculus I on BUders.
Go to Calculus I Quizzes →