Anthony plays a game using a four-sided fair die with the numbers 1, 2, 3 and 4 printed on its sides. Anthony rolls the die and should the outcome be a prime number, he wins an amount equivalent to that number in dollars. Conversely, if the outcome is a non-prime number, Anthony will lose an amount equivalent to that number in dollars. The random variable XX represents the amount of money Anthony wins in a roll of the die.

  1. (a)

    Tabulate the probability distribution of XX and find the value of E(X)\text{E}(X).

  2. (b)

    Find the value of the variance of XX.

  3. (c)

    The random variables X1X_1 and X2X_2 are two independent observations of XX. By drawing a table of outcomes for ∣X1+X2∣|X_1 + X_2| or otherwise, find E(∣X1+X2∣)\text{E}(|X_1 + X_2|).

  4. (d)

    Assume now that a biased six-sided die with numbers 2, 3, 4, 5, 6 and 7 printed on its sides, is used instead for the same game. It is known that for this biased die, the probability of obtaining a "3" is pp, the probability of obtaining a "5" is 2p2p and the remaining four numbers each have an equal probability of occurring.

    Find the exact value of pp for the game to be fair using the biased die.

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

7(a)

1. Determine the possible values of $X$ and their probabilities, and construct the probability distribution table.

The possible outcomes of the die are 1, 2, 3, and 4.

  • The prime numbers are 2 and 3, corresponding to wins (X=2X = 2 and X=3X = 3).
  • The non-prime numbers are 1 and 4, corresponding to losses (X=−1X = -1 and X=−4X = -4).

Since the four-sided die is fair, each outcome has a probability of 14\frac{1}{4}.

x−4−123P(X=x)14141414\begin{array}{|c|c|c|c|c|} \hline x & -4 & -1 & 2 & 3 \\ \hline P(X=x) & \frac{1}{4} & \frac{1}{4} & \frac{1}{4} & \frac{1}{4} \\ \hline \end{array}

2. Calculate the expected value $\text{E}(X)$.

E(X)=∑x P(X=x)\text{E}(X) = \sum x \, P(X=x)
E(X)=(−4)(14)+(−1)(14)+(2)(14)+(3)(14)\text{E}(X) = (-4)\left(\frac{1}{4}\right) + (-1)\left(\frac{1}{4}\right) + (2)\left(\frac{1}{4}\right) + (3)\left(\frac{1}{4}\right)
E(X)=−1−0.25+0.5+0.75\text{E}(X) = -1 - 0.25 + 0.5 + 0.75
E(X)=0\text{E}(X) = 0

Answer
x−4−123P(X=x)14141414\begin{array}{|c|c|c|c|c|} \hline x & -4 & -1 & 2 & 3 \\ \hline P(X=x) & \frac{1}{4} & \frac{1}{4} & \frac{1}{4} & \frac{1}{4} \\ \hline \end{array}

E(X)=0\text{E}(X) = 0

7(b)

1. Calculate $\text{E}(X^2)$ based on the probability distribution from part (a)

From part (a), the values of XX are −4-4, −1-1, 22, and 33, each with probability 14\frac{1}{4}.

E(X2)=∑x2P(X=x)\text{E}(X^2) = \sum x^2 \text{P}(X=x)
E(X2)=14((−4)2+(−1)2+22+32)\text{E}(X^2) = \frac{1}{4}((-4)^2 + (-1)^2 + 2^2 + 3^2)
E(X2)=14(16+1+4+9)\text{E}(X^2) = \frac{1}{4}(16 + 1 + 4 + 9)
E(X2)=14(30)=7.5\text{E}(X^2) = \frac{1}{4}(30) = 7.5

2. Calculate the variance using $\text{Var}(X) = \text{E}(X^2) - [\text{E}(X)]^2$

Using E(X)=0\text{E}(X) = 0 found in part (a):
Var(X)=E(X2)−[E(X)]2\text{Var}(X) = \text{E}(X^2) - [\text{E}(X)]^2
Var(X)=7.5−02\text{Var}(X) = 7.5 - 0^2
Var(X)=7.5\text{Var}(X) = 7.5

Answer

7.57.5

7(c)

1. Identify the values of $X$ and construct the table of outcomes for $|X_1 + X_2|$.

From part (a), the possible amounts won are 22 and 33 (prime numbers), and the possible amounts lost are −1-1 and −4-4 (non-prime numbers). Thus, the possible values of XX are −4,−1,2, and 3-4, -1, 2, \text{ and } 3.

