AdvancedUpdated 2026-09-22

Optimization Problems

Optimization problems ask for the best possible value of some quantity — the largest area, the smallest cost, the shortest time — subject to a constraint. They are the main applied payoff of minima and maxima.

General strategy

  1. Draw a diagram and label the quantities involved.
  2. Identify the quantity to optimize and write it as a function of one or more variables — this is the objective function.
  3. Write the constraint relating the variables, and use it to eliminate all but one variable from the objective function.
  4. Find the domain of the resulting single-variable function, based on the physical constraints of the problem.
  5. Find the extremum using the closed interval method or the first/second derivative test.
  6. Interpret the result in the context of the original problem.

Worked example: maximizing enclosed area

A farmer has meters of fencing to enclose a rectangular field with one side against an existing wall (so that side needs no fence). What dimensions maximize the enclosed area?

Let be the length of the two sides perpendicular to the wall, and the side parallel to it.

Constraint: .

Objective function:

Domain: both and , so .

Find the extremum:

Since , this is a maximum. With , .

Conclusion: the maximum area is , achieved with the field deep and wide.

Worked example: minimizing material

An open-top box with a square base must have volume . Minimize the surface area.

Let be the side of the base and the height. Constraint: .

Objective function (base plus four sides, no top):

Since for and for , this is a minimum. Then , giving minimum surface area .

Practice

  1. 1.
    In an optimization problem, what is the purpose of the constraint equation?
  2. 2.
    A rectangle's perimeter is fixed at . Writing , what is the area function ?
  3. 3.
    In the fencing example (wall on one side, ), why is the domain restricted to ?