Proving Probability: Solutions to x_1+...+x_r=n with k Zero Terms

  • Thread starter Thread starter quasar987
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary

Homework Help Overview

The discussion revolves around the combinatorial problem of finding the number of solutions to the equation x_1 + ... + x_r = n, specifically focusing on cases where exactly k of the r terms are zero. The participants are examining the implications of this condition and the associated binomial coefficients.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants explore the selection of which variables are set to zero and the implications for the remaining variables, questioning the validity of the original equation and the equality of the binomial coefficients presented. There is also a discussion on treating the variables as distinguishable boxes and indistinguishable balls, leading to alternative interpretations of the problem.

Discussion Status

The discussion is active, with participants identifying potential errors in the original problem statement and exploring different interpretations. Some guidance has been offered regarding the combinatorial approach, but no consensus has been reached on the correct interpretation or solution method.

Contextual Notes

Participants note discrepancies in the problem statement, specifically regarding the conditions imposed on the variables and the formulation of the equation, which may affect the approach to finding solutions.

quasar987
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)
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K