Probability: Die roll until first number

  • Thread starter Thread starter stosw
  • Start date Start date
  • Tags Tags
    Probability Roll
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
stosw
Messages
19
Reaction score
0

Homework Statement



Roll a fair die until the first time you roll a '5' then stop. Let X be the number of times you rolled the die. What is the probability that X is divisible by 3?

Homework Equations



E[X] ?

The Attempt at a Solution



I honestly have no idea how to even approach this sort of thing. My first thought was either a bionomial or geometric series, but that could possibly be endless.

any sort of hints or suggestions would be great.
 
Physics news on Phys.org
Let's first start by figuring out the probabilities involved.

Can you find out [itex]P\{X=1\}[/itex]? (that is: the probability your first throw is a 5). What about [itex]P\{X=2\}[/itex]? (the probability that your first throw is not a five, but your second throw is). Can you find a general formula for [itex]P\{X=n\}[/itex]?
 
Find [itex]P(X = x)[/itex]. [itex]X[/itex] is divisible by [itex]3[/itex] if and only if [itex]X = 3k[/itex] for some integer [itex]k[/itex]. Therefore, the probability that [itex]X[/itex] is divisible by [itex]3[/itex] is given by [itex]\sum_{k=1}^{\infty} P(X = 3k)[/itex].