The Problem
Two friends A and B meet every morning at the Grand Central Station around 7 am. Suppose the actual times they arrive are independent and uniformly distributed between 6:55 am and 7:05am. Let Z denote the time between arrivals, i.e. Z = time B arrives – time A arrives (can be negative!).
(a) What is the range of values of Z (i.e Im(Z))?
(b) Find the density of Z (derive a formula similar to the convolution formula derived in class).
The Solution
(a) The times for Z can vary from -10 to 10. Suppose friend A arrives at 6:55 and friend B arrives at 7:05. Z would = -10. The other way around will result in Z = 10
(b)
Define Random Variables
X = # of minutes (continuous) after 6:55 friend A arrives
Y = # of minutes (continuous) after 6:55 friend B arrives
Outline of Problem
- The probability distribution functions of X and Y are uniform (constant and area = 1)
- The convolution of the pdf’s of X and the negative of Y (X-Y) equal the pdf of Z
- The result should look closer to the normal curve because of the Central Limit Theorem
The two input pdf’s and the result of the convolution which is the pdf of Z
Performing the convolution
Note: a=10
Simulation
- Random number generator is a uniform distribution
- Histogram of Randbetween(0,10)-Randbetween(0,10) 2092 times divided by 2092
- Discrete version of this problem

