255 views

3 Answers

2 2 votes

 



By the reasoning above, we can express $E[X]$ in a recursive fashion and solve for it.

$$
\begin{aligned}
E[X] & =\frac{1}{6} \cdot 1+\frac{5}{6}(E[X]+1) \\\\
&=\frac{1}{6}+\frac{5}{6}+\frac{5}{6} E[X] \\\\
\Rightarrow \frac{1}{6} E[X] & =1 \\\\
E[X] & =6
\end{aligned}
$$

0 0 votes

Approach 1: First Principles (Law of Total Expectation / Recursive Method)

Let $E$ be the expected (average) number of rolls required to get a $5$.

When we roll the fair $6$-sided die for the first time, there are two mutually exclusive scenarios:

  1. We roll a 5:
  • Probability: $P(\text{Rolling } 5) = \frac{1}{6}$
  • Number of rolls taken: $1$
  1. We do not roll a 5: (we roll a $1, 2, 3, 4,$ or $6$)
  • Probability: $P(\text{Not rolling } 5) = \frac{5}{6}$
  • Number of rolls taken: $1$ roll is spent, and due to the memoryless property of independent die rolls, the expected number of remaining rolls required resets back to $E$. Thus, total expected rolls in this branch is $(1 + E)$.

Setting up the equation using the Law of Total Expectation:

$$E = \left(\frac{1}{6} \times 1\right) + \left(\frac{5}{6} \times (1 + E)\right)$$

Now, let's solve for $E$:

$$E = \frac{1}{6} + \frac{5}{6} + \frac{5}{6}E$$

$$E = 1 + \frac{5}{6}E$$

Subtract $\frac{5}{6}E$ from both sides:

$$E - \frac{5}{6}E = 1$$

$$\frac{1}{6}E = 1$$

$$E = 6$$


Approach 2: Using Geometric Distribution Framework

Let $X$ be a discrete random variable representing the number of independent trials (rolls) until the first success (getting a $5$).

  • Success event ($S$): Rolling a $5 \implies p = \frac{1}{6}$
  • Failure event ($F$): Rolling any other number $\implies q = 1 - p = \frac{5}{6}$

Since each roll is independent and has a constant probability of success, $X$ follows a Geometric Distribution:

$$X \sim \text{Geometric}\left(p = \frac{1}{6}\right)$$

The probability mass function (PMF) for the number of trials up to and including the first success is given by:

$$P(X = k) = q^{k-1}p = \left(\frac{5}{6}\right)^{k-1}\left(\frac{1}{6}\right) \quad \text{for } k = 1, 2, 3, \dots$$

The expected value $E[X]$ of a geometric random variable is defined as:

$$E[X] = \sum_{k=1}^{\infty} k \cdot P(X = k) = \frac{1}{p}$$

Substituting our value of $p$:

$$E[X] = \frac{1}{\frac{1}{6}} = 6$$

Correct Answer:

The expected number of rolls until he gets a $5$ is $6$.

Answer:
Position:
Show:

Related questions

2 2 votes
2 2 answers
228
228 views
GO Classes asked Apr 11
228 views
The following is the probability distribution for a random variable, $X$.$$\begin{array}{c|c}k & P(X = k) \\\hline0 & 0.3 \\1 & 0.5 \\2 & 0.1 \\3 & 0.1\end{array}$$What i...
3 3 votes
3 3 answers
288
288 views
GO Classes asked Apr 11
288 views
Let $x$ be a random variable possessing the probability density function$$f(x)= \begin{cases}c x & , x \in[0,10] \\\\ 0 & , \text { otherwise }\end{cases}$$where $c \in \...
3 3 votes
2 2 answers
226
226 views
GO Classes asked Apr 11
226 views
Let $X$ be a random variable that takes values from $0$ to $9$ with equal probability $\frac{1}{10}$. Define the random variable $Y=X \bmod 3$. Calculate $P(Y=0)+P(Y=1)$....
2 2 votes
2 2 answers
209
209 views
GO Classes asked Apr 11
209 views
Suppose $X$ is the number of dust storms that occur on Mars next year. Assume that $X$ is a discrete uniform random variable that takes one of the $101$ values in the ran...