Stupid Airline Policy
When you’ve been killing 24 sleepless hours in the greatest airport known to mankind, all so you can catch an overcrowded, 10 hour flight, you end up hating airlines, airports, and their many stupid rules (not to mention all other travelers on the face of the planet). This probably has more to do with the fact that the vast majority of airline policies are asinine (albeit surprisingly complex and interesting), but still, they impact us at our worst, when we’re exhausted, anxious, and in desperate need of a shower.
One such airline policy uses “linear inches” to restrict the size of checked bags. 0.2 seconds of Googling lead me to United Airline’s Excess Baggage website where I found this nugget:
Airline-bots refer to the sum length + width + height as the amount of “linear inches,” and most do not allow bags in excess of 45 linear inches. I’m sure there is a solid reason for using this type of measurement (as opposed to volume or surface area), but I remain suspicious that it was chosen for its simplicity. In any event, for checked boxes, these linear inches are simply a multiple of what we called total edge length . Given a package with measurements and , its total edge length is (linear inches).
You can (and should!) exploit unstated assumption in these policies. For instance, some of the largest passenger planes measure about ft. or inches in length, and I think travelers should bring with them a rectangular package measuring in. in length. In order to comply with aforementioned rules you’d simply need to make its width and height sufficiently small, say in. and in. I am not certain what sort of object would require a box measuring cubic inches, but that’s not the point. The box can be empty for all we care. The point is that, according to stated policy, United would have to check your box even though it would be physically impossible to do so.*
How to Smuggle the Most Cocaine
With our previous discussion in mind, we might wonder “What’s the largest volume box one can take aboard a United Airlines flight?” Although this question has the sound of a “real world” problem, we travelers often can’t make use of its answer. Many of the items we want or need to take on flights are of some fixed, rigid form (like skis or a bicycle), so that, regardless of their mass or volume, they require packaging with fixed dimensions. No, this question really only applies to substances that are malleable and can conform to the shape of a given package. Like sand, liquids, or, if you prefer, large amounts of a fine, white powder.
So, for the sake of argument, let’s say your job is to transport as much of this fine, white powder as possible, and that at some point you’ll need to use United Airlines to help you do so. What sized box should you use? To get started, we should assume that we’ll use as many linear inches as possible. This means is constant (specifically ). Restricting and maximizing is the same as minimizing the isoperimetric ratio , and so one might be nervous that the type of “box” we’ll end up designing is some sort of “generalized convex polyhedra,” like a sphere, or some other sort of package with infinitely many faces and edges. As it turns out, the “smaller universe” of rectangular boxes keeps limits safe; our answer will be an honest, 6-sided package.
To see how this happens let’s do some math. The volume of our box will be , and given that we want to minimize subject to , Lagrange multipliers come to our rescue. After computing some gradients, we find
where is some constant. The first three equations easily imply that , and after eliminating degenerate cases (when or ) as irrelevant, we find that . This is enough to tell us that the best box is a cube (one whose side length is ).
Of course, minimizing is also equivalent to restricting and minimizing (which, in this case, is the same as minimizing ). The real-world version of this isoperimetric problem might sound something like this: Your boss wants you to transport one kilogram of our fine, white powder (which, after some density calculations, you figure will require cubic inches of space, a constant we will denote by ). If the airlines charge you additional fees based on the linear inches of your package, how should you design your box so as to incur as little cost as possible?
The Lagrange multiplier equations obtained from this scenario are
which also imply that a cube does best. At least, these equations and the ones before imply that a cube optimizes something, but given the dangerous nature of this line of work, one might be nervous about jumping to conclusions. Perhaps a cube maximizes cost instead of minimizing it. Sure, this feels unlikely, but what with your boss’s itchy trigger finger, it’s probably best to be entirely certain.
The Multivariable Second Derivative Test
Rather than set up our white powder transport problem using Lagrange multipliers, we could instead use the restriction to simplify the function being minimized. Above we minimized , but there’s no reason to restrict our attention to three variables (and how awesome would it be, by the way, to transport dimensional white powder?). Instead, we generalize our discussion to variables , our goal being to minimize subject to the constraint . For the three-dimensional case, we can first use this constraint to express as a function of the first variables and then attempt to minimize the function . In general, we attempt to minimize the function
Setting produces the equations
for . Reintroducing our variable these equations become
from which we determine that the only critical point corresponds to a cube with side lengths . Now we are in a position to confirm that this cube minimizes our function. All we need is the second-derivative test.
In several variables the role of a second derivative is played by the Hessian matrix. For a general, real-valued function the entry of this matrix is given by . For our function in particular one finds that evaluated at our Hessian matrix is given by .
From single variable calculus we know that if a function’s second derivative is negative at a critical point, then that critical point is a local minimum. An analogous statement holds in multivariable calculus: if a function’s Hessian matrix is negative definite at a critical point, then that critical point is a local minimum. Because of the particularly simple form of our Hessian, we easily conclude that is a local minimum. Moreover, because this was the only critical point, it is the global minimum. So there you have it. What’s the best way to package fine white powders? Cubes.
What About Surface Area?
Suppose our task was to construct a -dimensional box that minimizes
In three dimensions this ratio compares the cube of surface area to the square of volume. Seeking a box that minimizes this quantity is equivalent to using the smallest amount of material possible to construct a box that encloses a specified volume.
The 2-dimensional volume (or surface area) enclosed by a box with lengths and is given by . It is a fun exercise to verify that in dimensions the -dimensional volume enclosed by a -dimensional box with lengths is given by
Our goal is to minimize subject to the constraint that . As in the previous section, we can use this constraint to rewrite our function as one that depends only on the variables . The function to be minimized can be written as
Setting the gradient of equal to the zero vector again implies (after some algebraic manipulation) that . Although the Hessian is slightly more complicated in this case, it, too, is easily verified as negative definite when evaluated at our critical point.
Cubes, Man. Cubes.
The take home lesson? Cubes satisfy two isoperimetric problems. In fact, one should wonder whether or not cubes satisfy any other isoperimetric problems. Is it true that, amongst all -dimensional boxes, a -dimensional cube will minimize all of the ratios
where ? Repeating and adjusting the arguments above, while possible, doesn’t seem particularly elegant or enlightening. By this point we pretty much suspect that cubes will be the answer, but what is behind this hunch? Is there a general principal or idea at play, one that we might be able to make precise and mathematically convincing? One that avoids the various cases and formulae for -dimensional volumes enclosed by -dimensional boxes?**
One basic observation (made more precise by Steiner, as hinted at in our previous post) is that isoperimetry is linked with symmetry, and so it makes sense to conjecture that, within one’s universe, the most symmetric object available ought to solve a given isoperimetric problem.
This isn’t precise enough, but I’ll let it stand for now. The two ispoerimetric problems that -cubes clearly do solve are enough of a foundation on which to build some interesting questions and observations. Now, sit back and enjoy the remainder of your flight.
*In actuality a package measuring inches in length could easily fit aboard a plane measuring inches in length. After all, the plane has some width, too, and so one can angle this inconvenient box and then store it. This, of course, leads to a cute geometric question: given a rectangle of length and width , what is the longest line segment the rectangle can contain?
**These formulae aren’t so terrible. Probably the best way to get a handle on them is by using elementary symmetric polynomials. Some clever counting confirms that for a -dimensional box