How to calculate probability in dicerolls?

  • Thread starter Stellaferox
  • Start date
  • Tags
    Probability
In summary: The results would be different in a probability calculation that tries to account for the fact that dice can be distinguished when they are rolled simultaneously. For example, if you were calculating the probability of getting a sum of the two dice to be equal to 7 or less, the result would be different based on whether or not you use data from (A) where player A is able to distinguish a 2,1 from a 1,2, or data from (B) where player B is unable to. However, if you were calculating the probability of getting a sum of the two dice to be equal to 7 or less regardless of whether or not player A is able to distinguish a 2,1 from a 1,2, or player B is able
  • #1
Stellaferox
16
0
How to calculate this certain probability in dicerolls?

Hi,

I am writing a game in which AT LEAST a 5 and 4 must be rolled with 2,3,4,5,6 and 7 dice. To calculate this probability I got stuck with the binomial formula nCk*p^k*q^(n-k).
I am looking for the formula that gives the solution to the question what this probability is.
I used a Monte Carlo simulation to check my formula but couldn't get close enough.
I used the formula nPk*p^k*q^(n-k), note the permutational formula, because a 5, then a 4 is different form a 4, then a 5...
On 7 dice the error was consistent but not to be overlooked.
How do I get to the right formula?
thanks for your help!
Marc
 
Last edited:
Physics news on Phys.org
  • #2
I'm not sure I understand what you're trying to find. You're rolling some set number of dice (2 to 7; call this number n) which I presume have six sides numbered one through six, and you want to find the probability of getting at least one to land on "4" and at least one other to land on "5"?

Is that right?

If so: there are 6^n results, of which 5^n have no 4s, 5^n have no 5s, and 4^n have neither 4s nor 5s. So there are 6^n - 5^n ways of rolling at least one 4, 6^n - 5^n ways of rolling at least one 5, and 6^n - 2 * 5^n + 4^n ways of rolling at least one of each. (The 4^n is added back on because otherwise we'd subtract off the case where neither a 4 nor a 5 is rolled twice.)

To get the probabilities, divide that by the number of outcomes. My results, to three decimal places:
2 5.56%
3 13.9%
4 23.3%
5 32.8%
6 41.8%
7 50.0%
 
  • #3
Hi CRGreathouse,

Yes, you understood the problem correctly and I thank you very much for your solution. This matches my Monte Carlo simulation results. The only thing is, how do I get the formula in "binomial" perspective to this problem. I thought of 1-P(no 5 AND no 4), this translated with a binomial formula would come to 1-(5/6^n)-(5/6^n)+(4/6^n), right?
thanks Marc
 
Last edited:
  • #4
Hi

This might not be the right place to add this question but it does involve dice rolls.

Suppose 2 six-sided dice are rolled in a game where a result of 1,6 is not distinguished from 6,1.

How would that be incorporated into a probability calculation?

E.g. a) What is the probability that the sum of the 2 dice is equal or less than 7
b) Is the probability of getting 2 sixes still 1/36 and if so how has the condition of 1,6 being the same for the game as 6,1 been incorporated into the calculation

Thanks
 
  • #5
If the first roll is a 6, there's only one way for the other die to come up to give a 7 or less. If the first roll is a 5, there are two ways to get a 7 or less. ... If the first roll is a 1, there are six ways to get a 7 or less.

Add these up and divide by 36.
 
  • #6
Thanks but I'm not sure you've met all the boundary conditions necessary in this special case.

The 2 dice dice are rolled simultaneously and not sequentially.


i.e. your calculation seems identical to the one where a 1 and 6 roll and a 6 and 1 are distinguishable

but suppose all dice are identical, surely they cannot be distinguished them when they are rolled simulataneously
and a result of 6,1 will look exactly the same as 1,6
 
  • #7
Deathless said:
but suppose all dice are identical, surely they cannot be distinguished them when they are rolled simulataneously
and a result of 6,1 will look exactly the same as 1,6

The result is exactly the same.
 
  • #8
