About the combination of tossing three dices

  • Context: Undergrad 
  • Thread starter Thread starter KFC
  • Start date Start date
  • Tags Tags
    Combination
Click For Summary
SUMMARY

The discussion centers on calculating the number of combinations of sums when tossing three dice, represented by the generating function (x + x^2 + x^3 + x^4 + x^5 + x^6)^3. The coefficient of the corresponding term indicates the total combinations for a given sum, such as 27 combinations for a sum of 10. The principles of generating functions are illustrated through simpler examples, such as flipping two coins, demonstrating how to derive the number of ways to achieve specific sums through polynomial expansion.

PREREQUISITES
  • Understanding of generating functions
  • Basic knowledge of polynomial expansion
  • Familiarity with combinatorial mathematics
  • Experience with algebraic expressions
NEXT STEPS
  • Study the application of generating functions in combinatorics
  • Explore polynomial multiplication techniques
  • Learn about the binomial theorem and its relation to generating functions
  • Investigate advanced combinatorial problems involving multiple dice
USEFUL FOR

Mathematicians, educators, students in combinatorics, and anyone interested in the mathematical principles behind probability and generating functions.

KFC
Messages
477
Reaction score
4
Tossing three dices, how many combination of the sum (from 3 to 18)? I just found a general expression to find out such combination, which is

(x + x^2 + x^3 + x^4 + x^5 + x^6)^3

the total combination of given sum for three dices is the coefficient of the corresponding term,

for example, for the sum 10, the total combination is 27, which is the coefficient of the 10th term (x^10).

I wonder how people find such expression? Why the combination is just the coefficient? Someone told me it is just a coincident, which is hard to convince me.
 
Physics news on Phys.org
This is a simple example of what's generally called a generating function.

Let's look at a simpler example. You flip two coins, for each flip you add 1 if you get heads, or 2 if you get tails. Now let's consider multiplication:

(x+x2)(x+x2).

Each term x+x2 is going to fill in for one coin flip. The power of x is going to be the value of the flip, 1 or 2. To count the number of ways that flips can add up to a 3, I need to pick a value of each coin flip independently so that everything adds up to 3. This is the same as picking a power of x in each parentheses so that the powers of x add up to 3, and then multiplying all the x's together. But when you expand, the way multiplication works to find the coefficient of x3 is exactly the same as counting how many ways there are to pick a power of x from each polynomial so that the powers add up to 3.

It's the same principle for the dice. To see how many ways there are for the dice to add up to 4, you have to pick a value for each die, which is the same as picking a power of x from each polynomial (x+x2...+x6). And when you multiply, the coefficient of x4 is exactly the number of ways to do this
 
Excellent explanation. Thanks a lot.

Office_Shredder said:
This is a simple example of what's generally called a generating function.

Let's look at a simpler example. You flip two coins, for each flip you add 1 if you get heads, or 2 if you get tails. Now let's consider multiplication:

(x+x2)(x+x2).

Each term x+x2 is going to fill in for one coin flip. The power of x is going to be the value of the flip, 1 or 2. To count the number of ways that flips can add up to a 3, I need to pick a value of each coin flip independently so that everything adds up to 3. This is the same as picking a power of x in each parentheses so that the powers of x add up to 3, and then multiplying all the x's together. But when you expand, the way multiplication works to find the coefficient of x3 is exactly the same as counting how many ways there are to pick a power of x from each polynomial so that the powers add up to 3.

It's the same principle for the dice. To see how many ways there are for the dice to add up to 4, you have to pick a value for each die, which is the same as picking a power of x from each polynomial (x+x2...+x6). And when you multiply, the coefficient of x4 is exactly the number of ways to do this
 
KFC said:
Tossing three dices ...

Very minor point - Dice is the plural of die, so one die, two dice. One mouse, two mice. One louse, two lice. One house, two houses. English is nothing if not inconsistent.
 
In other words, English is consistently inconsistent!
 
HallsofIvy said:
In other words, English is consistently inconsistent!

English has something of a fractal grammar. If you learn the rule, "plurals end with s" then you can form the correct plural for the majority of words and an understandable 'plural' for all. If you pick up the rule on -es as well you'll do much better. There are a number of semiregular endings as well: -us to -i, -um to -a, and -x to -en, for example; you'll make mistakes if you assume that this is always the case (octopus -> octopuses, not *octopi), but you'll improve on the whole. (Of course there's a recent trend to pluralize words with -us as -i even when this has not historically been acceptable in English... that's a different issue.) If you then learn the irregular or ablaut forms of a dozen common words you'll be that much better... etc.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
8K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
4
Views
5K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
8K