Happie, the owner of a store selling novelty items, is organizing a publicity stunt for his store. Using a stock of ultra-rare Lubaba dolls that he acquired, he sets up a game where a player opens "mystery boxes" to try to find a Lubaba doll hidden inside one of the identical boxes used for the game. The rules of the game are:
  • The player pays an initial $5 to start the game to open one of nn boxes.
  • If the opened box is empty, the player can pay an additional $3 to open a second box.
  • If the second box is empty, the player can pay $2.50 again to open a third box.
  • If the third box is still empty, the player loses the game. The doll that is not won will then be donated away and the game is reset for the next player.
As the Lubaba dolls are considered rare collectors' items, it can be assumed that in every game, the players will keep opening the boxes until they win the doll and that they have the means to pay for the maximum of 3 allowable trys at opening the boxes. Let XX be the random variable denoting the number of empty boxes a player has opened in a game.

  1. (a)

    Show that P(X=2)=1nP(X=2)=\frac{1}{n}.

  2. (b)

    Find the probability distribution of XX, leaving your answers in terms of nn.

  3. (c)

    If n=10n=10, find P(X≤σ)P(X\le\sigma), where σ\sigma is the standard deviation of XX.

  4. (d)

    If the cost price of a Lubaba doll is $10, find the number of boxes nn, that Happie should prepare so that he will not make any profit nor incur any loss from organising this publicity stunt.

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. Apply the multiplication principle for dependent events to find the probability of opening 2 empty boxes followed by the box with the doll.

P(X=2)=P(1st box empty)×P(2nd box empty)×P(3rd box has doll)=n−1n×n−2n−1×1n−2=1n\begin{aligned} P(X=2) &= P(\text{1st box empty}) \times P(\text{2nd box empty}) \times P(\text{3rd box has doll}) \\ &= \frac{n-1}{n} \times \frac{n-2}{n-1} \times \frac{1}{n-2} \\ &= \frac{1}{n} \end{aligned}

Answer

P(X=2)=1n(Shown)P(X=2) = \frac{1}{n} \quad \text{(Shown)}

7(b)

1. Identify the possible values of $X$ and calculate $P(X=0)$ and $P(X=1)$.

Since a player can open a maximum of 3 boxes, the possible numbers of empty boxes opened (XX) are 0,1,2,0, 1, 2, and 33.

If X=0X=0, the first box contains the doll:
P(X=0)=1nP(X=0) = \frac{1}{n}

If X=1X=1, the first box is empty and the second box contains the doll:
P(X=1)=n−1n×1n−1=1nP(X=1) = \frac{n-1}{n} \times \frac{1}{n-1} = \frac{1}{n}

2. Determine $P(X=3)$ and present the probability distribution table.

Since the sum of all probabilities in a probability distribution must equal 11, and we are given P(X=2)=1nP(X=2) = \frac{1}{n} from part (a):

P(X=3)=1−P(X=0)−P(X=1)−P(X=2)P(X=3) = 1 - P(X=0) - P(X=1) - P(X=2)
P(X=3)=1−1n−1n−1n=n−3nP(X=3) = 1 - \frac{1}{n} - \frac{1}{n} - \frac{1}{n} = \frac{n-3}{n}

(Alternatively, calculating directly: P(X=3)=n−1n×n−2n−1×n−3n−2=n−3nP(X=3) = \frac{n-1}{n} \times \frac{n-2}{n-1} \times \frac{n-3}{n-2} = \frac{n-3}{n})

The probability distribution of XX is:

x0123P(X=x)1n1n1nn−3n\begin{array}{|c|c|c|c|c|} \hline x & 0 & 1 & 2 & 3 \\ \hline P(X=x) & \frac{1}{n} & \frac{1}{n} & \frac{1}{n} & \frac{n-3}{n} \\ \hline \end{array}
Answer
x0123P(X=x)1n1n1nn−3n\begin{array}{|c|c|c|c|c|} \hline x & 0 & 1 & 2 & 3 \\ \hline P(X=x) & \frac{1}{n} & \frac{1}{n} & \frac{1}{n} & \frac{n-3}{n} \\ \hline \end{array}

7(c)

1. Evaluate the probability distribution of $X$ for $n=10$.

