Achievable logo
Achievable blue logo on white background

Optimization (calculus)

Optimization in calculus is the process of using derivatives to find the maximum or minimum value of a quantity, such as the largest area or lowest cost, often subject to a constraint.

Optimization is the use of derivatives to find the largest or smallest possible value of a quantity — maximum area, minimum cost, greatest volume, shortest distance. These are word problems at heart: you translate a real situation into a function, then use calculus to locate its extreme values.

The standard method has a consistent structure. First, write a primary equation for the quantity being optimized. Second, if that equation has two variables, use the problem's constraint to eliminate one. Third, differentiate and set the derivative equal to zero to find critical points. Finally, confirm which critical point is the desired maximum or minimum using the first derivative test, the second derivative test, or by checking endpoint values on a closed interval.

A classic example: a farmer with 100 meters of fence wants the largest rectangular pen. Area is A = xy and the constraint is 2x + 2y = 100, so y = 50 − x and A = x(50 − x) = 50x − x². Setting A′ = 50 − 2x = 0 gives x = 25, so the optimal pen is a 25 × 25 square with area 625 square meters. Since A″ = −2 < 0, this critical point is indeed a maximum.

Optimization appears on the AP Calculus AB exam as a staple of the applications-of-derivatives unit, on the FE Mechanical exam within differential calculus, and conceptually on the CMA Part 1 exam, where goal-seeking and optimization analysis answer "what inputs produce the best outcome" in business analytics. Practice setting up the function and constraint — the setup, not the differentiation, is where most points are lost.

Key takeaways

  • Optimization uses derivatives to find a function's maximum or minimum value in an applied setting.
  • The workflow: write the primary equation, substitute the constraint, find critical points, then verify max or min.
  • Use the first derivative test, second derivative test, or endpoint checks to confirm the answer.
  • Setting up the function and constraint correctly is usually the hardest and most-tested step.
  • Optimization is tested on AP Calculus AB and the FE exam, and as goal-seeking analysis on the CMA.
Achievable blue logo on white background

Where you'll learn this

Optimization (calculus) is covered in these Achievable courses — jump straight to the textbook sections that teach it, or explore the full course with practice questions and exams:

Achievable blue logo on white background