A Geiger counter clicks at random, twice a second on average. Guess what random looks like, then watch ten minutes of clicks.
Random arrivals
A Geiger counter's clicks for 600 seconds, made by a computer (seed 5100).
A Geiger counter clicks at random, 2 times a second on average. The first minute plays ten times faster than life.
Predict first. Twenty clicks at random times in a minute: which pattern is real random arrivals?
Describe this picture
Three panels. On top, a timeline of the first minute, where each click of a Geiger counter is a tick, at a rate of 2 per second (seed 5100). Below it, two histograms: the counts of clicks in the 200 separate 3-second windows of 600 seconds, as shares of the windows, over dots at the exact Poisson probabilities with mean 6; and the gaps between clicks, as a density, over the exact curve . Before the clip three drawings of 20 ticks on a line ask which is real random arrivals: “evenly spaced”, “clumps and gaps” or “two big bunches”; a tap picks one and starts the clip. In the clip the first minute plays tick by tick, ten times faster than life (127 clicks), and then the other nine minutes pour in. At the end your guess is drawn as dotted ticks under the timeline. Readouts give the number of clicks, 1270 by the end, and the mean and variance of the window counts, 6.3500 and 6.0175. There is no sound. After the clip a slider, “Clicks per second”, sets the rate from 0.5 to 5 in steps of 0.5; the window stays 3 seconds, and both histograms and their exact curves move.
What random looks like
Before the clip you picked a drawing. Real random arrivals are the one with clumps and gaps. On the timeline the ticks bunch together in places and leave long silences in others, though the counter never changed.
Most people expect random events to be spread out evenly, so a cluster or a long gap looks like a sign that something changed. It is not. Evenly spaced ticks would be the surprising picture: they would mean each tick knows where the last one was.
The clicks here have two properties:
- A steady rate. On average clicks arrive per second, here , the same at every moment.
- No memory. What happens in one stretch of time tells nothing about any other stretch that does not overlap it.
Events with these two properties form a Poisson process. The letter is a rate here, as in Continuous random variables; in the linear algebra course it is an eigenvalue.
Counts in a window
How many clicks land in a window of seconds? Cut the window into tiny slices, so thin that two clicks never share one. Each slice holds a click with chance , independently of the others. The count is then binomial, , as in Discrete random variables.
Now let the slices get thinner and thinner. The number of tries grows and the chance per try shrinks, while their product stays . The binomial probabilities settle on the Poisson law with mean :
I write . Its mean and its variance are both . In the picture the windows are 3 seconds long, so the counts have mean 6 and variance 6.
Over the whole 600 seconds the expected number of clicks is 1200, give or take about . The clip’s run gave 1270, about two of those give-or-takes above, and its 200 windows held 6.35 clicks on average with a variance of 6.02: mean and variance nearly equal, as they are for every Poisson count.
Gaps: the exponential law
How long until the next click? A gap longer than means no click in a window of length , and the Poisson law gives that chance directly:
So the gap follows the exponential law , with density and mean : half a second here. That is the curve under the second histogram. Short gaps are the most common, which is why ticks bunch.
The exponential law has no memory, as Continuous random variables showed for light bulbs:
Watch out
After a long silence, a click is not “due”. The counter has no memory: the wait from now on has the same law as it had at the start. This is the gambler’s fallacy of Independence, in continuous time.
Merging and splitting streams
Two independent Poisson streams, at rates and , merge into one Poisson stream at rate : each tiny slice now has two independent chances of a click.
Keep each click of a stream with chance , independently, and throw the rest away. The kept clicks form a Poisson stream at rate , and, less obviously, the kept and the dropped clicks are independent of each other. This is called thinning.
The waiting-time paradox
Buses arrive as a Poisson process, on average every 10 minutes. You walk to the stop at a random moment. How long do you wait, on average?
By the missing memory, your wait from the moment you arrive is exponential with the same mean, 10 minutes, not 5. That seems to clash with gaps of 10 minutes on average. The answer is that you are more likely to arrive during a long gap than a short one, because long gaps cover more of the clock. The gap you land in has mean 20 minutes, twice the typical gap, and you wait for the part of it still to come.
If the buses ran exactly every 10 minutes, your average wait would be 5. Random arrivals double it.
Worked example
1. Clicks in a window. At 2 per second, a 3-second window has mean count 6.
Even the most likely counts, 5 and 6, which are equally likely, each turn up in only about one window in six.
2. Gaps. A gap longer than 1 second has chance . Half the gaps are shorter than s, though the mean gap is 0.5 s. After a second of silence, the chance of another full second of silence is still .
3. Many rare chances. A thousand independent tries, each succeeding with chance 0.003, give a binomial count; the Poisson law with mean 3 is close to it:
| Successes | Binomial | Poisson |
|---|---|---|
| 0 | 0.04956 | 0.04979 |
| 1 | 0.14914 | 0.14936 |
| 2 | 0.22415 | 0.22404 |
| 3 | 0.22438 | 0.22404 |
4. Merging and thinning. Streams of 2 and 3 clicks per second merge into one of 5 per second. Keeping each click of the merged stream with chance 0.4 leaves 2 per second. Keeping each click of the 2-per-second stream with chance 0.4 leaves 0.8 per second.
5. Buses. With Poisson buses every 10 minutes on average, a rider arriving at random waits 10 minutes on average; with buses every 6 minutes, 6. With evenly spaced buses every 10 minutes, the average wait is 5.
6. Counting photons. A camera pixel collects on average 10 000 photons in an exposure. The count is Poisson, so it wobbles with standard deviation . The ratio of signal to this noise is , or 40 dB. Four times the light only doubles it: the noise grows as the square root.
Try it yourself. At 2 per second, the mean count in 5 seconds is 10. The chance of no click in 1 second is . After 10 seconds without a click, the rate is still 2 per second.
Where you’ll meet this
Traffic. Calls reaching an exchange, requests reaching a web server and packets reaching a router are modelled as Poisson streams. Queues are built from them, and the model predicts how long requests wait.
Radioactivity and light. Decays of a radioactive sample, and photons reaching a sensor, are Poisson. The photon count’s square-root wobble is shot noise, which limits every camera in dim light.
Failures. A part that fails at random, not by wearing out, has exponential lifetimes, and its failures in a fleet form a Poisson stream.
In signal processing · percentiles and queues
A real-time system that receives Poisson requests must size its buffers for a high percentile of the delay, not the mean. Real-time processing in the signal processing course shows how waiting grows sharply as the load nears 100 %.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| Poisson process | steady rate , no memory | clumps and gaps |
| Count in time | mean = variance = | |
| Gap | , mean | |
| No memory | nothing is “due” | |
| Binomial limit | many rare chances | |
| Merge | rates add | independent streams |
| Thin with chance | rate | kept and dropped are independent |
| Waiting-time paradox | random arrival waits | evenly spaced: half that |