Dice Game: 6-sided die vs 20-sided die

  • Thread starter Thread starter Master1022
  • Start date Start date
  • Tags Tags
    Dice Game
Click For Summary

Homework Help Overview

The discussion revolves around a game involving a 20-sided die and three 6-sided dice, where the objective is to determine which player has a better chance of winning based on the rules of the game. Participants explore concepts of expectation, variance, and fairness in the context of probability distributions associated with the dice rolls.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the expected values and variances of the two different dice setups, questioning how these statistics relate to the fairness of the game. Some explore the implications of winning numbers and how they affect the probabilities for each player. Others consider the symmetry of the probability distributions and whether variance plays a role in determining an advantage.

Discussion Status

The conversation is ongoing, with various interpretations being explored regarding the fairness of the game and the significance of variance. Some participants have offered insights into the symmetry of the distributions, while others are questioning the implications of different winning conditions.

Contextual Notes

Participants are operating under the assumption that the dice are fair and are discussing the implications of different winning numbers on the probabilities. There is also mention of potential constraints if a third player were introduced into the game.

Master1022
Messages
590
Reaction score
116
Homework Statement
There is a game where one person rolls a 20-sided dice and another person rolls three 6-sided dice. They both roll their dice and whoever gets a sum of numbers wins the game. Which person would you rather be? Is it a fair game?
Relevant Equations
Expectation and variance
Hi,

I was taking a look at the following question.

Question: There is a game where one person rolls a 20-sided dice and another person rolls three 6-sided dice. They both roll their dice and whoever gets a higher number (for 20-sided die) OR sum of numbers (for three 6-sided dice) wins the game. Which person would you rather be? Is it a fair game? Assume the dice are all fair

Attempt:
I think the general concept is about looking at expectation and variance for both cases and then make a decision from there.

So for the person with the 20-sided die, the expectation and variance are given by:
E(\text{20 sided die}) = \frac{n + 1}{2} = \frac{21}{2} = 10.5
Var(\text{20 sided die}) = \frac{n^2 - 1}{12} = \frac{(20)^2 - 1}{12} = \frac{399}{12}

For the person with the three 6-sided dice:
E(\text{three 6 sided die}) = E(X_1 + X_2 + X_3) = 3 \cdot E(\text{one 6 sided die}) = 3 \cdot \frac{7}{2} = 10.5
Var(\text{three 6 sided die}) = Var(X_1 + X_2 + X_3) = 3 \cdot \frac{n^2 - 1}{12} = 3 \cdot \frac{(6)^2 - 1}{12} = \frac{35}{4}

Thus, both of the distributions have the same expected value/mean. Therefore, perhaps we would rather be the person who chooses the lower variance side, which is the three 6-sided die. Does that seem reasonable?

Also, what does the 'is the game fair' part mean? Is that basically asking if the mean and variance are the same? If so, then based on the calculations above, I would say the game isn't fair...

Any help would be greatly appreciated.
 
Last edited:
Physics news on Phys.org
It kind of depends on the number to win.If the number is 10 or 11, then
- the 1D20 has a 1-in-20 chance of winning
- the 3D6 have a 27-in-216 (1-in-12.5) chance of winning .

If the number is 3 or 18, then
- the 1D20 has a 1-in-20 chance of winning
- the 3D6 have a 1-in-216 chance of winning.

Heck, if the number is 1, the 3D6 has a zero chance of winning.

Or am I misunderstanding the rules?
 
DaveC426913 said:
It kind of depends on the number to win.

If the number is 3 (or 18), then
- the 1D20 has a 1:20 chance of winning
- the 3D6 have a 1:216 chance of winning.

Heck, if the number is 1, the 3D6 has a zero chance of winning.

Or am I mis-understanding the rules?
Hi @DaveC426913 , thanks for the reply! Sorry, I think there was a word missing from my original question. Basically, the person with the three 6-sided die adds up their 3 numbers and compares the sum to the 1 number from the person who rolled the 20-sided die. Then whichever number is higher wins the game.

Apologies - I hope this is more clear
 
Master1022 said:
whichever number is higher wins the game.
Ah.

There's a super-duper easy way to answer this question, but your teach might not like it.
 
  • Wow
Likes   Reactions: Master1022
DaveC426913 said:
Ah.

