Consider the daily trek I make from my apartment to places on campus. The eternal question beckons: which is faster — busing or walking? Here I will make a mathematical argument for why it could be the latter or former.

The time it takes to bus is given as follows:

,

where is the time you *wait* for the bus, and the quantity in the summation is the time it takes to travel on the bus — moving time plus waiting time at stops and traffic lights . The summation over index is over stop/go cycles of the bus.

However, let’s say , the speed of the bus, so it can be pulled out of the summation. It also goes out without saying that

,

the total length of the trip. Hence, our original equation for becomes

.

Now, the time it takes to walk is given as follows, assuming few stops and jaywalking at traffic lights:

,

where is the walking speed. Taking the ratio of the two speeds:

.

Now it’s time to account for statistical uncertainties in stop times and wait times. Let be the expectation value from a random variable . In our formula, we assume speeds to be known to a relatively high precision (a very tenuous statement, but it simplifies our analysis). Taking all this to account, we take the expectation value of both sides,

.

It is fairly easy to show that, if we do not know bus times, such that we leave our wait time completely to chance,

,

where is the average time interval between successive buses. (We assume only one bus takes the route; a multi-bus analysis would require a more complex analysis.)

And since the expectation value is a constant, we have

,

where is the number of stop/go cycles = number of stops.

Putting all these results together, we have

.

Now we look at when our expected bus time to walk time ratio is greater than 1 — that is, when the bus takes longer than walking. In other words, we have

.

Solving this inequality for , we get values where walking is faster than busing when

.

And this result is what we were looking for all along. For small , walking is indeed faster than busing. Of course, for , busing is faster, and walking becomes very tedious. Now we find numerical values for . We use the following values:

(pretty accurate in Berkeley).

For the popular 51B in Berkeley, the following values were recorded yesterday:

Now, we assume that the number of stops is a function of the length . In Berkeley, we can make this simpler by changing units in the equation to the number of blocks, which increase linearly with length because Berkeley’s streets are aligned in a grid. Let

,

where is the number of blocks and is the distance per block, and

.

Regarding the latter, we can think of this two ways. Thinking of stop lights, on average half the stop lights will be red. Thinking of bus stops, the 51B stops are spaced about every two blocks. Plugging these into our equation for ,

,

where we have dropped the expectation value brackets. Solving this equation for , we have walking being faster than busing when

.

In Berkeley,

(between N-S roads);

(between E-W roads).

Now if we plug all our values into the between N-S (i.e. traveling W-E) case, we get 2.5 blocks as our threshold distance, which is the same as from Telegraph to Tang Center. But that’s for a bus interval of 10 min, which only applies to the 51B at rush hour. Suppose we increase it to 17 min (many AC buses come with 15-20 min intervals). Then we get 4.3 blocks as our threshold, which means a W-E trip from Shattuck to Telegraph would be, on average, faster walking than busing. As would a trip from Asian Ghetto to Northside Ghetto — IF we had a bus route that went directly through campus. But of course we don’t, which means the bus would take even *longer*. Another example: taking the bus from South Berkeley (south of Southside) to Campus. In that case, given the 20-min bus intervals of the 1 and 18 on Sunday, walking would be on average as fast as the bus for a distance between Oregon/Stewart St. and Bancroft Way — a total of 10-11 blocks. That is the almost distance between Berkeley Bowl and the Berkeley Public Library. Or, between Willard Middle School and Campus. Translating it north, we see it’s the same distance as that between Dwight and Hearst.

In many cases, this is a conservative estimate. We often take shortcuts and routes on foot that cannot be done via bus. Additionally, there is walking time before/after getting off the bus, if it does not stop next to your departure location/destination. And this model assumes instantaneous acceleration between stop and go… finite accelerations will add time to the bus calculation. So if only one bus serves the route, this ratio is a near best-case scenario for bus users, for locations around campus at least.

Yes, this analysis is hand-wavy, and only accounts for one bus, but it serves as a rough estimate for when walking might be faster than busing. Perhaps in future posts, I can go into “higher-order corrections” to this formula, or minimize the maximum loss by characterizing the distribution of possible busing times.

Anywho, the verdict is: if you take the bus for distances on the order of campus length, either time it well, or take a bus that comes at a high frequency. If neither can be attainable, it might serve you better to walk.