Today I'm spending an hour in an airport, which gives me plenty of time to review the usual topics of airport mathematics. Jet engines, balanced flight and scheduling problems are well and good, but of course I'm referring to those moving walkways that go between terminals. Should you walk faster while riding them? Slower? Stop entirely?
If you're interested in getting somewhere soon but want to avoid walking too quickly for too long, it tends to make sense to walk a little slower on moving walkways. One informal justification for this is to imagine walking the wrong way on a moving walkway. If you keep your walking speed constant but increase the speed of the opposing walkway, the cost of your trip will diverge to infinity! Clearly, an opposing walkway should force you to walk faster. So, assuming the relationship between optimal walking velocity and walkway velocity is monotone—a reasonable assumption to make when solving such a problem—riding a walkway going the right direction should make you walk more slowly.
But how much more slowly? Does it ever make sense to stop walking entirely? Making a few simple assumptions, we will see that it can be rational to stop walking on sufficiently fast walkways. On the other hand, if we like walking enough to never stop—but not enough to walk without any incentive—it makes sense that our walking speed will converge to at the asymptotic rate of when the boost received by riding the walkway is large.
Let be our instantaneous velocity as a function of position. Velocity can be integrated over time, but integrating over distance is usually a mistake unless you're interested in a quantity with units To get our time elapsed in transit, we need to integrate pace, its reciprocal: Taking a variational derivative with respect to the function gives meaning that the marginal benefit of increasing our velocity over a fixed distance is proportional to the average inverse square of our instantaneous velocity.
To decide whether this marginal benefit is worth it, we need to introduce some cost for walking faster. One natural idea is to postulate a penalty time-rate depending on and on such that our total utility can be expressed as an integral For this model to work, the penalty function should be bounded below by some positive constant (to avoid optimality of infinitely long trips) and should grow faster than linear with respect to (to avoid optimality of infinitely fast trips.) Our objective will be to bring the negative quantity as close to as possible.
The old adage that "every model's wrong" of course applies here. For example, our utility function above does not model exhaustion, when moving too quickly for too long drastically affects our preference for continuing to move quickly. However, it should be a good model for our preference so long as our state of mind and body remains roughly in equilibrium over the trip.
In the following, we'll make dependence on implicit to simplify notation. Indeed, one benefit of our utility function is that values of at different positions can be optimized independently of one another. Taking a variational derivative of with respect to gives which has a very straightforward interpretation: by increasing our speed at a specific moment, we earn a marginal reward of by decreasing our time in transit but pay a marginal price of for walking faster. Since we can assume and are positive, we can multiply this derivative by and get a nice friendly expression.
Theorem (Fundamental theorem of airports): The marginal utility of increasing (at any given moment) has the same sign as where is the logarithmic derivative Note that the dimensions check out in this expression: both and are paces.
Let's return to the original question. Suppose we receive a speed boost from riding a moving walkway, so that where is our walking speed. The boost does not affect the difficulty of walking—we're ignoring the small intervals of acceleration we experience when entering and exiting the walkway—so our penalty rate will be a function of just Applying the fundamental theorem of airports, the marginal utility of increasing will have the sign of Let's make the reasonable assumption that the optimal walking speed will be the smallest non-negative value that makes this expression non-positive.
Is it ever rational to stop walking? This be will be the case exactly when the marginal utility above is non-positive at meaning So, if is strictly positive, there will be a critical walkway velocity—specifically, —after which point it is rational to not expend any effort on walking. The same "critical velocity" effect will occur when there is a finite cost to moving at even an infinitesimal speed, as there would be for an individual resting against their suitcase.
What if ? Then the optimal walking speed is always positive, but we expect it to converge to Indeed, let's say that for small Then we will have and so the solution to is for large .
To get a feeling for this situation, drag the slider in the following widget to change the boost of a simulated walkway. The left graph shows the expressions and as functions of and the right graphs shows the relationship between and the optimal walking speed (The penalty function I'm using here is exactly of the form )
Although we see a lot of airport denizens supporting the "critical velocity" theory, I feel like may be large in comparison to for some individuals, causing a decay of rational walking speed approximately proportional to in practice.