3.6 Optimization
Largest area, biggest box, fastest route — model the quantity as a function of one variable on a sensible domain, then find its extremum.
A common application of calculus is finding the largest or smallest value of a quantity: companies minimize costs and maximize revenue; manufacturers minimize the material needed to package a given volume. Here we set up such problems and solve them with the tools of this chapter.
Solving Optimization Problems over a Closed, Bounded Interval
Every problem has the same shape: a quantity to maximize or minimize, and an auxiliary condition (a constraint) that must be satisfied. Without the constraint the answer would often be "as big as you like".
- Introduce all variables. If applicable, draw a figure and label it.
- Determine which quantity is to be maximized or minimized, and for what range of the other variables.
- Write a formula for that quantity in terms of the variables.
- Use the equations relating the variables (the constraints) to write the quantity as a function of one variable.
- Identify the domain of that function from the physical problem.
- Locate the maximum or minimum — usually by finding critical points and evaluating at endpoints.
Exercises
- 1 You are constructing a cardboard box from a $2$ m by $4$ m sheet. You cut equal-size squares from each corner so you may fold the edges. What are the dimensions of the box with the largest volume?
- 2 Find the positive integer that minimizes the sum of the number and its reciprocal.
- 3 Find two positive integers such that their sum is $10$, and minimize and maximize the sum of their squares.
- 1 You have $400$ ft of fencing to construct a rectangular pen for cattle. What dimensions maximize the area?
- 2 You have $800$ ft of fencing to make a pen for hogs. If a river forms one side, what dimensions of the rectangular pen maximize the area?
- 3 You need to fence a rectangular area of $1600\ \text{ft}^2$. What dimensions minimize the amount of fencing?
- 1 A farmer has $600$ m of fencing to enclose a rectangular field and divide it into three equal pens with two fences parallel to one side. What dimensions maximize the total area?
- 2 An open-top box with a square base must hold $32\,000\ \text{cm}^3$. Find the dimensions that use the least material.
- 3 A closed cylindrical can must hold $500\ \text{cm}^3$. Find the radius and height that minimize its surface area.
- 4 Find the point on the curve $y=\sqrt x$ closest to the point $(3,0)$.
- 5 A Norman window is a rectangle topped by a semicircle. If its perimeter is $8$ m, what dimensions let in the most light (largest area)?
- 1 Revenue. A shop finds that it sells $x$ units per week when the price is $p=60-0.02x$ OMR. What price maximizes weekly revenue, and what is the maximum revenue?
- 2 Profit. A company's cost is $C(x)=2000+10x+0.01x^2$ OMR and its demand is $p=50-0.01x$. How many units maximize profit, and what is the maximum profit?
- 3 Shortest time. A woman is on one bank of a straight river $1$ km wide. She wants to reach a point on the opposite bank $3$ km downstream. She can row at $4$ km/h and walk at $5$ km/h. Where should she land to minimize her travel time?
- 4 Find the points on the parabola $y=x^2$ closest to $(0,2)$.
- 5 Find the largest rectangle that can be inscribed in a semicircle of radius $5$, with one side on the diameter.
- 6 Conceptual. A student maximizes $f(x)=x^3-3x$ over $[0,3]$: "$f^\prime(x)=3x^2-3=0$ at $x=1$, so the maximum is at $x=1$." Find the mistake and the correct maximum.
Research question. Are real cans shaped to use the least metal, i.e. is $h=2r$?
Why it matters. Packaging engineers optimise shape for material cost, strength, shelf space and grip; comparing theory with real products is a common industrial study.
What to do.
- For a closed cylinder of volume $V$, show that the surface area $S=2\pi r^2+\frac{2V}{r}$ is smallest when $h=2r$.
- Measure the height and diameter of three or more real cans (soft drink, tuna, laban, tomato paste).
- Compute $\frac{h}{r}$ for each and compare with $2$.
- Compute the extra metal used compared with the optimal can of the same volume.
Tools: Ruler, calculator or spreadsheet
Hand in: A half-page note: your table of cans, the percentage of extra metal, and one reason why the manufacturer chose that shape.
Going further. Anywhere: measure cans in any shop and compare brands.
🧪 Self-check quiz
Q1. The garden with $100$ ft of fencing and a wall has maximum area when $x=$
Q2. In Example 2, why is $10+2\sqrt7$ rejected?
Q3. Why can we study $A(x)$ on $[0,50]$ rather than $(0,50)$?
Q4. For a fixed perimeter, the rectangle of largest area is:
Q5. Squaring both sides of an equation when finding critical points can: