Optimization — Definition, Formula & Examples
Optimization is the process of finding the maximum or minimum value of a function, typically subject to some constraint. In calculus, you do this by taking the derivative, setting it equal to zero, and testing the resulting critical points.
Given a differentiable function defined on a domain , an optimization problem seeks the absolute (global) extrema of on . By the Extreme Value Theorem, if is a closed interval , the absolute maximum and minimum exist and occur either at critical numbers where or is undefined, or at the endpoints and .
How It Works
Start by identifying the quantity you want to maximize or minimize and writing it as a function of one variable. If the problem gives a constraint, use it to eliminate a second variable. Take the derivative and set it equal to zero to find critical numbers. Evaluate the function at each critical number and at the endpoints of the domain (if they exist). The largest value is the absolute maximum; the smallest is the absolute minimum. Use the first or second derivative test to confirm whether a critical point is a max or min when there is no closed interval.
Worked Example
Problem: A farmer has 120 meters of fencing and wants to enclose the largest possible rectangular area. What dimensions maximize the area?
Set up the function: Let the rectangle have length and width . The perimeter constraint is , so . The area is:
Find the critical number: Take the derivative and set it equal to zero.
Verify and compute: Check the endpoints and critical number: , , and . The maximum area occurs at .
Answer: The maximum area is 900 m², achieved with a 30 m × 30 m square.
Why It Matters
Optimization problems appear throughout AP Calculus AB/BC exams and are a staple of college-level calculus. Engineers use optimization to minimize material costs or maximize structural strength, and economists use it to maximize profit or minimize cost functions.
Common Mistakes
Mistake: Forgetting to check endpoints of the domain
Correction: On a closed interval, the absolute max or min can occur at an endpoint, not just at a critical number. Always evaluate the function at every critical number and both endpoints.
