Worked example
Choose one variable for a constrained area
A wall forms one side of a rectangular enclosure. There are of fencing for the other three sides. Find the dimensions giving the greatest area.
Let be each side perpendicular to the wall and the remaining fenced side.
Positive side lengths give . The area is
The identity shows that no allowed input gives a greater value. Equality is attained at the feasible dimensions by .