Docsity

Permutations and combinations short notes, Summaries of Mathematics

Toggle sidebar
bg1
6
Permutations and
Combinations
FundamentalPrinciplesofCounting
There are two Fundamental Principles of Counting
1. MultiplicationPrinciple
If first operation can be performed in mways and then a second
operation can be performed in nways. Then, the two operations taken
together can be performed in mn ways. This can be extended to any
finite number of operations.
2. AdditionPrinciple
If an operation can be performed in mways and another operation,
which is independent of the first, can be performed in nways. Then,
either of the two operations can be performed in m n+ways. This can
be extended to any finite number of mutually exclusive events.
Factorial
For any natural number n, we define factorial as
n!or |n=− − × ×n n n( )( )1 2 3 2 1K.
The rotation n!represent the present of first nnatural numbers.
ImportantResultsRelatedtoFactorial
(i) 0 1 1! != =
(ii) Factorialsofnegativeintegersandfractionsarenotdefined.
(iii) n!=n n n n n( )! ( )( )!− = − −1 1 2
(iv) n
rnn n r
!
!( )( ) ( )= − − +1 2 1L
(v) n!+1isnotdivisiblebyanynaturalnumberbetween2and n.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Permutations and combinations short notes and more Summaries Mathematics in PDF only on Docsity!

Permutations and

Combinations

Fundamental Principles of Counting

There are two Fundamental Principles of Counting

1. Multiplication Principle

If first operation can be performed in m ways and then a second operation can be performed in n ways. Then, the two operations taken together can be performed in mn ways. This can be extended to any finite number of operations.

2. Addition Principle

If an operation can be performed in m ways and another operation, which is independent of the first, can be performed in n ways. Then, either of the two operations can be performed in m + n ways. This can be extended to any finite number of mutually exclusive events.

Factorial

For any natural number n , we define factorial as n! or | n = n n ( − 1 )( n − 2 ) K 3 × 2 × 1. The rotation n! represent the present of first n natural numbers.

Important Results Related to Factorial

(i) 0! = 1 != 1 (ii) Factorials of negative integers and fractions are not defined. (iii) n! = n n ( − 1 )! = n n ( − 1 )( n − 2 )! (iv) n r

! n n n r !

= ( − 1 )( − 2 ) L( + 1 )

(v) n! + 1 is not divisible by any natural number between 2 and n.

Exponent of a Prime p in n!

If p is prime and pr^ divides n! , then maximum exponent of prime p in n! is given by

E n n p

n p

n p p

2 3 +K

Permutation

Each of the different arrangement which can be made by taking some or all of a number of things is called a permutation. Mathematically The number of ways of arranging n distinct objects in a row taking (^) r ( 0 < r ≤ n )at a time is denoted by (^) P n ( , r ) or n^ Pr.

i.e. n^ Pr n n r

Properties of Permutation

(i) n^ Pn = n ( n − 1 ) ( n − 2 )... 1 = n! (ii) n^ P n (^0) n

(iii) n^ P 1 (^) = n (iv) nPn (^) − 1 = n! (v) n^ Pr = n ⋅ n −^1 Pr − 1 = n n ( − 1 ) ⋅ n −^2 Pr − 2 = n n ( − 1 )( n − 2 ) ⋅ n −^3 Pr − 3 (vi) n^ −^1 P^ r + r ⋅ n −^1 Pr (^) − 1 = n^ Pr

(vii)

n r n r

P

P

n r −

1

Important Results on Permutation

(i) The number of permutations of n different things taken r at a time, when each thing may be repeated any number of times is nr^. (ii) The number of permutations of n different objects taken r at a time, where 0 < r ≤ n and the objects do not repeat, is n n ( − 1 ) ( n − 2 ) ... ( n − r + 1 ), which is denoted by n^ Pr or P n r ( , ). (iii) The number of permutations of n different things taken all at a time is n^ Pn = n!.

(ii) Number of circular permutations of n different things taken all at a time, when clockwise or anti-clockwise orders are not different = 1 − 2

( n 1 )!. (iii) Number of circular permutations of n different things taken r at a time, when clockwise or anti-clockwise orders are taken as different is

n Pr r

(iv) Number of circular permutations of n different things, taken r at a time, when clockwise or anti-clockwise orders are not different is

n Pr 2 r

(v) If we mark numbers 1 to n on chairs in a round table, then n persons sitting around table is n!.

Combination

