Distribution Of Things - Equation and Solved Examples

Distribution Of Things - Equation and Solved Examples

Edited By Komal Miglani | Updated on Jul 02, 2025 07:53 PM IST

Distribution of things is used to find the number of ways of distributing n different things in r different boxes. When identical objects are distributed among persons, the only thing that matters is who is getting how many objects. In real life, we use the distribution of things to distribute different things in different boxes.

This Story also Contains
  1. Distribution Of Things: definition
  2. Conditions for Distributions of Things
  3. No restriction
  4. Non-empty restriction
  5. Alternative Method
Distribution Of Things - Equation and Solved Examples
Distribution Of Things - Equation and Solved Examples

In this article, we will learn about the Distribution Of Things. This topic falls under the broader category of Permutations and combinations, which is a crucial chapter in Class 11 Mathematics. This is very important not only for board exams but also for competitive exams, which even include the Joint Entrance Examination Main and other entrance exams: SRM Joint Engineering Entrance, BITSAT, WBJEE, and BCECE.

Distribution Of Things: definition

Distribution of things is used to find the number of ways of distributing n different things in r different boxes. Firstly, we will examine the distribution of distinct items in distinct boxes where empty boxes are permissible and then we will investigate the distribution of distinct items in distinct boxes, but in this case, empty boxes are not allowed. Lastly, we will explore the distribution of identical items in distinct boxes where empty boxes are permitted

Conditions for Distributions of Things

There are two conditions for the distribution of things

1) No restrictions

2) Non-empty restrictions

No restriction

To distribute n different things in r different boxes, such that there is no restriction on the number of objects a box can have (some boxes can remain empty as well)

We have r options for each object, so the number of ways is r.r.r......n times = rn

Non-empty restriction

To distribute n different things in r different boxes, such that none of the boxes is empty

Such problems can be resolved in the following steps

1. Decide the number of objects in each group and make cases accordingly

2. In each case, first divide them into groups using the grouping formula, then distribute these r groups into r people

Suppose we need to distribute 5 different hats in 3 different boxes such that no box is empty

Step 1:

To decide the group sizes, we should first distribute 1 hat to each 3 boxes so that none of them remain empty. Now we will be left with 2 hats, those 2 hats can be distributed to

1 group forming group combination as 1 1 3

OR

1-1 hat to 2 different groups giving the combination 1 2 2.

So in that way, we will get two cases

Step 2.

Case I:
Make a group of sizes $(113)$ combination in $\frac{5!}{1!1!3!} \cdot \frac{1}{2!}$ ways.
Now distribute these 3 groups in 3 people in 3 ! ways
So the total number of ways for case $1=\frac{5!}{1!1!3!} \cdot \frac{1}{2!} \cdot 3!=60$

Case II:
Following the same logic in this case
Total number of possible ways of distribution $\frac{5!}{1!2!2!} \cdot \frac{1}{2!} \cdot 3!=90$

Hence total ways = 60+90 = 150

This type of concept can be comprehended as arranging all n identical objects to be distributed and (r-1) marks of partition. These (r-1) partitions will divide the objects in r groups. These r groups can be given to these r distinct people in order.

As each person can get zero or more objects in such an arrangement, so number of ways is

$
\frac{(n+r-1)!}{(r-1)!n!}={ }^{n+r-1} C_{r-1}
$

If each one has to get at least one object, then first distribute r objects to these r people (each one gets one, and any r objects can be given as these are identical), then we can distribute the remaining ( $\mathrm{n}-\mathrm{r}$ ) objects in r people in ${ }^{n-r+r-1} C_{r-1}={ }^{n-1} C_{r-1}$ ways

Alternative Method

This thing can also be comprehended as the following

Let the first group get a1 objects

The second group gets a2 objects

.....

rth group gets ar objects

So, a1 + a2 + a3+...+ ar = n …....(i)

Now if empty groups are allowed we need to find the whole number solution of the equation (i)

So, whole number solutions of $a_1+a_2+a_3+\ldots+a_r=n$ equal the number of ways to distribute $n$ distinct objects in r people, and these both equal ${ }^{n+r-1} C_{r-1}$

If empty groups are not allowed, then each of these values has to be a natural number. The number of ways of distribution will thus equal the natural number of solutions of equation (i), which is ${ }^{n-1} C_{r-1}$

Example: In how many ways can 10 Identical chocolates be distributed among 3 children, such that each student can get any number and at least one?

Solution: using the above concept, we use the direct formula for this, so we have

$
{ }^{10-1} C_{3-1}={ }^9 C_2
$

Suppose we want to distribute 5 distinct hats in 3 Identical boxes such that each box receives at least 1 hat. This can be done in 2 steps

Step 1: Decide the number of hats that each will get. Make cases depending on this

Step 2: Make groups in each case using the formula for grouping