Using these values, we draw a table of outcomes for ∣X1+X2∣|X_1 + X_2|:

∣X1+X2∣X2=−4X2=−1X2=2X2=3X1=−4∣−8∣=8∣−5∣=5∣−2∣=2∣−1∣=1X1=−1∣−5∣=5∣−2∣=2∣1∣=1∣2∣=2X1=2∣−2∣=2∣1∣=1∣4∣=4∣5∣=5X1=3∣−1∣=1∣2∣=2∣5∣=5∣6∣=6 \begin{array}{|c|c|c|c|c|} \hline |X_1 + X_2| & X_2 = -4 & X_2 = -1 & X_2 = 2 & X_2 = 3 \\ \hline X_1 = -4 & |-8|=8 & |-5|=5 & |-2|=2 & |-1|=1 \\ \hline X_1 = -1 & |-5|=5 & |-2|=2 & |1|=1 & |2|=2 \\ \hline X_1 = 2 & |-2|=2 & |1|=1 & |4|=4 & |5|=5 \\ \hline X_1 = 3 & |-1|=1 & |2|=2 & |5|=5 & |6|=6 \\ \hline \end{array}

2. Calculate the expected value $\text{E}(|X_1 + X_2|)$.

Since the 4-sided die is fair, each of the 1616 outcomes in the table is equally likely and occurs with a probability of 116\frac{1}{16}.

To find the expected value, we sum all the values in the table and multiply by 116\frac{1}{16}:

E(∣X1+X2∣)=∑y P(∣X1+X2∣=y)=116(8+5+2+1+5+2+1+2+2+1+4+5+1+2+5+6)=5216=3.25 \begin{aligned} \text{E}(|X_1 + X_2|) &= \sum y \, \text{P}(|X_1 + X_2| = y) \\ &= \frac{1}{16} (8 + 5 + 2 + 1 + 5 + 2 + 1 + 2 + 2 + 1 + 4 + 5 + 1 + 2 + 5 + 6) \\ &= \frac{52}{16} \\ &= 3.25 \end{aligned}
Answer

3.253.25

7(d)

1. Express the probability of the other equally likely outcomes in terms of $p$.

Let the probability of obtaining 2, 4, 6 or 7 be qq.
Since the sum of all probabilities must be 1:
p+2p+4q=1p + 2p + 4q = 1
4q=1−3p  ⟹  q=1−3p44q = 1 - 3p \implies q = \frac{1 - 3p}{4}

2. Formulate the expected winnings in terms of $p$ and $q$.

Let YY be the random variable for the amount of money won.
Identify the prime outcomes (winnings) as 2, 3, 5, 7 and non-prime outcomes (losses) as 4, 6.
E(Y)=2(q)+3(p)−4(q)+5(2p)−6(q)+7(q)\text{E}(Y) = 2(q) + 3(p) - 4(q) + 5(2p) - 6(q) + 7(q)
E(Y)=13p+q(2−4−6+7)\text{E}(Y) = 13p + q(2 - 4 - 6 + 7)
E(Y)=13p−q\text{E}(Y) = 13p - q

3. Equate the expected winnings to zero for a fair game and solve for $p$.

For a game to be fair, the expected winnings must be zero, so E(Y)=0\text{E}(Y) = 0.
13p−q=0  ⟹  q=13p13p - q = 0 \implies q = 13p
Substitute q=1−3p4q = \frac{1 - 3p}{4}:
13p=1−3p413p = \frac{1 - 3p}{4}
52p=1−3p52p = 1 - 3p
55p=1  ⟹  p=15555p = 1 \implies p = \frac{1}{55}

Answer

155\frac{1}{55}

AI analysis — may contain mistakes.

Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.

More questions on this topic

  1. 1An amateur music composer is arranging a sequence of four musical notes followed by three beats. There are 7 possible no…
  2. 2The events AA and BB are such that P(B)=13\mathrm{P}(B) = \frac{1}{3}, P(A∣B)=25\mathrm{P}(A|B) = \frac{2}{5} and P(A∪B)=35\mathrm{P}(A \cup B) = \frac{3}{5}…
  3. 3Two brothers Kai and Leo are duathlon (running and cycling) athletes who train regularly. For each day, the probability…
  4. 4A pair of siblings, Abbey and Betty, went to a book fair with six other friends. The eight of them stood in a queue in r…
  5. 5A particular disease is known to infect approximately 1 in every 10 000 people. A test for this disease is 99.9% accurat…