Each of the different groups or selections which can be made by some or all of a number of given things without reference to the order of the things in each group is called a combination. Mathematically The number of combinations of n different things taken r at a time is

C n r ( , ) or^ n^ Cr or

n r

 i.e.^

n Cr n r n r

, 0 ≤ r ≤ n

Properties of Combination

(i) n^ C (^) 0 = n^ Cn = 1 (ii) n^ C 1 (^) = n (iii) n^ Cr = n^ Cn − r (iv) If n^ Cr = n^ Cp , then either r = p or r + p = n

(v) n^ r

n (^) r C P r

(vi) n^ Cr + nCr (^) − 1 = n^ +^1 Cr (vii) n ⋅^ n^ −^1 C (^) r − 1 = ( n − r + 1 ) nCr − 1 (viii) n^ Cr nn r r

= −^1 C − 1 = −

− −

n r

n r

( ) n Cr ( )

2 2

(ix) n^ C (^) 0 + n^ C 1 (^) + n^ C (^) 2 + K+ n^ Cn = 2 n

(x) n^ C (^) 0 + n^ C (^) 2 + n^ C (^) 4 + K = n^ C 1 (^) + n^ C 3 + K= 2 n −^1 (xi) 2 n^ +^1 C 0 + 2 n^ +^1 C 1 + 2 n^ +^1 C 2 + K+^2 n^ +^1 Cn = 22 n (xii) n^ Cn + n^ +^1 C^ n + n^ +^2 C^ n + K+ 2 n^^ −^1 C^ n =^2 nCn + 1 (xiii) If n is even, then the greatest value of n^ Cr is nCn (^) / 2. (xiv) If n is odd, then the greatest value of n^ Cr is nC ( n + 1 ) 2

Important Results on Combination

(i) The number of combinations of n different things taken r at a time allowing repetitions is n^ +^ r^ −^1 C^ r. (ii) The total number of combinations of n different objects taken r at a time in which (a) m particular objects are excluded = n^ − m^ Cr. (b) m particular objects are included =^ n^ −^ m^ Cr (^) − m.

Important Points to be Remembered

1. Number of Functions

(i) If a set A has m elements and set B has n elements, then (a) number of functions from A to B is nm^. (b) number of one-one function from A to B is n^ Pm , m ≤ n. (c) number of onto functions from A to B is n m^ − nC^ 1 (^) ( n − 1 ) m^ + n^ C (^) 2 ( n − 2 ) m K; m ≤ n. (d) number of increasing (decreasing) functions from n A to B is Cm , m ≤ n. (e) number of non-increasing (non-decreasing) functions from A to B is m^ +^ n^ −^1 C^ m. (f) number of bijective (one-one onto) functions from A to B is n! , if m = n.

2. Use in Geometry

(i) Given, n distinct points in the plane, no three of which are collinear, then the number of line segments formed = nC 2. (ii) Given, n distinct points in the plane, in which m are collinear ( m ≥ 3 ), then the number of line segments is ( n^ C (^) 2 − mC 2 )+ 1. (iii) Given, n distinct points in the plane, no three of which are collinear, then the number of triangle formed = nC 3

(iv) Total number of divisors of n (excluding 1 or n ), is (α 1 + 1 )( α 2 + 1 )( α 3 + 1 ) K ( α r + 1 ) − 1. (v) The number of ways in which n can be resolved as a product of two factors is (a)^1 2

( α 1 + 1 )( α 2 + 1 )( α 3 + 1 )K ( α r + 1 ),if n is not a perfect square.

(b)^1 2

[( α 1 + 1 )( α 2 + 1 )( α 3 + 1 ) K (α (^) r + 1 ) + 1 ], if n is a perfect square. (vi) The number of ways in which n can be resolved into two factors which are prime to each other is 2 r^ −^1 , where r is the number of different factors in n.

4. Integral Solutions

(i) The number of integral solutions of x 1 (^) + x (^) 2 + K + x (^) r = n , where x 1 (^) , x (^) 2 ,K xr ≥ 0 is n^ +^ r −^1 Cr − 1 or n r Cn

(ii) Number of integral solutions of x 1 (^) + x (^) 2 + K + x (^) r = n , where x 1 (^) , x (^) 2 , K , xr ≥ 1 , is n −^1 Cr − 1.

5. Sum of Digits

(i) Sum of the numbers formed by taking all the given n digits = (Sum of all the n digits) × ( n − 1 )! × ( 111 ...... ) 1 n -times

