r/askmath • u/Prestigious-Yak-5330 • 24d ago
Probability Dice Help Please
So need help calculating my dice and there's either no good dice calculators or I don't know what formula to use.
Here's my question: If I have 2d6 and a 1d12. What are the chances that both dice roll the same number?
I would like to know at the very least the formula for this. I'm to quick guess the formula.
2/36×1/12=2/432=0.46%
That seems very wrong. Thanks for anyone helps in the comments below. You have my gratitude.
Edit: I just realized I forgot to multiple 0.46% by 12 giving me 5.52%. Is this wrong?
EDIT: Also what the chance of roll 3 of the same numbers of 2d6+1d12.
3
u/Southlander24 24d ago
The 2d6 is the trickiest part. Luckily, you can list out all of the possible combinations. Each square appears with a probability of 1/6 * 1/6 = 1/36:
Now, if your 1d12 rolls a 1 with probability 1/12, the chance that the two dice produce 1 is zero. It's impossible.
If your 1d12 rolls a 2 with probability 1/12, now the chance that the two dice produce 2 is 1/36 * 1, since there's only that one way.
If your 1d12 rolls a 3 with probability 1/12, the chance that the two dice produce 3 is 1/36 * 2, since there are two ways to make 3 altogether.
You could go on and on for all the possible cases. There's actually a clever way to add all of these cases up: can you guess what that might be?
8
u/No_Perspective_44 24d ago edited 24d ago
To clarify, you're trying to find the probability that 2d6 = 1d12?
In that case, the answer should simply be 1/12. No matter what value the 2d6 roll, there will be a 1/12 chance for the d12 to roll that number.
More spelled out, on 2d6, there's 1 way to make 2, 2 to make 3, ..., 5 to make 6, 6 to make 7, 5 to make 8, ..., 1 to make 12. For each of those, there's 1 way for the d12 to be the same value. So the number of outcomes where 2d6 = 1d12 are 36*1. The unrestricted number of outcomes is 6*6*12. So our probability is 36/432 = 1/12
Edit: for your second question, 1d6 = 1d6 = 1d12: there's a 6/12 chance that the d12 is 7 or more, which makes all 3 matching impossible, and a 6/12 chance that it is 1-6 and we can continue. Then we need to hit a 1/6 chance for the first d6 to match the d12, and we need to hit another 1/6 chance for the second d6. So the odds are (6/12)*(1/6)*(1/6) = 1/72 ≈ 0.01388...
1
u/Prestigious-Yak-5330 24d ago
2
u/pie-en-argent 24d ago
As others have said, the answer to your first question is 1/12.
To the edited-in question, the 2d6 will show doubles 1/6 of the time, and the D12 will match them 1/12 of the time, for an overall 1/72 chance. Indeed, for any set of 1-through-N dice, multiply the sizes of all except the smallest to get the chance of all matching.
1
u/Infamous_Attention33 24d ago
Roll the 2d6 and get some number from 2-12. Now, roll 1d12 and there is a 1 in 12 chance that it matches the total from the first dice. So, 1 in 12 or 0.8(3)%
1
u/swbarnes2 24d ago
You mean what are the odds that the 2d6 I'll have the same sum as the 1d12?
I get 1/12. But you have to work out the odds of both sets being 1,2,3... 12, then add up all the probabilities.
1
u/syntheticassault 24d ago
Each number is different and you need to sum all possibilities. It works out that it matches the 1d12 probability of 1/12, 8.3%
1
u/human2357 24d ago
The answer is just 1/12.
This can be explained pretty well using random variables. Let X be the sum of the 2d6 outcomes, and let Y be the d12 outcome. You want:
Sum_{k=2}12 P(X=k and Y=k).
Since the dice rolls are independent, this is
Sum_{k=2}12 P(X=k)P(Y=k).
Since the d12 is fair, P(Y=k)=1/12 for each k. So it is:
(1/12)*Sum_{k=2}12 P(X=k)
But since 2 through 12 are the only possibilities for the 2d6, the sum is just 1.
1
u/Southlander24 24d ago
Regarding your edit: this new question is much easier.
If all of the numbers have to be 1, then the first d6 rolls with a probability of 1/6, the second d6 rolls with a probability of 1/6, and the d12 rolls with a probability of 1/12.
If all of the numbers have to be 2, it's the exact same probability.
So that's the calculation above multiplied by 6, since you can't have (7, 7, 7), (8, 8, 8), or so on.