Topic 15
Optimization
Every optimization question is the same three moves: write one function of one variable, find where its derivative is zero, and prove that point is the global max or min. The proof is where most marks are lost — every recipe below ends with it.
5 kinds of question. Open the one you are stuck on.
1Find the global max and min on a closed interval
e.g. “Find the global (absolute) maximum and minimum of on ”
Find the global max and min on a closed interval
e.g. “Find the global (absolute) maximum and minimum of on ”- 1Check is continuous on
Then the Extreme Value Theorem guarantees a global max and min, and they sit at critical points or endpoints. Say this: it is the justification.
- 2Find
- 3Find the critical points inside
Where or is undefined. Throw away any outside the interval.
- 4Evaluate at every critical point and both endpoints
Put the values in a small table. Use , not .
- 5Biggest value is the global max; smallest is the global min
Give the value and every where it happens — ties are allowed. Why global: the EVT puts them in this table.
Remember: Critical points plus endpoints, then compare.
See it in a problem4 worked examples
Find the global maximum and minimum of on .
- 1Check is continuous on
is a polynomial, so it is continuous on ; the EVT says a global max and min exist.
- 2Find
.
- 3Find the critical points inside
at and , both inside . is never undefined.
- 4Evaluate at every critical point and both endpoints
- 5Biggest value is the global max; smallest is the global min
Largest value (at and at ); smallest value (at ).
Global max at and ; global min at . (Global: is continuous on , so by the EVT the extremes are in the table.)
Find the absolute maximum and minimum of on .
- 1Check is continuous on
is continuous wherever , so on all of ; global max and min exist.
- 2Find
.
- 3Find the critical points inside
. Only is in ; drop . ( is undefined only at , not in the interval.)
- 4Evaluate at every critical point and both endpoints
, , .
- 5Biggest value is the global max; smallest is the global min
Largest: at . Smallest: at .
Absolute max at ; absolute min at . (Global: is continuous on , so by the EVT the extremes are in the table.)
Find the global extreme values of on .
- 1Check is continuous on
and are continuous everywhere, so is continuous on ; global max and min exist.
- 2Find
.
- 3Find the critical points inside
gives in (the other solution, , is outside).
- 4Evaluate at every critical point and both endpoints
, , .
- 5Biggest value is the global max; smallest is the global min
Largest: at . Smallest: at .
Global max at ; global min at . (Global: is continuous on , so by the EVT the extremes are in the table.)
Find the global maximum and minimum of on .
- 1Check is continuous on
is continuous everywhere, so is continuous on ; global max and min exist.
- 2Find
, so .
- 3Find the critical points inside
at ; is undefined at . Both are inside .
- 4Evaluate at every critical point and both endpoints
, , , .
- 5Biggest value is the global max; smallest is the global min
Largest: at . Smallest: at .
Global max at ; global min at . (Global: is continuous on , so by the EVT the extremes are in the table.)
Common mistakes4
- Forgetting the endpoints. On a closed interval the max or min is often at an end.
- Missing a critical point where is undefined (a cusp from , a corner from ).
- Keeping a critical point outside in the table.
- Comparing values instead of values. The table is of .
2Find the global max or min on an open or infinite interval
e.g. “Find the global maximum of on or on ”
Find the global max or min on an open or infinite interval
e.g. “Find the global maximum of on or on ”- 1Check the ends: values at closed ends, limits at open ends
If climbs above both ends somewhere, a global max must exist: the ends cannot beat it, so EVT on a large closed piece finds it. Flip it for a min.
- 2Find and the critical points in the domain
- 3Make a sign chart of
Pick a test value on each side of every critical point.
- 4Conclude with a justification sentence
everywhere left of a point and everywhere right of it: rising then falling, so it is the global max. then : global min. Several critical points: compare their values with the ends.
Remember: Ends first, then the one critical point, then the sentence.
See it in a problem3 worked examples
Let on . (a) Explain without differentiation why has a global maximum. (b) Find it.
- 1Check the ends: values at closed ends, limits at open ends
(a) , for , and . Since , past some we have ; on the EVT gives a max , and nothing past beats it. So a global max exists.
- 2Find and the critical points in the domain
(b) , zero at (and , outside the domain).
- 3Make a sign chart of
on and on .
- 4Conclude with a justification sentence
rises up to and falls after it, so is the global max.
Global maximum at (global: increases on and decreases on ).
Does have a global minimum on ? A global maximum? Find any that exist.
- 1Check the ends: values at closed ends, limits at open ends
As , ; as , . Both ends shoot up: a global min exists, a global max does not.
- 2Find and the critical points in the domain
, zero only at .
- 3Make a sign chart of
on , on .
- 4Conclude with a justification sentence
Decreasing then increasing with one critical point, so is the global min. No global max, since .
Global min at (global: decreases on and increases on ); no global max, since at both ends.
Find the absolute minimum of on , and justify that it is absolute.
- 1Check the ends: values at closed ends, limits at open ends
As , and ; as , dominates , so . Both ends go up.
- 2Find and the critical points in the domain
.
- 3Make a sign chart of
for and for . (Also everywhere.)
- 4Conclude with a justification sentence
One critical point, decreasing then increasing: is the absolute min.
Absolute min at (absolute: decreases before and increases after).
Common mistakes3
- Saying "local max, so global max" with no reason. You need the sign chart on the whole domain, or one critical point and of one sign everywhere.
- Using the EVT on directly. It needs a closed bounded interval; argue with the limit at instead.
- Forgetting that a global max may not exist: if at an end, say so.
3Solve a geometry optimization word problem
e.g. “Cut squares from the corners of a sheet and fold up the sides … largest volume”
Solve a geometry optimization word problem
e.g. “Cut squares from the corners of a sheet and fold up the sides … largest volume”- 1Draw it, name the variables, write the quantity to optimize
Volume, surface area, area: whatever the question says to make biggest or smallest.
- 2Use the constraint to get one variable
The fixed number (volume, sheet size, perimeter) links the variables. Solve it for one and substitute.
- 3State the domain of that variable
Lengths are positive; a cut cannot exceed half the shorter side.
- 4Differentiate and solve in the domain
- 5Justify it is the global max or min
Closed domain: compare with endpoints. Open domain: sign chart of , or of one sign on the whole domain.
- 6Answer the question asked, with units
Remember: Picture, objective, constraint, domain, derivative, proof, answer.
See it in a problem3 worked examples
A sheet of metal is cm by cm. Equal squares of side are cut from the four corners and the sides are folded up to make an open box. Find the largest possible volume.
- 1Draw it, name the variables, write the quantity to optimize
Base by , height . Maximize .
- 2Use the constraint to get one variable
The sheet size is the constraint, already used: .
- 3State the domain of that variable
(the cut cannot pass half of ).
- 4Differentiate and solve in the domain
; only is in the domain.
- 5Justify it is the global max or min
Closed interval: , , . So gives the global max.
- 6Answer the question asked, with units
Cut cm squares; the box is cm.
Maximum volume (cut cm). Global max: on the closed domain it beats both endpoints, where .
An open-top box has a rectangular base whose length is twice its width, and volume . Find the dimensions that minimize its surface area.
- 1Draw it, name the variables, write the quantity to optimize
Width , length , height . Minimize (one base, four sides).
- 2Use the constraint to get one variable
, so .
- 3State the domain of that variable
.
- 4Differentiate and solve in the domain
.
- 5Justify it is the global max or min
for every : concave up on the whole domain, so is the global min.
- 6Answer the question asked, with units
Width cm, length cm, height cm. Surface area .
cm by cm base, cm tall (). Global min: for every .
A closed cylindrical can must hold . Find the radius and height that use the least metal.
- 1Draw it, name the variables, write the quantity to optimize
Radius , height . Minimize (top, bottom, side).
- 2Use the constraint to get one variable
, so .
- 3State the domain of that variable
.
- 4Differentiate and solve in the domain
.
- 5Justify it is the global max or min
for and for : decreasing then increasing, so is the global min.
- 6Answer the question asked, with units
cm, cm; .
cm, cm (). Global min: decreases before and increases after.
Common mistakes4
- Differentiating a function of two variables. Substitute the constraint first.
- Skipping the justification. " so it is a minimum" earns nothing on its own.
- Answering with when the question asks for all the dimensions, or for the maximum volume.
- Open-top box: only one base in the surface area. Closed: two.
4Minimize a cost or spend a fixed budget
e.g. “The top and bottom cost $… per m², the sides cost $… — minimize the cost”
Minimize a cost or spend a fixed budget
e.g. “The top and bottom cost $… per m², the sides cost $… — minimize the cost”- 1Write cost as price times amount, added over the parts
Budget question: the thing to maximize is the objective, and the budget is the constraint.
- 2Write the fixed quantity as an equation
A volume, a budget, a distance: whatever cannot change.
- 3Substitute to get one variable, and state its domain
- 4Differentiate and solve
Budget question: differentiate the thing you maximize instead, such as .
- 5Justify the max or min, then answer in context
Closed domain: compare with endpoints. Open domain: sign chart, or second derivative of one sign everywhere.
Remember: Price times amount, fix the constraint, one variable.
See it in a problem3 worked examples
A closed cylindrical water tank must hold . Material for the top and bottom costs $5 per ; the curved side costs $2 per . Find the dimensions that minimize the cost.
- 1Write cost as price times amount, added over the parts
.
- 2Write the fixed quantity as an equation
.
- 3Substitute to get one variable, and state its domain
, with .
- 4Differentiate and solve
.
- 5Justify the max or min, then answer in context
for all , so is the global min. Then and .
Radius m, height m (cost dollars, about $377). Global min: for every .
A rectangular garden is fenced on all four sides. The side facing the street uses fancy fencing at $10 per meter; the other three sides cost $5 per meter. With exactly $600 to spend, what dimensions give the largest area?
- 1Write cost as price times amount, added over the parts
Street side , depth . Cost ; maximize .
- 2Write the fixed quantity as an equation
.
- 3Substitute to get one variable, and state its domain
, so with .
- 4Differentiate and solve
.
- 5Justify the max or min, then answer in context
and , so is the global max.
m along the street, m deep (area ). Global max: on the closed domain it beats both endpoints, where .
A power plant sits on one bank of a straight river km wide. A factory is on the other bank, km downstream. Cable costs $5 per meter under water and $4 per meter on land. The cable crosses the river diagonally to a point km downstream, then runs along the bank. Find that minimizes the cost.
- 1Write cost as price times amount, added over the parts
Under water: km; on land: km. Cost (in thousands of dollars) .
- 2Write the fixed quantity as an equation
The width and the distance are fixed; Pythagoras gives the underwater length.
- 3Substitute to get one variable, and state its domain
Already one variable: , with .
- 4Differentiate and solve
.
- 5Justify the max or min, then answer in context
Closed domain: , , . Smallest is , so is the global min.
Land the cable km downstream (cost $41,000). Global min: on it beats both endpoints.
Common mistakes3
- Using one price for every part. Each surface or stretch gets its own price.
- On a budget, the domain is closed (spend between none and all on each part): check the endpoints.
- Reporting the minimum cost when the question asks for the dimensions, or the reverse.
5Find the shortest distance from a point to a curve
e.g. “Find the point on the curve closest to ”
Find the shortest distance from a point to a curve
e.g. “Find the point on the curve closest to ”- 1Take a general point on the curve
If the curve is easier as (like ), use and work in .
- 2Write
Minimize , not : the square root is increasing, so both have the same minimizer, and has no root to differentiate.
- 3Differentiate and solve
- 4Justify it is the global min
Sign chart of , or at the ends with one critical point.
- 5Answer: the point, and
Remember: Square it, differentiate, take the root at the end.
See it in a problem3 worked examples
Find the point on closest to , and the shortest distance.
- 1Take a general point on the curve
A point on the curve: , .
- 2Write
.
- 3Differentiate and solve
.
- 4Justify it is the global min
on the whole domain, so is the global min (check: is bigger).
- 5Answer: the point, and
, so at .
Closest point ; distance . Global min: on the whole domain.
Find the shortest distance from the point to the parabola .
- 1Take a general point on the curve
A point on the curve: .
- 2Write
.
- 3Differentiate and solve
(the quadratic has negative discriminant).
- 4Justify it is the global min
always, so has the sign of : negative then positive. One critical point, so is the global min.
- 5Answer: the point, and
, so , at .
, at the point . Global min: goes to at its only zero.
Find the point on , , closest to the origin.
- 1Take a general point on the curve
A point on the curve: , .
- 2Write
.
- 3Differentiate and solve
(positive root).
- 4Justify it is the global min
as and as , and is the only critical point, so it is the global min.
- 5Answer: the point, and
, , at .
The point , at distance . Global min: at both ends and is the only critical point.
Common mistakes3
- Forgetting the square root at the end: the answer is , not .
- Ignoring the curve's domain ( needs ) when checking the ends.
- Giving only the point when the question asks for the distance, or the reverse.
Need the formulas? Must memorize · Flashcards
