Difference between revisions of "Distinguishability"
(New page: When distributing <math>n</math> things to <math>k</math> other things, one has to consider the '''distinguishability''' of the objects (i.e. if they're distinguishable or not). If the <ma...) |
(→Indistinguishable to distinguishable) |
||
Line 23: | Line 23: | ||
This can be done with casework; the method is best explained with an example: say that <math>(n,k) = (5,3)</math>. Our partitions are then <math>\{5,0,0\},\{4,1,0\},\{3,2,0\},\{3,1,1\},\{2,2,1\}</math>, so there are <math>5</math> partitions. | This can be done with casework; the method is best explained with an example: say that <math>(n,k) = (5,3)</math>. Our partitions are then <math>\{5,0,0\},\{4,1,0\},\{3,2,0\},\{3,1,1\},\{2,2,1\}</math>, so there are <math>5</math> partitions. | ||
− | ==Indistinguishable to distinguishable== | + | ==Indistinguishable to distinguishable (Balls and Urns)== |
This is "Balls and Urns". In general, if you have <math>n</math> indistinguishable objects that you want to distribute to <math>k</math> distinguishable objects, there are <math>\binom{n + k - 1}{k - 1}</math> ways to do so. | This is "Balls and Urns". In general, if you have <math>n</math> indistinguishable objects that you want to distribute to <math>k</math> distinguishable objects, there are <math>\binom{n + k - 1}{k - 1}</math> ways to do so. | ||
Revision as of 14:46, 1 February 2009
When distributing things to
other things, one has to consider the distinguishability of the objects (i.e. if they're distinguishable or not). If the
things are distinguishable, one also has to consider if duplicates are allowed (i.e. if we can repeat). For these problems, it is best to think about it first.
Contents
- 1 Distinguishable to distinguishable, with duplicates
- 2 Distinguishable to distinguishable, without duplicates
- 3 Distinguishable to indistinguishable, with duplicates
- 4 Distinguishable to indistinguishable, without duplicates
- 5 Indistinguishable to indistinguishable
- 6 Indistinguishable to distinguishable (Balls and Urns)
Distinguishable to distinguishable, with duplicates
For each of the things, there are
choices, for a total of
ways.
Distinguishable to distinguishable, without duplicates
For each of the things, there are
choices, for a total of
ways.
Distinguishable to indistinguishable, with duplicates
This is "reverse" Balls and Urns, or essentially distributing indistinguishable objects to
distinguishable objects. Refer to 6; this case has
ways (notice the difference between this and 6).
Distinguishable to indistinguishable, without duplicates
This is probably the most tedious cases, as it involves the most casework. One way is to first find all the partitions (refer to 5) of with
addends, (i.e. all solutions to
in which the addends are indistinguishable). Then, for each partition, separately calculate the number of ways, and finally, add these results together.
For example, if , then our partitions are:
--this case has
way.
--we choose one of
to be the "
", so there are
ways.
--we choose three objects to be the "
's" (the rest are determined after this), so there are
ways for this.
--again, we choose three objects to be the "
's" (the rest are determined after this), so there are
ways for this.
--first, we choose one object to be the "
", which has
ways. Then, we can choose any two of the remaining four to be one of the "
's", and there are
ways for this. However, we must divide this by
, since the two "
's" are interchangeable, and the total for this case is
.
Adding up, we get ways.
All of these problems are similar to this one in that you divide them up into smaller counting problems.
Indistinguishable to indistinguishable
This is part of the partition problem. Imagine that you are finding the number of solutions to , where
are indistinguishable.
This can be done with casework; the method is best explained with an example: say that . Our partitions are then
, so there are
partitions.
Indistinguishable to distinguishable (Balls and Urns)
This is "Balls and Urns". In general, if you have indistinguishable objects that you want to distribute to
distinguishable objects, there are
ways to do so.
Imagine that there are dividers
and
objects
, so we have
and
. Then, label the areas formed by the dividers, so we get
and our
objects
. We can now see that there are
distinct regions in which we can place our
identical objects (so this is is analogous to the original problem), and there are
arrangements of the
stars and the
.
One common problem that can be solved by this is finding the number of solutions to , where
which has
solutions.