Now,

Step 1: we can distribute 3 hats one-one each to all 3 groups, after that, we can place the remaining 2 hats in one group or 1-1 to 2 groups. So 2 cases: 1st = 1 1 3, 2nd = 1 2 2

Step 2: Now these cases are similar to the division of groups where group sizes are given

So, according to $1^{\text {st }}$ case, we can be group hats in $\frac{5!}{(1!)^2 3!} \cdot \frac{1}{2!}$ ways
Similarly for $2^{\text {nd }}$ case, $\frac{5!}{(2!)^2 1!} \cdot \frac{1}{2!}$ ways
So the total number of ways of distribution $=\frac{5!}{(2!)^2 1!} \cdot \frac{1}{2!}+\frac{5!}{(1!)^2 3!} \cdot \frac{1}{2!}$ ways

In this type, it does not matter which object goes in which group as all objects are identical, the only thing that matters is how many objects go into groups, and that means ordering or group does not matter.

Example: In how many ways can 12 identical hats be put in 3 identical boxes such that each box has at least 2 hats?

Solution: First and foremost 2 hats should be put in each box (which hats do not matter as all are identical). Now we are left with 6 hats to be put in 3 identical boxes. As learned earlier, in the case of identical boxes, we are only concerned with dividing the 6 hats into 3 portions.

The hurdle is that the sizes could be anything. Thus again we individually consider all cases, with groups being every possible size. The possibilities are {0, 0, 6}; {0, 1, 5}; {0, 2, 4}; {0, 3, 3}; {1, 1, 4}; {1, 2, 3}; {2, 2, 2} i.e. 7 possibilities.

7 is our answer because each possible way of grouping can be done in only 1 way. Why? Because all hats are identical, so “which hat is in which group” does not matter.

Thus, the answer is 7 ways.

Recommended Video Based on Distribution of Things:

Solved Example Based on Distribution Of Things

Example 1: The number of ways to distribute 30 identical candies among four children $\mathrm{C}_1, \mathrm{C}_2, \mathrm{C}_3$ and $\mathrm{C}_4$ so that $\mathrm{C}_2$ receives at least 4 and at most 7 candies, $\mathrm{C}_3$ receives at least 2 and at most 6 candies, is equal to:
[JEE MAINS 2022]
Solution: $4 \leq \mathrm{c}_2 \leq 7$

$
2 \leq \mathrm{c}_3 \leq 6
$

Now for the solution of $\mathrm{C}_1+\mathrm{C}_2+\mathrm{C}_3+\mathrm{C}_4=30$ with given conditions, the number of solutions equal
coefficient of $x^{30}$ in $\left(1+x+x^2+\cdots\right)\left(x^4+x^5+x^6+x^7\right)$ $\left(x^2+x^3+x^4+x^5+x^6\right)\left(1+x+x^2+\ldots\right)$
$=$ coefficient of $x^{30}$ in $x^6\left(1+x+x^2+\cdots\right)^2$
$\left(1+x+x^2+x^3\right)\left(1+x+x^2+\ldots+x^4\right)$
$=$ coofficient of $x^{24}$ in $\frac{1}{(1-x)^2} \cdot \frac{\left(x^4-1\right)}{(x-1)} \cdot \frac{\left(x^5-1\right)}{(x-1)}$
$=$ coefficient of $x^{24}$ in $\left(x^4-1\right)\left(x^5-1\right)(1-x)^{-4}$

$\begin{aligned} & =\text { coefficient of } \mathrm{x}^{24} \text { in }\left(\mathrm{x}^9-\mathrm{x}^5-\mathrm{x}^4+1\right)\left(1+4 \mathrm{x}+{ }^5 \mathrm{C}_2 \mathrm{x}^2+\ldots \ldots\right) \\ & ={ }^{18} \mathrm{C}_{15}-{ }^{22} \mathrm{C}_{19}-{ }^{23} \mathrm{C}_{20}+{ }^{27} \mathrm{C}_{24} \\ & ={ }^{18} \mathrm{C}_3-{ }^{22} \mathrm{C}_3-{ }^{23} \mathrm{C}_3+{ }^{27} \mathrm{C}_3 \\ & =816-1540-1771+2925 \\ & =430\end{aligned}$

Hence, the answer is 430

Example 2: The number of ways in which the examiner can assign 30 marks to 8 questions, giving not less than 2 marks to any questions, is : [JEE MAINS 2013]

Solution

Solution
${2} {2}{2}{2}{2}{2}{2}{2} \Rightarrow 30-16=14$ Mark

Hence,

$
\begin{aligned}
& n=8 \\
& r=14
\end{aligned}
$
$
\text { no of ways }={ }^{n+r-1} C_r={ }^{8+14-1} C_{14}={ }^{21} C_{14}
$
Hence, the answer is ${ }^{21} C_7$