From part (b), the probability distribution for XX is:
P(X=0)=1n=110=0.1P(X=0) = \frac{1}{n} = \frac{1}{10} = 0.1
P(X=1)=1n=110=0.1P(X=1) = \frac{1}{n} = \frac{1}{10} = 0.1
P(X=2)=1n=110=0.1P(X=2) = \frac{1}{n} = \frac{1}{10} = 0.1
P(X=3)=n−3n=710=0.7P(X=3) = \frac{n-3}{n} = \frac{7}{10} = 0.7

2. Calculate the expectation, variance, and standard deviation of $X$.

E(X)=0(0.1)+1(0.1)+2(0.1)+3(0.7)=2.4E(X) = 0(0.1) + 1(0.1) + 2(0.1) + 3(0.7) = 2.4
E(X2)=02(0.1)+12(0.1)+22(0.1)+32(0.7)=6.8E(X^2) = 0^2(0.1) + 1^2(0.1) + 2^2(0.1) + 3^2(0.7) = 6.8
Var(X)=E(X2)−[E(X)]2=6.8−2.42=1.04\text{Var}(X) = E(X^2) - [E(X)]^2 = 6.8 - 2.4^2 = 1.04
σ=1.04≈1.0198\sigma = \sqrt{1.04} \approx 1.0198

3. Evaluate $P(X \le \sigma)$.

Since XX only takes discrete integer values,
P(X≤1.0198)=P(X=0)+P(X=1)P(X \le 1.0198) = P(X=0) + P(X=1)
=0.1+0.1=0.2= 0.1 + 0.1 = 0.2

Answer

0.2

7(d)

1. Determine the total revenue collected from a player for each possible value of $X$.

Let RR be the revenue collected per game.
If X=0X=0, the player wins on the first box and pays $5\char36{}5.
If X=1X=1, the player wins on the second box and pays $5+$3=$8\char36{}5 + \char36{}3 = \char36{}8.
If X=2X=2, the player wins on the third box and pays $5+$3+$2.50=$10.50\char36{}5 + \char36{}3 + \char36{}2.50 = \char36{}10.50.
If X=3X=3, the player loses after opening 33 empty boxes and pays $5+$3+$2.50=$10.50\char36{}5 + \char36{}3 + \char36{}2.50 = \char36{}10.50.

2. Set up the equation for the expected revenue.

From the probability distribution of XX found in (b), P(X=0)=1nP(X=0)=\frac{1}{n}, P(X=1)=1nP(X=1)=\frac{1}{n}, P(X=2)=1nP(X=2)=\frac{1}{n}, and P(X=3)=n−3nP(X=3)=\frac{n-3}{n}.
The expected revenue is:
E(R)=5(1n)+8(1n)+10.5(1n)+10.5(n−3n)\text{E}(R) = 5\left(\frac{1}{n}\right) + 8\left(\frac{1}{n}\right) + 10.5\left(\frac{1}{n}\right) + 10.5\left(\frac{n-3}{n}\right)
E(R)=5+8+10.5+10.5(n−3)n\text{E}(R) = \frac{5 + 8 + 10.5 + 10.5(n-3)}{n}
E(R)=23.5+10.5n−31.5n=10.5n−8n\text{E}(R) = \frac{23.5 + 10.5n - 31.5}{n} = \frac{10.5n - 8}{n}

3. Equate the expected revenue to the cost of the doll and solve for $n$.

Since one doll is either won or donated away in every game, the expected cost per game is always $10\char36{}10.
For Happie to make no profit and incur no loss, the expected revenue must equal the cost per game (E(R)=10\text{E}(R) = 10).
10.5n−8n=10\frac{10.5n - 8}{n} = 10
10.5n−8=10n10.5n - 8 = 10n
0.5n=80.5n = 8
n=16n = 16

Answer

n=16n = 16

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. 1[The volume of a cone of base radius rr and height hh is given by V=13πr2hV = \frac{1}{3}\pi r^2 h.] A manufacturer makes a…
  2. 2The sum of the first nn terms of a series is given by Sn=3n(n+2)S_n = 3n(n + 2). Show that this series follows an arithmetic pr…
  3. 3A drilling company plans to install a straight pipeline ABAB through a mountain. Points (x,y,z)(x, y, z) are defined relative…
  4. 4[Cambridge/9709/2010] The diagram shows parts of the curves y=9−x3y = 9 - x^3 and y=8x3y = \frac{8}{x^3} and their points o…
  5. 5The sum of the first nn terms of a series is given by Sn=3n(n+2)S_n = 3n(n + 2). Show that this series follows an arithmetic pr…