两路公交:平均等车时间
What is the average waiting time to get on a bus at that bus stop?
题目详情
概率题:两路公交:平均等车时间。
英文原题
At a bus stop you can take bus #1 or bus #2. Bus #1 passes 10 minutes after bus #2 has passed, whereas bus #2 passes 20 minutes after bus #1 has passed. What is the average waiting time to get on a bus at that bus stop?
解析
两车构成 30 分钟周期:在每个周期内,先来 #1(距离上一班 #2 已过 10 分钟),再过 20 分钟来 #2。
设到站时刻 (相对某班 #2 的到达)。若 ,等到 #1 需 ;若 ,等到 #2 需 。
因此
英文解析
Consider a time interval between two arrivals of bus #2. This interval lasts for 30 minutes. If a customer arrives in the first 10 minutes of this interval, the customer will take bus #1. Otherwise, the customer will take bus #2.
Let be the uniform random variable on [0, 30] representing the arrival time of the customer. The waiting time for the bus is
where and are the indicator functions of the events and .
10}, respectively, e.g.,
The expression for can also be written as
and therefore
Note that and , since uniform on . From (2.43), it follows that
The expected waiting time to get on a bus is minutes, that is, 8 minutes and 20 seconds.