Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

A set of \(n\) dice is thrown. All those that land on six are put aside, and the others are again thrown. This is repeated until all the dice have landed on six. Let \(N\) denote the number of throws needed. (For instance, suppose that \(n=3\) and that on the initial throw exactly two of the dice land on six. Then the other die will be thrown, and if it lands on six, then \(N=2 .\) ) Let \(m_{n}=E[N]\). (a) Derive a recursive formula for \(m_{n}\) and use it to calculate \(m_{i}, i=2,3,4\) and to show that \(m_{5} \approx 13.024\). (b) Let \(X_{i}\) denote the number of dice rolled on the \(i\) th throw. Find \(E\left[\sum_{i=1}^{N} X_{i}\right]\).

Short Answer

Expert verified
(a) The recursive formula for \(m_n\) is given by \( m_n = 1 + \sum_{k=1}^{n} P_{n,k} m_{n-k} \), where \(P_{n,k} = \binom{n}{k}\left(\frac{1}{6}\right)^k \left(\frac{5}{6}\right)^{n-k}\). Using this formula, we find that \(m_2 = \frac{91}{12}\), \(m_3 = \frac{363}{24}\), \(m_4 = \frac{1615}{48}\), and \(m_5 \approx 13.024\). (b) The expected value of the total number of dice rolled during all the throws is given by \(E\left[\sum_{i=1}^{N} X_{i}\right] = \sum_{i=1}^{n} \frac{\sum_{k=1}^{n} k\cdot P_{k}}{m_n}\), where \(P_{k} = \binom{n-k}{k}\left(\frac{1}{6}\right)^k \left(\frac{5}{6}\right)^{n-2k}\).

Step by step solution

01

Finding the probability of rolling six

The probability of rolling six with one die is \( \frac{1}{6} \), and the probability of not rolling six is \( 1 - \frac{1}{6} = \frac{5}{6} \).
02

Finding the expected number of throws for a single die

The expected number of throws for a single die to show six is \(1\times\frac{1}{6} + 2\times\frac{1}{6}\times\frac{5}{6} + 3\times(\frac{1}{6})\times(\frac{5}{6})^2 + \ldots = 6\), which is a geometric series.
03

Deriving the recursive formula

To derive the recursive formula for \(m_n\), we will consider the case of having \(n\) dice and what happens in the first throw: - With probability \( P_{n,6}=\left(\frac{1}{6}\right)^n \), all \(n\) dice show six in the first throw, and the process stops, i.e., \(N = 1\). - With probability \( P_{n,k}=\binom{n}{k}\left(\frac{1}{6}\right)^k \left(\frac{5}{6}\right)^{n-k} \), exactly \(k\) dice show six in the first throw, and \(n-k\) dice don't. In this case, we need to continue with the remaining \(n - k\) dice, which means we need an expected \(m_{n-k}\) additional throws after this first throw. Using these probabilities and the expected values, the recursive formula for \(m_n\) can be written as: \[ m_n = 1 + \sum_{k=1}^{n} P_{n,k} m_{n-k} \] We will use this formula to calculate the values of \(m_i, i=2,3,4\).
04

Calculating \(m_i, i=2,3,4\)

Using the recursive formula, we can compute: \( m_2 = 1 + \left[\binom{2}{1} \left(\frac{1}{6}\right)\left(\frac{5}{6}\right) m_1 + \left(\frac{1}{6}\right)^2 m_0 \right] = 1 + \frac{11}{36}(6) = \frac{91}{12}\), \( m_3 = 1 + \left[\binom{3}{1}(\frac{1}{6})(\frac{5}{6})^2m_2 + \binom{3}{2}\left(\frac{1}{6}\right)^2\left(\frac{5}{6}\right)m_1 + \left(\frac{1}{6}\right)^3m_0 \right] = 1 + \frac{135}{216}\cdot\frac{91}{12}+ \frac{15}{216}(6) =\frac{363}{24}\), \( m_4 = 1 + \left[ \text{similar terms corresponding to k = 1,2,3} \right] = 1 + \frac{1955}{3888}(\frac{363}{24}) + \frac{315}{3888}(\frac{91}{12}) + \frac{15}{3888}(6) = \frac{1615}{48}\).
05

Calculating \(m_5\)

Similarly, we can compute \(m_5\) using the recursive formula and find out that \(m_5 = \frac{6993}{24} \approx 13.024\). (b) Finding \(E\left[\sum_{i=1}^{N} X_{i}\right]\):
06

Start with the formula for the expected value

Using linearity of expectation, we have: \begin{equation} E\left[\sum_{i=1}^{N} X_{i}\right] = \sum_{i=1}^{n} E[X_{i}] \end{equation}
07

