• retagged by
21,539 views
38 38 votes

$m$ identical balls are to be placed in $n$ distinct bags. You are given that $m \geq kn$, where $k$ is a natural number $\geq 1$. In how many ways can the balls be placed in the bags if each bag must contain at least $k$ balls?

  1. $\left( \begin{array}{c} m - k \\ n - 1 \end{array} \right)$
  2. $\left( \begin{array}{c} m - kn + n - 1 \\ n - 1 \end{array} \right)$
  3. $\left( \begin{array}{c} m - 1 \\ n - k \end{array} \right)$
  4. $\left( \begin{array}{c} m - kn + n + k - 2 \\ n - k \end{array} \right)$

12 Answers

Best answer
61 61 votes
As there have to be at least $k$ balls in each bag, so firstly put $k$ balls in each bag i.e., $\left(k*n\right)$ balls.

Now, we have total $\left(m-k*n\right)$ balls remaining.

We can use balls $\&$ sticks method now $!$

$n$ bags $= n$ variables, they need to be equal to $\left(m-k*n\right)$, no restrictions on how many balls in each bag $!$

$x_{1}+x_{2}+\ldots+x_{n}= \left ( m-k*n \right ),x_1,x_2\ldots x_n\geq 0.$

On solving, we get

$C(m - k*n + n - 1, n-1 ) = C(m - k*n + n - 1, m- k*n )$

Correct Answer: $B$
• edited by
18 18 votes

As there have to be atleast k balls in each bag, so firstly put k balls in each bag i.e k*n balls. Then after, (m - kn) identical balls are left which we have to put it in n distinct bags, so use this general formula: 

C(n + m - kn - 1, n -1).

So, answer would be b.

5 5 votes

Concept Used:

Number of non-negative integral solution to the equation

$x_{1} + x_{2} + x_{3} + ... + x_{k} = n$ 

where, $(n≥k)$, 

            $x_{i} \geq 0,$ and

            $i = \left \{ 1, 2, 3, ..., k \right \}$

$=\binom{n \ + \ k \ - \ 1}{k \ - \ 1}$ or $\binom{n \ + \ k \ - \ 1}{n}$.

 

Problem:

$m\ (m\geq nk)$ identical balls have to be placed in $n$ distinct bags such that each bag contains at least $k$ balls.

 

Solution:

Let $Bag_i$ contains $x_i$ number of balls where $i = \left \{ 1, \ 2, \ 3, \ ..., \ n \right \}$

Then sum of all the balls in each bag = $m$        where $(m\geq nk)$

$\implies$ $x_{1} + x_{2} + x_{3} + ... + x_{n} = m$.

$\because$ Each bag should contain atleast $k$ number of balls so we can write each of the $x_i$'s as sum of $y_i + k$

$\implies$ $(y_{1}+k) + (y_{2}+k) + (y_{3}+k) + ... + (y_{n}+k) = m$.

$\implies$ $y_{1} + y_{2} + y_{3} + ... + y_{n} = m - nk$.

Now, we have to find all such values of $y_{1}$, $y_{2}$, $y_{3}$,...,$y_{n}$ that satisfy the above equation.

In other words, the problem basically reduces to  finding the number of non-negative integral solution to the above equation.

$\therefore$ The required number of ways is $\binom{m \ - \ nk \ + \ n \ - \ 1}{n \ - \ 1} = \binom{m \ - \ nk \ + \ n \ - \ 1}{m \ - \ nk}$.

Therefore, correct option- (B).

• edited by
4 4 votes

 

We can also take small values for m,n and k  and check for options.

2 2 votes

m identical balls are to be placed in n distinct bags. You are given that m≥kn, where k is a natural number ≥1. In how many ways can the balls be placed in the bags if each bag must contain at least k balls?

Given :

$m$ balls
$n$ bags
each bag must contain at least $k$ balls

Let the bags be $X_{1}, X_{2}, X_{3}, X_{4} … X_{n}$

Now, each bag contain at least $k$ balls ie  $X_{i} \geqslant k$

Maximum limit, $X_{i} \leqslant m- (n-1)*k$

Therefore, $k \leqslant X_{i} \leqslant m- nk+k$

The number of combinations will be the coefficient of $X^{^{m}}$ in generating equation :

$(X^k \,+\, X^{k+1} \,+\, X^{k+2} \cdot \cdot \cdot \cdot \,+\, X^{m-nk+k})^n$

Taking $X^k$ common;

$X^{nk}(1 \,+\, X \,+\, X^{2} \cdot \cdot \cdot \cdot \,+\, X^{m-nk})^n$

Now, coefficient of $X^{(m-nk)}$ is required

Applying the GP sum, taking number of elements as $m-nk+1$, $a$ as $1$ and $r$ as $X$
 

$\frac{(1-X^{m-nk+1})^n}{(1-X)^n}$

Now, using the identity $\frac{1}{(1-X)^n} = \sum_{a=0}^{infinity} \, _{a}^{n+a-1}\textrm{C} \cdot x^a$

Put $a = m-nk$

$_{m-nk}^{n+m-nk-1}\textrm{C}$ which can be written as $_{n+m-nk-1-(m-nk)}^{n+m-nk-1}\textrm{C}$

That is,  $_{n-1}^{n+m-nk-1}\textrm{C}$

• edited by
Answer:
Position:
Show:

Related questions

43 43 votes
6 answers 6 answers
17.1k
17.1k views
Kathleen asked Sep 23, 2014
17,065 views
The number of binary strings of $n$ zeros and $k$ ones in which no two ones are adjacent is$^{n-1}C_k$$^nC_k$$^nC_{k+1}$None of the above
51 51 votes
8 answers 8 answers
17.5k
17.5k views
Kathleen asked Sep 14, 2014
17,513 views
A multiset is an unordered collection of elements where elements may repeat any number of times. The size of a multiset is the number of elements in it, counting repetiti...
61 61 votes
5 answers 5 answers
14.6k
14.6k views
Kathleen asked Sep 17, 2014
14,638 views
A program consists of two modules executed sequentially. Let $f_1(t)$ and $f_2(t)$ respectively denote the probability density functions of time taken to execute the two ...
64 64 votes
6 answers 6 answers
18.3k
18.3k views
Kathleen asked Sep 16, 2014
18,318 views
$n$ couples are invited to a party with the condition that every husband should be accompanied by his wife. However, a wife need not be accompanied by her husband. The nu...