Answer:
Y will arrive earlier than X one fourth of times.
Step-by-step explanation:
To solve this, we might notice that given that both events are independent of each other, the joint probability density function is the product of X and Y's probability density functions. For an uniformly distributed density function, we have that:
![f_X(x) = \frac{1}{L}](https://tex.z-dn.net/?f=f_X%28x%29%20%3D%20%5Cfrac%7B1%7D%7BL%7D)
Where L stands for the length of the interval over which the variable is distributed.
Now, as X is distributed over a 1 hour interval, and Y is distributed over a 0.5 hour interval, we have:
.
Now, the probability of an event is equal to the integral of the density probability function:
![\iint_A f_{X,Y} (x,y) dx\, dy](https://tex.z-dn.net/?f=%5Ciint_A%20f_%7BX%2CY%7D%20%28x%2Cy%29%20dx%5C%2C%20dy)
Where A is the in which the event happens, in this case, the region in which Y<X (Y arrives before X)
It's useful to draw a diagram here, I have attached one in which you can see the integration region.
You can see there a box, that represents all possible outcomes for Y and X. There's a diagonal coming from the box's upper right corner, that diagonal represents the cases in which both X and Y arrive at the same time, under that line we have that Y arrives before X, that is our integration region.
Let's set up the integration:
![\iint_A f_{X,Y} (x,y) dx\, dy\\\\\iint_A f_{X} (x) \, f_{Y} (y) dx\, dy\\\\2 \iint_A dx\, dy](https://tex.z-dn.net/?f=%5Ciint_A%20f_%7BX%2CY%7D%20%28x%2Cy%29%20dx%5C%2C%20dy%5C%5C%5C%5C%5Ciint_A%20f_%7BX%7D%20%28x%29%20%5C%2C%20f_%7BY%7D%20%28y%29%20dx%5C%2C%20dy%5C%5C%5C%5C2%20%5Ciint_A%20%20dx%5C%2C%20dy)
We have used here both the independence of the events and the uniformity of distributions, we take the 2 out because it's just a constant and now we just need to integrate. But the function we are integrating is just a 1! So we can take the integral as just the area of the integration region. From the diagram we can see that the region is a triangle of height 0.5 and base 0.5. thus the integral becomes:
![2 \iint_A dx\, dy= 2 \times \frac{0.5 \times 0.5 }{2} \\\\2 \iint_A dx\, dy= \frac{1}{4}](https://tex.z-dn.net/?f=2%20%5Ciint_A%20%20dx%5C%2C%20dy%3D%202%20%5Ctimes%20%5Cfrac%7B0.5%20%5Ctimes%200.5%20%7D%7B2%7D%20%5C%5C%5C%5C2%20%5Ciint_A%20%20dx%5C%2C%20dy%3D%20%5Cfrac%7B1%7D%7B4%7D)
That means that one in four times Y will arrive earlier than X. This result can also be seen clearly on the diagram, where we can see that the triangle is a fourth of the rectangle.