Tossing a die till a number recurs.

  • Thread starter Thread starter peripatein
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around a probability problem involving the repeated tossing of a die until a number recurs. The original poster seeks to confirm their derived probabilities for the random variable X, which represents the number of tosses until a repeat occurs.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the correctness of the original poster's probability calculations for various values of X. There are questions about the assumptions underlying these calculations, particularly regarding the probabilities associated with the first and second tosses.

Discussion Status

Some participants affirm the original poster's calculations, while others express confusion and suggest alternative interpretations. There is a recognition of the need for a general formula, with some participants exploring recursive strategies for deriving probabilities.

Contextual Notes

Participants note the challenge of deriving a general formula for P(X) and discuss the implications of different assumptions about the toss outcomes. There is an acknowledgment of the complexity involved in establishing a comprehensive solution.

peripatein
Messages
868
Reaction score
0
Hi,
I would like to confirm my answer to the following question in Statistics. Hopefully one of you will be willing to provide some feedback.

Homework Statement


A die is tossed repeatedly, until a result (1-6) equal to one of the preceding results is obtained. For instance, (3,2,4,2) is a series of tosses halted at the fourth toss (as only after that toss has a number recurred). X denotes the number of tosses till 'success' is obtained. The question asks for the probability function of X.

Homework Equations



The Attempt at a Solution


I wasn't sure how to come up with a general formula for P(X), but I did manage to derive the following, which, hopefully, is correct:
P(X = 2) = 1/6
P(X = 3) = (5/6)(2/6) = 5/18
P(X = 4) = (5/6)(4/6)(3/6) = 5/18
P(X = 5) = (5/6)(4/6)(3/6)(4/6) = 5/27
P(X = 6) = (5/6)(4/6)(3/6)(2/6)(5/6) = 25/324
P(X = 7) = 5! / 6^5 = 5/324

Is it correct? How may I come up with a general formula for P(X)? I'd appreciate any comments and your assistance.
 
Last edited:
Physics news on Phys.org
I'm a novice here.

Wouldn't P(X = 2) = 1/6 * 1/6 = 1/36 ?
Since you have to toss 2 times and the result obtained in the second toss has to be the same as the first toss.
 
Ash L said:
I'm a novice here.

Wouldn't P(X = 2) = 1/6 * 1/6 = 1/36 ?
Since you have to toss 2 times and the result obtained in the second toss has to be the same as the first toss.

No, his numbers are correct. It doesn't matter what the first toss gives. Once it has been done, there is 1/6 probability of the second toss matching it
 
But you have a probability of 1 to obtain any number between 1-6, and then a probability of 1/6 to obtain the same number when you toss it the second time. That's my rationale in any case.
 
I didn't see your post, LCKurtz, when I wrote that. Sorry.
Are all the numbers in my answer correct, i.e. for all values of X? Moreover, is there a way to derive a general formula?
 
peripatein said:
I didn't see your post, LCKurtz, when I wrote that. Sorry.
Are all the numbers in my answer correct, i.e. for all values of X? Moreover, is there a way to derive a general formula?

No problem, that happens all the time. I worked it a different way and got the same answers you have. Dunno about a general formula. Do you really need one?
 
LCKurtz said:
No, his numbers are correct. It doesn't matter what the first toss gives. Once it has been done, there is 1/6 probability of the second toss matching it

Oh ok, I misread the question.
 
Possibly not, I simply presumed it might be feasible to derive one and work it out more elegantly by sheer substitution for X.
 
peripatein said:
Possibly not, I simply presumed it might be feasible to derive one and work it out more elegantly by sheer substitution for X.

It's easy enough to work out a recursive strategy. P(n) is the probability you haven't already stopped (so one minus the sum of the previous P(i)) times the probability of matching (n-1)/6.
 
  • #10
peripatein said:
I didn't see your post, LCKurtz, when I wrote that. Sorry.
Are all the numbers in my answer correct, i.e. for all values of X? Moreover, is there a way to derive a general formula?

Yes, they are correct. Your own pattern can be written as$$
P(X=k)=\frac{5!(k-1)}{6^{k-1}(7-k)!}$$for ##k=1..7##.
 

Similar threads

Replies
12
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 48 ·
2
Replies
48
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K