The Straight Dope

Go Back   Straight Dope Message Board > Main > General Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2012, 11:43 AM
ricksummon ricksummon is online now
Guest
 
Join Date: Apr 2000
Dice Probability

On the MathWorld site, it gives a formula for calculating the probability of rolling a total of p on n dice with s sides each. It starts by saying the number of possible ways to roll this total is the coefficient of the x^p term in the multinomial:

(x + x^2 + ... + x^s)^n

The rest of the article is simply about how to calculate this multinomial coefficient using a number of binomial coefficients. But it doesn't elaborate on why the multinomial coefficient itself is the correct answer, treating it as self-evident. However, it doesn't seem obvious to me. How can we prove that this is the case?
__________________
"Look, if I argue with you, I must take up a contrary position."
"Yes, but that isn't just saying 'No, it isn't!'"
"Yes, it is!"
"No, it isn't!"
Reply With Quote
Advertisements  
  #2  
Old 08-18-2012, 01:06 PM
Indistinguishable Indistinguishable is offline
Guest
 
Join Date: Apr 2007
Consider what happens when you distribute out the calculation of (some sum of powers of x) * (some sum of powers of x) * ... * (some sum of powers of x).

Each way of choosing one term (i.e., one power of x) from each factor contributes 1 to the coefficient of xr, where r is the sum of the powers you chose.

Thus, the overall coefficient of xr is the total number of ways to choose one term from each factor with powers that add up to r.

In your particular case, each of the n factors corresponds to a particular die, with the s terms in each factor corresponding to the possible outcomes for that die.

Last edited by Indistinguishable; 08-18-2012 at 01:09 PM.
Reply With Quote
  #3  
Old 08-18-2012, 04:05 PM
ultrafilter ultrafilter is offline
Guest
 
Join Date: May 2001
This is an application of what's known as generating functions, which are pretty slick. A good introductory combinatorics/discrete math book will have a section on generating functions, and there's a lot more out there.

Last edited by ultrafilter; 08-18-2012 at 04:06 PM.
Reply With Quote
  #4  
Old 08-18-2012, 04:17 PM
Lance Turbo Lance Turbo is offline
Guest
 
Join Date: Aug 1999
Quote:
Originally Posted by ricksummon View Post
How can we prove that this is the case?
A fairly straightforward induction argument will do the trick. I can supply it upon request.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Send questions for Cecil Adams to: cecil@chicagoreader.com

Send comments about this website to: webmaster@straightdope.com

Terms of Use / Privacy Policy

Advertise on the Straight Dope!
(Your direct line to thousands of the smartest, hippest people on the planet, plus a few total dipsticks.)

Publishers - interested in subscribing to the Straight Dope?
Write to: sdsubscriptions@chicagoreader.com.

Copyright © 2013 Sun-Times Media, LLC.