Poisson Distribution
The Poisson distribution gives the probability of k events in a fixed interval of time or space when events happen independently at a constant average rate. With mean λ, P(X = k) = e^(−λ)λᵏ/k! for k = 0, 1, 2, …. Its mean and its variance both equal λ.
Before this lesson: Discrete Random Variables, Binomial Distribution and Maclaurin Series
What the Poisson distribution counts
Many questions ask how many times something happens in a fixed stretch: calls to a help desk in an hour, typos on a page, cars through a toll booth in a minute. There is no fixed number of trials, so the binomial distribution doesn’t apply directly. The Poisson distribution is built for counts like these.
Picture one hour split into 3600 one-second pieces. In each second, a call either comes or it doesn’t, with a tiny probability p. That is a binomial setting with a huge n and a tiny p, and the average number of calls is λ = np. As the pieces get smaller, the binomial probabilities settle down to the Poisson formula.
The Poisson model fits when these conditions hold:
- Events happen one at a time, never two at exactly the same instant.
- The counts in intervals that don’t overlap are independent.
- The average rate is constant, so the mean count is proportional to the length of the interval.
Poisson distribution formula
A random variable X has a Poisson distribution with parameter λ > 0, written X ~ Poisson(λ), if
P(X = k) = \dfrac{e^{-\lambda}\lambda^k}{k!}, \qquad k = 0, 1, 2, \ldotsHere λ is the mean number of events in the interval. If events occur at rate r per unit of time and the interval has length t, then λ = rt. The mean and the variance are both λ, so the standard deviation is √λ.
Why the probabilities add to 1
\sum_{k=0}^{\infty} \dfrac{e^{-\lambda}\lambda^k}{k!} = e^{-\lambda}\sum_{k=0}^{\infty} \dfrac{\lambda^k}{k!}Factor out e^(−λ), which doesn’t depend on k.
e^{-\lambda}\sum_{k=0}^{\infty} \dfrac{\lambda^k}{k!} = e^{-\lambda}e^{\lambda}The Maclaurin series for e^λ is the sum of λᵏ/k!.
e^{-\lambda}e^{\lambda} = 1Add the exponents: e⁰ = 1.
Steps
- Check that you are counting events in a fixed interval, and that the conditions above are reasonable.
- Find λ for that interval. Rescale the rate if the interval is longer or shorter than the one in the problem.
- Use P(X = k) = e^(−λ)λᵏ/k! for each value of k you need.
- For “at least” questions, use the complement: P(X ≥ k) = 1 − P(X ≤ k − 1).
Poisson distribution examples
Example 1: Typos on a page
A book averages 3 typos per page. Let X be the number of typos on a randomly chosen page, so X ~ Poisson(3). Find P(X = 2) and P(X ≤ 2).
P(X = 2) = \dfrac{e^{-3}\,3^2}{2!}Substitute λ = 3 and k = 2.
P(X = 2) = \dfrac{9e^{-3}}{2} = 4.5e^{-3}Evaluate 3² = 9 and 2! = 2.
P(X = 2) \approx 4.5(0.049787) \approx 0.2240
Use a calculator for e^(−3) ≈ 0.049787.
P(X \le 2) = e^{-3}\left(\dfrac{3^0}{0!} + \dfrac{3^1}{1!} + \dfrac{3^2}{2!}\right)Add the cases k = 0, 1, 2, and factor out e^(−3).
P(X \le 2) = e^{-3}(1 + 3 + 4.5) = 8.5e^{-3}Evaluate each term, then add.
P(X \le 2) \approx 8.5(0.049787) \approx 0.4232
Multiply.
Answer: P(X = 2) ≈ 0.2240 and P(X ≤ 2) ≈ 0.4232. The graph shows the whole distribution. It peaks at k = 2 and k = 3, which have the same probability.
Example 2: Rescaling the rate (word problem)
A small website gets an average of 12 visits per hour. Find the probability of no visits in a 10-minute window, and the probability of at least 3 visits in that window.
\lambda = 12 \cdot \tfrac{10}{60} = 2Rescale the rate: 10 minutes is 1/6 of an hour.
P(X = 0) = \dfrac{e^{-2}\,2^0}{0!} = e^{-2} \approx 0.1353Use 2⁰ = 1 and 0! = 1.
P(X \le 2) = e^{-2}\left(1 + 2 + \dfrac{2^2}{2!}\right) = 5e^{-2}Add the cases k = 0, 1, 2.
P(X \ge 3) = 1 - 5e^{-2}Complement rule.
P(X \ge 3) \approx 1 - 5(0.135335) \approx 0.3233
Multiply, then subtract.
Answer: P(no visits) ≈ 0.1353 and P(at least 3 visits) ≈ 0.3233. Using λ = 12 for a 10-minute window would be wrong, because 12 is the mean for a whole hour.
Example 3: Show that the mean is λ
Prove that E(X) = λ when X ~ Poisson(λ).
E(X) = \sum_{k=0}^{\infty} k \cdot \dfrac{e^{-\lambda}\lambda^k}{k!}Definition of expected value for a discrete random variable.
E(X) = \sum_{k=1}^{\infty} \dfrac{e^{-\lambda}\lambda^k}{(k-1)!}The k = 0 term is 0. For k ≥ 1, cancel k against k! = k · (k − 1)!.
E(X) = \lambda \sum_{k=1}^{\infty} \dfrac{e^{-\lambda}\lambda^{k-1}}{(k-1)!}Factor out one λ.
E(X) = \lambda \sum_{j=0}^{\infty} \dfrac{e^{-\lambda}\lambda^{j}}{j!}Substitute j = k − 1.
E(X) = \lambda \cdot 1 = \lambda
The sum is the total of all Poisson(λ) probabilities, which is 1.
Answer: E(X) = λ. The same trick with k(k − 1) shows that the variance is also λ (see Related methods).
Example 4: Approximating a binomial probability
A machine makes 500 parts, and each part is defective with probability 0.004, independently. Estimate the probability of exactly 3 defective parts with a Poisson distribution, and compare with the exact binomial value.
\lambda = np = 500(0.004) = 2
Match the means.
P(X = 3) \approx \dfrac{e^{-2}\,2^3}{3!} = \dfrac{8e^{-2}}{6}Poisson formula with k = 3.
\dfrac{8e^{-2}}{6} \approx \dfrac{8(0.135335)}{6} \approx 0.1804Multiply, then divide.
\binom{500}{3}(0.004)^3(0.996)^{497} \approx 0.1808Exact binomial value, for comparison.
Answer: the Poisson estimate 0.1804 is within 0.0004 of the exact 0.1808. The Poisson approximation works well when n is large and p is small, so that np is moderate.
Example 5: The most likely count
A call center receives an average of 4.5 calls per minute. Which number of calls in a minute is most likely, and what is its probability?
\dfrac{P(X = k)}{P(X = k - 1)} = \dfrac{e^{-\lambda}\lambda^k / k!}{e^{-\lambda}\lambda^{k-1}/(k-1)!}Compare each probability with the one before it.
\dfrac{P(X = k)}{P(X = k - 1)} = \dfrac{\lambda}{k} = \dfrac{4.5}{k}Cancel e^(−λ) and λᵏ⁻¹, and use k! = k · (k − 1)!.
\dfrac{4.5}{k} \gt 1 \text{ for } k \le 4, \qquad \dfrac{4.5}{k} \lt 1 \text{ for } k \ge 5The probabilities rise up to k = 4 and fall after it.
P(X = 4) = \dfrac{e^{-4.5}(4.5)^4}{4!} = \dfrac{410.0625\,e^{-4.5}}{24}Evaluate at k = 4.
P(X = 4) \approx 0.1898
Use e^(−4.5) ≈ 0.011109.
Answer: 4 calls is the most likely count, with probability about 0.1898. In general, the most likely count is the whole-number part of λ. When λ is a whole number, λ − 1 and λ tie, as in Example 1.
Common mistakes
| Mistake | Example of the error | Fix |
|---|---|---|
| Not rescaling λ to the interval | Using λ = 12 for a 10-minute window when the rate is 12 per hour | Multiply the rate by the length of the interval: λ = 12 · (1/6) = 2. |
| Leaving out k = 0 in “at most” | P(X ≤ 2) = P(1) + P(2) | Start the sum at k = 0: P(0) + P(1) + P(2). |
| Using the wrong complement | P(X ≥ 3) = 1 − P(X ≤ 3) | The complement of X ≥ 3 is X ≤ 2. |
| Treating λ as a probability | Saying an average of 3 typos per page means P(typo) = 3 | λ is a mean count, and it can be any positive number. |
| Using Poisson when events cluster | Modeling customers who arrive in groups of four as single Poisson events | The events must happen one at a time and independently. Count the groups instead, or use another model. |
Related methods
The variance is also λ
E[X(X-1)] = \sum_{k=2}^{\infty} k(k-1)\dfrac{e^{-\lambda}\lambda^k}{k!}The terms for k = 0 and k = 1 are 0.
E[X(X-1)] = \lambda^2 \sum_{k=2}^{\infty} \dfrac{e^{-\lambda}\lambda^{k-2}}{(k-2)!}Cancel k(k − 1) against k!, and factor out λ².
E[X(X-1)] = \lambda^2
The sum is the total of all Poisson(λ) probabilities.
\operatorname{Var}(X) = E[X(X-1)] + E(X) - [E(X)]^2Since E(X²) = E[X(X − 1)] + E(X).
\operatorname{Var}(X) = \lambda^2 + \lambda - \lambda^2 = \lambdaSubstitute and simplify.
Poisson approximation to the binomial
If n is large, p is small and np = λ, then the binomial probabilities C(n, k)pᵏ(1 − p)ⁿ⁻ᵏ are close to e^(−λ)λᵏ/k!. A common rule of thumb is n ≥ 20 and p ≤ 0.05. When np and n(1 − p) are both large, the normal approximation to the binomial is better.
Waiting times
The Poisson distribution counts events. The time between events in the same process follows the Exponential Distribution, and the two are tied together in the Poisson Process.
Practice problems
- X ~ Poisson(2). Find P(X = 0).
- X ~ Poisson(2). Find P(X = 3).
- X ~ Poisson(5). Find P(X ≤ 1).
- A help desk gets 6 calls per hour on average. Find the probability of exactly 1 call in a 15-minute period.
- X ~ Poisson(4). Find P(X ≥ 2).
- X ~ Poisson(9). Find the mean and the standard deviation of X.
- For a Poisson variable, P(X = 0) = 0.2. Find λ.
- For a Poisson variable, P(X = 1) = P(X = 2). Find λ.
- Each of 1000 emails is flagged by mistake with probability 0.002, independently. Use a Poisson approximation to find the probability that none is flagged by mistake.
- X ~ Poisson(1.2). Use P(X = k) = (λ/k)P(X = k − 1) to find P(X = 0) through P(X = 3).
Show answers
1.
P(X = 0) = \dfrac{e^{-2}\,2^0}{0!} = e^{-2}Substitute k = 0.
P(X = 0) \approx 0.1353
Calculator value of e^(−2).
Answer: about 0.1353
2.
P(X = 3) = \dfrac{e^{-2}\,2^3}{3!} = \dfrac{8e^{-2}}{6}Substitute k = 3.
P(X = 3) \approx 0.1804
Use e^(−2) ≈ 0.135335.
Answer: about 0.1804
3.
P(X \le 1) = e^{-5}\left(1 + 5\right) = 6e^{-5}Add the cases k = 0 and k = 1.
P(X \le 1) \approx 6(0.006738) \approx 0.0404
Multiply.
Answer: about 0.0404
4.
\lambda = 6 \cdot \tfrac{15}{60} = 1.5Rescale: 15 minutes is 1/4 of an hour.
P(X = 1) = \dfrac{e^{-1.5}(1.5)^1}{1!} = 1.5e^{-1.5}Substitute k = 1.
P(X = 1) \approx 1.5(0.223130) \approx 0.3347
Multiply.
Answer: about 0.3347
5.
P(X \le 1) = e^{-4}(1 + 4) = 5e^{-4}Add the cases k = 0 and k = 1.
P(X \ge 2) = 1 - 5e^{-4}Complement rule.
P(X \ge 2) \approx 1 - 5(0.018316) \approx 0.9084
Multiply, then subtract.
Answer: about 0.9084
6.
E(X) = \lambda = 9
The mean of a Poisson variable is λ.
\sigma = \sqrt{\lambda} = \sqrt{9} = 3The variance is λ, so take the square root.
Answer: mean 9, standard deviation 3
7.
e^{-\lambda} = 0.2P(X = 0) = e^(−λ).
-\lambda = \ln 0.2
Take the natural log of both sides (see solving exponential equations).
\lambda = -\ln 0.2 = \ln 5 \approx 1.609
Multiply by −1; −ln 0.2 = ln(1/0.2) = ln 5.
Answer: λ = ln 5 ≈ 1.609
8.
\lambda e^{-\lambda} = \dfrac{\lambda^2 e^{-\lambda}}{2}Set P(X = 1) equal to P(X = 2).
\lambda = \dfrac{\lambda^2}{2}Divide both sides by e^(−λ), which is never 0.
2 = \lambda
Multiply both sides by 2 and divide by λ, which is positive.
Answer: λ = 2
9.
\lambda = 1000(0.002) = 2
Match the means.
P(X = 0) \approx e^{-2} \approx 0.1353Poisson formula with k = 0.
(0.998)^{1000} \approx 0.1351Exact binomial value, for comparison.
Answer: about 0.135
10.
P(X = 0) = e^{-1.2} \approx 0.301194Start from k = 0.
P(X = 1) = \tfrac{1.2}{1}(0.301194) \approx 0.361433Multiply by λ/1.
P(X = 2) = \tfrac{1.2}{2}(0.361433) \approx 0.216860Multiply by λ/2 = 0.6.
P(X = 3) = \tfrac{1.2}{3}(0.216860) \approx 0.086744Multiply by λ/3 = 0.4.
Answer: about 0.3012, 0.3614, 0.2169 and 0.0867
Poisson distribution FAQ
When do you use a Poisson distribution?
Use it to count events in a fixed interval of time, area or volume when the events happen one at a time, independently and at a constant average rate. Common examples are calls per hour, defects per meter and arrivals per minute.
What is λ in a Poisson distribution?
λ (lambda) is the mean number of events in the interval. It is also the variance, so the standard deviation is √λ.
What is the difference between the Poisson and binomial distributions?
A binomial variable counts successes in a fixed number n of trials, so it can’t exceed n. A Poisson variable counts events in an interval with no upper limit. The Poisson distribution is the limit of the binomial when n is large, p is small and np = λ.
Can the Poisson mean be a decimal?
Yes. λ is an average, such as 4.5 calls per minute, so it can be any positive number. The count X itself is always a whole number.
Summary
- The Poisson distribution counts events in a fixed interval: P(X = k) = e^(−λ)λᵏ/k! for k = 0, 1, 2, ….
- The events must occur one at a time, independently, at a constant average rate.
- λ = rate × interval length, so rescale λ when the interval changes.
- The mean and the variance are both λ.
- It approximates the binomial distribution when n is large and p is small, with λ = np.
Previous lesson: Law of Total Probability
Next lesson: Hypergeometric Distribution
Back to the Probability Theory Index