Presentation is loading. Please wait.

Presentation is loading. Please wait.

Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 1 of 93 Chapter 5 Sets and Counting.

Similar presentations


Presentation on theme: "Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 1 of 93 Chapter 5 Sets and Counting."— Presentation transcript:

1 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 1 of 93 Chapter 5 Sets and Counting

2 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 2 of 93 Outline 5.1 Sets 5.2 A Fundamental Principle of Counting 5.3 Venn Diagrams and Counting 5.4 The Multiplication Principle 5.5 Permutations and Combinations 5.6 Further Counting Problems 5.7 The Binomial Theorem 5.8 Multinomial Coefficients and Partitions

3 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 3 of 93 5.1 Sets 1.Sets and Elements 2.Union and Intersection 3.Subset and Empty Set 4.Universal Set and Complement

4 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 4 of 93 Sets and Elements A set is any collection of objects. The objects, which may be countries, cities, years, numbers, letters, or anything else, are called the elements of the set. A set is often specified by a listing of its elements inside a pair of braces. A set may also be specified by giving a description of its elements.

5 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 5 of 93 1.The set of the first six letters of the alphabet is {a, b, c, d, e, f}. 2.{2, 4, 6, 8, 10} is the set {the even numbers between 1 and 11}. 3.The graph {(a,b) where b = a 2 } is a set with infinitely many elements. Example Sets and Elements

6 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 6 of 93 Example Sets and Elements (2) Let A = {years from 1991 to 2004 in which unemployment is at least 6%}. Let B = {years from 1991 to 2004 in which inflation is at least 3%}.

7 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 7 of 93 Example Sets and Elements (3) Using the table, the two sets are A = {1991, 1992, 1993, 1994, 2003} and B = {1991, 1992, 1993, 1996, 2000}.

8 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 8 of 93 Union and Intersection The union of A and B, denoted A  B, is the set consisting of all those elements that belong to either A or B or both. The intersection of A and B, denoted A  B, is the set consisting of those elements that belong to both A and B.

9 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 9 of 93 Let A = {1991, 1992, 1993, 1994, 2003} and B = {1991, 1992, 1993, 1996, 2000} from the previous example. Find A  B A  B Example Union and Intersection = {1991,1992,1993,1994,1996,2000,2003} = {1991,1992,1993}

10 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 10 of 93 Subset and Empty Set A set B is called a subset of A provided that every element of B is also an element of A. The set that contains no elements at all is the empty set (or null set) and is written as . The empty set is a subset of every set.

11 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 11 of 93 List all possible subsets of {a, b, c}.  {a}, {b}, and {c} {a, b}, {a, c}, and {b, c} {a, b, c} Example Subset and Empty Set

12 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 12 of 93 Universal Set and Complement The set U that contains all the elements of the sets being discussed is called a universal set (for the particular problem). If A is a subset of U, the set of elements in U that are not in A is called the complement of A, denoted by A'.

13 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 13 of 93 Example Universal Set and Complement Let U = {a,b,c,d,e,f,g}, S = {a,b,c} and T = {a,c,d}. Find = {d,e,f,g} = {b,e,f,g} = {b,d,e,f,g}

14 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 14 of 93  A set is a collection of objects. Each object is called an element of the set. The empty set is the set containing no objects.  The union of two sets is the set consisting of all elements that belong to at least one of the sets. The intersection of two sets is the set consisting of all elements that belong to both of the sets. Summary Section 5.1 - Part 1

15 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 15 of 93  Set A is a subset of set B if every element of set A is also an element of set B. In each situation or problem, all sets are considered to be subsets of a universal set. The set of all elements in the universal set that do not belong to the set A is called the complement of A, denoted A'. Summary Section 5.1 - Part 2

16 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 16 of 93 5.2 A Fundamental Principle of Counting 1.Number of Elements in A 2.Inclusion-Exclusion Principle 3.Venn Diagram 4.De Morgan's Laws

17 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 17 of 93 Number of Elements in A If S is any set, we will denote the number of elements in S by n(S). For example, if S = {1,7,11}, then n(S) = 3; if S = , then n(S) = 0.

