In optimization problems, we look for the maximum or minimum value of a quantity and the specific input that achieves it. The strategy is to express the quantity as a function of one variable, determine the domain, then find and classify critical points using the First or Second Derivative Test.
Strategy
Strategy for Solving Optimization Problems
Identify the dependent variable to be maximized or minimized, and every variable that plays a role. Assign letters that remind you of their meaning.
Write a primary equation relating the quantity to be optimized to the other variables.
If the primary equation involves more than one independent variable, use secondary equations (constraints) to eliminate extra variables and reduce to a single-variable function. A diagram often helps find the secondary equation.
Determine the domain of the independent variable. The domain may be smaller than the natural domain because of limitations inherent to the problem.
Test the critical points and endpoints of the domain. Use the First Derivative Test or the Second Derivative Test to classify critical points.
Examples
Find two nonnegative numbers whose sum is 50 such that their product is as large as possible.
Solution
Let one number be ; the other is . Their product is Because both numbers must be nonnegative, the domain is $[0,50]$. Since is continuous on the closed interval $[0,50]$, it attains an absolute maximum. The only critical point comes from f'(x)=50-2x=0\Rightarrow x=25. Comparing values at the critical point and endpoints: The maximum product is , achieved when both numbers equal $25$.
Find the dimensions of the rectangle of greatest area that can be inscribed in a circle of radius 2.
Solution
Inscribe a rectangle $BCDE$ in the circle. Let . By the Pythagorean theorem, , so the area is

A piece of cardboard measures . An open box is made by cutting equal squares of side from each corner and folding up the sides. Find the cut size that maximizes the volume.

Solution
After cutting, the box has dimensions , , and (height):

What is the shortest distance from the point $(0,2)$ to the parabola ?

Solution
Any point on the parabola has the form . The distance from $(0,2)$ to this point is To avoid differentiating a square root, minimize : Note: is even, so we may analyze . Setting f'(x)=0: f'(x)=x^{3}-2x=x(x^{2}-2)=0\Rightarrow x=0,\pm\sqrt{2}. Sign diagram for f':

Find the height and radius of the right circular cylinder of maximum volume that can be inscribed in a right circular cone with radius and height .

Solution
Let = radius of the cylinder, = height of the cylinder, = volume. **Primary equation:** . **Secondary equation (similar triangles):** Looking at the cone from the side, triangles and O'AB' are similar:

The lower corner of a long page of width is folded over so as just to reach the inner edge of the page.
(a) Find the width of the folded part when the length of the crease is a minimum.
(b) Find the width when the area folded over is a minimum.

Solution
Let length of , length of , length of the crease .


Two corridors of widths and meet at right angles. What is the maximum length of a ladder that can be carried horizontally around the corner?

Solution
**Method (a): Cartesian coordinates.**
