Solveeit Logo

Question

Question: Two positive numbers are selected at random (without replacement) from the first five positive integ...

Two positive numbers are selected at random (without replacement) from the first five positive integers. The larger of the two numbers obtained is denoted by X. Find the mean and variance of X.

Explanation

Solution

Hint : Here, in this given question we have to find the mean and variance of X. In order to solve this question, we will first have to find the number of ways to select two numbers from the first five positive integers i.e., 1,2,3,4,51,2,3,4,5 . Next, we will find the set for which 22 is the larger number and find its probability. We will repeat this step for the remaining numbers i.e., 3,4,53,4,5 . After getting all the probabilities, we will make a probability distribution table. Then find the mean and variance of X.
Formula used:
nPr=n!(nr)!{}^n{P_r} = \dfrac{{n!}}{{\left( {n - r} \right)!}}
Mean = X×P(X)\sum {X \times P\left( X \right)}
Variance = X2×P(X)[X×P(X)]2\sum {{X^2} \times P\left( X \right)} - {\left[ {\sum {X \times P\left( X \right)} } \right]^2}

Complete step by step solution:
The first five positive integers are 1,2,3,4,51,2,3,4,5
Now, we have to select two numbers from five positive integers. This is done by using formula,
nPr=n!(nr)! 5P2=5!(52)!=1206=20   {}^n{P_r} = \dfrac{{n!}}{{\left( {n - r} \right)!}} \\\ \Rightarrow {}^5{P_2} = \dfrac{{5!}}{{\left( {5 - 2} \right)!}} = \dfrac{{120}}{6} = 20 \;
Here, we are given that X denotes the larger of two numbers. We observe that X can take the values of 2,3,4,52,3,4,5 .
P(X=2)P\left( {X = 2} \right) = Probability that larger number is 22 .
P(X=2)P\left( {X = 2} \right) = Probability of getting 11 in first selection and 22 in second selection or getting 22 in first selection and 11 in second selection.
P(X=2)=15×14+15×14=220\Rightarrow P\left( {X = 2} \right) = \dfrac{1}{5} \times \dfrac{1}{4} + \dfrac{1}{5} \times \dfrac{1}{4} = \dfrac{2}{{20}}
P(X=3)P\left( {X = 3} \right) = Probability that the larger of two numbers is 33 .
P(X=3)=25×14+15×24=420\Rightarrow P\left( {X = 3} \right) = \dfrac{2}{5} \times \dfrac{1}{4} + \dfrac{1}{5} \times \dfrac{2}{4} = \dfrac{4}{{20}}
P(X=4)P\left( {X = 4} \right) = Probability that the larger of two numbers is 44 .
P(X=4)=35×14+15×34=620 P(X=5)=45×14+15×44=820   \Rightarrow P\left( {X = 4} \right) = \dfrac{3}{5} \times \dfrac{1}{4} + \dfrac{1}{5} \times \dfrac{3}{4} = \dfrac{6}{{20}} \\\ \Rightarrow P\left( {X = 5} \right) = \dfrac{4}{5} \times \dfrac{1}{4} + \dfrac{1}{5} \times \dfrac{4}{4} = \dfrac{8}{{20}} \;
The probability distribution of X is:

X22334455
P(X)220\dfrac{2}{{20}}420\dfrac{4}{{20}}620\dfrac{6}{{20}}820\dfrac{8}{{20}}

Mean [E(X)]\left[ {E\left( X \right)} \right]
=2×220+3×420+4×620+5×820 =420+1220+2420+4020 =8020 =4   = 2 \times \dfrac{2}{{20}} + 3 \times \dfrac{4}{{20}} + 4 \times \dfrac{6}{{20}} + 5 \times \dfrac{8}{{20}} \\\ = \dfrac{4}{{20}} + \dfrac{{12}}{{20}} + \dfrac{{24}}{{20}} + \dfrac{{40}}{{20}} \\\ = \dfrac{{80}}{{20}} \\\ = 4 \;
E(X2)=22×220+32×420+42×620+52×820 =820+3620+9620+20020 =34020 =17   E\left( {{X^2}} \right) = {2^2} \times \dfrac{2}{{20}} + {3^2} \times \dfrac{4}{{20}} + {4^2} \times \dfrac{6}{{20}} + {5^2} \times \dfrac{8}{{20}} \\\ = \dfrac{8}{{20}} + \dfrac{{36}}{{20}} + \dfrac{{96}}{{20}} + \dfrac{{200}}{{20}} \\\ = \dfrac{{340}}{{20}} \\\ = 17 \;
Variance of X = E(X2)[E(X)]2=1742=1E\left( {{X^2}} \right) - {\left[ {E\left( X \right)} \right]^2} = 17 - {4^2} = 1
Therefore, E(X)=4E\left( X \right) = 4 and Var(X)=1Var\left( X \right) = 1
Hence, the mean of X is 44 and variance of X is 11 .

Note : The given question was not tough. The most important part in these types of questions is to find out the number of ways to select numbers. The given question deals with the concept of probability, but the concept of permutation and combination should also be thoroughly clear.