Example 3: In how many ways can 5 different books can be tied up in 4 bundles?

Solution: The number of ways in which n different things can be distributed into r different groups is

$r^n-{ }^r C_1(r-1)^n+{ }^r C_2(r-2)^n-{ }^r C_3(r-3)^n+\ldots \ldots+(-1)^{r-1} \cdot{ }^r C_{r-1}$

or

$\sum_{p=0}^r(-1)^p \cdot r C_p \cdot(r-p)^n$

The number of ways $=\frac{1}{4!}\left(4^5-{ }^4 C_1 \cdot 3^5+{ }^4 C_2 \cdot 2^5-{ }^4 C_3 \cdot 1^5\right)=10$

Hence, the answer is 10

Example 4: The number of ways in which 6 different balls can be put in two boxes of different sizes so that no box remains empty is:

Solution: There are two distinct boxes for 6 different balls so each ball has 2 choices
$\text { So we have } 2^6$
But no box remains empty,
So number of ways $=2^6-2=62$

Hence, the answer is 62

Example 5: In how many ways can 7 different prizes be distributed among 3 students, where each student can receive at most one prize and one student gets two prizes?

Solution: To calculate the number of ways the 7 different prizes can be distributed among 3 students, where each student can receive at most one prize and one student gets two prizes, we can consider the following:

First, we select the students who will receive two prizes. There are 3 students to choose from, so there are 3 options.

Next, we assign the two prizes to the chosen student. There are 7 prizes to choose from for the first prize and 6 remaining prizes to choose from for the second prize. This can be calculated as $7 \times 6=42$ options.

Finally, we distributed the remaining 5 prizes among the other two students. Each of the remaining two students can receive at most one prize, so for each prize, there are 2 students to choose from.
$ \text { Since there are } 5 \text { remaining prizes, this gives us } 2^5=32 \text { options. }$

To calculate the total number of ways to distribute the prizes, we multiply the number of options for each step:

$3 \times 42 \times=4032$

Hence, there are 4,032 distinct ways to distribute the 7 different prizes among 3 students, where each student can receive at most one prize and one student gets two prizes.

Hence, the answer is 4032


Frequently Asked Questions (FAQs)

