Permutation and combination

This topic has expert replies
Senior | Next Rank: 100 Posts
Posts: 91
Joined: Fri Jan 17, 2014 7:34 am
Thanked: 7 times

Permutation and combination

by parveen110 » Mon Jan 20, 2014 11:42 pm
There are 5 different boxes and 7 identical balls. All the balls are to be distributed in the 5 boxes placed in a row so that any box can recieve any number of balls. In how many ways can these balls be distributed into these boxes?

a.110
b.220
c.330
d.440

OA:C
Last edited by parveen110 on Fri Jan 24, 2014 9:23 am, edited 1 time in total.
Source: — Problem Solving |

User avatar
Legendary Member
Posts: 1556
Joined: Tue Aug 14, 2012 11:18 pm
Thanked: 448 times
Followed by:34 members
GMAT Score:650

by theCodeToGMAT » Tue Jan 21, 2014 1:08 am
Using Separator MEthod:

Balls = 7
Separators = 4

(7+4)!/7!*4!

= 330
R A H U L

User avatar
GMAT Instructor
Posts: 15539
Joined: Tue May 25, 2010 12:04 pm
Location: New York, NY
Thanked: 13060 times
Followed by:1906 members
GMAT Score:790

by GMATGuruNY » Tue Jan 21, 2014 5:08 am
The problem as posted first describes the balls as different but then describes them as identical.
I assume that the intention of the problem is as follows:
There are 5 different boxes and 7 identical balls. All of the balls are to be distributed among the boxes that any box can receive any number of balls. In how many ways can the balls be distributed among the boxes?

a.110
b.220
c.330
d.440

OA:C
The following is called the SEPARATOR method.

Since there are 7 identical balls and 5 boxes, the 7 balls are to be separated into -- at most -- 5 groupings.
Thus, we need 7 balls and 4 separators:
O|O|O|O|OOO

Each arrangement of the elements above represents one way to distribute the 7 balls among 5 boxes A, B, C, D and E:
O|O|O|O|OOO = A gets 1 ball, B gets 1 ball, C gets 1 ball, D gets 1 ball, E gets 3 balls.
OOOOOO||||OO = A gets 5 balls, E gets 2 balls.
OOOOOOOO|||| = A gets all 7 balls.
And so on.

To count all of the possible distributions, we simply need to count the number of ways to arrange the 11 elements above (the 7 identical balls and the 4 identical separators).
The number of ways to arrange 11 elements = 11!.
But when an arrangement includes identical elements, we must divide by the number of ways to arrange the identical elements.
The reason:
When the identical elements swap positions, the arrangement doesn't change, reducing the total number of unique arrangements.
Thus, we must divide by 7! (the number of ways to arrange the 7 identical balls) and by 4! (the number of ways to arrange the 4 identical separators):
11!/(7!4!) = 330.

The correct answer is C.

For two similar problems, check here:

https://www.beatthegmat.com/algebra-t215423.html#622071
Private tutor exclusively for the GMAT and GRE, with over 20 years of experience.
Followed here and elsewhere by over 1900 test-takers.
I have worked with students based in the US, Australia, Taiwan, China, Tajikistan, Kuwait, Saudi Arabia -- a long list of countries.
My students have been admitted to HBS, CBS, Tuck, Yale, Stern, Fuqua -- a long list of top programs.

As a tutor, I don't simply teach you how I would approach problems.
I unlock the best way for YOU to solve problems.

For more information, please email me (Mitch Hunt) at [email protected].
Student Review #1
Student Review #2
Student Review #3