Why are binomial(r,k)*binomial(n+(r-k)-1,n) and binomial(r,k)*binomial(n-1,n-r-k) equal?

  • Thread starter Thread starter quasar987
  • Start date Start date
  • Tags Tags
    Probability
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 2K views
Science Advisor
Homework Helper
Gold Member
Messages
4,796
Reaction score
32
Show that there are [itex]\binom{r}{k}\binom{n-1}{n-r-k}[/itex] solutions to the equation [itex]x_1+...+x_r=n[/itex] for which exactly k of the r terms of the sum are nul.

There are [itex]\binom{r}{k}[/itex] ways of choosing which k of the r [itex]x_i[/itex]'s are zero, and there are

[tex]\binom{n+(r-k)-1}{n}[/tex]

distinc solutions to the resulting equation. What is wrong with that? If nothing, how are the two binomial coefficients equal?
 
Physics news on Phys.org
It says exactly k must be null. So once you've chosen your 0's, the remaining variables must take values >= 1.
 
The whole thing doesn't look right. Treat the xi as distinguishable boxes and n as a bunch of n indistinguishable balls. The question is, how many ways can you put n indistinguishable balls into r distinct boxes if exactly k of the r boxes end up empty?

There are [itex]\binom{r}{k}[/itex] ways to choose which boxes will be empty. Now put your n balls in a row, and observe there are n-1 gaps between adjacent balls. Pick r-k-1 of these gaps (there are [itex]\binom{n-1}{r-k-1} = \binom{n-1}{(n-1)-(r-k-1)} = \binom{n-1}{n-(r-k)}[/itex] ways to do this). The bunch of balls occurring before the first chosen gap goes in the first of the boxes that wasn't chosen to be empty. The next bunch of balls (occurring between the first and second chosen gaps) goes in the next of the boxes that wasn't chosen to be empty.
 
Well spoted 0rthodontist. And AKG too for noticing that there is an error in the question. (the book really says n-r-k)