One of the most common sources of anxiety in Calculus, especially in Optimization problems, is figuring out the "Domain" and then knowing if you actually found the right answer.
We are going to break this down into two skills:
When solving real-world optimization problems, finding the domain is a two-step process: The Math Check and The Reality Check.
Let's look at the function for the cost of materials for a can:
$$ C(r) = k\pi r \left( r + \frac{355}{\pi r^2} \right) $$
1. The Math Check:
We see a fraction: $\frac{355}{\pi r^2}$. Since we cannot divide by zero, $r \neq 0$.
2. The Reality Check:
Because $r$ is a radius, it must be positive. Is there a maximum size? Mathematically, no. You could have a radius of 1 mile (the can would just be microscopically flat to keep the volume constant). So, the only constraint is that the radius must exist.
Conclusion:
Combining $r \neq 0$ and $r$ is positive, our domain is:
Domain: $(0, \infty)$
Visualizing the Domain: This graph shows the cost function. Notice that it only exists for $x > 0$. As $r$ gets close to 0, the cost shoots up (vertical asymptote).
Once you have your domain, you take the derivative and find your Critical Points. But then the doubt sets in: "Is this the answer? Is this a max or a min? Did I miss something?"
If your domain is a Closed Interval (like $[a, b]$), you use The Candidate Test.
If you are optimizing on a closed interval $[a, b]$, the Absolute Max/Min MUST occur at either:
Strategy: Make a table. Plug the critical points AND the endpoints into the original function. The highest number wins.
We have a square piece of cardboard that is 12 inches wide. We want to cut square corners of size $x$ and fold up the sides to make a box with the maximum Volume.
The Volume function is: $V(x) = x(12-2x)(12-2x)$.
Calculated Derivative: $V'(x) = 12(6-x)(2-x)$.
We find two Critical Points: $x=6$ and $x=2$.
Domain: $[0, 6]$
We test our Critical Points ($2, 6$) and our Endpoints ($0, 6$).
| Candidate ($x$) | Volume $V(x)$ | Result |
|---|---|---|
| 0 (Endpoint) | 0 | Min |
| 2 (Critical) | 128 | MAX (Winner) |
| 6 (Endpoint/Crit) | 0 | Min |
Conclusion: By checking the endpoints, we proved that $x=2$ is the Absolute Maximum.
Find the Absolute Maximum and Absolute Minimum of the function $f(x) = 2x^3 - 3x^2 - 12x$ on the interval $[-2, 3]$.
Hint: Find the critical points first, then check the table.