retagged by
24,617 views
41 41 votes
The number of arrangements of six identical balls in three identical bins is _____________ .

4 Answers

Best answer
100 100 votes

This is $\color{red}{\text{ “indistinguishable objects into indistinguishable boxes(IOIB)”  }}$ problem which is a standard combinatorial problem. There is no simple closed formula for the number of ways to distribute $n$ indistinguishable objects into $j$ indistinguishable boxes.
So, We will enumerate all the ways to distribute.

Best way is to go in a sequence, covering all possibilities, So, that we do not overcount, we do not undercount.

Case 1 : $\color{blue}{\text{If only one bin is used : }}$
(6,0,0) i.e. Only 1 way (Since All balls have to be put in this single bin that is used ; Since all bins are identical, so, it doesn’t matter which bin we use)

Case 2 : $\color{blue}{\text{If two bins are used : }}$
The distribution can be done as any of the following :
(5,1) (which means 5 identical balls in one bin, 1 ball in another bin, and the third bin is unused)
(4,2) (which means 4 identical balls in one bin, 2 balls in another bin, and the third bin is unused)
(3,3) (which means 3 identical balls in one bin, 3 balls in another bin, and the third bin is unused)

i.e. 3 ways to distribute 6 identical balls into 3 identical bins if exactly two of the bins are used.

Case 3 : $\color{blue}{\text{If three bins are used : }}$
The distribution can be done as any of the following :
(4,1,1) (which means 4 identical balls in one bin, 1 ball in another bin, and 1 ball in the third bin)
(3,2,1) (which means 3 identical balls in one bin, 2 ball in another bin, and 1 ball in the third bin)
(2,2,2) (which means 2 identical balls in one bin, 2 ball in another bin, and 2 ball in the third bin)

i.e. 3 ways to distribute 6 identical balls into 3 identical bins if all three of the bins are used.

So, total we have 7 ways to distribute 6 identical balls in 3 identical bins.

NOTE that we cannot distribute as (2,2,1,1) because only three bins are available, not four.


$\color{red}{\text{Learn ALL about IOIB Here, with Variations:}}$ https://www.youtube.com/watch?v=Vyhp6fvaoso&list=PLIPZ2_p3RNHgm_UqwqckMxM68HS4BkjYY&index=34 

edited by
30 30 votes

This problem is type of Identical Balls and Identical Bins :

given that, 3 Bins and 6 balls.

  1. 6,0,0
  2. 5,1,0
  3. 4,2,0
  4. 4,1,1
  5. 3,3,0
  6. 3,2,1
  7. 2,2,2

Only these arrangements are possible.

7 is correct answer.

3 3 votes

In  the given question ball as well as Bin are similar means   looking similar 

so here in given question 

six identical Ball and three identical Bins 

so lets case first when all Bins are not empty

 Bin                  Bin            Bin

4 1 1
3 2 1
2 2 2

 

case second  when only one bins is empty 

 Bin      Bin       Bin

5 1 empty
4 2 empty
3 3 empty

 

lets case third when only two bins are empty 

 Bin                Bin             Bin

6 empty empty

 

so overall arrangement which is looking different is 3+3+1=7

it is feel like a partition of the given number 

 

 

1 1 vote

Now Our Question is:  six identical balls into three identical bins(empty allowed) which is same as partition 6 into atmost 3 parts (as sum of integers).

i.e. No. of ways

 =P(6,1)+P(6,2)+P(6,3)   

(Using P(n,k) = summation of P(n-k,r) for r = 1,2,3,...,k )

1+P(4,1)+P(4,2)+P(3,1)+P(3,2)+P(3,3)

=1+1+2+1+1+1

=7.

Explaination:

Distribution of identical Balls into identical Bins  is closely related with partitioning off integer.

Let us define Partition function  P(n)  as partioning n (>=0)  as sum of integers in unique ways ( for e.g n=3, 1+2 and 2+1 is treated same partition) then P(n) is equivalent to no. of distribution of n identical balls into any no. of identical bins.

 n=1   partion set {1}      P(1)=1 

n=2  partion set {1+1,2}   P(2)=2  

 n=3 partition set  {1+1+1,1+2,3}  => P(3)= 3

n=4  =>{1+1+1+1,1+1+2,1+3,2+2,4}  => P(4)=5

Here you notice that partition size varies from 1,2,3...,n i.e we counting all possible partition.

Let  Define Partition of n into size of k  as P(n,k)=Partion of n as sum of k integers (uniquely).

 for e.g  (i)  n=5 and  k=2 P(5,2)={1+4,2+3}=2  (ii) P(6,3)={1+1+4,1+2+3,2+2+2}=3.

for k>n   no ways  P(n,k)=0  where k>n  e.g. we can't partion 4 in 5 or more parts. 

for k=1   1 ways  as n  =>  P(n,1)=1.

for k=n    1 ways as all 1 i.e 1+1+... +1 => P(n,n)=1

for k=2 to n-1 we can write a Recurrence Relation P(n,k) = summation of P(n-k,r) for r = 1,2,3,...,k.

for e.g. P(6,3)=P(3,1)+P(3,2)+P(3,3)=P(3,1)+P(1,1)+P(1,2)+P(3,3) =1+1+0+1=3

Above P(n,k) i.e Partion of n as sum of k integers  is same as distribution of n identical balls into k identical bins (non-empty).

Note: if every bin should have atleast one ball (i.e. non-empty bins) then  

Number of ways = partion 6 into size of 3 i.e. P(6,3)=P(3,1)+P(3,2)+P(3,3)=1+1+1=3 ways.

Bonus: Partition of n into size of k P(n,k) = summation of P(n-k,r) for r = 1,2,3,...,k.

(Proof: Put 1 balls in each  bins (to make bins non-empty)  then rest n-k balls treat that bins are empty and we can  put in any number of boxes (r) where r = 1,2,3,..,k.)   

edited by
Answer:
Position:
Show:

Related questions

43 43 votes
6 answers 6 answers
16.7k
16.7k views
Kathleen asked Sep 23, 2014
16,690 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.2k
17.2k views
Kathleen asked Sep 14, 2014
17,163 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...