calendarBack
Quant

/

Modern Maths

/

Permutations & Combinations
ALL MODULES

CAT 2025 Lesson : Permutations & Combinations - Identical Elements

bookmarked

6.4 Selecting identical elements

Identical elements are those that cannot be distinguished from one another. The different selections will be the different number of elements that we could select.

For instance, from
n\bm{n} identical elements we can select 00 elements, 11 element, 22 elements, ..., nn elements. As selecting 00 elements is also a way, we can select from nn identical elements in (n+1)\bm{(n + 1)} ways.

If
1\bm{1} or more items are to be selected from n\bm{n} identical elements, then we can select in n\bm{n} ways.

In other words, from
n\bm{n} identical elements, the number of ways to make
-
00 or more selections is n+1\bm{n + 1} ways; and
- 1 or more selections is
n\bm{n} ways.

The following example is for selecting from
11 set of identical elements.

Example 46

A bag contains 88 identical red balls. In how many different ways can
(I) John pick balls from the bag?
(II) Josie pick balls from the bag, such that she picks at least
11 ball?

Solution

Case I: John can pick 0,1,2,3,4,5,6,70, 1, 2, 3, 4, 5, 6, 7 or 88 balls.
Number of ways
=8+1=9= 8 + 1 = 9

Case II: Josie can pick
1,2,3,4,5,6,71, 2, 3, 4, 5, 6, 7 or 88 balls.
Number of ways
=8= 8

Answer: (I)
99 ways; (II) 88 ways


The following examples pertain to selection of different sets of identical elements.

Example 47

Jaggu has 33 red, 44 black and 55 blue balls, wherein the balls of each colour are identical. In how many ways
(I) can Jaggu select the balls?
(II) can Jaggu select the balls such that at least one ball is selected?
(III) can Jaggu select the balls such that at least one ball of each colour is selected?

Solution

Case I: Ways of selecting from 33 red and 44 black and 55 blue balls =(3+1)×(4+1)×(5+1)=120= (3 + 1) \times (4 + 1) \times (5 + 1) = \bm{120}

Case II: In the Case I, there is
11 way where none of the balls are selected. This needs to be removed.

\therefore Number of ways to select 11 or more of these balls =1201=119= 120 - 1 = \bm{119}

Case III: As selecting none of any of the colours is not allowed, Jaggu can select the
33 red, 44 black and 55 blue balls in 3,43, 4 and 55 ways respectively.

\therefore Number of ways to select 11 or more of each colour =3×4×5=60= 3 \times 4 \times 5 = \bm{60}

Answer: (I)
120120; (II) 119119; (III) 6060


This concept of selecting identical elements also applies for finding the number of factors of a number (also covered in the Factors & Remainders lesson). When the number is prime factorised, the identical elements are the prime numbers and the number of such identical primes is its exponent/power.

Example 48

How many different factors does the number 1800018000 have?

Solution

Prime factorising 18000=18000 = 24×32×532^{4} \times 3^{2} \times 5^{3}

As there are
44 identical 22s, 22 identical 33s and 33 identical 55s,

Number of factors
=(4+1)×(2+1)×(3+1)=60= (4 + 1) \times (2 + 1) \times (3 + 1) = 60

Answer:
6060


6.5 Selecting identical elements into non-identical groups

Number of ways
n\bm{n} identical items can be divided into r\bm{r} distinct groups is n+r1Cr1^{n + r - 1}C_{r - 1}.

Let's understand this with an example.

Example: How many solutions for
a+b+c=8a + b + c = 8 exist, where a,ba, b and cc are non-negative integers?

As
a,ba, b and cc are non-negative integers, they can take values between 00 and 88.

