




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Combinatorial analysis is concerned with methods and principles of determining the number of logical possibilities of some event without necessarily listing and identifying every logical case. The study of permutations, combinations and partitions The study of intrinsic properties of a known configuration The investigation of unknown configuration Enumeration and listing of configuration Configuration arises when objects are distributed according to a certain predetermined constraints. There are two fundamental counting principles used throughout this section in order to develop many other enumeration techniques. 1.1.1 Addition principle (AP)
This principle is sometimes referred to as the sum Rule. Examples 1. Suppose there are 4 male and 3 female instructors teaching multivariable calculus in our college. In how many ways can a student choose a calculus instructor in order to take the course? Solution : - The student is faced with two tasks. The task of either (i) choosing a female calculus instructor or (ii) Choosing a male calculus instructor. If E= the task of choosing a female instructor. and F = the task of choosing a male instructor, then: n(E) = 3 --- Number of ways of doing task E, i.e., choosing a female instructor. n(F) = 4 --- Number or ways of doing task F, i.e., choosing a male instructor.
Since the tasks E and F cannot be per formed simultaneously, then n(EVF) – the number of ways of accomplishing either task E or F, by addition principle (AP), is : n(EVF) = n (E) + n (F) = 3+ = 7. Therefore, the student can choose one instructor teaching multivariable calculus in 7 ways ///
2. If C is the task of choosing a positive composite number less than 10 and O is the task of choosing a positive odd number less than 10, then C can be performed in n(C) = 4 ways since C= {4,6,8,9}. The task O can be performed in n(O)= 5 ways, Since O = {1, 3, 5, 7, 9}. However, C or O cannot be accomplished in n(C) + n(O) = 4+5 =9 ways This is because 9 is both a composite and an odd number less than 10. Hence there is a possibility of performing the two tasks C and O simultaneously, which show that the addition Principle is not applicable. In fact, C or O can be performed in only 4 + 5 – 1 = 8 ways /// Generalization of AP Suppose a first task E 1 can be performed in n(E 1 ) = r 1 ways, a second task E 2 can be performed in n(E 2 ) = r 2 ways, a third task E 3 can be performed in n(E 3 ) = r 3 ways, etc, and an nth^ task En can be performed in n(En) = rn ways. If no two of the tasks can be performed at the same time, then the number of ways in which any one of tasks E 1 or E 2 or E 3 or ---, or En can be performed is: n(E 1 VE 2 V --- V En) = n (E 1 ) + n (E 2 )+ --- + n (En) = r 1 + r 2 + --- + rn = (^) n i r i 1 1.1.2 Multiplication principle (MP)
2. Suppose a bus line offers 8 routes between New York and Los Angeles. If a visitor from New York goes to Los Angeles and then return by a different route, how many possible routes can the visitor assume for the round trip? Solution : - The round trip between New York and Los Angles is the task (or the operation); and it is done in two steps suppose; E 1 = choosing a route from New York to Los Angles E 2 = Choosing a route from Los Angles back to New York Then; n (E 1 )= 8 and n (E 2 ) = 7 Now, by MP, there are n (E 1 ) x n (E 2 ) = 8x7 = 56 Different ways (or routes) in which a visitor from New York goes to Los Angles and get back by a different route. Generalization of MP If an operation consists of n separate steps, of which a first step E 1 can be performed in n(E 1 ) = r 1 ways; following this, a second step E 2 can be performed in n(E 2 )= r 2 ways, and, following the 2nd^ step E 2 , a third step E 3 can be performed in n(E 3 )= r 3 ways, etc., and following all the previous steps, an nth step En can be performed in n(En)= rn ways, then the entire operation can be performed and completed in: n(E 1 ). n(E 2 ). n(E 3 )--- n(En) = r 1 r 2 r 3 --- rn different ways. 3. Suppose a restaurant menu offers a choice of three soups, five meat dishes, four desserts, and a choice of coffee, tea or milk. In how many ways can one order a meal consisting of a soup, a meat dish, desert and a beverage? Solution Here our operation is ORDERING A MEAL. This operation consists of 4 separate steps. Suppose The first step E 1 = choosing a soup The second step E 2 = choosing a meat dish The third step E 3 = Choosing a desert; and The fourth step E 4 = choosing a beverage Then; n(E 1 ) = 3, n(E 2 ) = 5, n(E 3 ) = 4 and n(E 4 ) = 3 and by EMP, one can order a meal consisting of a soup, a meat dish, a dessert and a beverage in. n (E 1 ). n (E 2 ). n(E 3 ). n(E 4 ) = 3 x 5 x 4 x 3 = 180 possible ways /// In order to establish these ideas clearly and profoundly it will be helpful to under take a few more illustrative examples.
4. How many numerals, each with two digits, can be formed from the five digits, 1,2,3, and 5 so that no digits are repeated? Solution To form numeral of two digits, we have to fill two places, the ten’s and the unit’s. Apparently, there are five ways of filling the ten’s place because any one of the digits 1,2,3,4, or 5 can be placed in this position. Since no digit can be repeated, the unit’s place can be filled with any one of the remaining four digits. From the multiplication rule, it follows that the two places can be filled in 5 x 4 = 20 ways, as shown beneath. 12 13 14 15 21 23 24 25 31 32 34 35 41 42 43 45 51 52 53 54 5. In how many ways can five books on different subjects be placed on a shelf? Solution The problem requires the filling of five places. Any one of the five books may be placed first on the shelf; four books are left and there are four ways of placing the second book on the shelf; no matter which of the five books was used to fill the first place. The first two places can, there fore, be filled in 5x4 =20 ways. Now, there are three books yet to be arranged and any one of them can occupy the next (or third) place on the shelf. Thus, the first three books can be placed in 5 x 4 x 3 = 60 different ways. Following this reasoning and the extension of MP, we see that all the five books can be arranged in: 5x4x3x2x1 = 120 different ways on the shelf /// 6. In a certain version of BASIC programming language, a variable name consists of a single letter (A,B --- Z) or a single letter followed by a single digit (0,1,2,---,9). How many different variable names can this programming language admit? Solution Assuming that the computer makes no distinction between the upper case letters (A, B, C ---, Z) and the lower case letters (a, b, c, ---, z), it follows that there are: 26 variable names consisting of a single letter. For the variable names with a single letter followed by a single digit, we have to fill two places; the first by a letter and the second by a digit. There are 26 letters for the first place and 10 digits (0,1,2, ---,9) for the second place. Thus, from MP, we can form: 26 x 10 = 260 variable names consisting of a letter followed by a digit. Thus, the given version of BASIC programming language, by addition principle (AP), admits 26 + 260 = 286 variable names ///
Examples :
1. Find the minimum number of students in a class to be sure that three of them are born in the same month. Solution : n = 12, number of months in a year (pigeonholes) k+1 = 3 → k= 2. Hence kn+1 = 212+1= Therefore the minimum number of students in a class to be sure that three of them are in the same class is 25. 2. Suppose a laundry bag consists of many red, white, and blue socks. Find the minimum number of socks that one need to grip in order to get two pairs (four socks) of the same color. Solution : Pigeonhole: number of colors. That is, n = 3 Pigeons: socks. Then, k+1 = 4. Hence k = 3 k*n+1 = 10. Therefore one needs to grip at least 4 socks of the same color Exercises 1.2 :
In this section, we will show that the multiplication rule (multiplication principle) provides a general method for finding the number of permutations of n different things taken r at a time. Many types of problems of permutations can be shortened by means of convenient symbols and formulas we now introduce. 1.3.1. Factorial Notations Definition 1:- The product of the first n consecutive positive integers is called n-factorial denoted by n! and defined as: n!= 1x2x3x4x --- x(n-1)x n = nx(n-1)x ---x3x2x Note that: (i) 6! = 6x5! (ii) 7! = 7x6! (iii) 200! = 200x199! In general; n! = n(n-1)! If n=0, then we define 0! =1. In particular, observe that 1! = 1 2! = 2x1= 3! = 3x2x1 = 6 4! = 4x3x2x1 = 24 5! = 5x4x3x2x1 = 120 6! = 6x5x4x3x2x1 = 720 7! = 7x6x5x4x3x2x1 = 5040, etc. The factorial notation is very useful for representing large numbers of the type frequently encountered in the study of permutations and related topics.
(ii) 21x22x23x24x ---x 40 = 210 x (1x3x5x7x ---x39). 1.3.2. Permutation principles Definition 2 :- Any arrangement of r objects taken from a collection of n objects is called a permutation of n objects taken r at a time or an r-permutation of n objects. Notation: The number of permutations (or possible arrangements in any order) of n objects taken r at a time is denoted by npr or p (n, r) frequently; where 0 r n. Other notations are pn,,r and (n)r.
2. Solve for n in each of the following (a) np 2 = 56 (b) np 3 = 20 n( Exercice ) 7 vn 8
n(n-1)(n- 2)! 56 ... definition ( 2 )!
2 2 2
n n n n n n n n by n n Solution a n p n = - 7 is rejected since n N u {0}. Thus, the value of n= 8 /// 3. How many “words” of three letters can be formed from the letters a,b,c,d, and e, using each letter only once? Solution:- Since the letters a,b,c,d,e in different orders constitute different “words”, the result is the number of permutations of five objects taken three at a time. Thus, by principle of permutation without repetition, there are: 5 4 3 60 /// 2!
3 (^5) p x x words
4. What is the number of ways in which six students be seated in a classroom with 25 desks? Solution: - There are six students that are going to occupy six desks at a time. Thus, there are six seats to fill and 25 desks to choose from. The result is the number of permeations of 25 different objects taken six at a time, i.e., n= 25 r=6 and 127 , 512 , 000 ///
6 25 ways p x x x x x
5. In how many ways can six pupils stand in a line or linearly arranged to pay their college fees at the finance office counter? Solution: - This corresponds to the case r = n in proposition 1. Thus the number of permutations of a set of six different objects, taken altogether is: p 6! 720 ways /// 1
6 6 6 6
x x x x x p
Remark:- In general, the number of permutations of n objects taken all at time (or taken altogether) is: n (^) pn n! 6. In how many ways can n married couples stand on a line alternating man-woman- man- … - woman? If no same sex stands neighborly, find the number of arrangements. EXERCISE 1.3.
4 =625 ways. Since one of these is the correct combination, then the largest possible number of unsuccessful attempts in opening the lock is; then: 54 - 1=625-1=624 ways /// EXERCISE 1.3. 2
pq t n p n pq t Proof: - Suppose that m is the total number of the required permutations. In any of these arrangements, replace the p like objects by unlike letters, say a 1 a 2 , … , ap different from any of the remaining objects. These p new letters can be arranged among themselves in p! new permutations, and if the corresponding changes are made in each of the q like objects and replaced by unlike letters b 1 , b 2 , … bq, then these letters can be permuted in q! ways. Thus, the total number of permutations would be: m x p! x q! Proceeding along these lines (with all like objects in the collection), the total number of arrangements would be given by: m x p!x q! x … x t! But the letters now are all different and n in number, and thus they may be arranged in n! permutations. Hence, m x p! x q! …x t! = n! The required number of permutations X is thus given by /// ! !...!
pq t n m Therefore, p (n; p, q, …, t) = ! !...!
pq t n Examples
1. In how many ways can 10 cars be placed in a stock car race if three of them are Chevrolet, four are Fords, two are Plymouths, and one is a Buick? Solution:- Here, n = 10, p = 3, q=4, r = 2, and t =1. The number of distinct arrangements or permutations is given by: 1260 /// 3! 4! 2! 1! 10! P ( 10 ; 3 , 4 , 2 , 1 ) 2. How many signals can be given using 10 flags of which two are red, five are blue, and three are yellow? Solution: - Clearly, n=10, p =2, q= 5 and r=3. Hence, the number of signals is: 2520 /// 2 !5! 3!
x Thus, the number of ways in which five persons can be seated around a circular table is 4!. Similarly, the number of circular arrangements (or permutations) of n persons is given by: C= (n- 1 )! This seems natural, for the seats are not numbered, there is no first or last seat at a round table, and the only essential feature to be considered is the neighbors, i.e., the position of one person relative to the others sitting at the same table. If one person, among the n, is fixed at random it follows that the remaining (n-1) – persons can be arranged among the selves in (n-1)! different ways. This approach also gives: C= (n- 1 )! as the number of circular permutations of n-persons. Thus the following proposition. Proposition 4 (Circular permutations) The number of permutations of n objects around a circle, taken altogether, is given by: C= (n- 1 )! Examples 1. In how many ways can eight gents (gentlemen) and eight ladies be seated for a round- table conference so that no two ladies sit together? Solution: - The number of ways in which the eight gents can be seated at a round table occupying alternate seats is given by: C= (n-1)! = (8-1)!= 7! Ways Then the ladies have a choice of eight remaining seats and this arrangement can be completed in 8! different ways. Now, using the fundamental principle of multiplication, we conclude that the required number is: 7!x 8! = 5040 x 40320 = 203,212,800 ways. 2. In how many ways can eight gents and seven ladies be seated for a dinner around a circular table so that no two ladies sit together? Solution: - As it was in example 1.22, the number of ways in which the eight gents can be seated around the circular table is 7! Ways. Now, the ladies have a choice of eight places so that no two ladies are together. Thus the sitting- arrangement of the seven ladies on eight seats is, apparently, the permutations of 8 objects taken 7 at a time. The arrangement of the ladies can, there fore, be completed in 8 p 7 = 8! Ways. From the fundamental principle of multiplication, we conclude that the required number of circular permutation is C= 7! x 8 p 7 = 203,212,800, ways.
3. (i) In how many ways can 10 children sit in a merry-go-round relative to one another? (ii) In how many of this arrangement shall some children have different children in front of them? (Hint: - The merry-go-round can revolve in either direction) Solution: - (i) We have 10 children and hence n= 10. Thus the number of ways that these children sit in a merry-go-round is the number of circular permutations given by: C= (n-1)! C= (10-1)! = 9! =362,880 ways. (ii) Some children will have different children in front of them in half the above arrangements. That is, the required number of circular permutations for this case is: 181 , 440 /// 2
ways c
Since the merry-go-round can be revolved in two different directions-clockwise or counter clockwise. EXERCISE 1.3. 4
Proposition 1 (number of r-combinations) The number of combinations of n different objects taken r at a time (i.e., the number of r- combinations of n objects) is given by. (^) ; 0. !( )!
r! n pr where r n r n r n^ n r
Proof: - Note that n r represents the number of combinations of n objects taken r at a time. Each such combination of r objects can be arranged in r! different ways. There fore, r! ( n r ) yields the total number of permutations of n objects taken r a time, or r n n r! ( r ) p By proposition 1.1 and dividing throughout by r!, we obtain: !( )!
! r n r n r n^ n^ pr r
2. In how many ways can a committee of five be chosen from a group of 10 members of an association? Solution:- From proposition 1, the number of possibilities of selecting five-person committee from a group of 10 association members is given by the formula (Where n= 10 and r = 5): 252 /// 5 4 3 2 1
x x x x x x x x
3. In how many ways can 11 players be chosen from a group of 13 players if (a) the players are selected at random? (b) a particular player must be included? (c) a certain player must be excluded? Solution: - (a) The number of combinations of 13 players, taken 11 at a time, is given by: 78 ways/// 21
x x (b) If one particular player is always to be included, we need to select 10 more out of the remaining 12. This can be accomplished in: 66 ways/// 21
x x (c) If one player should be excluded from the team, we need a selection of 11 players from the remaining group of 12. Thus, the required number of such combinations is: 12 /// 1
11 ways
4. There are 16 points in a plane, no three collinear. Determine the number of straight lines that can be formed by joining them.
Solution: - Any two distinct points determine one straight line, uniquely. Hence, the required number of straight lines is given by:
x x
5. A committee of two Republicans and two Democrats is to be selected from seven Republicans and nine Democrats. In how many ways can the committee be formed?
7 2 ways, while Democrats can be
9 2 ways. An application of the multiplication rule yields:
2 7 2 ^ x x x x x x
6. In how many ways can p + q objects be divided into two groups containing p and q objects, respectively? Solution: - Each selection of p objects for the first group leaves the remaining q objects to be placed in the second group. Hence, the required number of combinations is given by:
! q!
! q! p q! p p q q q x p p q q p q
7. A gentleman invites a party of m + n friends to dinner and places m of them at one circular table and the remaining n at another circular table. In how many ways can he complete their seating arrangements?
m m n ways of selecting m friends for the first table. These m people can be seated at the first round table in (m-1)! ways. These leave n
ways of arranging them around the 2nd^ circular table. Thus, the seating arrangements at the first and second circular table can, respectively, be completed in:
n m m n m ways n n n Thus, the number of ways in which the invited m+ n friends can be arranged around two tables such that m friends are placed at one circular table and the remaining n at another is given by:
mn (m n)! m(m-1)!n(n- 1)! (m n)!(m-1)!(n- 1)!
m! n! (m n)! ( 1 )! ( 1 )! ways m nx m x n x m x n m