Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Optimization word problems ask you to find the maximum or minimum value of a quantity, such as area, volume, cost, or distance. This cheat sheet helps students turn a written situation into a calculus problem with an objective function and a constraint. It is especially useful because most errors happen before taking the derivative.

A clear setup makes the derivative test and final answer much easier to manage.

The core method is to define variables, write the quantity to optimize, use constraints to reduce the problem to one variable, then differentiate. Critical points occur where f(x)=0f'(x)=0 or where f(x)f'(x) is undefined, but endpoints must also be checked when the domain is closed. Geometry problems often use formulas such as A=lwA=lw, V=lwhV=lwh, A=πr2A=\pi r^2, and V=πr2hV=\pi r^2h.

Distance problems often use d=(x2x1)2+(y2y1)2d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2} or minimize d2d^2 instead when the square root is unnecessary.

Key Facts

  • The standard optimization process is to define variables, write an objective function QQ, write a constraint, substitute to get Q=f(x)Q=f(x), find critical points, and check the domain.
  • Critical points occur when f(x)=0f'(x)=0 or when f(x)f'(x) is undefined, but only values inside the allowed domain count as interior critical points.
  • For a closed interval [a,b][a,b], the absolute maximum and minimum must be chosen by comparing f(a)f(a), f(b)f(b), and all valid critical values.
  • If a constraint is g(x,y)=0g(x,y)=0, solve it for one variable and substitute so the objective becomes a one-variable function such as Q=f(x)Q=f(x).
  • For rectangle problems, the common formulas are area A=lwA=lw and perimeter P=2l+2wP=2l+2w.
  • For box and cylinder problems, useful formulas include V=lwhV=lwh, surface area S=2lw+2lh+2whS=2lw+2lh+2wh, cylinder volume V=πr2hV=\pi r^2h, and cylinder surface area S=2πr2+2πrhS=2\pi r^2+2\pi rh.
  • For distance optimization, the distance formula is d=(x2x1)2+(y2y1)2d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}, and minimizing d2d^2 gives the same point as minimizing dd when d0d\ge 0.
  • A second derivative test can verify a local maximum if f(c)<0f''(c)<0 and a local minimum if f(c)>0f''(c)>0.

Vocabulary

Objective function
The formula for the quantity being maximized or minimized, such as area, volume, cost, or distance.
Constraint
An equation or condition that connects the variables and limits the possible solutions.
Domain
The set of allowed input values for the optimization function, based on the real-world situation.
Critical point
A point in the domain where f(x)=0f'(x)=0 or where f(x)f'(x) does not exist.
Endpoint
A boundary value of the domain that must be checked when looking for an absolute maximum or minimum.
Second derivative test
A method that uses the sign of f(c)f''(c) to classify a critical point as a local maximum or local minimum.

Common Mistakes to Avoid

  • Optimizing the constraint instead of the objective is wrong because the constraint only limits the variables, while the objective is the quantity to maximize or minimize.
  • Using two variables after substitution is wrong because standard single-variable calculus optimization requires the objective to be written as Q=f(x)Q=f(x).
  • Ignoring the domain is wrong because a critical point such as x=2x=-2 may be impossible in a problem involving lengths, where x>0x>0 is required.
  • Forgetting endpoints is wrong on a closed interval because an absolute maximum or minimum can occur at x=ax=a or x=bx=b, not only where f(x)=0f'(x)=0.
  • Reporting only a number without units or context is incomplete because an answer like 1212 must be identified as 12 cm12\text{ cm}, 12 cm212\text{ cm}^2, or another meaningful quantity.

Practice Questions

  1. 1 A rectangle has perimeter 40 m40\text{ m}. Write its area as a one-variable function and find the dimensions that maximize the area.
  2. 2 An open-top box is made by cutting squares of side length xx from each corner of a 20 cm20\text{ cm} by 30 cm30\text{ cm} sheet and folding up the sides. Write V(x)V(x) and find the domain for xx.
  3. 3 Find the point on the line y=2x+1y=2x+1 that is closest to the point (4,0)(4,0) by minimizing the squared distance.
  4. 4 Explain why checking only f(x)=0f'(x)=0 may fail to find the absolute maximum or minimum in an optimization word problem.

Understanding Optimization Word Problem Reference

The hardest part of an optimization problem is usually deciding what the words mean mathematically. The objective is the output you care about, but it may not be the quantity named most often in the story. A farmer may mention fencing, yet the goal could be the largest planting area.

A company may describe a container, yet the goal could be the least material cost. Write a sentence in your own words before choosing a formula. Include units in that sentence.

Area uses square units, volume uses cubic units, and cost uses money units. Units often reveal a wrong formula before any calculus begins.

Constraints describe the limits that connect the variables. They can come from a fixed amount of material, a fixed budget, a required volume, or a physical condition. Read carefully for details that change the model.

If one side of a garden lies beside a river, that side may need no fence. If a box is made by cutting squares from a sheet, the new length and width are each reduced by twice the cut size. If a cylinder has no lid, its surface area does not include the top circle.

A diagram helps because it shows which measurements belong to which parts. Label every known length and every changing length before writing equations.

The allowed domain is part of the model, not an afterthought. A length cannot be negative. A radius cannot be zero when the problem requires a real container.

Some expressions place further limits on a variable. For example, when squares are cut from a rectangular sheet, the cut size must be small enough to leave positive side lengths. These restrictions create an interval of realistic inputs.

The derivative may produce a number that is algebraically correct but physically impossible. Reject it if it falls outside the domain. In many design problems, the best result occurs at a boundary because the situation permits only a limited range of choices.

A derivative gives more than a candidate answer. It describes how the objective changes as the chosen variable changes. A positive derivative means the output rises as the input rises.

A negative derivative means the output falls. When the sign changes from positive to negative, the graph reaches a peak. When it changes from negative to positive, the graph reaches a valley.

This sign information is useful for checking whether the answer makes sense. Finish with the original situation. State the dimensions, the optimized quantity, and the units.

Substitute those dimensions back into the constraint to confirm that no material, budget, or geometric condition was violated. Rounding should be saved until the final step because early rounding can shift the result.