I have recently read the following problem:
Bob and Jane agree to meet at a known location between 1pm and 2pm. The problem is that neither of them know what time the other will arrive.
We may assume that both of them are equally likely to arrive at any time between 1pm and 2pm.
Assume Bob is prepared to wait 15 minutes for Jane to arrive before leaving. And Jane is prepared to wait 15 minutes for Bob to arrive before she leaves.
What is the probability that they meet?
I tried my hand at the problem but I don't know what did I do wrong:
Let $X$ and $Y$ be the arriving time of Bob and Jane $t$ minutes after 1pm respectively, then $X,Y\sim U[0,60]$. Let $A$ be the event that they meet, then by the law of total probability, we have
$$P(A)=\int_0^{60}P(A|X=x)f(x)\,dx$$
Now $f(x)=F'(x)=(x/60)'=1/60$, hence
$$P(A)=\frac{1}{60}\int_0^{60}P(A|X=x)\,dx$$.
$$P(A)=\frac{1}{60}\left( \int_0^{45}P(Y\in [x,x+15])\,dx + \int_{45}^{60}P(Y\in [x,60])\,dx\right)$$
$$P(A)=\frac{1}{60}\left( \int_0^{45}\frac{x+15-x}{60-0}\,dx + \int_{45}^{60}\frac{60-x}{60-0}\,dx\right)=\frac{7}{32}.$$
But the answer is $7/16$. I would like to ask what's wrong with my argument, thank you so much in advance. I would also like to ask is there any other ways to solve this? Thank you.
