All Infographics
Optimization infographic - Optimization

Click image to open full size

Calculus

Optimization

Optimization

Optimization in calculus is the process of finding the largest or smallest possible value of a quantity. It helps answer practical questions such as how to minimize cost, maximize area, or choose the most efficient design. The key idea is that many real situations can be modeled by a function whose output depends on one or more variables. Calculus gives tools to locate where that function reaches a maximum or minimum.

A common method is to find critical points, where the derivative is zero or undefined, and then test which points produce the highest or lowest values. In real problems, the variable is often limited by constraints such as fixed perimeter, budget, time, or material. Those constraints reduce the set of allowed solutions and can change which optimum is actually possible. This is why optimization combines derivatives, function behavior, and careful attention to the real world conditions of the problem.

Key Facts

  • Optimization means finding a maximum or minimum value of a function.
  • Critical points occur where f'(x) = 0 or where f'(x) does not exist.
  • A local maximum or minimum often occurs at a critical point or an endpoint of an interval.
  • Second derivative test: if f'(c) = 0 and f''(c) > 0, then f(c) is a local minimum; if f''(c) < 0, then f(c) is a local maximum.
  • On a closed interval [a, b], absolute extrema can occur at critical points or at endpoints.
  • Constraints are equations or inequalities that limit variables, such as 2x + 2y = 100 or x >= 0.

Vocabulary

Optimization
The process of finding the greatest or least value of a quantity under given conditions.
Critical point
A point where the derivative is zero or undefined and where an extreme value may occur.
Local maximum
A function value that is greater than nearby function values.
Absolute minimum
The smallest value of a function on its entire domain or on a specified interval.
Constraint
A condition that restricts the values a variable can take in an optimization problem.

Common Mistakes to Avoid

  • Ignoring endpoints, which is wrong because absolute maxima and minima on a closed interval can happen at the ends, not just at critical points.
  • Setting f(x) = 0 instead of f'(x) = 0, which is wrong because optimization usually requires finding where the slope is zero, not where the function crosses the axis.
  • Forgetting to apply the constraint, which is wrong because the best unconstrained value may not be allowed in the real problem.
  • Assuming every critical point is an optimum, which is wrong because some critical points are neither maxima nor minima and must be tested.

Practice Questions

  1. 1 A rectangle has perimeter 40 m. Express its area A as a function of one variable and find the dimensions that maximize the area.
  2. 2 Find the absolute maximum and absolute minimum of f(x) = x^3 - 3x^2 + 2 on the interval [-1, 3].
  3. 3 A company can make the highest profit by producing 120 units, but safety rules limit production to at most 100 units. Explain why the constrained optimum is different from the unconstrained optimum.