From a Flat Sheet to an Open Box
Cutting equal squares from the corners of a rectangular sheet and folding up the remaining sides is a standard way to make an open-top box. The optimization question is to find the cut size that gives the largest volume. The dimensions of the sheet constrain the cut, and the resulting volume depends on all three dimensions of the folded box.
Let the sheet have length \(L\) and width \(W\), with \(L\ge W>0\). Cut a square of side \(x\) from each of its four corners. After folding, the height of the box is \(x\). Each horizontal dimension is reduced at both ends, so the base has length \(L-2x\) and width \(W-2x\).
Here \(L\), \(W\), and \(x\) are lengths in the same units. The volume is measured in cubic units. The factor of \(2\) in each base dimension matters: a cut removes material from both ends of that dimension.
Feasible Cut Sizes
A physical box with positive height and positive base dimensions requires \(x>0\), \(L-2x>0\), and \(W-2x>0\). Since \(L\ge W\), the width constraint is the more restrictive one. Thus the cut sizes that produce a nondegenerate box satisfy
For comparing boundary values, it is useful to extend the volume formula to the closed interval \(0\le x\le W/2\). At \(x=0\), the height is zero, so the volume is zero. At \(x=W/2\), the base width is zero, so the volume is again zero. Neither endpoint produces a positive-volume box, but both are legitimate boundary values of the extended function.
Substituting the dimensions into the volume formula gives the objective function
This is a continuous function on the closed feasible interval. Its maximum on that interval must occur at a boundary point or at an interior critical point, where the derivative is zero. The boundary values alone cannot be the maximum if an interior cut gives positive volume.
Finding the Critical Points
Differentiate the expanded cubic:
Setting the derivative equal to zero gives a quadratic equation. The quadratic formula produces two roots. Define \(D=\sqrt{L^2-LW+W^2}\), which is positive because \(L\) and \(W\) are positive. The roots are
Having two algebraic roots does not mean both are feasible. Only a root in the interval \(0<x<W/2\) can describe a nondegenerate box. The shorter sheet dimension determines which root is relevant.
Why the Feasible Critical Point Is the Global Maximum
We can establish the theorem and the maximum claim directly. First, \(D<L+W\): both quantities are positive, and
Thus \(x_->0\). To show \(x_-<W/2\), rearrange the inequality to \(L-2W<D\). If \(L-2W\le0\), this holds because \(D>0\). If \(L-2W>0\), then
In this case \(L>2W\), so \(L>W\) and the right-hand side is strictly positive. Both quantities being compared are positive, hence \(D>L-2W\). This proves \(x_-<W/2\).
For the other root, \(x_+\ge W/2\) is equivalent to \(D\ge2W-L\). If \(2W-L\le0\), that is immediate. If \(2W-L>0\), then
Since both sides of \(D\ge2W-L\) are then nonnegative, the squared inequality implies the desired inequality. This proves that \(x_+\) is not an interior feasible critical point. When \(L=W\), it equals the boundary value \(W/2\); when \(L>W\), it lies beyond that boundary.
Finally, the derivative factors using its two roots:
For \(0\le x<x_-\), both factors in parentheses are negative, so \(V'(x)>0\). For \(x_-<x<W/2\), the first factor is positive and the second negative, so \(V'(x)<0\). Thus the volume increases up to \(x_-\) and decreases after it across the feasible interval. The endpoint volumes are both zero, while \(V(x_-)>0\) because all three dimensions are positive there. Consequently, \(x_-\) gives the global maximum, not merely a local maximum.
Worked Example: A 16-by-10 Sheet
Worked Example: A 16-by-10 Sheet
A rectangular sheet measures \(16\text{ cm}\) by \(10\text{ cm}\). Find the corner cut that maximizes the volume, and verify the result.
Take \(L=16\) cm and \(W=10\) cm. The feasible interval is
The volume function and its derivative are
Factor the derivative:
The critical points are \(x=20/3\) cm and \(x=2\) cm. Since \(20/3>5\), that root is outside the feasible interval. The feasible critical point is \(x=2\) cm. The resulting dimensions are height \(2\) cm, length \(16-2(2)=12\) cm, and width \(10-2(2)=6\) cm. Therefore
On the closed interval, the boundary values are \(V(0)=0\) and \(V(5)=5(16-10)(10-10)=0\). The interior critical point has positive volume, and the derivative changes from positive to negative there. Hence the maximum is \(144\text{ cm}^3\), achieved by cutting out \(2\text{ cm}\) squares.
As a check, the derivative factors as \(4(3x-20)(x-2)\), so its sign is positive between \(0\) and \(2\), and negative between \(2\) and \(5\). This confirms that the calculated volume is the maximum within the feasible interval.
Worked Example: A Square Sheet
Worked Example: A Square Sheet
A square sheet has side length \(12\text{ cm}\). Find the maximum-volume box and check the boundary and critical-point values.
Here \(L=W=12\) cm, so \(0<x<6\) cm and
Differentiating and factoring gives
The critical points are \(x=2\) cm and \(x=6\) cm. The latter is the boundary, where the base dimensions vanish, so it does not produce a nondegenerate box. At \(x=2\) cm, the box has height \(2\) cm and a square base with side \(12-4=8\) cm. Its volume is
The closed-interval boundary values are \(V(0)=0\) and \(V(6)=6(0)(0)=0\). The derivative is positive on \(0<x<2\) and negative on \(2<x<6\), so \(x=2\) gives the global maximum. The maximum volume is \(128\text{ cm}^3\).
Worked Example: Rejecting an Infeasible Root
Worked Example: Rejecting an Infeasible Root
A sheet measures \(8\text{ cm}\) by \(5\text{ cm}\). Find the maximizing cut, paying particular attention to the feasible domain.
Set \(L=8\) cm and \(W=5\) cm. The cut must satisfy \(0<x<5/2\) cm. The volume and derivative are
Factor the derivative:
The roots are \(x=10/3\) cm and \(x=1\) cm. Because \(10/3>5/2\), the first root is infeasible; it would make the shorter base dimension negative. The feasible critical point is \(x=1\) cm. The box dimensions are \(1\) cm high, \(8-2=6\) cm long, and \(5-2=3\) cm wide. Its volume is
The boundary values on the closed interval are \(V(0)=0\) and \(V(5/2)=0\), since the base width is zero at the latter point. The derivative is positive from \(0\) to \(1\) and negative from \(1\) to \(5/2\). Thus the cut of \(1\) cm gives the global maximum, \(18\text{ cm}^3\).
A Common Modeling Mistake
A frequent error is to subtract \(x\), rather than \(2x\), from each base dimension. For the \(16\text{ cm}\) by \(10\text{ cm}\) sheet, that mistake would assign a cut of \(2\text{ cm}\) the dimensions \(14\text{ cm}\) and \(8\text{ cm}\), and give the incorrect volume
But each horizontal dimension loses a corner square at both ends. The correct dimensions are \(16-2(2)=12\) cm and \(10-2(2)=6\) cm, giving \(2\cdot12\cdot6=144\text{ cm}^3\). The correction is to track the two removed lengths separately in each direction before writing the volume function.
A second important check is to test every critical point against the feasible interval. A derivative equation describes stationary points of the algebraic function, but a root outside the interval cannot describe a possible box. The \(8\)-by-\(5\) example shows why finding the roots is not the end of the optimization problem.
Why Boundary Values Matter
The maximum-volume cut is an interior point, but checking the boundaries completes the global comparison. The physical domain excludes both endpoints because each gives a degenerate shape rather than a box of positive height and base area. Nevertheless, the volume formula extends continuously to the closed interval, and its values at both endpoints are zero. The interior critical point has positive volume, so it exceeds both boundary values.
This comparison also distinguishes the problem’s actual geometry from the closed-interval method used to establish a maximum. The extended interval is a tool for checking all possible limiting cases; it does not make a zero-height or zero-width object a valid box. The final maximizing cut lies strictly inside the physical domain, so it is attainable.
Check Your Understanding
Use the volume model and feasible-domain reasoning to answer the following questions.
- For a sheet with \(L\ge W>0\), why is the feasible cut interval determined by \(W\) rather than \(L\)?
- Write the volume function for a sheet measuring \(14\) by \(8\) units, and state its feasible cut interval.
- Why must each base dimension decrease by \(2x\), rather than by \(x\)?
- What does it mean if a critical point of the volume function lies outside the feasible interval?
- For a positive feasible cut, why is its volume greater than the volume at either boundary of the closed interval?