← Back to arXiv
arXivProbabilityarXiv:2610.09019

When Lines Become Contagious: Analyzing the Spread of Infection in the M/M/1 Queue

The paper builds a mathematical model to study how infectious diseases can spread among people waiting in a queue, like at a store or a clinic. The setup is a classic single-server waiting line where a fraction of arriving customers are already infectious and the rest are susceptible. The key rule is simple: if a susceptible person spends more than a certain threshold of time standing near an infectious person in the queue, they get infected. This captures the real-world intuition that brief contact is relatively safe but prolonged proximity raises infection risk.

The authors analyze this system from two angles. From the individual's point of view, they calculate the probability that a susceptible customer gets infected at all, and the probability they are exposed to multiple infectious people during their wait. From a population-level view, they calculate how many susceptible customers a single infectious person is expected to infect while passing through the queue, which is closely related to the concept of a reproduction number in epidemiology. These calculations are worked out analytically, meaning they derive exact mathematical formulas rather than just running simulations.

To validate the formulas and explore more complex scenarios, the authors also run computer simulations. The simulations confirm that the analytical results are accurate and allow the researchers to extend the model to different patterns of arrivals and service speeds. The broader takeaway is that ordinary queuing systems, the kind people experience in everyday life, can act as meaningful venues for disease transmission, and the structure of the queue itself (how busy it is, how fast service moves) has a measurable effect on infection risk.

Read original →