4.1.31 · D5Calculus I — Limits & Derivatives
Question bank — Optimization — constrained, unconstrained, real-world problems
True or false — justify
Every local maximum of a differentiable function is a critical point.
True. By Fermat's Theorem, a differentiable function cannot have positive slope on one side and negative on the other without passing through slope zero, so there.
Every critical point of a differentiable function is a local maximum or minimum.
False. has yet is a flat inflection — the graph keeps rising through it. Critical points are only candidates.
If then is automatically a local minimum.
False as stated — you must first know and that is twice differentiable near . The second-derivative test only classifies critical points; alone just says the graph is cup-shaped there, which happens on rising slopes too.
A continuous function on a closed interval always attains a global maximum and minimum.
True (Extreme Value Theorem). Closedness + continuity guarantee the extremes are reached, either at a critical point or an endpoint.
A continuous function on an open interval always attains a global maximum.
False. On , climbs toward but never reaches it — is the supremum (least upper bound) yet is not attained. Openness kills the guarantee.
To find the global extremum on it is enough to compare all critical points.
False. You must also test the two endpoints and ; the global extreme often sits at a boundary where need not vanish.
Minimizing distance and minimizing give the same minimizing point.
True. Since is strictly increasing on , wherever is smallest, is smallest too — but avoids messy square-root derivatives.
If has a solution, that point is guaranteed to be the constrained maximum.
False. The Lagrange condition finds candidates — it flags maxima, minima, and saddles alike. You still must compare -values (or check the geometry) to know which one you have.
The Lagrange multiplier is always positive.
False. can be positive, negative, or zero; its sign tells you the direction in which loosening the constraint changes the optimum. Its magnitude is the sensitivity.
Spot the error
" has and , so is neither a max nor a min."
Wrong conclusion. only means the test is inconclusive, not that there's no extremum. The first-derivative sign test shows left of and right — so is a genuine minimum.
"In the open-box problem — a cm sheet, corners of side cut, giving — I solved and got , so cut 6 cm squares."
Domain error. With base , the value makes , giving zero volume. It's a legitimate root of but a minimum at the boundary; the real answer is the interior root (volume ).
"To maximize on I set ; there was no solution, so no maximum exists."
Wrong. If never vanishes, the function is monotonic, so the maximum simply sits at an endpoint. Absence of interior critical points does not abolish extrema.
", so must be smooth — corners never count."
Backwards. A corner or cusp is a critical point precisely because does not exist there. The definition includes both "slope zero" and "slope undefined."
"I substituted the constraint into , differentiated, and got a critical point — so I never need to check endpoints of the constraint region."
Error. Substitution turns it into a 1-D problem that still has endpoints (physical limits of the variable). Skipping them can miss the true extreme, exactly as in the box problem.
" means and are equal at the optimum."
Confusion of quantities. It means the gradient arrows are parallel (one is a scalar multiple of the other), not that the function values match. It's about direction, not size or value.
Why questions
Why does the sign of decide max vs min, and not its size?
Near a critical point (with twice differentiable there), the increment gives ; since for any small step , only the sign of flips the change up or down. See Taylor Series Expansion and Fig 1.
Why can we ignore the term in that expansion?
Because at a critical point , so that whole term vanishes, leaving the term as the leading behaviour that governs the local shape.
Why must be perpendicular to the constraint curve at a constrained optimum?
If had any component along the curve, we could slide that way and increase while staying feasible — so no optimum yet. Only when the tangent component is zero (i.e. ) are we stuck. See Lagrange Multipliers (Multivariable) and Fig 3.
Why do we prefer to reduce a constrained problem to one variable before differentiating?
A single-variable function has an ordinary derivative we can set to zero directly, using the same Closed Interval logic; it sidesteps needing full multivariable machinery when the constraint is easy to solve.
Why does "fixed sum, maximum product" force the numbers to be equal?
Lagrange gives (both partials of the sum are equal), and geometrically the product grows as the two factors balance — this is AM-GM Inequality wearing a calculus disguise.
Why check perpendicularity as a sanity test in the closest-point problem?
The shortest segment from a point to a line always meets the line at a right angle; if your answer's segment isn't perpendicular (slopes multiplying to ), you've made an error. See Fig 2.
Why is optimization deeply related to Related Rates even though one seeks extremes and the other seeks speeds?
Both start by translating a word problem into a symbolic relation and then differentiating — the calculus machinery is identical; only the question asked of differs.
Edge cases
What if is zero on a whole flat interval, not just a point?
Every point of that interval is a critical point; the function is constant there, so it is simultaneously a (weak) local max and min. No single "peak" — you report the constant value.
What happens at an endpoint where but is still largest?
The endpoint is a boundary maximum; Fermat's Theorem does not apply (it's only for interior points), which is exactly why the Closed Interval Method tests endpoints separately.
Degenerate box: what if the sheet side were ?
Then leaves no material; the domain collapses to the single point with volume . Always confirm the feasible domain is non-empty before optimizing.
Constraint and objective gradients both zero () at a point — what does Lagrange say?
The equation is satisfied by any , so the method gives no information; you must analyze that point directly by inspecting values nearby.
A function has two critical points with the same -value on — which is the global max?
If both tie and exceed the endpoints, the global maximum is attained at both simultaneously. Global extrema need not be unique.
The second-derivative test says minimum, but the point is at the domain boundary — trust it?
Be careful: the test describes local behaviour of the smooth function, but the boundary may cut off one side. Fall back to comparing actual values (Closed Interval Method) to settle the global picture.
Recall One-line self-test before you close this page
Name the two things a critical point could be besides an extremum, and the one place an extremum can hide that has no critical point. Answer ::: An inflection (like at ) or a flat plateau; and an endpoint of the domain.
Connections
- Critical Points & Fermat's Theorem
- Second Derivative & Concavity
- Taylor Series Expansion
- Closed Interval Method (Global Extrema)
- Lagrange Multipliers (Multivariable)
- AM-GM Inequality
- Related Rates