Let's take the constant to be an
88 letter word, all of which are the same letter - xx. Say, xxxxxxxxx x x x x x x x.
Now, we place two dividers (letter '
yy') in this block. So, lets say the block is yyxxxxxxxxy y x x x x x x x x.

We can now define the number of
xx before the first yy as the value for aa, number of xx between the first and second yy as the value of bb. Lastly, the number of xx after the second yy as the value of cc.

If the word is
yyxxxxxxxxy y x x x x x x x x, we have a solution of a=0,b=0a = 0, b = 0 and c=8c = 8.
If the word is
xxyxxxxxyxx x y x x x x x y x, we have a solution of a=2,b=5a = 2, b = 5 and c=1c = 1.

Now, all we need to do is treat this as a
1010-letter word and compute the number of possible arrangements. As this is a 1010-letter word with 8x8 x and 2y2 y, the solution is

10!8!×2!=45\dfrac{10!}{8! \times 2!} = \bm{45}

Note that the above is nothing but
n+r1Cr1^{n + r - 1}C_{r - 1}, where nn is the total 88 and rr is the 33 variables (a,b,c)(a, b, c).
Number of non-negative integral solutions
== 8+31C31=^{8 + 3 - 1}C_{3 - 1} = 10C2=45^{10}C_{2} = \bm{45}

Example 49

In how many ways can 1515 identical balls be placed in 33 bags of different colours, such that
(I) each bag contains any number of balls?
(II) each bag has at least
11 ball?
(III) red and blue coloured bags have at least
22 balls each and black coloured bag has at least 11 ball?

Solution

Let a,ba, b and cc represent the 33 bags of different colours.

(I) With no other condition, we can apply the formula directly. Let
nn be the total 1515 and rr be the 33 variables.
a+b+c=15a + b + c = 15
Number of ways balls can be distributed
== 15+31C31=^{15 + 3 - 1}C_{3 - 1} = 17C2=136^{17}C_{2} = 136

(II) Since there should be at least one ball in each bag, we can begin by placing one ball in each bag. We are now left with
1212 balls.
a+b+c=12a + b + c = 12
Number of ways balls can be distributed
== 12+31C31=^{12 + 3 - 1}C_{3 - 1} = 14C2=91^{14}C_{2} = 91

(III) Once again, we satisfy the conditions by placing
2,22, 2 and 11 balls in red, blue and black bags respectively. Now, we can apply the formula, where a+b+c=10a + b + c = 10
10+31C31=^{10 + 3 - 1}C_{3 - 1} = 12C2=66^{12}C_{2} = 66

Answer: (I)
136136; (II) 9191; (III) 6666


Example 50

In how many ways can one or more of 1515 identical balls be placed in 33 bags of different colours?

Solution

The difference in this question (as compared to the earlier ones) is that there is no conditions for all 1515 balls to be placed. Let's create a dummy variable, say D, which holds the leftover/unplaced balls.
\therefore The equation now is a+b+c+D=15a + b + c + D = 15

Number of ways balls can be assigned
== 15+41C41=^{15 + 4 - 1}C_{4 - 1} = 18C3=816^{18}C_{3} = 816

As the questions requires us to find the cases where
11 or more balls are placed, we need to remove the 11 case where a,ba, b and cc are 00 and the dummy variable D=15D = 15.

\therefore Number of ways in which balls can be assigned =8161=815= 816 - 1 = \bm{815}

Answer:
815815


Example 51

In how many ways can 1515 identical balls be placed in either red, blue or black bags, such that
(I) each bag has an odd number of balls?
(II) the number of balls in the black bag is a multiple of
44?

Solution

Case I: Odd numbers are of the form 2k+12k + 1.
\therefore Let the number of balls in the red, blue and black bags be (2a+1),(2b+1)(2a + 1), (2b + 1) and (2c+1)(2c + 1) respectively.
(2a+1)+(2b+1)+(2c+1)=15(2a + 1) + (2b + 1) + (2c + 1) = 15
2(a+b+c)=122(a + b + c) = 12
a+b+c=6a + b + c = 6

\therefore Number of ways == 5+31C31=^{5 + 3 - 1}C_{3 - 1} = 8C2=^{8}C_{2} = 28\bm{28}

Case II: In this question we have to note that there is no requirement for each bag to have at least one ball. So, there can also be
00 balls in a bag. Let cc be the number of balls in the black bag.

Different cases where balls in the black bag is a multiple of
4:\bm{4:}

cc = Number of ways
00 a+b=15a + b = 1515+21C21=^{15 + 2 - 1}C_{2 - 1} = 16C1=16^{16}C_{1} = 16
44 a+b=11a + b = 1111+21C21=^{11 + 2 - 1}C_{2 - 1} = 12C1=12^{12}C_{1} = 12
88 a+b=7a + b = 77+21C21=^{7 + 2 - 1}C_{2 - 1} = 8C1=8^{8}C_{1} = 8
1212 a+b=3a + b = 33+21C21=^{3 + 2 - 1}C_{2 - 1} = 4C1=4^{4}C_{1} = 4


Total ways of assigning the balls
=16+12+8+4=40= 16 + 12 + 8 + 4 = \bm{40}

Answer: (I)
2828; (II) 4040


Example 52

In how many ways can 1515 identical balls be placed in either red, blue or black bags, such that none of the bags contain more than 88 balls?

Solution

This can be solved by subtracting the ways where the condition is breached from the total number of ways.

a+b+c=15a + b + c = 15
\therefore Total ways == 15+31C31=^{15 + 3 - 1}C_{3 - 1} = 17C2=136^{17}C_{2} = 136
Breach in condition occurs if a bag has
99 balls. Let's first place 99 balls in the red bag, which leaves us with 66.
a+b+c=6a + b + c = 6

\therefore Breaches where red has 99 or more balls == 6+31C31=^{6 + 3 - 1}C_{3 - 1} = 8C2=28^{8}C_{2} = 28

Likewise,
2828 such breaches can occur in each of blue and black bags.
\therefore Total breaches =28×3=84= 28 \times 3 = 84

Total possible cases
=13684=52= 136 - 84 = 52

Answer:
5252


6.6 Number of terms in algebraic expansion

Where
a1a_{1}, a2a_{2}, a3a_{3}, .., ara_{r} are different variables, the number of terms in the expansion of (a1+a2+...+ar)n(a_{1} + a_{2} + ... + a_{r})^{n} is the same as the number of different non-negative integral solutions for a1+a2+...+ar=na_{1} + a_{2} + ... + a_{r} = n.

∴ Number of terms in the expansion of
(a1+a2+...+ar)n(a_{1} + a_{2} + ... + a_{r})^{n} = n+r1Cr1\bm{^{n + r - 1}C_{r - 1}}

Where there is only
11 variable with different powers such as a0,a1,a2a^{0}, a^{1}, a^{2}, etc.,

Number of terms in the expansion of
(1+a+a2+...+ar)n=nr+1(1 + a + a^{2} + ... + a^{r})^{n} = \bm{nr + 1}

Example 53

What is the number of distinct terms in the expansion of (a+b+c)20(a + b + c)^{20}?
[CAT 2008]

(1)
231231            (2) 253253            (3) 242242            (4) 210210            (5) 228228

Solution

The powers of a,ba, b and cc in each term of the expansion will add up to 2020.
Let
x,yx, y and zz be the respective powers.
x+y+z=20x + y + z = 20

Number of different terms
=20+31C31=22C2=231= ^{20 + 3 - 1}C_{3 - 1} = ^{22}C_{2} = 231

Answer: (1)
231231


Loading...Loading Video....