Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > General Gambling > Probability

Notices

Probability Discussions of probability theory

Reply
 
Thread Tools Display Modes
Old 01-25-2008, 01:00 AM   #1
adept
 
pureCra2z's Avatar
 
Join Date: May 2005
Location: from floating to sinking
Posts: 830
help me get extra credit

I cant figure out this bonus question for stats hw

How many terms are there for

(x+y+z)^80
pureCra2z is offline   Reply With Quote
Old 01-27-2008, 03:10 PM   #2
old hand
 
Join Date: Nov 2007
Location: Moved
Posts: 1,260
Re: help me get extra credit

This is the number of triples (a,b,c) such that a+b+c = 80, with a b and c at least 0. When you have a pair (a,b) of sum at most 80, you have only (exactly) 1 choice for c, so that's the number of pairs (a,b) of sum at most 80. That is \sum_{a=0 to 80}(81-a). Which is 81*81 - 81*80/2. So 81*41. errr 3321 ?
Jean is offline   Reply With Quote
Old 01-27-2008, 04:36 PM   #3
Pooh-Bah
 
Join Date: Sep 2006
Posts: 3,655
Re: help me get extra credit

This is equivalent to the number of nonnegative integer valued vectors (x1,x2,x3,...xr) satisfying x1 +x2+x3+...+xr = n

which is just (n+r -1)C(r-1). I'll prove it shortly.


So we just plug in r=3 and n=80 to give us 3321 which agrees with Jean's result.

Last edited by jay_shark; 01-27-2008 at 04:58 PM.
jay_shark is offline   Reply With Quote
Old 01-27-2008, 08:32 PM   #4
Pooh-Bah
 
Join Date: Sep 2006
Posts: 3,655
Re: help me get extra credit

Here is a combinatorial proof of the above.

Take r-1 O's and n |'s. There are clearly (n+r-1)C(r-1) different combinations of these letters. Now the l's divide the O's and tells us the values of the xi's.


i.e., lll0000 implies that x1=3, x2=0, x3=0, x4=0,x5=0
|0||000 implies that x1=1,x2=2,x3=x4=x5=0
jay_shark is offline   Reply With Quote
Old 01-28-2008, 06:00 PM   #5
old hand
 
Join Date: Nov 2007
Location: Moved
Posts: 1,260
Re: help me get extra credit

Quote:
Originally Posted by jay_shark View Post
This is equivalent to the number of nonnegative integer valued vectors (x1,x2,x3,...xr) satisfying x1 +x2+x3+...+xr = n

which is just (n+r -1)C(r-1). I'll prove it shortly.


So we just plug in r=3 and n=80 to give us 3321 which agrees with Jean's result.
Yeah, thanks for the general formula. It's much better than my messy summation You're making me feel a bit ashamed of myself, as the combinatorial bijection is very simple (and cute) ...
Jean is offline   Reply With Quote

Reply
      

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 01:24 PM.


Powered by vBulletin®
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive