Tutorials › Calculus III › Open-Top Box Design From Fixed Sheet Area

Applied Multivariable Optimization · Tutorial 479 of 999

Open-Top Box Design From Fixed Sheet Area

Learn how to set up the sheet-area constraint, find the globally optimal box dimensions, and verify that no boundary or unequal-base design does better.

Advanced 9 min read

What You'll Learn

  • Translate the bottom and four side panels into a fixed-area constraint.
  • Express the box volume in terms of its three dimensions.
  • Use the Lagrange equations to show that an optimal base must be square.
  • Check zero-volume boundaries and the possibility of unbounded dimensions.
  • Calculate the optimal dimensions and volume for a specified sheet area.
  • Avoid a common error in counting the four side panels.

From Sheet Area to a Box Design

An open-top box uses one rectangular sheet for its bottom and four sides. With a fixed amount of sheet material, changing the dimensions changes the volume the box can hold. The design problem is to choose the dimensions that give the greatest volume without exceeding or wasting the available area.

Let \(x\) and \(y\) be the lengths of the bottom edges, and let \(h\) be the height. Assume the sheet has area \(S\), where \(S>0\). All three dimensions must be positive for the box to have positive volume. We will also consider zero dimensions when checking the feasible boundary.

Model: The bottom uses area \(xy\). The two sides with dimensions \(x\) by \(h\) use total area \(2xh\), and the other two sides use total area \(2yh\). Thus the fixed-area constraint and the volume are $$ xy+2xh+2yh=S,\qquad V=xyh. $$

The factors of \(2\) matter: an open-top box has no lid, but it still has two sides of each of the two side-panel sizes. The optimization is to maximize \(V\) subject to the area constraint and the feasibility conditions \(x,y,h\geq 0\).

Reduce the Constraint and Inspect Feasibility

For positive \(x\) and \(y\), the sheet-area equation determines the height:

$$ h=\frac{S-xy}{2(x+y)}. $$

Because \(x+y>0\), this height is positive exactly when \(xy<S\). Substituting it into the volume gives a two-variable expression:

$$ V(x,y)=\frac{xy(S-xy)}{2(x+y)},\qquad x>0,\quad y>0,\quad xy<S. $$

This reduction is useful for understanding the feasible designs, but it does not by itself establish where the maximum occurs. In particular, the allowed positive values of \(x\) and \(y\) do not form a bounded region: one dimension can grow while the other shrinks. We must account for that possibility as well as the finite boundary cases.

Why a Global Maximum Exists

If any one of \(x,y,h\) is zero, then \(V=xyh=0\). There are feasible boxes with positive volume: for example, choose any \(x,y>0\) with \(xy<S\), and the formula above gives \(h>0\). Thus a maximizing design cannot lie on a finite boundary where one dimension is zero.

There is also a possible escape to unbounded dimensions. Set \(q=xy\). For every feasible positive box, \(0<q<S\) and \(x+y\geq 2\sqrt{q}\). Consequently,

$$ V=\frac{q(S-q)}{2(x+y)} \leq \frac{\sqrt{q}(S-q)}{4}. $$

The right-hand side tends to zero if \(q\) tends to \(0\) or to \(S\). Also, since \(q(S-q)\leq S^2/4\),

$$ V\leq \frac{S^2}{8(x+y)}. $$

So if \(x+y\) grows without bound, the volume tends to zero. These estimates show that a sequence of feasible boxes whose volumes stay above a fixed positive value cannot approach \(q=0\), \(q=S\), or \(x+y=\infty\). Its values of \(x\) and \(y\) are bounded, and \(xy\) stays positive, so neither dimension can tend to zero. A convergent subsequence therefore has a positive feasible limit, with its height determined continuously by the area constraint. Hence the greatest volume is attained at a box with \(x,y,h>0\), not merely approached by a sequence of designs.

Find the Interior Candidate

At an interior constrained maximum, the Lagrange multiplier condition applies when the constraint gradient is nonzero. Here define

$$ F(x,y,h)=xyh,\qquad g(x,y,h)=xy+2xh+2yh. $$

The constraint is \(g=S\). Its gradient is \(\nabla g=(y+2h,\ x+2h,\ 2x+2y)\), which is nonzero for positive dimensions. The necessary condition is therefore \(\nabla F=\lambda\nabla g\) for some real number \(\lambda\). Written component by component, it is

$$ yh=\lambda(y+2h),\qquad xh=\lambda(x+2h),\qquad xy=2\lambda(x+y). $$

The first two equations force the two base edges to be equal. Subtracting the second equation from the first gives

$$ (y-x)h=\lambda(y-x), \qquad\text{so}\qquad (y-x)(h-\lambda)=0. $$

Suppose instead that \(x\ne y\). Then \(h=\lambda\). Substituting this into the first Lagrange equation would give \(yh=h(y+2h)\), or \(0=2h^2\), which contradicts \(h>0\). Therefore \(x=y\).

Write \(x=y=a\). The third equation gives \(a^2=4\lambda a\), so \(\lambda=a/4\). The first equation then becomes

$$ ah=\frac{a}{4}(a+2h) \quad\Longrightarrow\quad h=\frac{a}{2}. $$

Using the area constraint, \(S=a^2+4ah\). Since \(h=a/2\), this reduces to \(S=3a^2\). The only positive candidate is \(a=\sqrt{S/3}\).

Theorem: For a fixed sheet area \(S>0\), the open-top rectangular box with greatest volume has a square base. If each base edge is \(a\), its height is \(a/2\), where \(a=\sqrt{S/3}\). The maximum volume is $$ V_{\max}=\frac{S^{3/2}}{6\sqrt{3}}. $$

