Combinatorics
We know that we can choose objects from distinct objects in ways. But why?
This can be thought of as having empty slots in which we want to arrange the objects chosen from the objects.
For the first slot we have all objects available to choose from, after which we have objects for the second slot and so on until the last slot for which we only have choices as slots have already been filled with objects from the total objects.
But here represents the permutations of objects taken at a time because we have considered the order to be a distinguishing factor.
But when we just want to choose objects the order of these objects should not matter.
So we divide with to get , because that’s the number of ways we can arrange distinct objects.
Here I had a doubt, why divide by ? how does that work! division can be thought of as asking if was equally distributed into boxes, how many would be there in each box. How much larger is when compared to ? Or even how many times do I need to subtract from to get .
To understand how this happens I went back to the first time I heard of division being used in this fashion. When I wanted to find all permutations of objects of which were identical, it was said to be .
In we overcounted by a factor of
To see why consider 3 numbered balls, is , the permutations for these balls are shown below,
Now its different arrangements if we order with respect to the number on the ball. But what if we don’t care about the number instead only about the color? Then we can see that we have counted identical arrangements multiple times.
To put this into perspective we need to group the i.e. permutations such that in each group the identical objects (yellow balls) occupy the same position (you can think of it as each of the columns having the same color).
Group 1 - position one and two
only counts as,
Group 2 - position one and three
only counts as,
Group 3 - position two and three
only counts as,
We know and can see that each of these groups will have i.e. permutations in them. This is because in each of these groups we can move around the identical objects in ways and yet not change the arrangement.
So here when we divide by what we are doing is asking how many groups containing permutations each exists such that all the arrangements add up to
Note that in each group the positions held by the identical objects must be the same.
Now coming back to , when we calculated for every distinct set of objects that were chosen from we counted extra permutations. So as order doesnt matter in combinations we can just divide with and get,
Written with StackEdit.
No comments:
Post a Comment