There's a super-duper easy way to answer this question, but your teach might not like it.
Does it have something to do with the fact that the 20-sided die has two cases which cannot be beaten by the other player (19 and 20)? Or should I continue thinking along the mean and variance line?
 
For both dice sets, the probability curve is symmetrical.

You could just as easily make the rule "whoever gets the lowest score wins" and you have the exact same problem with the exact same solution - just mirrored.

I could produce a graph of the probabilities and show them to you horizontally flipped or unflipped, and you would not be able to tell me which rule is applied.

Therefore, neither dice set can have an advantage.

Your teacher will not like this answer because it doesn't help you practice the math - although it might help you intuit and verify the math..
 
  • Like
  • Informative
Likes   Reactions: Master1022 and jbriggs444
DaveC426913 said:
For both dice sets, the probability curve is symmetrical.

You could just as easily make the rule "whoever gets the lowest score wins" and you have the exact same problem with the exact same solution - just mirrored.

I could produce a graph of the probabilities and show them to you horizontally flipped or unflipped, and you would not be able to tell me which rule is applied.

Therefore, neither dice set can have an advantage.
Okay thank you, I agree with regards to the symmetry. However, would the variance come into consideration if we had to choose one set with which to play the game?
 
Master1022 said:
Okay thank you, I agree with regards to the symmetry. However, would the variance come into consideration if we had to choose one set with which to play the game?
Both set of dice average 10.5. If the goal is to get the highest sum, then they are equal.
 
  • Like
Likes   Reactions: Master1022
Master1022 said:
However, would the variance come into consideration if we had to choose one set with which to play the game?
Not really. It would only indicate if you lost (won) a roll by a lot or a little. If the expected values are equal, then the game is fair.
 
  • Like
  • Informative
Likes   Reactions: Master1022 and phyzguy
  • #10
Note that my "solution" is off-topic for the Mathematics Homework forum (though it might be on-topic in a Mathematics or Logic forum).
 
  • #12
Master1022 said:
Okay thank you, I agree with regards to the symmetry. However, would the variance come into consideration if we had to choose one set with which to play the game?
Symmetry, not variance, is the key.
 
  • Wow
Likes   Reactions: Master1022
  • #13
DaveC426913 said:
Your teacher will not like this answer because it doesn't help you practice the math - although it might help you intuit and verify the math..
I'm not sure the student is supposed to crunch the numbers here, in terms of probability calculations. If anything, I'd do a computer simulation to check the symmetry argument.
 
  • #14
PeroK said:
I'm not sure the student is supposed to crunch the numbers here, in terms of probability calculations.
I guess. My solution bypass any math completely. Not sure if an elegant, intuitive proof is allowed.
PeroK said:
If anything, I'd do a computer simulation to check the symmetry argument.
You mean check that a D20 has a symmetrical distribution, and that 3D6 has a symmetrical distribution?
That's too trivial to warrant a simulation is it not? It's self-evident.
 
  • #15
DaveC426913 said:
I guess. My solution bypass any math completely. Not sure if an elegant, intuitive proof is allowed.

You mean check that a D20 has a symmetrical distribution, and that 3D6 has a symmetrical distribution?
That's too trivial to warrant a simulation is it not? It's self-evident.
Your solution is probably what is expected.

There's no harm in running a simulation just to confirm. Even just writing the code may give an insight into why the symmetry argument works.
 
  • Like
Likes   Reactions: jedishrfu
  • #16
When in doubt, write a program to figure it out.
 
  • Like
Likes   Reactions: Master1022, Dale and berkeman
  • #17
jedishrfu said:
When in doubt, write a program to figure it out.
Or use Excel... :smile:
 
  • Haha
Likes   Reactions: jedishrfu
  • #18
berkeman said:
Or use Excel... :smile:
Gloria in excel-sis deo!
 
  • Haha
Likes   Reactions: SammyS, jedishrfu and berkeman
  • #19
If you turn it into a three person game, variance becomes a useful heuristic and the d20 has an advantage.
 
  • Like
Likes   Reactions: PeroK
  • #20
jbriggs444 said:
If you turn it into a three person game, variance becomes a useful heuristic and the d20 has an advantage.
That depends on what the third player has, I imagine!
 
  • Like
Likes   Reactions: jbriggs444
  • #21
