Probability: twice the same number

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary

Discussion Overview

The discussion revolves around calculating the probabilities associated with a game involving rolling a dice until a number appears twice. Participants explore the random variable $X$ that represents the points scored based on the number of rolls required to achieve this outcome. The scope includes mathematical reasoning and probability calculations for various cases.

Discussion Character

  • Mathematical reasoning
  • Exploratory
  • Debate/contested

Main Points Raised

  • One participant calculates $P(X=2)$ as $\frac{6}{36}$ based on the outcomes of rolling a dice twice.
  • Another participant questions the calculation for $P(X=3)$, suggesting it should be $60$ favorable results instead of $30$, as the last roll can match either of the previous two rolls.
  • A participant identifies a pattern in the probabilities, proposing a general formula for $P(X=k)$ based on the number of dice rolled.
  • Concerns are raised about a table of probabilities that does not sum to 1, leading to discussions about its correctness.
  • Participants express uncertainty about whether the table is incorrect in general or just for the specific example discussed.
  • There is a discussion about the numerators in the probability table, with one participant noting a lack of an obvious pattern and referencing binomial coefficients.

Areas of Agreement / Disagreement

Participants generally agree on the need to calculate probabilities for each case, but there is disagreement regarding the correctness of specific calculations and the validity of a probability table presented. The discussion remains unresolved regarding the accuracy of the table and the patterns in the numerators.

Contextual Notes

Some calculations depend on assumptions about the outcomes of rolling dice, and there are unresolved questions about the total probabilities summing to 1. The discussion also highlights the complexity of deriving a general formula for the probabilities.

mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

We consider the following game:
We can roll a dice until a number appears twice. We can then write down as many points as the times that we rolled the dice.

Let $X$ be the random variable that describes the points that we get at each game. I want to calculate the probabilities $P(X=x_i)$, where $x_i\in \{2,3,4,5,6,7\}$.

We have the following:

  1. $P(X=2)$ is the probability that we get $2$ points, i.e. that we roll twice a dice and get the same result.

    When we roll a dice twice, we get the set $\Omega = \{ (a\mid b) \mid a,b \in \{1,2,3,4,5,6\} \}$ and so the number of possible results is equal to $6\cdot 6=36$.

    $6$ of these $36$ possible results have twice the same number.

    So we get the probability $P(X=2)=\frac{6}{36}$.
  2. $P(X=3)$ is the probability that we get $3$ points, i.e., we roll three times a dice and a number appears twice and the second time is at the third place.

    When we roll a dice three times, we get the set $\Omega = \{ (a\mid b\mid c) \mid a,b,c \in \{1,2,3,4,5,6\} \}$ and so the number of possible results is equal to $6\cdot 6 \cdot 6= 216$.

    The favorable results are contained in the set $M=\{ (a\mid b\mid c) \mid a,b,c \in \{1,2,3,4,5,6\} , a\neq b, c=a \text{ oder } c=b\}$, right?

    So $M$ contains $6\cdot 5= 30$ favorable results, or not?

    So, we have $30$ favorable results.

    Therefore, the probability is $P(X=3)=\frac{30}{216}$.
  3. $P(X=4)$ is the probability that we get $4$ points, i.e., we roll four times a dice and a number appears twice and the second time is at the $4$th place.

    When we roll a dice four times, we get the set $\Omega = \{ (a\mid b\mid c\mid d) \mid a,b,c,d \in \{1,2,3,4,5,6\} \}$ and so the number of possible results is equal to $6\cdot 6 \cdot 6\cdot 6= 1296$.

    The favorable results are contained in the set $M=\{ (a\mid b\mid c\mid d) \mid a,b,c,d \in \{1,2,3,4,5,6\} , a\neq b\neq c, d=a \text{ or } d=b \text{ or } d=c\}$.

    So $M$ contains $6\cdot 5 \cdot 4\cdot 3= 360$ favorable results.

    Therefore, the probability is $P(X=4)=\frac{360}{1296}$.
