Suppose that we roll a fair die until a 6

Anne Wacker

Anne Wacker

Answered question

2021-12-15

Suppose that we roll a fair die until a 6 comes up. 
1) What is the probability that we roll the die n times? 
2) What is the expected number of times we roll the die?

Answer & Explanation

Wendy Boykin

Wendy Boykin

Beginner2021-12-16Added 35 answers

1) If we roll a fair die, then we have 1 chance in 6 of rolling a six and 5 chances in 6 of not rolling a 6. 
P(6)=16 
P(Not 6)=56 
We keep rolling the die until a 6 comes up.
Let X be the number of rolls of the die. 
When we roll the die n times, then the first n1 rolls cannot be a 6, while the n-th roll has to be a 6: 
P(X=n)=(P(Not 6))n1P(6)=(56)n1×16 
Note: The variable X has a distribution that is based on geometry. p=16
2) The expected value of a random variable X with a geometric distribution is the reciprocal of the constant probability of success p=P(6) 
E(x)=1p=1P(6)=116=6

Heather Fulton

Heather Fulton

Beginner2021-12-17Added 31 answers

1) We would have to roll n1 numbers that are not 6 followed by a 6, so the probability is (56)n1(16) 
2) E(N)=n=1n(56)n1(16)=(16)(11(56))2=6
This is a nice answer since after 6 rolls we would expect to have rolled exactly one 6.

nick1337

nick1337

Expert2021-12-27Added 777 answers

1. If we roll the die n times (assuming n1 and the dice is 6-sided and fair), then we must roll n-1 "not 6" rolls followed by 1 "6" roll. The probability of that is:
(56)n1(16)1
2. We could roll the die any number of times from 1 to infinite. Consider a random variable R which is the number of rolls to roll a 6. We could determine the expected number in two ways:
i. We could say that R is a geometric RV with a chance of success of 16, so E(R)=1(16)=6
ii. We could show i. explicitly, using the formula for expected value:
E(R)=sSR(s)p(s)
=i=1(i)((56)i1(16)1)
=16(i=1(i)((56)i1)
This summation takes the form
i=1(i)(ri1), where |r|<1
i=1(i)(ri1)=i=1ddr(ri)
=ddri=1(ri)
=ddr11r (since |r|<1)
=1(1r)2
Let r=56(|r|=56<1.) Then,
E(R)=16(1(156)2)
E(R)=6
Either way, we get the same answer: 6 rolls.

alenahelenash

alenahelenash

Expert2023-05-28Added 556 answers

1) To find the probability of rolling the die n times until a 6 comes up, we can use geometric probability. The probability of rolling any number other than 6 in a single roll is 56, and since the rolls are independent, we can use the geometric probability formula.
The probability of rolling the die n times until a 6 comes up is given by:
P(n)=(56)n1·16
2) To find the expected number of times we roll the die until a 6 comes up, we can use the concept of expected value. The expected value, denoted as E(X), is the sum of all possible values of a random variable X multiplied by their respective probabilities.
In this case, the random variable X represents the number of rolls until a 6 comes up. We have already determined the probability of rolling the die n times, so we can use that to calculate the expected value.
The expected number of times we roll the die is given by:
E(X)=n=1n·P(n)
Substituting the probability expression from part 1, we can write:
E(X)=n=1n·(56)n1·16
To simplify this expression, we can differentiate the geometric series formula n=0xn=11x with respect to x:
ddx(n=0xn)=ddx(11x)
This gives us:
n=1nxn1=1(1x)2
Now, differentiating both sides with respect to x again:
n=1n(n1)xn2=2(1x)3
Multiplying both sides by x:
n=1n(n1)xn1=2x(1x)3
Finally, substituting x=56, we get the simplified expression for the expected value:
E(X)=2·56(156)3
Simplifying further:
E(X)=125
Therefore, the expected number of times we roll the die until a 6 comes up is 125.
star233

star233

Skilled2023-05-28Added 403 answers

Answer:
6
Explanation:
1) The probability of rolling the die exactly n times before obtaining a 6 can be calculated using geometric probability. In each roll, the probability of not rolling a 6 is 56 (since the die is fair). Therefore, the probability of rolling the die n times and obtaining a 6 on the nth roll is given by:
P(X=n)=(56)n1·16
Here, X represents the number of rolls required to obtain a 6.
2) The expected value or expected number of times we roll the die can be found by summing the product of each possible number of rolls and their respective probabilities. Mathematically, it is given by:
E(X)=n=1n·P(X=n)
To calculate the expected value, we can rewrite it as:
E(X)=n=1n·(56)n1·16
To simplify the calculation, we can use the formula for the sum of an infinite geometric series:
E(X)=16n=1n·(56)n1
The sum on the right side of the equation can be evaluated using the formula:
n=1n·xn1=1(1x)2
Substituting x=56, we have:
E(X)=16·1(156)2
Simplifying further, we get:
E(X)=16·62=6
Therefore, the expected number of times we roll the die before obtaining a 6 is 6.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in High school probability

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?