Question
Two numbers are selected at random (without replacement) from the first five positive integers. Let X denote the larger of the two numbers obtained. Find the mean and variance of X.
Solution
X can take values as 2, 3, 4,5 such that,
P (X =2) = probability that the larger of two number 2.
= prob. of getting 1 in first selection and 2 in second selection getting 2 in first selection and 1 in second selection.
x | 2 | 3 | 4 | 5 |
P(X) |