Navigation: Wiki Home > Skills > Optimization Solution Methods
You've set up the optimization problem: an objective function $f(x)$ on some domain. Now comes the payoff—finding where $f$ achieves its maximum or minimum.
The method you use depends on the domain. A closed interval $[a, b]$ allows the Closed Interval Method. An open or infinite domain requires the First Derivative Test for Absolute Extrema. Sometimes, the geometry of the problem makes the answer obvious.
Choosing the right verification method saves time and prevents errors.
| Property | Value |
|---|---|
| Concept | Optimization |
| Chapter | 3.7 |
| Difficulty | Intermediate |
| Time | ~18 minutes |
graph TD
Q1{"Is the domain a<br/>closed interval [a,b]?"}
Q1 -->|Yes| M1["Use Closed<br/>Interval Method"]
Q1 -->|No| Q2{"Only one<br/>critical point?"}
Q2 -->|Yes| M2["Use First Derivative Test<br/>for Absolute Extrema"]
Q2 -->|No| M3["Analyze behavior<br/>at all critical points<br/>and endpoints/limits"]
style M1 fill:#e0f2fe
style M2 fill:#fef3c7
style M3 fill:#fce7f3
When to use: The domain is a closed interval $[a, b]$.
Procedure:
Why it works: The Extreme Value Theorem guarantees that a continuous function on a closed interval attains both a maximum and minimum. These must occur at critical points or endpoints.
From the setup skill, we found: $$A(x) = 2400x - 2x^2, \quad 0 \le x \le 1200$$
Step 1: Find critical numbers. $$A'(x) = 2400 - 4x = 0 \Rightarrow x = 600$$
Step 2: Evaluate at critical number. $$A(600) = 2400(600) - 2(600)^2 = 1{,}440{,}000 - 720{,}000 = 720{,}000$$
Step 3: Evaluate at endpoints. $$A(0) = 0, \quad A(1200) = 2400(1200) - 2(1200)^2 = 0$$
Step 4: Compare values.
| $x$ | $A(x)$ |
|---|---|
| 0 | 0 |
| 600 | 720,000 |
| 1200 | 0 |
The absolute maximum area is $720{,}000$ ft² at $x = 600$ ft.
When to use: The domain is not closed (open interval, half-open, or unbounded) AND there is exactly one critical number.
The Test:
Suppose $c$ is the only critical number of a continuous function $f$ on an interval.
| Sign pattern of $f'$ | Conclusion |
|---|---|
| $f'(x) > 0$ for $x < c$ and $f'(x) < 0$ for $x > c$ | $f(c)$ is the absolute maximum |
| $f'(x) < 0$ for $x < c$ and $f'(x) > 0$ for $x > c$ | $f(c)$ is the absolute minimum |
Why it works: If $f$ is increasing before $c$ and decreasing after, then $f(c)$ is the highest point—and with only one critical number, there's nowhere else for a higher value to occur.
A cylindrical can must hold 1 liter (1000 cm³). The surface area is: $$S(r) = 2\pi r^2 + \frac{2000}{r}, \quad r > 0$$
Find the critical number: $$S'(r) = 4\pi r - \frac{2000}{r^2} = \frac{4\pi r^3 - 2000}{r^2}$$
Setting $S'(r) = 0$: $$4\pi r^3 = 2000 \Rightarrow r^3 = \frac{500}{\pi} \Rightarrow r = \sqrt[3]{\frac{500}{\pi}} \approx 5.42 \text{ cm}$$
Verify it's a minimum:
Pattern: negative → positive at critical point → absolute minimum.
When to use: When the physics or geometry makes the answer obvious, or when endpoint behavior forces an extremum.
The Argument: If $f(x) \to \infty$ as $x$ approaches both ends of the domain, then any local minimum must be an absolute minimum.
If $f(x) \to 0$ or $f(x) \to -\infty$ at both ends, then any local maximum must be an absolute maximum.
For $S(r) = 2\pi r^2 + \frac{2000}{r}$ on $(0, \infty)$:
Since $S \to \infty$ at both ends and $S$ is continuous, there must be a minimum somewhere in between. With only one critical point, that's where the minimum occurs.
When to use: As a quick check, especially when you want to confirm concavity at the critical point.
If $f'(c) = 0$ and:
Warning: This only confirms local extrema. You still need to argue that the local extremum is absolute (using Methods 2 or 3).
$$A(x) = 2400x - 2x^2$$ $$A''(x) = -4 < 0 \text{ for all } x$$
Since $A'' < 0$ everywhere, the function is concave down. The single critical point at $x = 600$ must be an absolute maximum.
| Method | Domain Type | Key Requirement | Advantage |
|---|---|---|---|
| Closed Interval | $[a, b]$ | Finite, closed | Guaranteed to work |
| First Derivative Test | Open/unbounded | One critical point | Clean logical argument |
| Domain Behavior | Open/unbounded | Know endpoint limits | Often avoids calculation |
| Second Derivative | Any | Easy $f''$ | Quick confirmation |
For each function and domain, identify which solution method is most appropriate.
Find the absolute maximum and minimum of $f(x) = x^3 - 3x^2 - 9x + 5$ on $[-2, 4]$.
Find the dimensions of the rectangle of maximum area that can be inscribed under the parabola $y = 4 - x^2$ with its base on the $x$-axis.
A person at point $A$ on one bank of a 2-km wide river wants to reach point $B$ on the opposite bank, 6 km downstream. They can row at 4 km/h and walk at 5 km/h. Where should they land to minimize total travel time?
A ──────────────────────────────
│╲
2 │ ╲
│ ╲
├─────●───────────────────● B
C D (6 km from C)
Let $x$ = distance from $C$ to landing point $D$.
Prove the First Derivative Test for Absolute Extrema (minimum case):
If $c$ is the only critical number of a continuous function $f$ on an interval $I$, and $f'(x) < 0$ for all $x < c$ in $I$ and $f'(x) > 0$ for all $x > c$ in $I$, then $f(c)$ is the absolute minimum of $f$ on $I$.
A student correctly finds that $f'(x) = 0$ at $x = 3$ for some function on $[0, 5]$. They conclude that the absolute maximum must occur at $x = 3$. What error did they make?
(A) They should have used the second derivative test. (B) The absolute maximum might occur at an endpoint. (C) Critical points can only give local extrema. (D) They need to verify $f$ is continuous.
The Landscape Metaphor:
Imagine the graph of $f(x)$ as a hiking trail along a mountain ridge.
The domain tells you the boundaries of your hike. The derivative tells you where the peaks are.
Looking back:
Looking ahead:
Real-world connections:
| Previous | Up | Next |
|---|---|---|
| Optimization Problem Setup | Skills Index | Business Optimization |
Last updated: 2026-01-22