Customers depart from a bookstore according to a Poisson process with rate A per hour. Each customer buys a book with probability p, independent of everything else. Find the distribution of the time until the first sale of a book.
Assistant
To find the distribution of the time until the first sale of a book in a bookstore where customers depart according to a Poisson process and each customer buys a book with a certain probability, we can break down the problem as follows:
Poisson Process for Customer Departures:
User
Find the probability that no books are sold during a particular hour.
Assistant
To find the probability that no books are sold during a particular hour, we will use the properties of the combined Poisson process of book sales derived earlier.
Step-by-Step Analysis
Effective Arrival Rate of Book Buyers:
As established, customers who buy books arrive following a Poisson process with rate (\lambda_s = \lambda \cdot p) per hour, where (\lambda) is the rate of customer departures and (p) is the probability that a customer buys a book.
Poisson Process Properties:
In a Poisson process with rate (\lambda_s), the number of events (in this case, book sales) in a given time interval of length ( t ) is Poisson distributed with parameter (\lambda_s t).
Customers depart from the bookstore according to a Poisson process with rate ( \lambda ) per hour.
Probability of a Sale:
Each departing customer purchases a book with probability ( p ), independently of other customers.
Finding the Effective Arrival Rate of Book Buyers
Given the Poisson process for customer departures at rate ( \lambda ) and the independent probability ( p ) of each customer buying a book, the process of sales (customers buying books) can also be modeled as a Poisson process.
The effective rate (\lambda_s) of customers who buy books, which is a subset of the original Poisson process, is given by:
[ \lambda_s = \lambda \cdot p ]
Time Until the First Sale
The time ( T ) until the first sale of a book follows an exponential distribution because the sales are modeled by a Poisson process with the rate ( \lambda_s ).
For a Poisson process with rate ( \lambda_s ), the time until the first event (here, the first sale) is known to follow an exponential distribution with the same rate.
Hence, the time until the first sale of a book, ( T ), is exponentially distributed with the rate ( \lambda_s ):
[ T \sim \text{Exponential}(\lambda_s) ]
Given that (\lambda_s = \lambda \cdot p):
[ T \sim \text{Exponential}(\lambda \cdot p) ]
Probability Density Function (PDF) of ( T )
The probability density function (PDF) of an exponential random variable with rate (\lambda_s) is given by:
This describes the distribution of the time until the first sale of a book in the bookstore.
Specifically, if ( N(t) ) represents the number of book sales by time ( t ), then:
[
N(t) \sim \text{Poisson}(\lambda_s t)
]
For ( t = 1 ) hour:
[
N(1) \sim \text{Poisson}(\lambda_s \cdot 1) = \text{Poisson}(\lambda p)
]
Probability of No Books Sold:
The probability mass function (PMF) of a Poisson random variable ( N ) with parameter (\lambda p) is:
[
P(N = k) = \frac{(\lambda p)^k e^{-\lambda p}}{k!}
]
To find the probability that no books are sold in an hour, we set ( k = 0 ):
[
P(N(1) = 0) = \frac{(\lambda p)^0 e^{-\lambda p}}{0!}
]