Is everything correct so far? Do I continue in the same way for the remaining cases? (Wondering)
 
Physics news on Phys.org
mathmari said:
The favorable results are contained in the set $M=\{ (a\mid b\mid c) \mid a,b,c \in \{1,2,3,4,5,6\} , a\neq b, c=a \text{ oder } c=b\}$, right?

So $M$ contains $6\cdot 5= 30$ favorable results, or not?

Hey mathmari!

Shouldn't that be $6\cdot 5 \cdot 2 = 60$ favorable results?
After all, dice c can be either equal to a or to c, can't it?

mathmari said:
Is everything correct so far? Do I continue in the same way for the remaining cases?

Yes, we can continue for the remaining cases. (Nod)

I do see a pattern. Note that the first dice can be anything, each following dice must be different from the previous ones, except the last, which can be any of the $(k-1)$ preceding dice.
So that:
$$P(X=k) = \frac{\overbrace{\Big(6\cdot ... \cdot (8-k)\Big)}^{k-1\text{ dice}} \cdot (k-1)}{6^k}$$
(Thinking)
 
I like Serena said:
Note that the first dice can be anything, each following dice must be different from the previous ones, except the last, which can be any of the $(k-1)$ preceding dice.
So that:
$$P(X=k) = \frac{\overbrace{\Big(6\cdot ... \cdot (8-k)\Big)}^{k-1\text{ dice}} \cdot (k-1)}{6^k}$$
(Thinking)

I understand that pattern! (Nerd) But I saw now the following table:

View attachment 7864

Can this table be correct? In this table we don't have that pattern. (Wondering)
 

Attachments

  • table.JPG
    table.JPG
    61.3 KB · Views: 103
mathmari said:
I understand that pattern! (Nerd)

Good! (Happy)

mathmari said:
But I saw now the following table:

Can this table be correct? In this table we don't have that pattern.

Indeed. That table looks incorrect.
All probabilities must sum up to 1, which isn't the case in that table either. (Worried)
 
I like Serena said:
Indeed. That table looks incorrect.
All probabilities must sum up to 1, which isn't the case in that table either. (Worried)

So, that table is in general incorrect? Or just for this example? (Wondering)
 
mathmari said:
So, that table is in general incorrect? Or just for this example? (Wondering)

The table looks incorrect in general.
In theory it could still be correct, but only if the entries entries for 6 and 7 are unexpectedly high to compensate. (Nerd)
 
I like Serena said:
The table looks incorrect in general.
In theory it could still be correct, but only if the entries entries for 6 and 7 are unexpectedly high to compensate. (Nerd)

Ah ok! Do the numberators have a specific pattern? The denominators are of the form $6^k$. (Wondering)
 
mathmari said:
Ah ok! Do the numberators have a specific pattern? The denominators are of the form $6^k$.

Just the one that we've already found, which equals $\frac{6!\cdot (x_i-1)}{(7-x_i)!}$. (Thinking)
 
I like Serena said:
Just the one that we've already found, which equals $\frac{6!\cdot (x_i-1)}{(7-x_i)!}$. (Thinking)

Do you mean at the initial example or the fractions of the table of the picture? (Wondering)
 
  • #10
mathmari said:
Do you mean at the initial example or the fractions of the table of the picture?

Ah, you meant the numerators in the table. (Tmi)

I don't see an obvious pattern.
Since $34=2\cdot 17$, and since $61$ is prime, it's clear that some kind of OR operation would be involved, but I don't see which one could apply.
We might see the binomial coefficients $6,15,20,15,6,1$ in there, but those don't really add up either. (Thinking)
 
  • #11
I like Serena said:
Ah, you meant the numerators in the table. (Tmi)

I don't see an obvious pattern.
Since $34=2\cdot 17$, and since $61$ is prime, it's clear that some kind of OR operation would be involved, but I don't see which one could apply.
We might see the binomial coefficients $6,15,20,15,6,1$ in there, but those don't really add up either. (Thinking)

Ok, no problem.

Thank you very much for your help! (Smile)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
10
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K