This is a global maximum, not just an interior candidate. The preceding feasibility argument shows that a maximum is attained at positive dimensions. Every such maximum must satisfy the Lagrange equations, which force the dimensions just found. The candidate is feasible and has positive volume, while every finite boundary box has zero volume. Thus no boundary design or unbounded sequence can produce a greater value.

Worked Example: A Sheet with Area 300 Square Centimetres

Worked Example: A Sheet with Area 300 Square Centimetres

Find the dimensions of the largest-volume open-top box made from a sheet with area \(300\text{ cm}^2\), and calculate its volume.

Here \(S=300\text{ cm}^2\). The square base edge is

$$ a=\sqrt{\frac{S}{3}} =\sqrt{\frac{300}{3}}\text{ cm} =\sqrt{100}\text{ cm} =10\text{ cm}. $$

The height is half of this:

$$ h=\frac{a}{2}=\frac{10}{2}\text{ cm}=5\text{ cm}. $$

The volume is

$$ V=a^2h =(10\text{ cm})^2(5\text{ cm}) =100\text{ cm}^2\cdot5\text{ cm} =500\text{ cm}^3. $$

Check the sheet area: the bottom uses \(10\cdot10=100\text{ cm}^2\). Each side uses \(10\cdot5=50\text{ cm}^2\), so the four sides use \(4\cdot50=200\text{ cm}^2\). The total is \(100+200=300\text{ cm}^2\), as required. The dimensions and volume agree with the maximum formulas.

Worked Example: A Sheet with Area 192 Square Metres

Worked Example: A Sheet with Area 192 Square Metres

Find the optimal box dimensions and volume when \(S=192\text{ m}^2\).

The base edge is

$$ a=\sqrt{\frac{192}{3}}\text{ m} =\sqrt{64}\text{ m} =8\text{ m}. $$

Therefore the height is

$$ h=\frac{8}{2}\text{ m}=4\text{ m}. $$

The volume is

$$ V=(8\text{ m})(8\text{ m})(4\text{ m}) =64\text{ m}^2\cdot4\text{ m} =256\text{ m}^3. $$

For a direct area check, the bottom uses \(8\cdot8=64\text{ m}^2\), and each side uses \(8\cdot4=32\text{ m}^2\). The four sides use \(4\cdot32=128\text{ m}^2\), giving \(64+128=192\text{ m}^2\). The stated dimensions use exactly the available sheet area.

Worked Example: Check an Unequal-Base Design

Worked Example: Check an Unequal-Base Design

For a \(300\text{ cm}^2\) sheet, consider a box with base edges \(x=12\text{ cm}\) and \(y=8\text{ cm}\). Find the height allowed by the area constraint and compare its volume with the maximum.

The bottom uses \(xy=12\cdot8=96\text{ cm}^2\). The area left for the four sides is \(300-96=204\text{ cm}^2\). Since their combined area is \(2h(x+y)\), the height must be

$$ h=\frac{204}{2(12+8)}\text{ cm} =\frac{204}{40}\text{ cm} =\frac{51}{10}\text{ cm} =5.1\text{ cm}. $$

Its volume is

$$ V=(12)(8)\left(\frac{51}{10}\right)\text{ cm}^3 =\frac{2448}{5}\text{ cm}^3 =489.6\text{ cm}^3. $$

Check the area: the two \(12\)-by-\(5.1\) sides use \(2\cdot12\cdot5.1=122.4\text{ cm}^2\); the two \(8\)-by-\(5.1\) sides use \(2\cdot8\cdot5.1=81.6\text{ cm}^2\). Including the bottom gives \(96+122.4+81.6=300\text{ cm}^2\). The maximum for this sheet is \(500\text{ cm}^3\), so this feasible unequal-base design has \(500-489.6=10.4\text{ cm}^3\) less volume.

A Common Area-Counting Mistake

A frequent error is to include only one side of each size, writing the constraint as \(xy+xh+yh=S\). That omits two of the four side panels and describes a different material-use model. For example, with \(S=300\text{ cm}^2\), the incorrect constraint would give a square-base candidate \(a=10\text{ cm}\), \(h=10\text{ cm}\): it predicts volume \(1000\text{ cm}^3\). But in the actual open-top box, that design uses

$$ xy+2xh+2yh =100+2(100)+2(100) =500\text{ cm}^2, $$

not \(300\text{ cm}^2\). The correction is to count both panels of each side size. With the correct constraint, the \(300\text{ cm}^2\) optimum is \(10\text{ cm}\) by \(10\text{ cm}\) by \(5\text{ cm}\), and its area check is \(100+200=300\text{ cm}^2\).

Why the Design Result Is Useful

The result gives a practical rule for converting sheet area into an optimal box: make the base square and choose a height equal to half its side length. The square base is not an assumption built into the model; it follows from the optimization. The proof also explains why merely finding an interior critical point is not enough in a design problem. Feasibility includes degenerate edges, and a dimension can become arbitrarily large unless escaping designs are addressed. Here the boundary and escape checks establish that the candidate really is the global best design.

Check Your Understanding

Use the area constraint and the global-maximum argument to answer these questions.

  1. Why does the sheet-area constraint contain \(2xh\) and \(2yh\), rather than just \(xh\) and \(yh\)?
  2. For a sheet of area \(S\), what are the optimal base edge and height?
  3. Why does a feasible box with a zero dimension have zero volume?
  4. What prevents a sequence with \(x+y\) growing without bound from producing the maximum volume?
  5. For a \(300\text{ cm}^2\) sheet, verify that a \(10\text{ cm}\) square base and a \(5\text{ cm}\) height use exactly the available area.