Suppose there are 20 items and 12 bags. How many ways can the items be put into the bags if the items are distinct.

Could someone offer me a little direction on this problem. Thanks

Printable View

- Feb 11th 2013, 10:35 AMbattery88Putting items in bags
Suppose there are 20 items and 12 bags. How many ways can the items be put into the bags if the items are distinct.

Could someone offer me a little direction on this problem. Thanks - Feb 11th 2013, 11:30 AMMathJackRe: Putting items in bags
have a look at permutations, it is really straightforward, take a look and have an attempt I will show you the answer then

- Feb 11th 2013, 11:44 AMPlatoRe: Putting items in bags
First, why do you assume that the bags are distinct? That is not part of the statement.

If the items are distinct and the bags are distinct, then that is simply counting the number of functions from a set of twenty to a set of twelve:

.

But that answer means some bags may be empty.

If you require no empty bags, then that is simply counting the number of*surjections*from a set of twenty to a set of twelve:

.

**BUT**, I don't think it means that the bags are distinct. - Feb 11th 2013, 11:51 AMbattery88Re: Putting items in bags
Okay, the 1st item can be placed 12 ways,

the 2nd item can be placed 12 ways,

the 3rd item can be placed 12 ways,

and so forth, until we have 12^20 ways. - Feb 11th 2013, 11:56 AMbattery88Re: Putting items in bags
- Feb 11th 2013, 11:58 AMbattery88Re: Putting items in bags
So, if the items were identical would the number of ways to place the items in the bags = 12^1 = 12?

- Feb 11th 2013, 12:10 PMbattery88Re: Putting items in bags
I'm pretty sure my previous post was incorrect, so how would I solve this problem if the items are identical. In other words:

Suppose there are 20 items and 12 bags. How many ways can the items be put into the bags if the items are**identical**?

Would this be a problem of placing indistinguishable items into distinguishable boxes? - Feb 11th 2013, 01:08 PMbattery88Re: Putting items in bags
I used this theorem from my book regarding "Indistinguishable objects and distinguishable boxes": C(n + r - 1, r).

We have 20 indistinguishable books going in 12 distinguishable bags. Let n = 12 and r = 20. We have C(12 + 20 - 1, 20) = C(31, 20) different ways place the items.

I'm not sure if this is correct or not. Suggestions? - Feb 11th 2013, 01:19 PMPlatoRe: Putting items in bags
- Feb 11th 2013, 01:31 PMbattery88Re: Putting items in bags
Okay, thanks for the correction.

- Feb 11th 2013, 01:45 PMbattery88Re: Putting items in bags
Now, one more question going back to Plato's post 3:

Suppose there are 20 items and 12 bags. How many ways can the items be put into the bags if the items are identical and no bag can be left empty? - Feb 11th 2013, 01:59 PMPlatoRe: Putting items in bags
You may find this webpage useful.

If the 20 items are identical but the bags are distinct go ahead and put one item in each bag. Now none is empty. There are eight items left, so:

. - Feb 11th 2013, 02:07 PMbattery88Re: Putting items in bags
Thanks for the link and the help. It seems so simple now. Just wish I could do it without help.