18 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 18 of 93 Inclusion-Exclusion Principle Inclusion-Exclusion PrincipleLet S and T be sets. Then n(S  T) = n(S) + n(T) - n(S  T).

19 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 19 of 93 Example Inclusion-Exclusion Principle In the year 2000, Executive magazine surveyed the presidents of the 500 largest corporations in the US. Of these 500 people, 310 had degrees (of any sort) in business, 238 had undergraduate degrees in business, and 184 had graduate degrees in business. How many presidents had both undergraduate and graduate degrees in business?

20 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 20 of 93 Example Inclusion-Exclusion Principle (2) Let S = {presidents with an undergraduate degree in business} and T = {presidents with a graduate degree in business}. S  T = {presidents with degrees (of any sort) in business} S  T = {presidents with both undergraduate and graduate degrees in business}

21 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 21 of 93 Example Inclusion-Exclusion Principle (3) n(S) = 238 n(T) = 184 n(S  T) = 310 n(S  T) = n(S) + n(T) - n(S  T) 310 = 238 + 184 - n(S  T) n(S  T) = 238 + 184 - 310 = 112

22 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 22 of 93 Venn Diagram A Venn diagram is a drawing that represents sets geometrically. To construct a Venn diagram, draw a rectangle and view its points as the elements of U. Then draw a circle inside the rectangle for each set. The circles should overlap. View the points inside the circles as elements of each set.

23 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 23 of 93 Example Venn Diagram Draw a Venn diagram with three sets, R, S and T. Shade the area that represents R  S  T, R  S  T and S  R'  T '.

24 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 24 of 93 Example Venn Diagram (2)

25 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 25 of 93 De Morgan's Laws De Morgan's Laws Let S and T be sets. Then (S  T)' = S'  T', (S  T)' = S'  T'.

26 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 26 of 93 Example De Morgan's Laws Verify (S  T)' = S '  T ' using Venn diagrams.

27 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 27 of 93 Example De Morgan's Laws (2)

28 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 28 of 93 Example De Morgan's Laws (3)

29 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 29 of 93  The inclusion-exclusion principle says that the number of elements in the union of two sets is the sum of the number of elements in each set minus the number of elements in their intersection. Summary Section 5.2 - Part 1

30 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 30 of 93  A Venn diagram consists of a rectangle containing overlapping circles and is used to depict relationships among sets. The rectangle represents the universal set and the circles represent subsets of the universal set.  De Morgan's laws state that the complement of the union (intersection) of two sets is the intersection (union) of their complements. Summary Section 5.2 - Part 2

31 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 31 of 93 5.3 Venn Diagrams and Counting 1.Basic Regions 2.Basic Regions and Counting

32 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 32 of 93 Basic Regions Each Venn diagram divides the universal set into non-overlapping regions called basic regions.

33 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 33 of 93 Example Basic Regions Show the basic regions for the Venn diagram with two sets and with three sets.

34 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 34 of 93 Example Basic Regions and Counting For the survey of the presidents of the 500 largest corporations in the US where 310 had degrees (of any sort) in business, 238 had undergraduate degrees in business, and 184 had graduate degrees in business: a. Draw a Venn diagram and determine the number of elements in each basic region; b. Determine the number of presidents having exactly one degree in business.

35 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 35 of 93 Example Basic Regions and Counting n(I) = n(U) - n(S  T) = 500 - 310 = 190 n(III) = n(S  T) = 112 n(II) = n(S) - n(S  T) = 238 - 112 = 126 n(IV) = n(T) - n(S  T) = 184 - 112 = 72

36 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 36 of 93 Example Basic Regions and Counting The number of presidents with exactly one business degree corresponds to the shaded region. Adding the number of people in the two shaded basic regions gives 126 + 72 = 198.

37 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 37 of 93 Summary Section 5.3  The universal set can be divided up into a number of non-overlapping regions called basic regions. These regions can be used to determine the number of elements in a variety of subsets of the universal set.

38 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 38 of 93 5.4 The Multiplication Principle 1.Tree Diagram 2.Multiplication Principle 3.Generalized Multiplication Principle

39 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 39 of 93 Tree Diagram A tree diagram is a graph showing possibilities for an event having choices along the way. Suppose a rat in a maze starts at point A. There are five possible routes to get from point A to point B and 3 possible routes to get from point B to the final destination, point C. Represent the possible choices using a tree diagram.

40 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 40 of 93 Tree Diagram (2) Possible paths: 1a, 1b, 1c 2a, 2b, 2c 3a, 3b, 3c 4a, 4b, 4c 5a, 5b, 5c Total possible paths = 15

41 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 41 of 93 Multiplication Principle Multiplication PrincipleSuppose that a task is composed of two consecutive operations. If operation 1 can be performed in m ways and, for each of these, operation 2 can be performed in n ways, then the complete task can be performed in m  n ways.

42 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 42 of 93 Example Multiplication Principle Use the multiplication principle to determine the number of different paths a rat can take going from point A to point C if there are five possible routes to get from point A to point B and 3 possible routes to get from point B to point C. There are 5 possible routes for task 1 and 3 possible routes for task 2 so there are 5  3 = 15 possible routes. This agrees with the tree diagram drawn previously.

43 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 43 of 93 Generalized Multiplication Principle Generalized Multiplication Principle Suppose that a task is composed of t operations performed consecutively. Suppose operation 1 can be performed in m 1 ways; for each of these, operation 2 can be performed in m 2 ways; for each of these, operation 3 can be performed in m 3 ways; and so forth. Then the complete task can be performed in m 1 m 2 m 3  m t ways.

44 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 44 of 93 Example Generalized Principle A corporation has a board of directors consisting of 10 members. The board must select from among its members a chairperson, vice chairperson, and secretary. In how many ways can this be done?

45 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 45 of 93 Example Generalized Principle (2) The operations are: 1. Select chairperson - there are 10 ways (people) to do this. 2. Select a vice chairperson - there are 9 ways (9 people left after chairperson is chosen) to do this. 3. Select a secretary - there are 8 ways to do this. Total number of ways to complete task is 10  9  8 = 720 ways.

46 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 46 of 93 Summary Section 5.4  The multiplication principle states that the number of ways a sequence of several independent operations can be performed is the product of the number of ways each individual operation can be performed.

47 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 47 of 93 5.5 Permutations and Combinations 1.Permutation 2.Combination 3.Formula for P(n,r) 4.Factorial 5.Formula for C(n,r)

48 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 48 of 93 Permutation Given a set of n objects, a permutation of n objects taken r at a time is an arrangement of r of the n objects in a specific order. The notation for a permutation is P(n,r) = the number of permutations of n objects taken r at a time.

49 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 49 of 93 Example Permutation How many words (strings of letters) of two distinct letters can be formed from the letters {a, b, c}? The number of objects is n = 3. The number of objects taken at a time is r = 2. The possibilities are ab, ac, ba, bc, ca and cb. P(3,2) = 6. Note: the word ab is different from the word ba.

50 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 50 of 93 Combination Given a set of n objects, a combination of n objects taken r at a time is a selection of r of the n objects with order disregarded. The notation for a combination is C(n,r) = the number of combinations of n objects taken r at a time.

51 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 51 of 93 Example Combination How many two-member teams can be formed from a group that has three members a, b, and c? The number of objects is n = 3. The number of objects taken at a time is r = 2. The possibilities are ab, ac and bc. C(3,2) = 3. Note: the team ab is the same as the team ba.

52 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 52 of 93 Formula for P(n,r) P(n,1) = n P(n,2) = n(n - 1) P(n,3) = n(n - 1)(n - 2) P(n,r) = n(n - 1)(n - 2)    (n - r + 1) r factors

53 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 53 of 93 Example Formula for P(n,r) Eight horses are entered in a race in which a first, second, and third prize will be awarded. Assuming no ties, how many different outcomes are possible? The number of objects is n = 8. The number of objects taken at a time is r = 3. The number of outcomes is P(8,3) = 8  7  6 = 336.

54 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 54 of 93 Factorial 1! = 1 2! = 2  1 = 2 3! = 3  2  1 = 6 4! = 4  3  2  1 = 24 n! = n(n - 1)(n - 2)    (1) Note: n! is read as “n factorial.”

55 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 55 of 93 Formula for C(n,r)

56 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 56 of 93 Example Formula for C(n,r) The board of directors of a corporation has 10 members. In how many ways can they choose a committee of 3 board members to negotiate a merger? The number of objects is n = 10. The number of objects taken at a time is r = 3. Number of possible committees is

57 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 57 of 93 Summary Section 5.5  The number of ordered arrangements, each called a permutation, of n objects taken r at a time is P(n,r) = n(n - 1)(n - 2)    (n - r + 1).  The number of unordered arrangements, each called a combination, of n objects taken r at a time is

58 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 58 of 93 5.6 Further Counting Problems 1.Tossing Coins 2.Routes 3.Balls Drawn From an Urn

59 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 59 of 93 Example Tossing Coins An experiment consists of tossing a coin 10 times and observing the sequence of heads and tails. a. How many different outcomes are possible? b. How many different outcomes have exactly two heads? c. How many different outcomes have at most two heads? d. How many different outcomes have at least two heads?

60 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 60 of 93 Example Tossing Coins (a) A possible outcome is H T H T T T H T H T where H is heads and T is tails. Each coin has two possible outcomes. By the generalized multiplication principle, the total number of possible outcomes is 2  2  2  2  2  2  2  2  2  2 = 2 10 = 1024.

61 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 61 of 93 Example Tossing Coins (b) A possible outcome with 2 heads is H T H T T T T T T T. The 2 heads must be placed in 2 of the 10 possible positions. The number of outcomes with 2 heads is

62 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 62 of 93 Example Tossing Coins (c) At most 2 heads means there can be 0 heads or 1 head or 2 heads. There is only 1 possible outcome with no heads and that is if all 10 coins are tails. There are C(10,1) = 10 possible outcomes with 1 head. There are C(10,2) = 45 possible outcomes with 2 heads. Therefore, there are 1 + 10 + 45 = 56 possible outcomes with at most two heads.

63 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 63 of 93 Example Tossing Coins (d) At least 2 heads means there can not be 0 heads or 1 head. There are 1 + 10 = 11 possible outcomes with 0 or 1 head. There are 1024 possible outcomes total. So, there are 1024 - 11 = 1013 possible outcomes with at least 2 heads.

64 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 64 of 93 Example Routes A tourist in a city wants to walk from point A to point B shown in the maps below. What is the total number of routes (with no backtracking) from A to B?

65 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 65 of 93 Example Routes (2) If S is walking a block south and E is walking a block east, the two possible routes shown in the maps could be designated as SSEEESE and ESESEES.

66 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 66 of 93 Example Routes (3) All routes can be designated as a string of 7 letters, 3 of which will be S and 4 E. Selecting a route is the same as selecting where in the string the 3 S’s will be placed. Therefore the total number of possible routes is

67 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 67 of 93 Example Balls Drawn From an Urn An urn contains 25 numbered balls, of which 15 are red and 10 are white. A sample of 5 balls is to be selected. a. How many different samples are possible? b. How many different samples contain all red balls? c. How many samples contain 3 red balls and 2 white balls?

68 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 68 of 93 Example Balls Drawn From an Urn (a) A sample is just an unordered selection of 5 balls out of 25.

69 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 69 of 93 Example Balls Drawn From an Urn (b) To form a sample of all red balls we must select 5 balls from the 15 red ones.

70 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 70 of 93 Example Balls Drawn From an Urn (c) To form the sample with 3 red balls and 2 white balls, we must Operation 1: select 3 red balls from 15 red balls, Operation 2: select 2 white balls from 10 white balls. Using the multiplication principle, this gives

71 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 71 of 93 5.7 The Binomial Theorem 1.Formulas for C(n,r) 2.Binominal Coefficient 3.Binomial Theorem 4.Number of Subsets

72 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 72 of 93 Formulas for C(n,r)

73 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 73 of 93 Example Routes Work the route problem covered previously by selecting where in the string of length 7 the 4 E’s will be placed instead of the 3 S’s. Therefore the total number of possible routes is Notice that C(7,4) = C (7,3).

74 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 74 of 93 Binominal Coefficient Another notation for C(n,r) is. is called a binominal coefficient.

75 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 75 of 93 Example Binominal Coefficient

76 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 76 of 93 Binominal Theorem Binomial Theorem

