Division and Distribution - Part I
In this article we will learn how to divide and distribute items in groups of known sizes.
We can easily divide or group items in one step.
But distribution is a two step process.
Step 1: To distribute something, first division (i.e. grouping) is done.
Step 2: Then we permute these groups if required.
For example, to distribute 3 items, x, y and z, into two groups and then distribute them among two people:
Step 1: Division of 3 items into 2 groups = $C^3_2$ = 3
(x, y), z
(x, z), y
(y, z), x
Step 2: Permutate these groups, i.e. distribute these groups among two people
They can be distributed among 2 people in 2! ways.
So it is important to distinguish between division and distribution.
Division
Division of distinct items into groups of unequal size
Number of ways to divide (m+ n) distinct items into groups of unequal size = $C^{m+n}_m$ × $C^n_n$
= $C^{m+n}_m$ = $\frac{(m + n)!}{m! n!}$
(Note that m ≠ n, i.e. m and n are non-equal)
(Basically it is the same as selecting m items out of m+n items or selecting n items out of m+n items)
Number of ways to divide (m + n + p) distinct items into groups of unequal size = $C^{m+n+p}_m$ × $C^{n+p}_n$ × $C^p_p$ = $C^{m+n+p}_m$ × $C^{n+p}_n$ = $\frac{(m + n + p)!}{m! n! p!}$
(Note that m ≠ n ≠ p, i.e. m, n and p are non-equal)
For example:
Number of ways to divide 6 distinct items into 2 groups of sizes 2 and 4 = $C^6_2$ = $\frac{6!}{2! 4!}$
Number of ways to divide 9 distinct items into 3 groups of sizes 2, 3 and 4 = $C^9_2$ × $C^7_3$ = $\frac{9!}{2! 3! 4!}$
Let’s see one more example:
Number of ways to divide 4 distinct items into 2 groups of sizes 1 and 3 = $C^4_1$ = $\frac{4!}{1! 3!}$ = 4
Let’s visualize and count manually to check it:
The possible groups are:
1, (2, 3, 4)
2, (1, 3, 4)
3, (1, 2, 4)
4, (1, 2, 3)
Total possible groups = 4
Q. In how many ways can 12 persons be divided into three groups having 3, 4 and 5 persons?
Explanations :
Groups do not seem to be distinct. So, this is a case of division and not distribution.
Number of ways to divide (m+ n + p) distinct items into groups of unequal size = $\frac{(m + n + p)!}{m! n! p!}$ = $\frac{12!}{3! 4! 5!}$
Number of ways of selecting 3 people out of 12 = $C^{12}_3$
AND Number of ways of selecting 4 people out of the remaining 9 = $C^9_4$
AND Number of ways of selecting 5 people out of the remaining 5 = $C^5_5$
So, total number of ways = $C^{12}_3$ × $C^9_4$ × $C^5_5$
(we will multiply because we need to do all the three steps; notice the word AND)
= $\frac{12!}{(3!9!)}$ × $\frac{9!}{(4!5!)}$ × 1 = $\frac{12!}{(3! 4! 5!)}$
Division of distinct items into groups of equal size
Number of ways to divide 2n distinct items into 2 groups of equal size = $\frac{1}{2!}$ $C^{2n}_n$ = $\frac{1}{2!}$ $\frac{2n!}{(n!)^2}$
E.g., Number of ways to divide 6 distinct items into 2 groups of equal size = $\frac{1}{2!}$ $\frac{6!}{(3!)^2}$
Number of ways to divide 3n distinct items into 3 groups of equal size = $\frac{1}{3!}$ $\frac{3n!}{(n!)^3}$
E.g., Number of ways to divide 9 distinct items into 3 groups of equal size = $\frac{1}{3!}$ $\frac{9!}{(3!)^3}$
Let’s see one more example:
Number of ways to divide 4 distinct items into 2 groups of equal size = $\frac{1}{2!}$ $\frac{4!}{(2!)^2}$ = 3
Let’s visualize and count manually to check it:
The possible groups are: This is because of symmetry when groups are of equal size (this symmetry is not there when group sizes are different).
We can generalize:
Number of ways to divide mn distinct items into m groups of equal size = $\frac{1}{m!}$ $\frac{mn!}{(n!)^m}$
(It means divide by m! if there are m groups having same number of items)
Order of groups is not important, i.e. groups do not have distinct identity, as they are just being divided and not distributed.
Q. In how many ways can 12 persons be divided into three groups having 4 persons each?
Explanations :
Groups do not seem to be distinct. So, this is a case of division and not distribution.
Number of ways to divide mn distinct items into m groups of equal size = $\frac{1}{m!}$ $\frac{mn!}{(n!)^m}$ = $\frac{1}{3!}$ $\frac{12!}{(4!)^3}$
Number of ways of selecting 4 people out of 12 = $C^{12}_4$
AND Number of ways of selecting 4 people out of the remaining 8 = $C^8_4$
AND Number of ways of selecting 4 people out of the remaining 4 = $C^4_4$
So, total number of ways = $\frac{C^{12}_4 × C^8_4 × C^4_4}{3!}$
(we will multiply because we need to do all the three steps; notice the word AND)
= $\frac{1}{3!}$ × $\frac{12!}{(4!8!)}$ × $\frac{8!}{(4!4!)}$ × 1 = $\frac{12!}{3! (4!)^3}$
Note: We divided by 3! because the groups are identical and have the same number of items (so we do so to avoid overcounting). If the groups were distinct or if the number of items in them were different, then there was no need to divide by 3!
Distribution
Distribution of distinct items into groups of unequal size
Number of ways to distribute (m+ n) distinct items into two groups of unequal size = $C^{m+n}_m$ × $C^n_n$ × 2! = $C^{m+n}_m$ × 2! = $\frac{(m + n)!}{(m! n!)}$ × 2!
(basically selecting m items out of m+n items or selecting n items out of m+n items and then distributing/arranging them)
Number of ways to distribute (m + n + p) distinct items into three groups of unequal size = $C^{m+n+p}_m$ × $C^{n+p}_n$ × $C^p_p$ × 3! = $C^{m+n+p}_m$ × $C^{n+p}_n$ × 3! = $\frac{(m + n + p)!}{(m! n! p!)}$ × 3!
(Note that m ≠ n ≠ p, i.e. m, n and p are non-equal)
Q. In how many ways can 12 persons be distributed into three groups having 3, 4 and 5 persons?
Explanations :
Groups do not seem to be distinct. So, this is a case of division and not distribution.
Number of ways to divide (m + n + p) distinct items into groups of unequal size = $\frac{(m + n + p)!}{(m! n! p!)}$ × 3! = $\frac{12!}{(3! 4! 5!)}$ × 3! = $\frac{12!}{(4! 5!)}$
Number of ways of selecting 3 people out of 12 = $C^{12}_3$
AND Number of ways of selecting 4 people out of the remaining 9 = $C^9_4$
AND Number of ways of selecting 5 people out of the remaining 5 = $C^5_5$
So, total number of ways of dividing = $C^{12}_3$ × $C^9_4$ × $C^5_5$
(we will multiply because we need to do all the three steps; notice the word AND)
= $\frac{12!}{(3! 9!)}$ × $\frac{9!}{(4! 5!)}$ × 1 = $\frac{12!}{(3! 4! 5!)}$
Total number of ways of distributing these items in 3 groups = $\frac{12!}{(3! 4! 5!)}$ × 3! = $\frac{12!}{(4! 5!)}$
Distribution of distinct items into groups of equal size
We know that:
Number of ways to divide mn distinct items into m groups of equal size = $\frac{1}{m!}$ $\frac{mn!}{(n!)^m}$
Now to distribute these groups into m categories (e.g. m people etc):
Number of ways to distribute mn distinct items into m groups of equal size = $\frac{1}{m!}$ $\frac{mn!}{(n!)^m}$ × m! = $\frac{mn!}{(n!)^m}$
(order of groups is important, i.e. groups have distinct identity, as they are being distributed to different groups/persons)
For example:
Number of ways to distribute 2n distinct items into 2 groups of equal size = $\frac{2n!}{(n!)^2}$
Number of ways to distribute 3n distinct items into 3 groups of equal size = $\frac{3n!}{(n!)^3}$
Q. In how many ways can 18 students be divided into:
(a) 3 groups
(b) blue, green and yellow houses.
Explanation: Using Formula Method
(b) Here the groups are distinct. So, this is a question of distribution and not just division.
Number of ways to distribute mn distinct items into m groups of equal size = $\frac{mn!}{(n!)^m}$ = $\frac{18!}{(6!)^3}$
What if the items are identical?
If all the items are identical then there is only one way to divide or distribute them.
Say you have 10 identical balls and you want to divide them into three groups of 3, 3 and 4. You can choose any of the 3 balls and make group 1, choose any of the 3 balls from the remaining balls and make group 2; rest of the 4 balls will make group 3.
Similarly, as the balls are identical, there is no there is no point in distributing them. There’s only 1 possible way. So, number of ways of distribution = number of ways of division