Probability of rolling a sum of 20

In summary: Is it just me, or is this a strangely worded problem? :uhh:In summary, the probability that the sum of five rolls of a fair die is 20 can be solved using the principle of inclusion and exclusion. By considering the number of ways to distribute 20 identical objects into 5 labeled containers with a range of 1 to 6 objects in each container, it can be determined that the probability is 651/7776. This is calculated by subtracting the number of solutions that do not satisfy the condition of having 7 or more objects in a container from the total number of solutions, and then adding back in the number of solutions that satisfy the condition twice.
  • #1
psilentist
4
0

Homework Statement


If you roll a fair die 5 times, what is the probability that the sum of the five rolls is 20?


Homework Equations





The Attempt at a Solution


I know the sample space is all possible permutations of 1 to 6 taken five at a time with repetition, which is 6^5 = 7776.

And I know this can be done with the principle of inclusion and exclusion.

The problem can be seen as distributing 20 identical objects into 5 labeled containers such that each has between 1 and 6 (inclusive) objects.

This reduces to distributing 15 objects such that each container has 0 to 5 (inclusive) objects.

So using PIE, the base set is all solutions to 15 objects into five labeled containers, C(15 + 5 - 1, 15), and the condition is that a container has 6 or more objects.

There are C(5, 1) = 5 ways the condition can be satisfied once, and in each case there are C(10 + 5 - 1, 10) solutions.

There are C(5, 2) = 10 ways the condition can be satisfied twice, and in each case there are C(5 + 5 - 1, 5) solutions.

So the answer should be [C(15 + 5 - 1, 15) - 5*C(10 + 5 - 1, 10) + 10*C(5 + 5 - 1, 5)]/7776 = 131/7776.

But the book says 651/7776.

Can anyone see a problem with what I'm doing?
 
Physics news on Phys.org
  • #2
Welcome to PF!

Hi psilentist ! Welcome to PF! :smile:
psilentist said:
The problem can be seen as distributing 20 identical objects into 5 labeled containers such that each has between 1 and 6 (inclusive) objects.

No … why do you think that? :confused:

Hint: 20 = 5 x 4.

So count the number of ways of making 20 with exactly five 4s,

plus the number of ways of making 20 with exactly three 4s,

plus the number of ways of making 20 with exactly two 4s,

plus the number of ways of making 20 with exactly one 4. :smile:
 
  • #3
How many sums with exactly one 4?

I started working through the problem as you suggested, but it becomes pretty painful counting the possible combinations with exactly one 4.

Permutations of 1 3 6 6, 2 2 6 6, 5 3 2 6, etc... With that many, how can you be sure you're covering all of them? And what if the 5 dice actually had 25 sides?, and we were looking at the probability of them summing to 65? There has to be a better way - a formula.

And this is from the chapter on the Principle of Inclusion and Exclusion.

If a set (the solutions to the problem of x1 + x2 + x3 + x4 + x5 = 15) has size N, and conditions ci, i from 1 to 5 (xi >= 5), the number of elements of S that satisfy none of the conditions ci (0 <= xi <= 5) can be found from:

N - [N(c1) + N(c2) + N(c3) + ... + N(c5)] + [N(c1c2) + N(c1c3) + ... + N(c4c5)] - [N(c1c2c3) + ...

Do you still think I'm on the wrong track?
 
  • #4
oops... ci is x >= 6
 
  • #5
tiny-tim said:
So count the number of ways of making 20 with exactly five 4s, ...
Tiny-time! You missed one possibility: :smile:

plus the number of ways of making 20 with exactly zero 4s. :smile:
 
  • #6
Hi psilentist! :smile:
First … I've just noticed that I cut off the last line in my last post, which should be:
plus the number of ways of making 20 with no 4s.​

Sorry! :redface:
psilentist said:
I started working through the problem as you suggested, but it becomes pretty painful counting the possible combinations with exactly one 4.

Permutations of 1 3 6 6, 2 2 6 6, 5 3 2 6, etc... With that many, how can you be sure you're covering all of them?

Well, apart from 3355, and all the permutations, that is all with exactly one 4. :smile:
And what if the 5 dice actually had 25 sides?, and we were looking at the probability of them summing to 65? There has to be a better way - a formula.

25 sides … we'd probably need a computer!

Sorry, but there simply isn't a formula for everything.

There may be a PIE method, but I honestly can't see what it is.

EDIT: Thanks DH! … you just beat me to it!

erm … can you see a PIE method?
 
  • #7
[solved]

Okay, I realized what I was doing wrong.

I had the right approach, but the condition we need to satisfy in order to use PIE is that each container contains GREATER THAN 6 objects, not greater than 5. That is, the die roll is greater than 6. (Then, by applying PIE, we find all solutions that do NOT satisfy the condition, i.e., the rolls are less than or equal to 6.)

So using PIE, the base set is all solutions to 15 objects into five labeled containers, C(15 + 5 - 1, 15), and the condition is that a container has 7 or more objects.

There are C(5, 1) = 5 ways the condition can be satisfied once, and in each case there are C(9 + 5 - 1, 9) solutions (take six objects from the 15, and place in one container).

There are C(5, 2) = 10 ways the condition can be satisfied twice, and in each case there are C(3 + 5 - 1, 3) solutions (subtract 6 again).

So the answer should be [C(15 + 5 - 1, 15) - 5*C(9 + 5 - 1, 9) + 10*C(3 + 5 - 1, 3)]/7776 = 651/7776, which agrees with my textbook.
 

Related to Probability of rolling a sum of 20

1. What is the probability of rolling a sum of 20 with two six-sided dice?

The probability of rolling a sum of 20 with two six-sided dice is 3.33%. This can be calculated by dividing the number of combinations that result in a sum of 20 (3) by the total number of possible combinations (36).

2. How does the probability change if three six-sided dice are rolled instead of two?

The probability of rolling a sum of 20 with three six-sided dice is 3.70%. This can be calculated by dividing the number of combinations that result in a sum of 20 (6) by the total number of possible combinations (216).

3. Is it more likely to roll a sum of 20 with two six-sided dice or with a single twelve-sided die?

It is more likely to roll a sum of 20 with a single twelve-sided die. The probability of rolling a sum of 20 with a single twelve-sided die is 8.33%, while the probability of rolling a sum of 20 with two six-sided dice is only 3.33%.

4. What is the probability of rolling a sum of 20 if the dice are loaded?

The probability of rolling a sum of 20 with loaded dice cannot be accurately determined without knowing the specific weight distribution of the dice. However, in general, loaded dice will have a higher probability of rolling certain numbers, so the probability of rolling a sum of 20 may be higher than the calculated value for fair dice.

5. How does the probability of rolling a sum of 20 change if one of the dice is a different size or shape?

The probability of rolling a sum of 20 will change depending on the size and shape of the dice. For example, if one of the dice is a twenty-sided die and the other is a six-sided die, the probability will be higher than if both dice were six-sided. This is because the range of numbers that can be rolled is larger with a twenty-sided die, increasing the chances of getting a sum of 20. The exact probability will depend on the specific size and shape of the dice.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
21
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
679
  • Nuclear Engineering
Replies
7
Views
708
  • Engineering and Comp Sci Homework Help
Replies
2
Views
969
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
11
Views
2K
  • Calculus and Beyond Homework Help
Replies
19
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
878
Back
Top