Specify the objective, constraint and domain
First identify what is optimised and what is fixed. Write the basic formula with units and distinguish variables from fixed parameters. A constraint eliminates a variable; it does not disappear from the problem. Positive lengths, allowed time windows or integer counts belong to the domain.[1]
Substitution must describe the same application constraint for the allowed x-values.
Why differentiation comes afterwards
The condition F′=0 finds interior candidates. A sign change or an applicable second derivative test classifies them. An absolute result additionally needs an argument covering the entire allowed domain, such as completing the square, endpoint comparison or limiting behaviour. A local minimum alone is insufficient if another allowed point might be better.[2]
For a rectangle with complete perimeter U>0, substitution gives A(x)=x(U/2−x). Completing the square yields A=U2/16−(x−U/4)2. The square is nonnegative and vanishes at the allowed interior input x=U/4, proving the absolute maximum without relying only on a drawing.[1]
Work through two constraints completely
Maximum rectangle area with perimeter 54 m
- Given
- A rectangular garden has 54 m of fencing around all four sides. The model neglects gate widths and losses at posts.
- Find
- Find both side lengths and the maximum area.
Separate the area objective from the fencing constraint.
Eliminate y and require positive side lengths.
Differentiate the objective and classify its candidate.
Recover the other side and compute the area in the original geometry.
Result: The square with side length 13.5 m has maximum area 182.25 m2.
Check: Completing the square gives . The subtracted term is never positive. Also, 2·13.5+2·13.5=54, independently checking both the global maximum and the constraint.
One constraint reduces two variables to one
Free with a Quanta account. Your download stays ready after registration.
A closed can with minimum surface area
- Given
- An ideal closed circular cylinder has fixed volume . All surface areas have equal weight; thickness and cutting losses are ignored.
- Find
- Find radius, height and minimum closed surface area.
Solve the volume constraint for h and substitute into surface area.
Solve the stationarity condition.
Justify the minimum and recover the height.
Add bottom, lid and lateral surface.
Result: The result is r=5 cm, h=10 cm and minimum area 150π cm2≈471.24 cm2. Under these assumptions, the optimum satisfies h=2r.
Check: O tends to infinity as r→0+ and as r→∞; its positive second derivative makes the minimum global. The volume check π·52·10=250π cm3 satisfies the original constraint.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Model limits and calculator special case
The associated calculator special case is a rectangle with a fixed complete perimeter. Wall problems, cylinders, unequal surface costs and discrete restrictions require separate models; entering the same number into the rectangle calculator does not solve them. When assumptions change, start again with the objective and constraint.
Five exercises on modelling and checks
Calculate · Application
A rectangle has one side along a wall. There are 72 m of fencing for the other three sides. Find the maximum area.
Show hint
Fence two sides of length x and one of length y.
Learning goal: Model a modified fencing constraint correctly.
Show solution and calculation
From 2x+y=72 m, y=72 m−2x and A=72 m·x−2x2 for 0<x<36 m.
A′=72 m−4x=0 gives x=18 m, y=36 m and A=648 m2.
Since A″=−4<0 this is a maximum.
Check: 2·18+36=72; A=648 m2−2(x−18 m)2 is never larger. Because of the wall, the optimal rectangle is not a square.
Rearrange · Foundation
A rectangle with a fixed complete perimeter is to have an optimal area of exactly 225 m2. Find that perimeter.
Show hint
For a complete perimeter, the optimal shape is a square.
Learning goal: Invert an optimal objective value to find a required parameter.
Show solution and calculation
From Amax=(U/4)2=225 m2, U=4√225 m=60 m.
Use the positive root because U is a length.
Check: four sides of 15 m give perimeter 60 m and area 225 m2; any other rectangle with that perimeter has no greater area.
Interpret · Application
An objective is A(x)=x(30−2x), with x and the other side measured in metres. Explain its meaningful domain and maximum.
Show hint
Both factors must be positive for a genuine rectangle.
Learning goal: Read the model constraint and domain from an objective.
Show solution and calculation
The domain is 0<x<15.
The constraint is 2x+y=30 rather than 2x+2y=30.
Solving A′=30−4x=0 gives x=7.5 m, y=15 m and A=112.5 m2.
Check: 2·7.5+15=30. Negative or excessively large x do not give allowed side lengths, even though the expression can still be evaluated algebraically.
Error analysis · Application
For a closed can of volume 54π cm3, someone claims without calculation that the optimum has h=r. Check the claim.
Show hint
A closed and an open-topped can have different numbers of circular faces.
Learning goal: Tie an optimal shape to the correct surface-area model.
Show solution and calculation
For a closed can, O=2πr2+2V/r.
Setting O′=0 gives r3=V/(2π)=27 cm3, so r=3 cm and h=V/(πr2)=6 cm=2r.
The claim does not match this model.
Check: O″>0 for r>0 and the volume remains 54π cm3. Removing the lid changes the objective rather than simply renaming the existing result.
Transfer · Application
An ideal open-topped cup has volume 64π cm3. Bottom and lateral areas have equal weight. Find the minimum-area shape.
Show hint
The objective contains only one circular face.
Learning goal: Transfer the method to a changed geometry.
Show solution and calculation
S=πr2+2V/r for r>0.
Setting S′=2πr−2V/r2=0 gives r3=V/π=64 cm3.
Thus r=4 cm, h=V/(πr2)=4 cm and S=48π cm2.
Check: S″=2π+4V/r3>0 and S tends to infinity at both ends. For the open cup the optimum has h=r; the closed version is a different problem.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Use the existing basic formulas
Rectangle area and perimeter supply the garden constraint. Cylinder formulas distinguish bottom, lid and lateral surface. For quadratic objectives, vertex form makes the absolute optimum directly visible.
Sources for this explanation
Quanta · Updated November 5, 2026
- OpenStax, Calculus Volume 1, 4.7 Applied Optimization Problems
- OpenStax, Calculus Volume 1, 4.3 Maxima and Minima
- North Rhine-Westphalia Ministry of School Education, upper-secondary Mathematics curriculum, 2023, basic-level Analysis, competency 1: Constrained Optimization (German-language curriculum)
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Authored an independent DE/EN school article with a justification, two original examples, five solved exercises and a native diagram.
Cite this reference page
Quanta. Optimisation with constraints. Updated November 5, 2026. https://quanta-study.de/en/formula-sheet/extremwertprobleme-nebenbedingungen
When citing a specific scientific statement, also cite the specialist source linked to that statement.