77 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 77 of 93 Example Binominal Theorem Expand (x + y ) 5. (x + y ) 5 = x 5 + 5x 4 y + 10x 3 y 2 + 10x 2 y 3 + 5xy 4 + y 5

78 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 78 of 93 Number of Subsets A set with n elements has 2 n subsets.

79 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 79 of 93 Example Number of Subsets A pizza parlor offers a plain cheese pizza to which any number of six possible toppings can be added. How many different pizzas can be ordered? Ordering a pizza requires selecting a subset of the 6 possible toppings. There are 2 6 = 64 different pizzas.

80 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 80 of 93 Summary Section 5.7 - Part 1  C(n,r) is also denoted by.  The formula C(n,r) = C(n,n - r) simplifies the computation of C(n,r) when r is greater than n/2.  The binomial theorem states that

81 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 81 of 93 Summary Section 5.7 - Part 2  A set with n elements has 2 n subsets.

82 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 82 of 93 5.8 Multinomial Coefficients and Partitions 1.Ordered Partition 2.Number of Ordered Partitions 3.Unordered Partition 4.Number of Unordered Partitions

83 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 83 of 93 Ordered Partition Let S be a set of n elements. An ordered partition of S of type (n 1,n 2,…,n m ) is a decomposition of S into m subsets (given in a specific order) S 1, S 2,…,S m, where no two of these intersect and where n(S 1 ) = n 1, n(S 2 ) = n 2, …, n(S m ) = n m and n 1 + n 2 +… + n m = n.

84 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 84 of 93 List all ordered partitions of S = {a, b, c, d} of type (1,1,2). ({a},{b},{c,d}) ({a},{c},{b,d}) ({a},{d},{b,c}) ({b},{a},{c,d}) ({b},{c},{a,d}) ({b},{d},{a,c}) ({c},{a},{b,d}) ({c},{b},{a,d}) ({c},{d},{a,b}) ({d},{a},{b,c}) ({d},{b},{a,c}) ({d},{c},{a,b}) Example Ordered Partition

85 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 85 of 93 Number of Ordered Partitions The number of ordered partition of type (n 1,n 2,…,n m ) for a set with n elements is The above is called the multinomial coefficient.

86 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 86 of 93 A work crew consists of 12 construction workers, all having the same skills. A construction job requires 4 welders, 3 concrete workers, 3 heavy equipment operators, and 2 bricklayers. In how many ways can the 12 workers be assigned to the required tasks? Example Ordered Partition

87 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 87 of 93 Each assignment of jobs corresponds to an ordered partition of the type (4,3,3,2). The number of ordered partitions is Example Ordered Partition (2)

88 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 88 of 93 Unordered Partition Let S be a set of n elements. An unordered partition of S of type (n 1,n 2,…,n m ) is a decomposition of S into m subsets S 1, S 2,…,S m, where no two of these intersect and where n(S 1 ) = n 1, n(S 2 ) = n 2, …, n(S m ) = n m and n 1 + n 2 +… + n m = n.

89 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 89 of 93 List all unordered partitions of S = {a, b, c, d} of type (1,1,2). ({a},{b},{c,d}) ({a},{c},{b,d}) ({a},{d},{b,c}) ({b},{c},{a,d}) ({b},{d},{a,c}) ({c},{d},{a,b}) Example Unordered Partition

90 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 90 of 93 Number of Unordered Partitions The number of unordered partitions of type (n 1,n 1,…,n 1 ) for a set with n elements is

91 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 91 of 93 A work crew consists of 12 construction workers, all having the same skills. In how many ways can the workers be divided into 4 groups of 3? Example Unordered Partition

92 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 92 of 93 Summary Section 5.8 - Part 1  Let S be a set of n elements, and suppose that n = n 1 + n 2 +… + n m where each number in the sum is a positive integer. Then the number of ordered partitions of S into subsets of sizes n 1, n 2, …, n m is

93 Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 93 of 93 Summary Section 5.8 - Part 2  Let S be a set of n elements, where n = m  r. Then the number of unordered partitions of S into m subsets of size r is


Download ppt "Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 1 of 93 Chapter 5 Sets and Counting."

Similar presentations


Ads by Google