(ii) The sum of all digits in the unit place of all numbers formed with the help of a 1 (^) , a (^) 2 , K , an all at a time (repetition of digits is not allowed) is ( n − 1 )!( a 1 (^) + a (^) 2 + K + an ). (iii) The sum of all digits of numbers that can be formed by using the digits a 1 (^) , a (^) 2 ,K , an (repetition of digits is not allowed) is ( n )!( a a an )

n − + + + −

K

6. Arrangements

(i) The number of ways in which m (one type of different things) and n (another type of different things) can be arranged in a row so that all the second type of things come together is n !( m + 1 .)!

(ii) The number of ways in which m (one type of different things) and n (another type of different things) can be arranged in row so that no two things of the same type come together is 2 × m n!! , provided m = n (iii) The number of ways in which m (one type of different things) and n (another type of different things) ( m ≥ n ), can be arranged in a circle so that no two things of second type come together ( m − 1 )! m^ Pn and when things of second type come together = m! n! (iv) The number of ways in which m things of one type and n things of another type (all different) ( m ≥ n ), can be arranged in the form of a garland so that all the second type of things come together, is m n!! 2

and if no two things of second type come together, is ( m − 1 )! m^ Pn 2 (v) If there are l objects of one kind, m objects of second kind, n objects of third kind and so on. Then, the number of possible arrangements permutations of r objects out of these objects = Coefficient of xr^ in the expansion of r x^ x^ x l

x x x m

l m ! !!!!!!

2 2

K K 

2

x x xn

n !!!

K.

7. Dearrangements

If n distinct objects are arranged in a row, then the number of ways in which they can be dearranged so that no one of them occupies the

place assigned to it is (^) n n !^ n !!!

K and^ it^ is

denoted by D ( n ).

8. Selection

There are two types of selection, which are as follows

1. Selection from Different Items

(i) The number r of ways of selecting at least one item from n distinct items is 2 n^ − 1.

= (^ + )!

m n m n

, where m ≠ n This can be extended to ( m + n + p )different things divided into three groups of m, n and p things respectively. In this case, number of ways (^ )! !!!

m n p m n p

    • (^) , where m ≠ n ≠ p.

(ii) The number of ways of dividing 2 n different elements into two groups of n objects each is (^ )! ( !)

2 n 2 , n

when the distinction can be

made between the groups, i.e. if the order of group is important. This can be extended to 3 n different elements divided into 3 groups of (^) n objects each. In this case, number of ways (^) = (^ )! ( !)

3

n n

(iii) The number of ways of dividing 2 n different elements into two groups of n objects when no distinction can be made between the groups i.e. order of the group is not important is ( )! !( !)

n n

This can be extended to 3 n different elements divided into 3 groups of n objects each. In this case, number of ways = (^ )! !( !)

n n

(iv) The number of ways in which mn different things can be divided equally it into m groups each containing n objects, if order of the group is not important is ( )! ( !)!

mn n m^ m

(v) If the order of the group is important, then number of ways of dividing mn different things equally into m distinct groups each containing n objects is ( )! ( !)

mn n m^

(vi) The number of ways of dividing n different things into r groups is (^1 1 2 ) r r^ C^1^^ r^ C^2^^ r^ C^3^ r

n r n r n r n !

[ − ( − ) + ( − ) − ( − ) + K ].

(vii) The number of ways of dividing n different things into r groups taking into account the order of the groups and also the order of things in each group is n + r − (^1) P (^) n = r r ( + 1 )( r + 2 )...( r + n − 1 ).

2. Division of Identical Items into Groups

(i) The number of ways of dividing n identical items among r persons, each of whom, can receive 0, 1, 2 or more items (≤ n )is n r Cr

  • − − 1

Or The number of ways of dividing n identical items into r groups, if blank groups are allowed is n^ +^ r −^1 Cr − 1. (ii) The number of ways of dividing n identical items among r persons, each one of whom receives at least one item is n −^1 Cr − 1. Or The number of ways of dividing n identical items into r groups such that blank groups are not allowed is n −^1 Cr − 1. (iii) The number of ways of dividing n identical things among r persons such that each gets 1, 2, 3, … or k things is the coefficient of xn^ −^ r in the expansion of ( 1 + x + x^2^ + K + xk^ −^1 ) r. (iv) The number of ways in which n identical items can be divided into r groups so that no group contains less than m items and more than k m ( < k )is coefficient of xn^ in the expansion of ( x m^ + x m^ +^1 + K+ xk r ).