Sorry, I haven't phrased my question very clearly.
Bear with me while I try again.

Player A has 2 dice. Player B has 1 dice. Dice are 6 sided,unbiased and identical. Both players record their throws in sets of 2 dice i.e. player B has to roll 2 dice one after another and records the results while player A rolls both dice simultaneously and records the results. The table shows their results. For simplicity I've not included values above 3 and excluded repetitions of the same result.

A......B
Throw.....Throw1; Throw 2
1,3......1,...3
2,3......2,...3
3,3......3,...3
1,2......1,...2
2,2......2,...2
1,1......1,...1
......3,...2
......2,...1


Whilst (B) is able to distinguish a 2,1 from a 1,2 (A) is unable to, hence his shorter table.

My query is - what implications are there for this difference
And
In which probability calculation would the result be different and in which will the result be the same if data is used from (A) and (B) separately.

Thanks in advance
 
  • #9
Deathless said:
In which probability calculation would the result be different and in which will the result be the same if data is used from (A) and (B) separately.

If you distinguish "1, 2" from "2, 1", the possibilities are:
"1, 2": 1/36
"2, 1": 1/36
"1, 2" or "2, 1": 1/36 + 1/36 = 1/18

If you don't, there's a 1/18 chance of rolling a 1 and a 2. It's the same result. The dice don't know if you can tell them apart or not. The dice don't know what order they're rolled in.
 
  • #10
CRGreathouse said:
If you distinguish "1, 2" from "2, 1", the possibilities are:
"1, 2": 1/36
"2, 1": 1/36
"1, 2" or "2, 1": 1/36 + 1/36 = 1/18

If you don't, there's a 1/18 chance of rolling a 1 and a 2. It's the same result. The dice don't know if you can tell them apart or not. The dice don't know what order they're rolled in.

Yes, I understand all that but what I'm asking is still different.

I am trying to figure in what probability calculation would the difference in (A) and (B)'s data (as in my previous post) be significant and if so why.
 

1. How do I calculate the probability of rolling a specific number on a single die?

To calculate the probability of rolling a specific number on a single die, you need to know the total number of possible outcomes and the number of desired outcomes. The probability is then calculated by dividing the number of desired outcomes by the total number of possible outcomes. For example, the probability of rolling a 3 on a single die is 1/6, because there are 6 possible outcomes (1, 2, 3, 4, 5, 6) and only 1 desired outcome (3).

2. How do I calculate the probability of rolling a combination of numbers on multiple dice?

To calculate the probability of rolling a combination of numbers on multiple dice, you need to know the total number of possible outcomes and the number of desired outcomes. The probability is then calculated by dividing the number of desired outcomes by the total number of possible outcomes. For example, the probability of rolling a 7 on two dice is 6/36, because there are 36 possible outcomes (6 x 6) and only 6 desired outcomes (1+6, 2+5, 3+4, 4+3, 5+2, 6+1).

3. What is the difference between theoretical probability and experimental probability in dicerolls?

Theoretical probability is the probability calculated based on mathematical principles, while experimental probability is the probability calculated based on the results of actual experiments or trials. In dicerolls, theoretical probability can be calculated by knowing the total number of possible outcomes and the number of desired outcomes, while experimental probability is calculated based on the actual number of times the desired outcome occurred in a series of trials.

4. How can I use probability to predict the outcome of a diceroll?

Probability can be used to predict the outcome of a diceroll by calculating the theoretical probability and comparing it to the experimental probability. If the two probabilities are similar, then it is likely that the predicted outcome will occur. However, it is important to keep in mind that probability is not a guarantee and the actual outcome of a diceroll may still be different.

5. Can probability be used to cheat in dicerolls?

No, probability cannot be used to cheat in dicerolls. Probability is simply a measure of how likely an event is to occur and does not guarantee a specific outcome. Dicerolls are based on chance and randomness, and while understanding probability can help in predicting outcomes, it cannot be used to manipulate the results.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
2
Replies
41
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
9
Views
408
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
15
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
Back
Top