Event probability - Meeting in the park

A man and a woman arrange to meet in the park between 12:00 and 1:00pm. They both arrive at a random time with uniform distribution over that hour, and do not coordinate with each other.

Find the probability that the first person to arrive has to wait longer than 15 minutes for the second person to arrive.

Solution

Let X denote the time the man arrives. Use minutes starting from 12:00, so X(0,60). Let Y denote the time the woman arrives, using the same interval.

The probability we seek is:

P[X+15<Y]+P[Y+15<X]

Because X and Y are symmetrical in probability, these terms have the same value, so we just double the first one for our answer.

Since the arrivals are independent of each other, we have fX,Y=fXfY.

Since each arrival time is uniform over the interval, we have:

fX(x)={1/60x(0,60)0otherwisefY(y)={1/60y(0,60)0otherwise

Therefore the joint density is fX,Y=(160)2. Calculate:

2P[X+15<Y]2x+15<yfX,Y(x,y)dxdy2x+15<yfX(x)fY(y)dxdy215600y15(160)2dxdy2(60)21560y15dy916

Uniform disk: Cartesian vs. polar

Suppose that a point is chosen uniformly at random on the unit disk.

(a) Let X and Y be the Cartesian coordinates of the chosen point. Are X and Y independent?

(b) Let R and Θ give the polar coordinates of the chosen point. Are R and Θ independent?

Solution

(a)

Write fX,Y for the joint distribution of X and Y. We have:

fX,Y={1/πx2+y210otherwise

Then computing fX(x), we obtain:

1x2+1x21πdy2π1x2fX(x)={2π1x2x[1,1]0otherwise

By similar reasoning, fY(y)=2π1y2 for y[1,1].

The product fX(x)fY(y) is not equal to fX,Y(x,y), so X and Y are not independent. Information about the value of X does provide constraints on the possible values of Y, so this result makes sense.


(b)

To find the marginals fR(r) and fΘ(θ), the standard method is to integrate the density fR,Θ in the opposite variables.

fR,Θ(r,θ) varies!

The probability density fR,Θ(r,θ) is not constant! The area of a differential sector drdθ depends on r.

We can take two approaches to finding the density fR,Θ:

(i) Area of a differential sector divided by total area:

rdrdθπrπdrdθ

So the density is fR,Θ=rπ.

(ii) Via the CDF:

Joint PDF from joint CDF: uniform distribution in polar

The region ‘below’ a given point (r,θ), in polar coordinates, is a sector with area θ2ππr2. The factor θ2π is a percentage of the circle with area πr2.

The density is a constant 1π across the disk, so the CDF at (r,θ) is this same area times 1π. Thus:

FR,Θ=θr22π

Then in polar coordinates the density is given by taking partial derivatives:

fR,Θ(r,θ)=2rθ(12πθr2)rπ

Once we have fR,Θ, integrate to get the marginals:

fR(r)=θ=02πfR,Θdθ02πrπdθ2rfΘ(θ)=r=01fR,Θdr01rπdr12π

Check independence:

fR,Θ=rπ=(2r)(12π)=fRfΘ

In this problem it is feasible to find the marginals directly, without computing the new density, only using some geometric reasoning.

Extra - Infinitesimal method for the marginals

The probability P[R(r,r+dr)] is the area (over π) of a thickened circle with radius r and thickness dr. The circumference of a circle at radius r is 2πr. So the area of the thickened circle is 2πrdr. So the probability is 2rdr. This tells us that the marginal probability density is PR(r)=2r.

The probability P[Θ(θ,θ+dθ)] is the area (over π) of a thin sector with radius 1 and angle dθ. This area is 1212dθ. So the probability is 12πdθ. This tells us that the marginal probability density is PΘ(θ)=12π.

These results agree with those above from differentiating the CDF.