1. How do you approach a problem involving the distribution of distinct objects into distinct boxes?
For distributing n distinct objects into k distinct boxes:
2. What is the formula for distributing n distinct objects into r distinct groups with n1, n2, ..., nr objects in each group?
The formula is: n! / (n1! × n2! × ... × nr!), where n = n1 + n2 + ... + nr. This is known as the Multinomial Coefficient. It calculates the number of ways to divide n distinct objects into r groups with specified sizes.
3. How does the concept of "stars and bars" relate to the Distribution of Things?
The "stars and bars" method is used for distributing indistinguishable objects into distinguishable containers. It represents objects as stars and separators between groups as bars. The formula (n+r-1) C (r-1) gives the number of ways to distribute n indistinguishable objects into r distinguishable containers.
4. How do you solve a problem involving the distribution of identical objects into distinct containers?
To distribute n identical objects into k distinct containers:
5. How do you approach a problem involving the distribution of objects with some restrictions?
For problems with restrictions:
6. How does the concept of distinguishability affect distribution problems?
Distinguishability is crucial in distribution problems. If objects are distinguishable (unique), we treat them differently than if they are indistinguishable (identical). Distinguishable objects lead to more possible arrangements, while indistinguishable objects reduce the number of unique distributions.
7. What is the difference between permutations and combinations in the context of distribution problems?
In distribution problems, permutations are used when the order within groups matters (e.g., arranging books on shelves), while combinations are used when only the selection of items for each group matters, not their order within the group (e.g., distributing identical candies among children).
8. What is the significance of the term "exactly" in distribution problems?
"Exactly" in distribution problems specifies a precise condition, unlike "at least" or "at most". It often requires:
9. How do you approach a problem involving the distribution of objects with a "at least" and "at most" condition simultaneously?
For problems with both "at least" and "at most" conditions:
10. How do you handle distribution problems where some objects must be kept together or separated?
For problems with togetherness or separation constraints:
11. What is the Distribution of Things in Permutations and Combinations?
Distribution of Things refers to the process of arranging or distributing objects into different groups or positions. It involves calculating the number of ways to allocate items among various categories or locations, often using specific formulas and principles from permutations and combinations.
12. What is the fundamental principle behind the Distribution of Things?
The fundamental principle is the Multiplication Principle of Counting. It states that if one event can occur in 'm' ways, and another independent event can occur in 'n' ways, then the two events can occur together in 'm × n' ways. This principle is applied repeatedly in distribution problems involving multiple groups or categories.
13. What is the difference between distributing objects into boxes and distributing boxes into objects?
Distributing objects into boxes focuses on how objects are allocated among available containers. Distributing boxes into objects (or partitioning objects) focuses on how a set of objects can be divided into subsets. The latter often involves Stirling numbers and partition theory.
14. How does the equation for Distribution of Things differ from basic permutation formulas?
The Distribution of Things equation considers multiple groups or categories, whereas basic permutation formulas typically deal with arranging items in a single sequence. Distribution equations often involve dividing the total number of items into subgroups and calculating arrangements within and between these groups.
15. What is the difference between circular and linear distribution of objects?
Linear distribution arranges objects in a straight line, where the first and last positions are distinct. Circular distribution arranges objects in a circle, where there is no distinct start or end point. Circular distributions often have fewer unique arrangements due to rotational symmetry.
16. What is the difference between distributing objects with and without replacement?
Distribution with replacement allows an object to be used multiple times, while distribution without replacement uses each object only once. With replacement often leads to more possible arrangements and uses different formulas (e.g., n^r for r selections from n objects with replacement).
17. What is the role of the Binomial Theorem in distribution problems?
The Binomial Theorem is often used in distribution problems to:
18. What is the significance of the Stirling numbers in distribution problems?
Stirling numbers of the second kind, S(n,k), are crucial in distribution problems involving:
19. How does the concept of overcounting relate to distribution problems?
Overcounting occurs when a counting method counts some arrangements multiple times. In distribution problems, it often happens when:
20. How does the concept of symmetry affect distribution problems?
Symmetry in distribution problems can:
21. What is the difference between distribution with and without restrictions?
Distribution without restrictions allows objects to be placed in any group or position freely. Distribution with restrictions imposes conditions on how objects can be allocated, such as minimum or maximum numbers in certain groups, or specific objects that must go in particular positions.
22. What is the significance of the term "at least one" in distribution problems?
"At least one" indicates a minimum condition in distribution. It ensures that no group or category is empty. This often requires using the complementary counting method: calculate the total ways minus the ways where one or more groups are empty.
23. How do you distribute n distinct objects into k identical boxes?
To distribute n distinct objects into k identical boxes:
24. What is the significance of the term "at most" in distribution problems?
"At most" sets an upper limit on the number of objects in a group or category. To solve such problems:
25. How do you approach a problem involving the distribution of objects into groups with a specified sum in each group?
For distributing objects into groups with specified sums:
26. What is the Inclusion-Exclusion Principle, and how is it used in distribution problems?
The Inclusion-Exclusion Principle is used to count elements in multiple sets without double-counting. In distribution problems, it's often applied when there are multiple restrictions or conditions. It involves adding and subtracting the counts of various overlapping cases to arrive at the correct total.
27. What is the role of recursion in solving complex distribution problems?
Recursion is useful in distribution problems for:
28. How does the concept of derangement relate to distribution problems?
A derangement is a permutation where no element appears in its original position. In distribution problems, derangements are used when:
29. What is the significance of generating functions in solving distribution problems?
Generating functions are powerful tools in distribution problems for:
30. How do you approach a problem involving the distribution of objects with different probabilities or weights?
For weighted distribution problems:
31. How does the concept of indistinguishability affect the formula for distributing objects?
Indistinguishability reduces the number of unique arrangements:
32. How do you solve a problem involving the distribution of objects with a "neither... nor..." condition?
For "neither... nor..." conditions:
33. What is the role of the Exponential Generating Function in distribution problems?
Exponential Generating Functions (EGFs) are useful for:
34. How do you approach a problem involving the distribution of objects with cyclic constraints?
For cyclic distribution problems:
35. What is the significance of the Twelvefold Way in distribution problems?
The Twelvefold Way, introduced by Gian-Carlo Rota, categorizes 12 basic counting problems involving:
36. How does the concept of partitions relate to the distribution of objects?
Partitions in distribution problems involve:
37. What is the role of the Principle of Complementary Counting in distribution problems?
The Principle of Complementary Counting is used when it's easier to count the complement of a desired set:
38. How do you approach a problem involving the distribution of objects with mutual exclusion?
For mutual exclusion problems (where certain objects can't be in the same group):
39. What is the significance of the Stirling numbers of the first kind in distribution problems?
Stirling numbers of the first kind, denoted as s(n,k), are used in problems involving:
40. How does the concept of distinguishability of both objects and containers affect distribution problems?
The distinguishability of both objects and containers creates four main scenarios:
41. What is the role of the Multinomial Theorem in distribution problems?
The Multinomial Theorem is used for:
42. How do you approach a problem involving the distribution of objects with a specified pattern or sequence?
For distribution problems with specified patterns:
43. What is the significance of the Bell numbers in distribution problems?
Bell numbers, Bn, are important in distribution problems for:
44. How does the concept of conditional probability apply to distribution problems?
Conditional probability in distribution problems is used for:

Articles

Back to top