Reviewed by CalcMulti Editorial Team·Last updated: ·← Calculus Hub
Optimization in calculus finds the maximum or minimum value of a function on a given domain. The core method: set the derivative equal to zero, solve for critical points, then use the second derivative test (or closed interval method) to classify them.
The procedure for optimization: (1) Define the objective function f(x) to maximize or minimize. (2) Identify any constraints and reduce to one variable. (3) Find f'(x) and solve f'(x) = 0. (4) Apply the second derivative test: f''(x) > 0 means local minimum, f''(x) < 0 means local maximum. (5) Check endpoints if on a closed interval.
Optimization appears everywhere: maximizing revenue, minimizing cost, finding the shortest path, designing containers with minimum material, and maximizing enclosed area with fixed perimeter.
The closed interval method guarantees finding the global extremum on [a, b]: evaluate f at all critical points in (a, b) and at both endpoints, then compare.
Set f'(x) = 0 → solve for x → test with f''(x)
Choose a problem type
Optimization Method
Step 1 — Define objective function
Step 2 — Apply constraint (reduce to 1 variable)
Step 3 — Differentiate and set f'(x) = 0
Step 4 — Second derivative test: f'' < 0 → max, f'' > 0 → min
Step 5 — Check endpoints if on closed interval
This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.