All Exams Test series for 1 year @ ₹349 only
Question

Let $X$ and $Y$ be i.i.d. uniform $(0,1)$ random variables. Let $Z = \max(X,Y)$ and $W = \min(X,Y)$.
Then $P((Z-W) > 1/2)$ is

The correct answer is
$1/4$

We are given two independent and identically distributed (i.i.d.) random variables, $X$ and $Y$, both following a uniform distribution on $(0,1)$. We define $Z = \max(X,Y)$ and $W = \min(X,Y)$. We need to find the probability $P((Z-W) > 1/2)$.

Understanding the Difference Z-W

First, let's simplify the expression $Z-W$.

  • If $X \ge Y$, then $Z=X$ and $W=Y$. So, $Z-W = X-Y$.
  • If $Y > X$, then $Z=Y$ and $W=X$. So, $Z-W = Y-X$.

In both cases, $Z-W = |X-Y|$. Therefore, the probability we need to calculate is $P(|X-Y| > 1/2)$.

Geometric Interpretation

Since $X$ and $Y$ are i.i.d. uniform $(0,1)$ variables, their joint distribution is uniform over the unit square $[0,1] \times [0,1]$. The total area of this sample space is $1 \times 1 = 1$. The probability $P(|X-Y| > 1/2)$ is equivalent to the area of the region within the unit square where $|X-Y| > 1/2$.

The condition $|X-Y| > 1/2$ splits into two inequalities:

  1. $X-Y > 1/2 \implies Y < X - 1/2$
  2. $Y-X > 1/2 \implies Y > X + 1/2$

Calculating the Area

Let's find the area corresponding to these inequalities within the unit square:

  • Region 1 ($Y < X - 1/2$): This inequality defines the area below the line $y = x - 1/2$. Within the unit square, this region is a right-angled triangle with vertices at $(1/2, 0)$, $(1, 0)$, and $(1, 1/2)$. The base of this triangle is $1 - 1/2 = 1/2$, and the height is $1/2$. The area is $\frac{1}{2} \times \text{base} \times \text{height} = \frac{1}{2} \times \frac{1}{2} \times \frac{1}{2} = \frac{1}{8}$.
  • Region 2 ($Y > X + 1/2$): This inequality defines the area above the line $y = x + 1/2$. Within the unit square, this region is a right-angled triangle with vertices at $(0, 1/2)$, $(0, 1)$, and $(1/2, 1)$. The base of this triangle is $1 - 1/2 = 1/2$, and the height is $1/2$. The area is $\frac{1}{2} \times \text{base} \times \text{height} = \frac{1}{2} \times \frac{1}{2} \times \frac{1}{2} = \frac{1}{8}$.

These two regions are disjoint.

Final Probability Calculation

The total probability $P(|X-Y| > 1/2)$ is the sum of the areas of these two regions:

$ P((Z-W) > 1/2) = P(|X-Y| > 1/2) = \text{Area(Region 1)} + \text{Area(Region 2)} $

$ P((Z-W) > 1/2) = \frac{1}{8} + \frac{1}{8} = \frac{2}{8} = \frac{1}{4} $

Thus, the probability is $1/4$.

Was this answer helpful?

Important Questions from Probability (Notes)

  1. A stick of length L is broken into two pieces at random. What is the average length of the smaller piece?
  2. Two students are solving the same problem independently. If the probability that the first one solves the problem is $\frac{3}{5}$ and the probability that the second solves the problem is $\frac{4}{5}$, what is the probability that at least one of them solves the problem?
  3. A fair die was thrown three times and the outcome was repeatedly six. If the die is thrown again what is the probability of getting six?
  4. A canal system is shown in the figure. 

    Water flows from A to B through two channels. Gates $G_1$ and $G_2$ are operated independently to regulate the flow. Probability of $G_1$ to be open is 10% while that of $G_2$ is 20%. The probability that water will flow from A to B is

  5. A standard fair die is rolled until some face other than 5 or 6 turns up. Let $X$ denote the face value of the last roll, and $A = \{X \text{ is even}\}$ and $B = \{X \text{ is at most 2}\}$. Then,
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App