Probability of X being greater than Y for independent uniform variables

AI Thread Summary
To find the probability P(X > Y) for independent uniform variables X and Y on the set {1, 2, ..., M}, it is established that P(X = x) = 1/M and P(Y = y) = 1/M. The calculation shows that P(X > Y) equals (M + 1) / (2M). For M = 3, a matrix representation illustrates the cases where X is greater than Y, leading to a total of 6 favorable outcomes out of 9 possible combinations. This confirms the derived probability formula for independent uniform variables. Understanding these concepts is crucial for accurately determining probabilities in similar scenarios.
magnifik
Messages
350
Reaction score
0
Let X and Y be independent and uniform on {1, 2, ... M}
Find P(X > Y)

so i know that P(X = x) = 1/M and P(Y = y) = 1/M
i don't understand how Find P(X > Y) = (M+1)/2M
 
Physics news on Phys.org
Hi magnifik! :smile:

Suppose M=3.

Then we have the matrix:
Code:
X\Y   1  2  3
1     ≥
2     ≥  ≥
3     ≥  ≥  ≥

In how many cases is the condition satisfied?
And what is the total number of cases?
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top