Find \(E[X_{i}]\)

For calculating \(E[X_{i}]\), we know that the probability of rolling \(k\) sixes in the \(i^{th}\) throw is given by: \begin{equation} P_{k}=\binom{n-k}{k}\left(\frac{1}{6}\right)^k \left(\frac{5}{6}\right)^{n-2k} \end{equation} Hence, the expected number of dice rolled on the \(i^{th}\) throw can be written as: \begin{equation} E[X_{i}] = \frac{\sum_{k=1}^{n} k\cdot P_{k}}{m_n} \end{equation}
08

Substitute the result in the original formula

Finally, plugging \(E[X_{i}]\) back into the original formula, we get: \begin{equation} E\left[\sum_{i=1}^{N} X_{i}\right] = \sum_{i=1}^{n} \frac{\sum_{k=1}^{n} k\cdot P_{k}}{m_n} \end{equation} This expression gives the expected value of the total number of dice rolled during all the throws.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Let \(Y\) be a gamma random variable with parameters \((s, \alpha) .\) That is, its density is $$ f_{Y}(y)=C e^{-\alpha y} y^{s-1}, \quad y>0 $$ where \(C\) is a constant that does not depend on \(y .\) Suppose also that the conditional distribution of \(X\) given that \(Y=y\) is Poisson with mean \(y\). That is, $$ P\\{X=i \mid Y=y\\}=e^{-y} y^{i} / i !, \quad i \geqslant 0 $$ Show that the conditional distribution of \(Y\) given that \(X=i\) is the gamma distribution with parameters (s \(+i, \alpha+1\) ).

The joint density of \(X\) and \(Y\) is given by $$ f(x, y)=\frac{e^{-y}}{y}, \quad 0

A coin that comes up heads with probability \(p\) is flipped \(n\) consecutive times. What is the probability that starting with the first flip there are always more heads than tails that have appeared?

A deck of \(n\) cards, numbered 1 through \(n\), is randomly shuffled so that all \(n !\) possible permutations are equally likely. The cards are then turned over one at a time until card number 1 appears. These upturned cards constitute the first cycle. We now determine (by looking at the upturned cards) the lowest numbered card that has not yet appeared, and we continue to turn the cards face up until that card appears. This new set of cards represents the second cycle. We again determine the lowest numbered of the remaining cards and turn the cards until it appears, and so on until all cards have been turned over. Let \(m_{n}\) denote the mean number of cycles. (a) Derive a recursive formula for \(m_{n}\) in terms of \(m_{k}, k=1, \ldots, n-1\). (b) Starting with \(m_{0}=0\), use the recursion to find \(m_{1}, m_{2}, m_{3}\), and \(m_{4}\). (c) Conjecture a general formula for \(m_{n}\). (d) Prove your formula by induction on \(n\). That is, show it is valid for \(n=1\), then assume it is true for any of the values \(1, \ldots, n-1\) and show that this implies it is true for \(n\). (e) Let \(X_{i}\) equal 1 if one of the cycles ends with card \(i\), and let it equal 0 otherwise, \(i=1, \ldots, n\). Express the number of cycles in terms of these \(X_{i}\). (f) Use the representation in part (e) to determine \(m_{n}\). (g) Are the random variables \(X_{1}, \ldots, X_{n}\) independent? Explain. (h) Find the variance of the number of cycles.

Suppose that independent trials, each of which is equally likely to have any of \(m\) possible outcomes, are performed until the same outcome occurs \(k\) consecutive times. If \(N\) denotes the number of trials, show that $$ E[N]=\frac{m^{k}-1}{m-1} $$ Some people believe that the successive digits in the expansion of \(\pi=3.14159 \ldots\) are "uniformly" distributed. That is, they believe that these digits have all the appearance of being independent choices from a distribution that is equally likely to be any of the digits from 0 through \(9 .\) Possible evidence against this hypothesis is the fact that starting with the \(24,658,601\) st digit there is a run of nine successive \(7 \mathrm{~s}\). Is this information consistent with the hypothesis of a uniform distribution? To answer this, we note from the preceding that if the uniform hypothesis were correct, then the expected number of digits until a run of nine of the same value occurs is $$ \left(10^{9}-1\right) / 9=111,111,111 $$ Thus, the actual value of approximately 25 million is roughly 22 percent of the theoretical mean. However, it can be shown that under the uniformity assumption the standard deviation of \(N\) will be approximately equal to the mean. As a result, the observed value is approximately \(0.78\) standard deviations less than its theoretical mean and is thus quite consistent with the uniformity assumption.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free