Solveeit Logo

Question

Question: Two numbers are selected at random (without replacement) from the first six positive integers. Let \...

Two numbers are selected at random (without replacement) from the first six positive integers. Let XX denote the larger of the two numbers. Find E(X)E\left( X \right).

Explanation

Solution

Here, we need to find the expected value of XX. First, we will find the sample space and the number of favourable outcomes for different possible values of XX. Then, we will find the probabilities for different possible values of XX. Finally, we will use the formula for expected value to find the value of E(X)E\left( X \right).
Formula Used: We will use the following formulas:

  1. The probability of an event, P(E)=P\left( E \right) = Number of favourable outcomes ÷\div Number of total outcomes.
  2. The expected value of a random variable XX is given by the formula E(X)=xP(X=x)E\left( X \right) = \sum {xP\left( {X = x} \right)} .

Complete step by step solution:
The first positive integers are 1, 2, 3, 4, 5, 6.
Let (p,q)\left( {p,q} \right) denote the two numbers selected, where pp is the first number selected, and qq is the second number selected.
We will find the sample space and probabilities using multiple cases.
Case 1: The larger of the two numbers is 2.
The number lesser than 2 is 1.
If the larger of the two numbers is 2, then the other number has to be 1.
Therefore, we get the possible cases (2,1)\left( {2,1} \right) and (1,2)\left( {1,2} \right).
Thus, there are 2 favourable outcomes for X=2X = 2.
Case 2: The larger of the two numbers is 3.
The numbers lesser than 3 are 1 or 2.
If the larger of the two numbers is 3, then the other number has to be 1 or 2.
Therefore, we get the possible cases (3,1)\left( {3,1} \right), (1,3)\left( {1,3} \right), (3,2)\left( {3,2} \right), and (2,3)\left( {2,3} \right).
Thus, there are 4 favourable outcomes for X=3X = 3.
Case 3: The larger of the two numbers is 4.
The numbers lesser than 4 are 1, 2, or 3.
If the larger of the two numbers is 4, then the other number has to be 1, 2, or 3.
Therefore, we get the possible cases (4,1)\left( {4,1} \right), (1,4)\left( {1,4} \right), (4,2)\left( {4,2} \right), (2,4)\left( {2,4} \right), (4,3)\left( {4,3} \right), and (3,4)\left( {3,4} \right).
Thus, there are 6 favourable outcomes for X=4X = 4.
Case 4: The larger of the two numbers is 5.
The numbers lesser than 5 are 1, 2, 3, or 4.
If the larger of the two numbers is 5, then the other number has to be 1, 2, 3, or 4.
Therefore, we get the possible cases (5,1)\left( {5,1} \right), (1,5)\left( {1,5} \right), (5,2)\left( {5,2} \right), (2,5)\left( {2,5} \right), (5,3)\left( {5,3} \right), (3,5)\left( {3,5} \right), (5,4)\left( {5,4} \right), and (4,5)\left( {4,5} \right).
Thus, there are 8 favourable outcomes for X=5X = 5.
Case 5: The larger of the two numbers is 6.
The numbers lesser than 6 are 1, 2, 3, 4, or 5.
If the larger of the two numbers is 6, then the other number has to be 1, 2, 3, 4, or 5.
Therefore, we get the possible cases (6,1)\left( {6,1} \right), (1,6)\left( {1,6} \right), (6,2)\left( {6,2} \right), (2,6)\left( {2,6} \right), (6,3)\left( {6,3} \right), (3,6)\left( {3,6} \right), (6,4)\left( {6,4} \right), (4,6)\left( {4,6} \right), (6,5)\left( {6,5} \right), and (5,6)\left( {5,6} \right).
Thus, there are 10 favourable outcomes for X=6X = 6.
From the five cases, we can observe that there are 30 possible outcomes.
We will calculate the probabilities of each value of the random variable XX.
The probability of an event,P(E)=P\left( E \right) = Number of favourable outcomes ÷\div Number of total outcomes.
The number of total outcomes is 30.
Therefore, we get
P(X=2)=230=115P\left( {X = 2} \right) = \dfrac{2}{{30}} = \dfrac{1}{{15}}
P(X=3)=430=215P\left( {X = 3} \right) = \dfrac{4}{{30}} = \dfrac{2}{{15}}
P(X=4)=630=315P\left( {X = 4} \right) = \dfrac{6}{{30}} = \dfrac{3}{{15}}
P(X=5)=830=415P\left( {X = 5} \right) = \dfrac{8}{{30}} = \dfrac{4}{{15}}
P(X=6)=1030=515P\left( {X = 6} \right) = \dfrac{{10}}{{30}} = \dfrac{5}{{15}}
Arranging the values of the random variable XX and the probabilities in a table, we get

XX23456
P(X=x)P\left( {X = x} \right)115\dfrac{1}{{15}}215\dfrac{2}{{15}}315\dfrac{3}{{15}}415\dfrac{4}{{15}}515\dfrac{5}{{15}}

Now, we will find the expected value of the random variable XX.
The expected value of a random variable XX is given by the formula E(X)=xP(X=x)E\left( X \right) = \sum {xP\left( {X = x} \right)} .
Therefore, we get
E(X)=2×P(X=2)+3×P(X=3)+4×P(X=4)+5×P(X=5)+6×P(X=6)\Rightarrow E\left( X \right) = 2 \times P\left( {X = 2} \right) + 3 \times P\left( {X = 3} \right) + 4 \times P\left( {X = 4} \right) + 5 \times P\left( {X = 5} \right) + 6 \times P\left( {X = 6} \right)
Substituting the values using the table, we get
E(X)=2×115+3×215+4×315+5×415+6×515\Rightarrow E\left( X \right) = 2 \times \dfrac{1}{{15}} + 3 \times \dfrac{2}{{15}} + 4 \times \dfrac{3}{{15}} + 5 \times \dfrac{4}{{15}} + 6 \times \dfrac{5}{{15}}
Multiplying the terms in the expression, we get
E(X)=215+615+1215+2015+3015\Rightarrow E\left( X \right) = \dfrac{2}{{15}} + \dfrac{6}{{15}} + \dfrac{{12}}{{15}} + \dfrac{{20}}{{15}} + \dfrac{{30}}{{15}}
Adding the terms in the expression, we get
E(X)=2+6+12+20+3015 E(X)=7015\begin{array}{l} \Rightarrow E\left( X \right) = \dfrac{{2 + 6 + 12 + 20 + 30}}{{15}}\\\ \Rightarrow E\left( X \right) = \dfrac{{70}}{{15}}\end{array}
Simplifying the expression, we get
E(X)=143\Rightarrow E\left( X \right) = \dfrac{{14}}{3}
\therefore We get the value of E(X)E\left( X \right) as 143\dfrac{{14}}{3}.

Note:
We used the term “positive integer” in the solution. An integer is a number that is not a fraction and can be either positive or negative. For example: 95 - 95 and 95 are integers.
We know that the sum of all probabilities is always equal to 1. We can verify our probabilities by adding them. If the sum of probabilities is 1, then our probabilities should be correct. From the table, we can observe that 115+215+315+415+515=1515=1\dfrac{1}{{15}} + \dfrac{2}{{15}} + \dfrac{3}{{15}} + \dfrac{4}{{15}} + \dfrac{5}{{15}} = \dfrac{{15}}{{15}} = 1.