Chapter 17 Permutations and Combinations PDF
Document Details
Uploaded by NourishingRoseQuartz
null
Tags
Related
- Lecture 31 - Discrete Mathematics (MTH202) PDF
- Lecture 32 Discrete Mathematics (MTH202) PDF
- Arjuna JEE 2025 Maths Permutations and Combinations PDF
- Arjuna JEE 2025 Mathematics Permutations and Combinations PDF
- Basic Concepts of Permutations and Combinations PDF
- Mathematics Resource Guide - Instructor's Manual 2024-2025
Summary
This document is a chapter on permutations and combinations. It explains factorial notation, exponent of primes, fundamental principles of counting, and different types of permutations. It also includes various examples and problems to demonstrate the use of formulas. This is a mathematical textbook suitable for high school students or undergraduate courses in mathematics or other related subjects..
Full Transcript
E3 Permutations 60 206 Permutations and Combinations 5.1 The Factorial. Factorial notation: Let n be a positive integer. Then, the continued product of first n natural numbers is called factorial n, to be denoted by n ! or n. Also, we define 0 ! = 1. Thus, n ! = n (n – 1) (n – 2)......3.2.1. ID when...
E3 Permutations 60 206 Permutations and Combinations 5.1 The Factorial. Factorial notation: Let n be a positive integer. Then, the continued product of first n natural numbers is called factorial n, to be denoted by n ! or n. Also, we define 0 ! = 1. Thus, n ! = n (n – 1) (n – 2)......3.2.1. ID when n is negative or a fraction, n ! is not defined. Deduction: n ! = n(n – 1) (n – 2) (n – 3)......3.2.1 U = n[(n 1)(n 2)(n 3)...... 3.2.1] = n [(n 1) ! ] Thus, 5! 5 (4 !), 3! 3 (2!) and 2! 2 (1 !) D YG Also, 1! 1 (0!) 0! 1. 5.2 Exponent of Prime p in n !. Let p be a prime number and n be a positive integer. Then the last integer amongst 1, 2, 3, n n .......(n – 1), n which is divisible by p is p , where denote the greatest integer less than or p p n equal to. p U 12 10 15 For example: 3 , 2, 5 etc. 5 3 3 Let E p (n) denotes the exponent of the prime p in the positive integer n. Then, ST n n n E p (n !) E p (1.2.3.......... (n 1) n) = Ep p.2 p.3 p....... p = E p 1.2.3...... p p p [ Remaining integers between 1 and n are not divisible by p] n Now the last integer amongst 1, 2, 3,..... which is divisible by p is p n n n / p n n p 2 p E p p, 2 p, 3 p.... 2 p because the remaining natural numbers from 1 to p p p n n n are not divisible by p = 2 E p 1.2.3...... 2 p p p Permutations and Combinations 207 n n n Similarly we get E p (n !) 2 3 p p p n ..... S p where S is the largest natural number. Such that p S n p S 1. 5.3 Fundamental Principles of Counting. Example: 1 A college offers 7 courses in the morning and 5 in the evening. The number of ways a student can select exactly one course, either in the morning or in the evening (a) 27 (b) 15 (c) 12 (d) 35 The student has seven choices from the morning courses out of which he can select one course in 7 ways. ID Solution: (c) E3 60 (1) Addition principle : Suppose that A and B are two disjoint events (mutually exclusive); that is, they never occur together. Further suppose that A occurs in m ways and B in n ways. Then A or B can occur in m + n ways. This rule can also be applied to more than two mutually exclusive events. For the evening course, he has 5 choices out of which he can select one course in 5 ways. Hence he has total number of 7 + 5 = 12 choices. D YG U (2) Multiplication principle : Suppose that an event X can be decomposed into two stages A and B. Let stage A occur in m ways and suppose that these stages are unrelated, in the sense that stage B occurs in n ways regardless of the outcome of stage A. Then event X occur in mn ways. This rule is applicable even if event X can be decomposed in more than two stages. Note : The above principle can be extended for any finite number of operations and may be stated as under : U If one operation can be performed independently in m different ways and if second operation can be performed independently in n different ways and a third operation can be performed independently in p different ways and so on, then the total number of ways in which all the operations can be performed in the stated order is (m × n × p ×.....) In a monthly test, the teacher decides that there will be three questions, one from each of exercise 7, 8 and 9 of the text book. If there are 12 questions in exercise 7, 18 in exercise 8 and 9 in exercise 9, in how many ways can three questions be selected ST Example: 2 (a) 1944 Solution: (a) (b) 1499 (c) 4991 (d) None of these There are 12 questions in exercise 7. So, one question from exercise 7 can be selected in 12 ways. Exercise 8 contains 18 questions. So, second question can be selected in 18 ways. There are 9 questions in exercise 9. So, third question can be selected in 9 ways. Hence, three questions can be selected in 12 × 18 × 9 = 1944 ways. 5.4 Definition of Permutation. The ways of arranging or selecting a smaller or an equal number of persons or objects at a time from a given group of persons or objects with due regard being paid to the order of arrangement or selection are called the (different) permutations. For example : Three different things a, b and c are given, then different arrangements which can be made by taking two things from three given things are ab, ac, bc, ba, ca, cb. 208 Permutations and Combinations Therefore the number of permutations will be 6. 5.5 Number of Permutations without Repetition. (1) Arranging n objects, taken r at a time equivalent to filling r places from n things r-places : r n – (r– Number of choices : n (n–1)(n – )(n – 1) of filling r places. 3) number of ways The number of ways of arranging2 = The n(n 1)(n 2).....(n r 1)((n r)!) n! n Pr = n(n 1)(n 2).......(n r 1) = (n r)! (n r)! 2 3 4 E3 60 1 (2) The number of arrangements of n different objects taken all at a time = n Pn n! n 0 ! 1; Example: 3 P0 n! 1; n Pr n. n 1 Pr 1 n! 1 0 or (r)! (r N ) (r)! If n P4 : n P5 1 : 2 , then n U 1996] (a) 4 Solution: (c) Example: 4 n (b) 5 (c) 6 [MP PET 1987; Rajasthan PET (d) 7 n! (n 5)! 1 P4 1 n4 2 n 6. ( n 4 ) ! n! 2 2 P5 D YG n ID Note : In a train 5 seats are vacant then how many ways can three passengers sit 1985; MP PET 2003] (a) 20 5 (b) 30 (c) 60 5! 5! 120 P3 60. (5 3) ! 2! 2 [Rajasthan PET (d) 10 Solution: (c) Number of ways are = Example: 5 How many words comprising of any three letters of the word “UNIVERSAL” can be formed (a) 504 (b) 405 (c) 540 (d) 450 9! 9! 504. Required numbers of words = 9 P3 (9 3)! 6 ! U Solution: (a) Example: 6 How many numbers of five digits can be formed from the numbers 2, 0, 4, 3, 8 when repetition of digit is not allowed ST [MP PET 2000] Solution: (a) Example: 7 Solution: (c) (a) 96 (b) 120 (c) 144 (d) 14 Given numbers are 2, 0, 4, 3, 8 Numbers can be formed = {Total – Those beginning with 0} = {5 ! – 4 !} = 120 – 24 = 96. How many numbers can be made with the help of the digits 0, 1, 2, 3, 4, 5 which are greater than 3000 (repetition is not allowed) (a) 180 (b) 360 (c) 1380 (d) 1500 All the 5 digit numbers and 6 digit numbers are greater than 3000. Therefore number of 5 digit numbers = 6 P5 5 P5 600. {Since the case that 0 will be at ten thousand place should be omit}. Similarly number of 6 digit numbers 6 ! – 5 ! = 600. Permutations and Combinations 209 Now the numbers of 4 digit numbers which are greater than 3000, having 3, 4 or 5 at first place, this can be done in 3 ways and remaining 3 digit may be filled from remaining 5 digits i.e., required number of 4 digit numbers are 5 P3 3 180. Hence total required number of numbers = 600 + 600 + 180 = 1380. 5.6 Number of Permutations with Repetition. Number of choices : n n n n The number of permutations = The number of ways of filling r places = (n)r E3 n 60 (1) The number of permutations (arrangements) of n different objects, taken r at a time, when each object may occur once, twice, thrice,........upto r times in any arrangement = The number of ways of filling r places where each place can be filled by any one of n objects. r r – places : 4 2 1 3 The number of arrangement of the letters of the word “CALCUTTA” (a) 2520 (b) 5040 (c) 10080 U Example: 8 ID (2) The number of arrangements that can be formed using n objects out of which p are identical (and of one kind) q are identical (and of another kind), r are identical (and of another n! kind) and the rest are distinct is. p!q!r! [MP PET 1984] (d) 40320 8! 5040. [since here 2C’s, 2T’s and 2A’s] 2 ! 2! 2! Required number of ways Example: 9 The number of 5 digit telephone numbers having at least one of their digits repeated is D YG Solution: (b) (a) 90,000 Solution: (d) (b) 100,000 (c) 30,240 (d) 69,760 Using the digits 0, 1, 2,.......,9 the number of five digit telephone numbers which can be formed is 10 5. (since repetition is allowed) The number of five digit telephone numbers which have none of the digits repeated = 10 P5 30240 The required number of telephone numbers = 10 5 30240 69760. 1986] How many words can be made from the letters of the word ‘COMMITTEE’ U Example: 10 9! (2 !)2 (b) ST (a) Solution: (b) 9! (2 !)3 (c) 9! 2! [MP PET 2002; RPET (d) 9 ! 9! 9! [Since here total number of letters is 9 and 2M’s, 2T’s and 2E’s] 2!2!2! (2!)3 Number of words = 5.7 Conditional Permutations. (1) Number of permutations of n dissimilar things taken r at a time when p particular things always occur = n p C r p r! (2) Number of permutations of n dissimilar things taken r at a time when p particular things never occur = n p C r r! 210 Permutations and Combinations (3) The total number of permutations of n different things taken not more than r at a time, when each thing may be repeated any number of times, is n(n r 1). n 1 60 (4) Number of permutations of n different things, taken all at a time, when m specified things always come together is m ! (n m 1) ! (5) Number of permutations of n different things, taken all at a time, when m specified things never come together is n !m ! (n m 1)! permutations that can be formed from these objects is n!. (m !) (n m ) ! : The above theorem can be extended further i.e., if there are n objects, of which ID Note E3 (6) Let there be n objects, of which m objects are alike of one kind, and the remaining (n m ) objects are alike of another kind. Then, the total number of mutually distinguishable p 1 are alike of one kind; p 2 are alike of another kind; p 3 are alike of 3rd kind;......: p r are alike n!. (p1 !) (p 2 !) ...... (p r !) U of rth kind such that p 1 p 2 ...... p r n ; then the number of permutations of these n objects is Gap method : Suppose 5 males A, B, C, D, E are arranged in a row as × A × B × C × D × E ×. There will be six gaps between these five. Four in between and two at either end. Now if three females P, Q,R are to be arranged so that no two are together we shall use gap method i.e., arrange them in between these 6 gaps. Hence the answer will be D YG Important Tips 6 P3. Together : Suppose we have to arrange 5 persons in a row which can be done in 5 ! = 120 ways. But if two U particular persons are to be together always, then we tie these two particular persons with a string. Thus we have 5 – 2 + 1 (1 corresponding to these two together) = 3 +1 = 4 units, which can be arranged in 4! ways. Now we loosen the string and these two particular can be arranged in 2 ! ways. Thus total arrangements = 24 × 2 = 48. ST Never together = Total – Together = 120 – 48 = 72. Example: 11 All the letters of the word ‘EAMCET’ are arranged in all possible ways. The number of such arrangement in which two vowels are not adjacent to each other is [EAMCET 1987; DCE 2000] Solution: (c) Example: 12 (a) 360 (b) 114 (c) 72 (d) 54 First we arrange 3 consonants in 3 ! ways and then at four places (two places between them and two 1 places on two sides) 3 vowels can be placed in 4 P3 ways. 2! 1 Hence the required ways = 3 ! × 4 P3 72. 2! The number of words which can be made out of the letters of the word ‘MOBILE’ when consonants always occupy odd places is (a) 20 (b) 36 (c) 30 (d) 720 Permutations and Combinations 211 Solution: (b) The word ‘MOBILE’ has three even places and three odd places. It has 3 consonants and 3 vowels. In three odd places we have to fix up 3 consonants which can be done in places we have to fix up remaining three places which can be done in The total number of ways = 3 3 3 P3 ways. Now remaining three P3 ways. P3 P3 36. 3 The number of 4 digit number that can be formed from the digits 0, 1, 2, 3, 4, 5, 6, 7 so that each number contain digit 1 is (a) 1225 (b) 1252 (c) 1522 (d) 480 Solution: (d) After fixing 1 at one position out of 4 places, 3 places can be filled by whose fourth digit is zero, so such type of ways = Total ways = 7 6 P2 P3 P2 480. 6 60 Example: 13 7 P3 ways. But some numbers m men and n women are to be seated in a row, so that no two women sit together. If m n , then the number of ways in which they can be seated is (m 1)!(m 1)! m !(m 1)! m !(m 1)! (a) (b) (c) (d) None of these (m n 1)! (m n 1)! (m n 1)! Solution: (a) First arrange m men, in a row in m ! ways. Since n < m and no two women can sit together, in any one E3 Example: 14 ID of the m ! arrangement , there are (m + 1) places in which n women can be arranged in By the fundamental theorem, the required number of arrangement = m ! Example: 16 Pn ways. m !(m 1)!. (m n 1)! If the letters of the word ‘KRISNA’ are arranged in all possible ways and these words are written out as in a dictionary, then the rank of the word ‘KRISNA’ is (a) 324 (b) 341 (c) 359 (d) None of these Words starting from A are 5 ! = 120; Words starting from I are 5 ! = 120 Words starting from KA are 4 ! = 24; Words starting from KI are 4 ! = 24 Words starting from KN are 4 ! = 24; Words starting from KRA are 3 ! = 6 Words starting from KRIA are 2 ! = 2; Words starting from KRIN are 2 ! = 2 Words starting from KRIS are 1 ! = 1 Words starting from KRISNA are 1 ! = 1 Hence rank of the word KRISNA is 324 We are to form different words with the letters of the word ‘INTEGER’. Let m 1 be the number of U Solution: (a) Pn D YG Example: 15 m 1 m 1 words in which I and N are never together, and m 2 be the number of words which begin with I and end with R. Then m1 / m 2 is equal to [AMU 2000] U (a) 30 (b) 60 (c) 90 (d) 180 We have 5 letters other than ‘I’ and ‘N’ of which two are identical (E's). We can arrange these letters 5! in a line in ways. In any such arrangement ‘I’ and ‘N’ can be placed in 6 available gaps in 6 P2 2! 5! 6 P2 m 1. ways, so required number = 2! ST Solution: (a) Now, if word start with I and end with R then the remaining letters are 5. So, total number of ways = 5! m2. 2! Example: 17 m1 5! 6! 2! .. 30. m2 2! 4 ! 5! An n digit number is a positive number with exactly n digits. Nine hundred distinct n-digit numbers are to be formed using only the three digits 2, 5 and 7. The smallest value of n for which this is possible is [IIT 1998] (a) 6 (b) 7 (c) 8 (d) 9 212 Permutations and Combinations Solution: (b) Since at any place, any of the digits 2, 5 and 7 can be used total number of such positive n-digit numbers are 3 n. Since we have to form 900 distinct numbers, hence 3 n 900 n 7. The number of numbers that can be formed with the help of the digits 1, 2, 3, 4, 3, 2, 1 so that odd digits always occupy odd places, is (a) 24 Solution: (b) (b) 18 (c) 12 The 4 odd digits 1, 3, 3, 1 can be arranged in the 4 odd places, in can be arranged in the three even places (d) 30 4! 6 ways and 3 even digits 2, 4, 2 2!2! 60 Example: 18 3! 3 ways. Hence the required number of ways = 6 × 3 = 18. 2! E3 5.8 Circular Permutations. So far we have been considering the arrangements of objects in a line. Such permutations are known as linear permutations. ID Instead of arranging the objects in a line, if we arrange them in the form of a circle, we call them, circular permutations. In circular permutations, what really matters is the position of an object relative to the others. U Thus, in circular permutations, we fix the position of the one of the objects and then arrange the other objects in all possible ways. There are two types of circular permutations : D YG (i) The circular permutations in which clockwise and the anticlockwise arrangements give rise to different permutations, e.g. Seating arrangements of persons round a table. (ii) The circular permutations in which clockwise and the anticlockwise arrangements give rise to same permutations, e.g. arranging some beads to form a necklace. Look at the circular permutations, given below : A A B U D C D B C ST Suppose A, B, C, D are the four beads forming a necklace. They have been arranged in clockwise and anticlockwise directions in the first and second arrangements respectively. Now, if the necklace in the first arrangement be given a turn, from clockwise to anticlockwise, we obtain the second arrangement. Thus, there is no difference between the above two arrangements. (1) Difference between clockwise and anticlockwise arrangement : If anticlockwise and clockwise order of arrangement are not distinct e.g., arrangement of beads in a necklace, arrangement of flowers in garland etc. then the number of circular permutations of n distinct (n 1)! items is 2 (2) Theorem on circular permutations Permutations and Combinations 213 Theorem 1 : The number of circular permutations of n different objects is (n 1) ! Theorem 2 : The number of ways in which n persons can be seated round a table is (n 1)! Note 60 Theorem 3 : The number of ways in which n different beads can be arranged to form a 1 necklace, is (n 1)!. 2 : When the positions are numbered, circular arrangement is treated as a linear arrangement. Example: 19 E3 In a linear arrangement, it does not make difference whether the positions are numbered or not. In how many ways a garland can be made from exactly 10 flowers (b) 9 ! (c) 2 (9!) ways] U In how many ways can 5 boys and 5 girls sit in a circle so that no boys sit together (a) 5! × 5! (b) 4! × 5 ! (c) 5 ! 5 ! 2 (d) None of these Since total number of ways in which boys can occupy any place is (5 1)! 4! and the 5 girls can be sit D YG Solution: (b) 9! 2 1 1 (9!) ways [ n flower's garland can be made in (n 1)! 2 2 Solution: (d) A garland can be made from 10 flowers in Example: 20 (d) ID (a) 10 ! [MP PET 1984] accordingly in 5! ways. Hence required number of ways are 4 ! × 5 !. Example: 21 The number of ways in which 5 beads of different colours form a necklace is (a) 12 Solution: (a) (b) 24 (c) 120 (d) 60 The number of ways in which 5 beads of different colours can be arranged in a circle to form a necklace are = (5 1)! 4 !. U But the clockwise and anticlockwise arrangement are not different (because when the necklace is turned over one gives rise to another). Hence the total number of ways of arranging the beads = 1 (4 !) 12. 2 The number of ways in which 5 male and 2 female members of a committee can be seated around a round table so that the two female are not seated together is ST Example: 22 (a) 480 Solution: (a) (b) 600 (c) 720 (d) 840 Fix up a male and the remaining 4 male can be seated in 4! ways. Now no two female are to sit together and as such the 2 female are to be arranged in five empty seats between two consecutive male and number of arrangement will be 5 P2. Hence by fundamental theorem the total number of ways is = 4 ! P2 24 20 480 ways. 5 Combinations 5.9 Definition. Each of the different groups or selections which can be formed by taking some or all of a number of objects, irrespective of their arrangements, is called a combination. 214 Permutations and Combinations 60 Suppose we want to select two out of three persons A, B and C. We may choose AB or BC or AC. Clearly, AB and BA represent the same selection or group but they give rise to different arrangements. Clearly, in a group or selection, the order in which the objects are arranged is immaterial. Notation: The number of all combinations of n things, taken r at a time is denoted by n C (n, r) or n C r or . r U ID E3 (1) Difference between a permutation and combination : (i) In a combination only selection is made whereas in a permutation not only a selection is made but also an arrangement in a definite order is considered. (ii) In a combination, the ordering of the selected objects is immaterial whereas in a permutation, the ordering is essential. For example A, B and B, A are same as combination but different as permutations. (iii) Practically to find the permutation of n different items, taken r at a time, we first select r items from n items and then arrange them. So usually the number of permutations exceeds the number of combinations. (iv) Each combination corresponds to many permutations. For example, the six permutations ABC, ACB, BCA, BAC, CBA and CAB correspond to the same combination ABC. Note : Generally we use the word ‘arrangements’ for permutations and word “selection” D YG for combinations. 5.10 Number of Combinations without Repetition. The number of combinations (selections or groups) that can be formed from n different n! objects taken r(0 r n) at a time is n Cr r !(n r)! Let the total number of selections (or groups) = x. Each group contains r objects, which can be arranged in r ! ways. Hence the number of arrangements of r objects = x (r!). But the number of U arrangements = n Pr. n Pr n! x n Cr. r! r !(n r)! ST x (r!) n Pr x Important Tips n C r is a natural number. n C0 n Cn 1, n C1 n n Cr n Cn r n C x n C y x y or x y n n. n 1 C r 1 (n r 1)n C r 1 If n is even then the greatest value of n n n Cn 1 or 2 Cr n n n C r n C r 1 n 1 C r C r is n C n / 2. If n is odd then the greatest value of Cn 1. 2 n n 1. C r 1 r C0 n C1 n C2 ..... n Cn 2n n n Cr C r 1 n r 1 r n C0 n C 2 n C4 ...... n C1 n C3 n C5 ..... 2n 1 n C r is Permutations and Combinations 215 Note n n Cn n 1Cn n 2 Cn n 3 Cn .... 2 n 1Cn 2 n Cn 1 C0 2 n 1C1 2 n 1C2 ..... 2 n 1Cn 2 2 n : Cn Number of combinations of n dissimilar things taken all at a time n! 1 1 , ( 0 ! 1). n !(n n) ! 0 ! Example: 23 15 If C 3 r 15 C r 3 , then the value of r is [IIT 1967; Rajasthan PET 1991; MP PET 1998; Karnataka 60 2 n 1 CET 1996] (a) 3 C 3r Cr3 n Cr C r 1 Example: 25 If (b) C 3 2 n C 2 , then n = C 3 2. C 2 If (d) n r 1 r (c) 5 [MP PET 2000] (d) 6 n 1 2 (n 1)! n! n 1 6 n 5. 2. 3. 2! 2! 3!(n 2)! 2!(n 2)! Example: 26 (b) 4 n D YG Solution: (c) n r 1 r (c) U (a) 3 n 1 n r 1 r [MP PET 1984] (n r 1)(r 1) !(n r) ! (r 1) !(n r 1)! n! n! (n r 1) =. r!(n r)! r r!(n r)! r(r 1) !(n r) ! n! n! (r 1) ! (n r 1) ! Cr Cr 1 n 1 (d) 8 C15 3 r C r 3 15 3r r 3 r 3. n n (c) 5 15 nr r (a) Solution: (c) 15 E3 n Example: 24 (b) 4 15 ID Solution: (a) 15 n C r 1 36 , n C r 84 and n C r 1 126 then the value of r is [IIT 1979; Pb. CET 1993; DCE 1999; MP PET 2001] (a) 1 (b) 2 n C r 1 36 and 84 n Cr (c) 3 (d) None of these 84 126 Solution: (c) Here Example: 27 3n 10 r 3 and 4 n 10 r 6 ; on solving we get n 9 and r 3. In a conference of 8 persons, if each person shake hand with the other one only, then the total number of shake hands shall be Cr n C r 1 U n (a) 64 Solution: (d) (c) 49 (d) 28 Total number of shake hands when each person shake hands with the other once only = ST ways. (b) 56 8 C 2 28 Example: 28 How many words of 4 consonants and 3 vowels can be formed from 6 consonants and 5 vowels.[Rajasthan PE (a) 75000 (b) 756000 (c) 75600 (d) None of these Solution: (b) Required number of words = [Selection can be made in Example: 29 6 6 C 4 5 C 3 7 ! = 756000 C 4 5 C 3 while the 7 letters can be arranged in 7!] To fill 12 vacancies there are 25 candidates of which five are from scheduled caste. If 3 of the vacancies are reserved for scheduled caste candidates while the rest are open to all, then the number of ways in which the selection can be made [Rajasthan PET 1981] (a) 5 C3 22 C9 (b) 22 C9 C3 5 (c) 22 C3 C3 5 (d) None of these 216 Permutations and Combinations Solution: (a) The selection can be made in 5 C 3 22 C 9 [since 3 vacancies filled from 5 candidates in 5 C 3 ways and now remaining candidates are 22 and remaining seats are 9, then remaining vacancies filled by ways. Hence total number of ways C 3 5 22 22 C9 C9. 5.11 Number of Combinations with Repetition and All Possible Selections. 60 (1) The number of combinations of n distinct objects taken r at a time when any object may be repeated any number of times. = coefficient of x r in (1 x x 2 ....... x r )n = coefficient of x r in (1 x )n n r 1 C r (2) The total number of ways in which it is possible to form groups by taking some or all of E3 n things at a time is 2 n 1. (3) The total number of ways in which it is possible to make groups by taking some or all out of n (n1 n 2 ....) things, when n1 are alike of one kind, n 2 are alike of second kind, and so on is {(n1 1)(n 2 1)......} 1. ID (4) The number of selections of r objects out of n identical objects is 1. (5) Total number of selections of zero or more objects from n identical objects is n 1. (6) The number of selections taking at least one out of a1 a 2 a 3 ...... an + k objects, U where a1 are alike (of one kind), a 2 are alike (of second kind) and so on...... a n are alike (of nth Example: 30 D YG kind) and k are distinct = [(a1 1)(a 2 1)(a 3 1).......(an 1)] 2 k 1. There are 10 lamps in a hall. Each one of them can be switched on independently. The number of ways in which the hall can be illuminated is (a) 10 2 Solution: (b) Number of ways are = 2 (b) 1023 10 (c) 210 (d) 10 ! 1 1023 [– 1 corresponds to none of the lamps is being switched on.] Example: 31 10 different letters of English alphabet are given. Out of these letters, words of 5 letters are formed. How many words are formed when atleast one letter is repeated U (a) 99748 Solution: (a) (b) 98748 (c) 96747 (d) 97147 Number of words of 5 letters in which letters have been repeated any times = 10 5 ST But number of words on taking 5 different letters out of 10 = 10 C5 252 Required number of words = 10 5 252 = 99748. Example: 32 A man has 10 friends. In how many ways he can invite one or more of them to a party (a) 10 ! (b) 210 (c) 10 ! 1 (d) 210 1 Solution: (d) Required number of friend = 210 1 (Since the case that no friend be invited i.e., Example: 33 Numbers greater than 1000 but not greater than 4000 which can be formed with the digits 0, 1, 2, 3, 4 (repetition of digits is allowed), are (a) 350 Solution: (b) (b) 375 (c) 450 10 C 0 is excluded) (d) 576 Numbers greater than 1000 and less than or equal to 4000 will be of 4 digits and will have either 1 (except 1000) or 2 or 3 in the first place with 0 in each of remaining places. After fixing 1st place, the second place can be filled by any of the 5 numbers. Similarly third place can be filled up in 5 ways and 4th place can be filled up in 5 ways. Thus there will be 5 × 5 × 5 = 125 ways Permutations and Combinations 217 in which 1 will be in first place but this include 1000 also hence there will be 124 numbers having 1 in the first place. Similarly 125 for each 2 or 3. One number will be in which 4 in the first place and i.e., 4000. Hence the required numbers are 124 + 125 + 125 +1 = 375 ways. 5.12 Conditional Combinations. (i) Always included = n k (ii) Never included = C r k 60 (1) The number of ways in which r objects can be selected from n different objects if k particular objects are n k Cr = n p C r n p C r 1 n p C r 2 ....... n p C 0 if r p and n p Cr n p Cr 1 n p Cr 2 ....... n p Cr p if r p Example: 34 In the 13 cricket players 4 are bowlers, then how many ways can form a cricket team of 11 players in which at least 2 bowlers included (a) 55 Solution: (c) ID = E3 (2) The number of combinations of n objects, of which p are identical, taken r at a time is (b) 72 (c) 78 (d) None of these The number of ways can be given as follows: 2 bowlers and 9 other players = 4 C 2 9 C 9 ; 3 bowlers and 8 other players = 4 C 3 9 C 8 U 4 bowlers and 7 other players = 4 C 4 9 C7 Hence required number of ways = 6 × 1 + 4 × 9 + 1 × 36 = 78. In how many ways a team of 10 players out of 22 players can be made if 6 particular players are always to be included and 4 particular players are always excluded (a) Solution: (c) D YG Example: 35 22 (b) C10 12 (d) C4 18 C4 12 C4. In how many ways can 6 persons to be selected from 4 officers and 8 constables, if at least one officer is to be included U (a) 224 Solution: (c) (c) C3 6 particular players are always to be included and 4 are always excluded, so total number of selection, now 4 players out of 12. Hence number of ways = Example : 36 18 [Roorkee 1985; MP PET 2001] (b) 672 (c) 896 (d) None of these Required number of ways = C1 C5 C 2 C4 C3 C3 C4 C 2 = 4 × 56 + 6 × 70 + 4 × 56 + 1 × 28 4 8 4 8 4 8 4 8 ST = 896. 5.13 Division into Groups. Case I : (1) The number of ways in which n different things can be arranged into r different groups is n r 1 Pn or n ! n 1 C r 1 according as blank group are or are not admissible. (2) The number of ways in which n different things can be distributed into r different group is r n r C1 (r 1)n r C 2 (r 2)n ......... (1)n 1 n Cr 1 or Coefficient of x n is n ! (e x 1)r Here blank groups are not allowed. 218 Permutations and Combinations (3) Number of ways in which m × n different objects can be distributed equally among n persons (or numbered groups) = (number of ways of dividing into groups) × (number of groups) ! = (mn )!n ! n (m !) n! (mn )! (m!)n. 60 Case II : (1) The number of ways in which (m n) different things can be divided into two (m n)! groups which contain m and n things respectively is, m n C m. n C n ,m n. m !n! E3 Corollary: If m n , then the groups are equal size. Division of these groups can be given by two types. Type I : If order of group is not important : The number of ways in which 2n different (2n)! things can be divided equally into two groups is 2!(n!) 2 ID Type II : If order of group is important : The number of ways in which 2n different (2n)! 2n! things can be divided equally into two distinct groups is 2! 2 2!(n!) (n!)2 U (2) The number of ways in which (m + n + p) different things can be divided into three (m n p)! groups which contain m, n and p things respectively is m n p C m. n p C n. p C p ,m n p m !n ! p ! Corollary: If m n p , then the groups are equal size. Division of these groups can be D YG given by two types. Type I : If order of group is not important : The number of ways in which 3p different (3 p)! things can be divided equally into three groups is 3!( p!)3 Type II : If order of group is important : The number of ways in which 3p different things (3 p)! (3 p)! can be divided equally into three distinct groups is t 3! 3 3!( p!) ( p!)3 order of group is not important : The number of ways in which mn different U Note : If ST things can be divided equally into m groups is mn ! (n!)m m ! If order of group is important: The number of ways in which mn different things (mn )! (mn )! can be divided equally into m distinct groups is. m! m (n!) m! (n!)m Example: 37 In how many ways can 5 prizes be distributed among four students when every student can take one or more prizes [BIT Ranchi 1990; Rajasthan PET 1988, 97] (a) 1024 Solution: (a) Example: 38 (b) 625 (c) 120 (d) 60 The required number of ways = 4 1024 [since each prize can be distributed by 4 ways] The number of ways in which 9 persons can be divided into three equal groups is (a) 1680 (b) 840 (c) 560 (d) 280 5 Permutations and Combinations 219 9! 9 8 7 6 5 4 = 280. 3 323232 (3!) Solution: (d) Total ways = Example: 39 The number of ways dividing 52 cards amongst four players equally, are 52! 52! 52! (a) (b) (c) 2 4 (13!) 4! (13!) (12!) 4 4 ! [IIT 1979] (d) None of these 52! 39 ! 26 ! 13 ! 52! =. 39 !13 ! 26 !13 ! 13 !13 ! 13 ! (13!)4 Required number of ways = 52 C13 39 C13 26 C13 13 C13 = Example: 40 A question paper is divided into two parts A and B and each part contains 5 questions. The number of ways in which a candidate can answer 6 questions selecting at least two questions from each part is (a) 80 (b) 100 (c) 200 (d) None of these The number of ways that the candidate may select Solution: (c) 60 Solution: (a) E3 2 questions from A and 4 from B = 5 C 2 5 C 4 ; 3 questions form A and 3 from B = 5 C 3 5 C 3 4 questions from A and 2 from B = 5 C4 5 C 2. Hence total number of ways are 200. 5.14 Derangement. ID Any change in the given order of the things is called a derangement. If n things form an arrangement in a row, the number of ways in which they can be Solution: (c) There are four balls of different colours and four boxes of colurs same as those of the balls. The number of ways in which the balls, one in each box, could be placed such that a ball doesn't go to box of its own colour is [IIT 1992] (a) 8 (b) 7 (c) 9 (d) None of these D YG Example: 41 U 1 1 1 1 deranged so that no one of them occupies its original place is n !1 ...... (1)n. . 1! 2! 3! n ! 1 1 1 12 4 1 9. Number of derangement are = 4 ! 2 ! 3 ! 4 ! 1 1 1 1 1 (Since number of derangements in such a problem is given by n ! 1 ...... (1)n . n! 1! 2! 3! 4 ! 5.15 Some Important Results for Geometrical Problems. U (1) Number of total different straight lines formed by joining the n points on a plane of which m (< n) are collinear is n C 2 m C 2 1. (2) Number of total triangles formed by joining the n points on a plane of which m (< n) are collinear is n C3 m C3. ST (3) Number of diagonals in a polygon of n sides is n C 2 n. (4) If m parallel lines in a plane are intersected by a family of other n parallel lines. Then mn (m 1)(n 1) total number of parallelograms so formed is m C 2 n C 2 i.e 4 (5) Given n points on the circumference of a circle, then (i) Number of straight lines = n C 2 (ii) Number of triangles = n C 3 (iii) Number of quadrilaterals = n C 4. (6) If n straight lines are drawn in the plane such that no two lines are parallel and no three lines are concurrent. Then the number of part into which these lines divide the plane is = 1 n. 220 Permutations and Combinations (7) Number of rectangles of any size in a square of n n is n r 3 and number of squares of r 1 n any size is r 2. r 1 n (n 1 r)(p 1 r). number of squares of any size is r 1 The number of diagonals in a octagon will be [MP PET 1984; Pb. CET 1989, 2000] (a) 28 (b) 20 8 E3 Example: 42 (c) 10 C 2 8 = 28 8 = 20. Solution: (b) Number of diagonals = Example: 43 The number of straight lines joining 8 points on a circle is (a) 8 (b) 16 (c) 24 8 (d) 16 (d) 28 Solution: (d) Number of straight line = Example: 44 The number of triangles that can be formed by choosing the vertices from a set of 12 points, seven of which lie on the same straight line, is [Roorkee 1989, 2000; BIT Ranchi 1989; MP PET 1995; Pb. CET 1997; DCE 200 (a) 185 (b) 175 (c) 115 (d) 105 Solution: (a) Required number of ways = Out of 18 points in a plane, no three are in the same straight line except five points which are collinear. The number of (i) straight lines (ii) triangles which can be formed by joining them (i) (a) 140 (b) 142 (c) 144 (d) 146 (ii) (a) 816 (b) 806 (c) 800 (d) 750 Solution: (c, b) Out of 18 points, 5 are collinear D YG Example: 45 C 3 7 C 3 = 220 – 35 = 185. U 12 ID C 2 = 28. np (n 1)(p 1) and 4 60 (8) In a rectangle of n p (n p ) number of rectangles of any size is (i) Number of straight lines = 18 C 2 5 C 2 1 153 10 1 144 (ii) Number of triangles 18 C3 5 C3 816 10 806. 5.16 Multinomial Theorem. Let x 1 , x 2 ,......., x m be integers. Then number of solutions to the equation x 1 x 2 ...... x m n U.....(i) Subject to the condition a1 x 1 b1 , a 2 x 2 b 2 ,......., a m x m b m.....(ii) n ST is equal to the coefficient of x in (x a1 x a1 1 ...... x b1 )(x a2 x a2 1 ..... x b2 )......( x am x am 1 ..... x bm )......(iii) This is because the number of ways, in which sum of m integers in (i) equals n, is the same as the number of times x n comes in (iii). (1) Use of solution of linear equation and coefficient of a power in expansions to find the number of ways of distribution : (i) The number of integral solutions of x 1 x 2 x 3 ...... x r n where x 1 0, x 2 0,...... x r 0 is the same as the number of ways to distribute n identical things among r persons. This is also equal to the coefficient of x n in the expansion of (x 0 x 1 x 2 x 3 ......) r r = coefficient of x n 1 n in = coefficient of x in (1 x )r 1 x Permutations and Combinations 221 r(r 1)(r 2)......(r n 1) n r(r 1) 2 = coefficient of x n in 1 rx x ...... x ....... 2! n! r(r 1)(r 2)....(r n 1) (r n 1)! n r 1 C r 1 n! n!(r 1)! 60 (ii) The number of integral solutions of x 1 x 2 x 3 ..... x r n where x 1 1, x 2 1,....... x r 1 is same as the number of ways to distribute n identical things among r persons each getting at least 1. This also equal to the coefficient of x n in the expansion of (x 1 x 2 x 3 ......) r r x n in = coefficient of x in x r (1 x )r 1 x E3 = coefficient of x n r (r 1) 2 r (r 1)(r 2).....(r n 1) n = coefficient of x n in x r 1 rx x ..... x ..... 2! n! r(r 1) (r 2).....(n 1) (n 1) ! r(r 1)(r 2)......(r n r 1) n 1 C r 1. = = (n r)!(r 1)! (n r)! (n r)! Example: 46 U = ID r(r 1) 2 r(r 1)(r 2).....(r n 1) n = coefficient of x n r in 1 rx x ..... x ..... 2! n! A student is allowed to select utmost n books from a collection of (2n 1) books. If the total number of ways in which he can select one book is 63, then the value of n is Solution: (b) (b) 3 D YG (a) 2 (c) 4 [IIT 1987; Rajasthan PET 1999] (d) None of these Since the student is allowed to select utmost n books out of (2n 1) books. Therefore in order to select one book he has the choice to select one, two, three,......., n books. Thus, if T is the total number of ways of selecting one book then T 2 n 1 C1 2 n 1 C 2 ..... 2 n 1 C n 63. Again the sum of binomial coefficients 2 n 1 2 n 1 1 2(T ) 1 2 2n1 1 T (a) Solution: (c) C n 2 ..... 2 n 1 C 2 n 1 (1 1)2 n 1 2 2 n 1 2 2n 1 2 2n 1 63 2 2 n 2 6 2 2 n n 3. 2 If x, y and r are positive integers, then x Cr x Cr 1y C1 x Cr 2 y C2 ..... y Cr ST Example: 47 2 n 1 C 0 2( 2 n 1 C1 2 n 1 C 2 ..... 2 n 1 C n ) 2 n 1 C 2 n 1 2 2 n 1 U or, C 0 2 n 1 C1 2 n 1 C 2 ...... 2 n 1 C n 2 n 1 C n 1 + [Karnataka CET 1993; Rajasthan PET 2001] (x y )! (b) r! x ! y! r! The result x y (c) x y Cr (d) xy Cr C r is trivially true for r 1, 2 it can be easily proved by the principle of mathematical induction that the result is true for r also. 5.17 Number of Divisors. Let N p 11. p 2 2. p 3 3...... p k k , where p 1 , p 2 , p 3 ,...... p k are different primes and 1 , 2 , 3 ,......, k are natural numbers then : (1) The total number of divisors of N including 1 and N is = ( 1 1) ( 2 1) ( 3 1)....( k 1) 222 Permutations and Combinations (2) The total number ( 1 1) ( 2 1) ( 3 1).....( k 1) 2 of divisors of N excluding 1 and N is = (3) The total number of divisors of N excluding 1 or N is = (1 1)( 2 1)( 3 1).....( k 1) 1 The p12 p 32 ...... 1 p1 )( p 20 sum p12 p 22 of ... 2 p 2 ).....( pk0 pk1 these pk2 divisors is k .... pk ) 60 (4) (p10 (5) The number of ways in which N can be resolved as a product of two factors is E3 1 2 (1 1)( 2 1)....( k 1), If N is not a perfect square 1 [(1 1)( 2 1).....( k 1) 1], If N is a perfect square 2 (6) The number of ways in which a composite number N can be resolved into two factors ID which are relatively prime (or co-prime) to each other is equal to 2 n 1 where n is the number of different factors in N. Important Tips All the numbers whose last digit is an even number 0, 2, 4, 6 or 8 are divisible by 2. All the numbers sum of whose digits are divisible by 3,is divisible by 3 e.g. 534. Sum of the digits is 12, which are divisible by 3, and hence 534 is also divisible by 3. All those numbers whose last two-digit number is divisible by 4 are divisible by 4 e.g. 7312, 8936, are such that 12, 36 are divisible by 4 and hence the given numbers are also divisible by 4. All those numbers, which have either 0 or 5 as the last digit, are divisible by 5. D YG U All those numbers, which are divisible by 2 and 3 simultaneously, are divisible by 6. e.g., 108, 756 etc. All those numbers whose last three-digit number is divisible by 8 are divisible by 8. All those numbers sum of whose digit is divisible by 9 are divisible by 9. All those numbers whose last two digits are divisible by 25 are divisible by 25 e.g., 73125, 2400 etc. U Example: 48 The number of divisors of 9600 including 1 and 9600 are (a) 60 (c) 48 (d) 46 Since 9600 = 27 31 5 2 ST Solution: (c) (b) 58 Hence number of divisors = (7 1)(1 1)(2 1) 48. Example: 49 Number of divisors of n 38808 (except 1 and n) is (a) 70 Solution: (a) (b) 68 (c) 72 (d) 74 Since 38808 = 8 × 4851 = 8 × 9 × 539 = 8 × 9 × 7 × 7 × 11 = 2 3 7 11 3 2 2 So, number of divisors = (3 + 1) (2 + 1) (2 + 1) (1 + 2) – 2 = 72 – 2 = 70. ***