PeroK said:
That depends on what the third player has, I imagine!
Indeed. We might constrain the third player to a set of dice with an expectation of 10.5. Or to a choice between 3d6 and 1d20.
 
  • #22
jbriggs444 said:
Indeed. We might constrain the third player to a set of dice with an expectation of 10.5. Or to a choice between 3d6 and 1d20.
I see what you mean. The D20 player can't be worse, it seems. If the third player has a two-sided die showing 0 and 21, then the D20 and the 3xD6 are still equal.
 
  • #23
PeroK said:
I see what you mean. The D20 player can't be worse, it seems. If the third player has a two-sided die showing 0 and 21, then the D20 and the 3xD6 are still equal.
I think that against an intentionally sub-optimal and asymmetric third player with something like a 5, 5, 5, 6, 21, 21 that you can get an advantage with a symmetric low variance (3d6) over a symmetric high variance (1d20).
 
  • #24
jbriggs444 said:
I think that against an intentionally sub-optimal and asymmetric third player with something like a 5, 5, 5, 6, 21, 21 that you can get an advantage with a symmetric low variance (3d6) over a symmetric high variance (1d20).
I did a Python simulation and there seems to be a slight edge to D20 there. For simplicity I didn't count draws, only when one player won.

I can't immediately find any third option that gives 3D6 an advantage over D20.
 
  • #25
PS I assigned the third player a fixed score of everything from 1-20 and there is no score that creates an advantage for 3D6. The higher the number, the greater the advantage to D20.

Therefore, there is no combination of numbers for the third player that gives 3D6 an advantage.
 
  • Like
Likes   Reactions: jbriggs444
  • #26
PeroK said:
There's no harm in running a simulation just to confirm.
Here's a Python simulation with two players as in the original problem.
Python:
from random import choice

SixDie = [1, 2, 3, 4, 5, 6]
TwentyDie = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
SDTotal = 0
TDTotal = 0

NTrials = 1000000
for i in range(0, NTrials+1):
   SDScore = choice(SixDie) +  choice(SixDie) +  choice(SixDie)
   SDTotal += SDScore
   TDScore =  choice(TwentyDie)
   TDTotal += TDScore

print("Six dice average: ", {SDTotal / NTrials})
print("Twenty die average:  ", {TDTotal / NTrials})
Output with 1,000,000 trials is
Code:
Six dice average:  {10.501267}
Twenty die average:   {10.501052}
Running time in Python is about 8 seconds.
 
  • #27
The game is who wins the most; not the highest average. The average scores are clearly equal.

Anyway, if a third player is involved, then in general the 20-sided die is better than the three 6-sided dice - or, at least, no worse.
 
  • #28
PeroK said:
I did a Python simulation and there seems to be a slight edge to D20 there. For simplicity I didn't count draws, only when one player won.
I had forgotten that the aim was to see which was the winner. I edited my Python code to count wins, and saw a slight advantage for 1D20, likely for the reason already given, that for a 20-sided die, there are possible scores of 19 and 20 that can't be matched by three 6-sided dice.

If we modify the game with four 5-sided dice (no such Platonic solid exists, but never mind) vs. the 20-sided die, the four 5-sided dice have a clear advantage. Each has an expected value of 3, so the expected value of four of them would be 12, which is higher than the 10.5 expected value for the 20-sided die.
 
  • #29
Mark44 said:
I had forgotten that the aim was to see which was the winner. I edited my Python code to count wins, and saw a slight advantage for 1D20, likely for the reason already given, that for a 20-sided die, there are possible scores of 19 and 20 that can't be matched by three 6-sided dice.
By a symmetry argument the game is equal. The automatically winning scores of 19 and 20 are counterbalanced by the losing scores of 1 and 2. Likewise scores of 18 and 3 counterbalance etc.
 
  • Like
  • Informative
Likes   Reactions: Master1022 and pbuk
  • #30
PeroK said:
The game is who wins the most; not the highest average. The average scores are clearly equal.

Anyway, if a third player is involved, then in general the 20-sided die is better than the three 6-sided dice - or, at least, no worse.
Can you specify how the third player is involved? I am confused by this.
 
  • Like
Likes   Reactions: Master1022

Similar threads

Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 34 ·
2
Replies
34
Views
7K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K