Problem Statement
If X \sim N(10, 4) and Y \sim N(8, 9) are independent, what is P(X > Y)?
Solution
This problem requires finding the distribution of the difference of two independent normal random variables, then computing a probability using standardization.
Step 1: Reformulate the Problem
We want P(X > Y), which is equivalent to:
Step 2: Find the Distribution of X - Y
A key property: linear combinations of independent normal random variables are also normally distributed.
For independent normals:
-
X \sim N(\mu_X, \sigma_X^2)
-
Y \sim N(\mu_Y, \sigma_Y^2)
We have:
Important: Variances add, not subtract! This is because:
In our case:
-
X \sim N(10, 4): \mu_X = 10, \sigma_X^2 = 4
-
Y \sim N(8, 9): \mu_Y = 8, \sigma_Y^2 = 9
Therefore:
Step 3: Standardize to Compute the Probability
We want P(X - Y > 0) where X - Y \sim N(2, 13).
To use standard normal tables, we standardize. For W \sim N(\mu, \sigma^2):
Here, W = X - Y, \mu = 2, and \sigma = \sqrt{13}:
where Z \sim N(0, 1) is standard normal.
Step 4: Use Symmetry of Standard Normal
Since the standard normal is symmetric:
where \Phi is the standard normal cumulative distribution function.
Step 5: Evaluate Numerically
Using standard normal tables or computational tools:
Final Answer
P(X > Y) = \Phi\left(\frac{2}{\sqrt{13}}\right) \approx 0.71
Alternative Expression
We can also write this as:
Key Insights
- Difference of Independent Normals: For independent X \sim N(\mu_X, \sigma_X^2) and Y \sim N(\mu_Y, \sigma_Y^2):
Note that variances add, not subtract!
-
Variance Addition: This is a common mistake. Even though we’re subtracting Y, the variance of X - Y is \sigma_X^2 + \sigma_Y^2, not \sigma_X^2 - \sigma_Y^2. This is because \text{Var}(aX + bY) = a^2\text{Var}(X) + b^2\text{Var}(Y) for independent variables.
-
General Formula: For P(X > Y) where X \sim N(\mu_X, \sigma_X^2) and Y \sim N(\mu_Y, \sigma_Y^2) are independent:
- Intuition: The probability depends on:
-
The difference in means (\mu_X - \mu_Y): larger difference favors X
-
The combined variance (\sigma_X^2 + \sigma_Y^2): larger variance makes the outcome more uncertain
- Symmetric Case: If \mu_X = \mu_Y, then P(X > Y) = \frac{1}{2} regardless of variances (by symmetry).
Applications
-
A/B Testing: Probability that treatment A outperforms treatment B.
-
Quality Control: Probability that one production line produces higher quality than another.
-
Financial Analysis: Probability that one asset’s return exceeds another’s.
-
Sports Analytics: Probability that one team/player outperforms another.