Optimization from a Model
Translate constraints into a one-variable objective and justify a global optimum.
Builds on Reading Graphs with Derivatives
The bigger question: How can we measure change at a single instant?
On this page
The derivative is not the first step
An optimization problem begins with a quantity to improve and constraints on what is possible. Name the variables, attach units and draw a diagram if geometry is involved. Use the constraints to reduce the objective to one variable, then state the feasible domain.
Only after this modeling work should you differentiate. Solve for interior critical points, examine endpoints or limiting boundary behavior, and justify why the selected candidate is the desired global optimum. A numerical root of a derivative is not itself that justification.
Visual guide
- Area x(6 − x)
Worked example: a fence with one free side
A rectangular enclosure stands against a straight wall. There are meters of fencing for the other three sides. Let be the perpendicular width and the side parallel to the wall. The constraint is , so .
Area is with if degenerate rectangles are admitted as boundary cases. Then , giving . The corresponding is and the area is m². The second derivative is , and the endpoint areas are zero. The concave quadratic therefore has its global maximum at this point.
Using would solve a different problem. The physical constraint must be correct before the calculus can be meaningful.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
Use the perimeter constraint to eliminate the length.
Hint 2 · Take the next step
2x+2y=20 means y=10−x.
Show the reasoning
Answer: A(x)=x(10−x), 0<x<10
Area is xy=x(10−x); positivity of both sides restricts x to (0,10).
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Worked example: minimum material for an open box
A square-base open box must hold volume units. With base side , its height is . Material area is
Differentiate: . Setting this to zero gives , hence and . Also for all feasible . Since grows without bound as or , this is the global minimum, with area .
The domain is open and unbounded, so the closed-interval recipe alone is not enough. Boundary limits supply the missing global check.
Sanity checks and limitations
Return to the original variables and verify the constraint. Check signs, dimensions and whether the solution is physically admissible. Real manufacturing may impose integer dimensions or minimum wall thickness; those constraints can alter the mathematical optimum. State the model rather than silently solving a more realistic problem than the information permits.
Practice
- A rectangle has perimeter . Maximize its area.
- Minimize for .
- Why must endpoints be checked even after finding an interior stationary point?
Show worked solutions
- With sides and , area is maximized at . The square has area .
- The derivative is , negative below and positive above. The minimum is at .
- A stationary point can be a minimum while the maximum occurs at a boundary, as with on .
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.