Intro to
Optimization
Learn how to use derivatives to find maximum and minimum values of functions in real-world scenarios.
What is Optimization?
Optimization is the process of finding the best possible value of a function: either the maximum or minimum. In calculus, we use derivatives to locate these extreme values precisely.
Key Vocabulary
Visualizing a Maximum
The Closed Interval Method
To find the absolute maximum and absolute minimum of a continuous function \( f \) on a closed interval \( [a, b] \):
The Extreme Value Theorem
This theorem guarantees that extreme values exist: we just need to find them among the critical points and endpoints.
First vs Second Derivative Test
| First Derivative Test | Second Derivative Test | |
|---|---|---|
| Condition | \( c \) is a critical point | \( f'(c) = 0 \) |
| Local Max | \( f' \) changes from \( + \) to \( - \) at \( c \) | \( f''(c) < 0 \) |
| Local Min | \( f' \) changes from \( - \) to \( + \) at \( c \) | \( f''(c) > 0 \) |
| Inconclusive | \( f' \) doesn't change sign | \( f''(c) = 0 \) |
| Best for | All critical points | Easy-to-differentiate functions |
The Optimization Framework
Example 1: Maximum Area
A farmer has \( 200 \text{ m} \) of fencing to enclose a rectangular field along a river. The river side needs no fence. What dimensions maximize the area?
Example 1: Solution
Example 2: Minimum Distance
Find the point on the parabola \( y = x^2 \) that is closest to the point \( (0, 1) \).
Example 2: Solution
Example 3: Maximum Volume Box
An open-top box is made from a \( 24 \text{ cm} \times 24 \text{ cm} \) sheet of metal by cutting equal squares of side \( x \) from each corner and folding up. Find \( x \) to maximize volume.
Example 3: Solution
Common Mistakes
Optimization Summary
| Step | Action | Key Question |
|---|---|---|
| 1. Setup | Define variables, draw diagram | What am I optimizing? |
| 2. Objective | Write \( f(x) \) to maximize/minimize | What quantity matters? |
| 3. Constraint | Eliminate extra variables | What's fixed or limited? |
| 4. Solve | Find \( f'(x) = 0 \), check domain | Where is the slope zero? |
| 5. Verify | Derivative test or endpoint check | Is it max or min? |
Question 1 of 5
A farmer has \( 120 \text{ m} \) of fencing to enclose a rectangular area against a barn wall (no fence needed on the barn side). What is the maximum area?
Question 2 of 5
To find the absolute maximum of \( f(x) = x^3 - 3x \) on \( [-2, 2] \), which values must you evaluate?
Question 3 of 5
If \( f''(c) > 0 \) at a critical point \( c \), then \( f(c) \) is a:
Question 4 of 5
In the open-top box problem (sheet \( s \times s \), corner cut \( x \)), the volume function is:
Question 5 of 5
When minimizing distance, why do we often minimize \( D^2 \) instead of \( D \)?