Section 4.3: Permutations and Combinations Def: A permutation of a set of distinct objects is an ordered arrangement of these objects. Ex: {a, b, c, d}

Slides:



Advertisements
Similar presentations
5.3 Permutations and Combinations
Advertisements

4.4 Permutations and Combinations of multisets
1 Section 4.3 Permutations & Combinations. 2 Permutation Set of distinct objects in an ordered arrangement An ordered arrangement of r members of a set.
Permutations and Combinations Rosen 4.3. Permutations A permutation of a set of distinct objects is an ordered arrangement these objects. An ordered arrangement.
Counting Chapter 6 With Question/Answer Animations.
Permutations and Combinations
Fall 2002CMSC Discrete Structures1 Permutations How many ways are there to pick a set of 3 people from a group of 6? There are 6 choices for the.
Counting Techniques: Combinations
Counting and Probability The outcome of a random process is sure to occur, but impossible to predict. Examples: fair coin tossing, rolling a pair of dice,
Multiplication Rule. A tree structure is a useful tool for keeping systematic track of all possibilities in situations in which events happen in order.
Discrete Structures Chapter 4 Counting and Probability Nurul Amelina Nasharuddin Multimedia Department.
CSE115/ENGR160 Discrete Mathematics 04/17/12
Permutations r-permutation (AKA “ordered r-selection”) An ordered arrangement of r elements of a set of n distinct elements. permutation of a set of n.
Lecture 5 Counting 4.3, Permutations r-permutation: An ordered arrangement of r elements of a set of n distinct elements. Example: S={1,2,3}:
ENM 207 Lecture 5. FACTORIAL NOTATION The product of positive integers from 1 to n is denoted by the special symbol n! and read “n factorial”. n!=1.2.3….(n-2).(n-1).n.
CSE 321 Discrete Structures Winter 2008 Lecture 16 Counting.
1 More Counting Techniques Possibility trees Multiplication rule Permutations Combinations.
Copyright © Ed2Net Learning Inc.1. 2 Warm Up 1.List all combinations of Roshanda, Shelli, Toshi, and Hector, taken three at a time 2. In how many ways.
Recursive Definitions Rosen, 3.4 Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
Reminders: –Test3 is scheduled for Friday, April 25 was sent that included a proposed schedule –HW 8 is due Wednesday, April 9 in class Pascal’s.
1 Permutations and Combinations CS/APMA 202 Epp section 6.4 Aaron Bloomfield.
Permutations and Combinations
1 Permutations and Combinations CS/APMA 202 Rosen section 4.3 Aaron Bloomfield.
CS100 : Discrete Structures
4. Counting 4.1 The Basic of Counting Basic Counting Principles Example 1 suppose that either a member of the faculty or a student in the department is.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
Counting Chapter 6 With Question/Answer Animations.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 4 Counting.
Counting. Product Rule Example Sum Rule Pigeonhole principle If there are more pigeons than pigeonholes, then there must be at least one pigeonhole.
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.4,
Chapter The Basics of Counting 5.2 The Pigeonhole Principle
Generalized Permutations and Combinations
Chapter 6 With Question/Answer Animations 1. Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients.
Permutations and Combinations
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
Counting Subsets of a Set: Combinations Lecture 31 Section 6.4 Wed, Mar 21, 2007.
March 10, 2015Applied Discrete Mathematics Week 6: Counting 1 Permutations and Combinations How many different sets of 3 people can we pick from a group.
2 Permutations and Combinations Lesson 8 HAND OUT REFERENCE SHEET AND GO OVER IT.
Dr. Eng. Farag Elnagahy Office Phone: King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222.
ICS 253: Discrete Structures I Counting and Applications King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Counting Subsets of a Set: Combinations Lecture 28 Section 6.4 Wed, Mar 2, 2005.
Pg. 606 Homework Pg. 631#1 – 3, 5 – 10, 13 – 19 odd #1135#12126 #1370#14220 #151365# #1756x 5 y 3 #1856x 3 y 5 #19240x 4 # x 6 #34expand to.
Lecture 5 Counting 4.3, Permutations r-permutation: An ordered arrangement of r elements of a set of n distinct elements. Example: S={1,2,3}:
Simple Arrangements & Selections. Combinations & Permutations A permutation of n distinct objects is an arrangement, or ordering, of the n objects. An.
The Pigeonhole Principle. The pigeonhole principle Suppose a flock of pigeons fly into a set of pigeonholes to roost If there are more pigeons than pigeonholes,
Menu Traditional Menu Other Menu Nasi LemakBeef Burger Roti Canai Potatoes Chip Capati French Bread Mee Goreng Drink : Coffee, Tea, Coke and Pepsi.
Section 3.2: Sequences and Summations. Def: A sequence is a function from a subset of the set of integers (usually the set of natural numbers) to a set.
Permutations and Combinations. 2 In this section, techniques will be introduced for counting the unordered selections of distinct objects and the ordered.
2/24/20161 One, two, three, we’re… Counting. 2/24/20162 Basic Counting Principles Counting problems are of the following kind: “How many different 8-letter.
Copyright © Peter Cappello 2011 Simple Arrangements & Selections.
Homework 9 –Average: 81Median: 88 – –Section 7.3, #9 Note that.
Section The Pigeonhole Principle If a flock of 20 pigeons roosts in a set of 19 pigeonholes, one of the pigeonholes must have more than 1 pigeon.
Counting Subsets of a Set: Combinations Lecture 28 Section 6.4 Thu, Mar 30, 2006.
ICS 253: Discrete Structures I Counting and Applications King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Section The Product Rule  Example: How many different license plates can be made if each plate contains a sequence of three uppercase English letters.
Fall 2002CMSC Discrete Structures1 Combinations An r-combination of elements of a set is an unordered selection of r elements from the set. Thus,
COUNTING Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Week 9 - Friday.  What did we talk about last time?  Permutations  Counting elements in sets  Brief introduction to combinations.
Section 6.3. Section Summary Permutations Combinations.
Example A standard deck of 52 cards has 13 kinds of cards, with four cards of each of kind, one in each of the four suits, hearts, diamonds, spades, and.
The Pigeonhole Principle
Permutations and Combinations
CSE15 Discrete Mathematics 04/19/17
Generalized Permutations and Combinations
COCS DISCRETE STRUCTURES
Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
Presentation transcript:

Section 4.3: Permutations and Combinations Def: A permutation of a set of distinct objects is an ordered arrangement of these objects. Ex: {a, b, c, d} is a set of 4 distinct objects. Here are some permutations of this set: abcd, dcba, abdc, cadb, etc. Def: An r-permutation of a set of n distinct elements is an ordered arrangement of r of the n objects. Ex: {a, b, c, d} is a set of 4 distinct objects. cad is a 3-permutation of this set. b is a 1-permutation of this set. This set has no 5-permutations.

Notation: We use P(n, r) to denote the number of r-permutations of a set with n distinct elements. Remark: Note that the number of permutations of a set with n elements is P(n, n) = n!. Theorem: Let n, r  N with r  n. Then P(n, r) = n(n – 1)(n – 2) … (n – (r – 1)) = n!/(n – r)! Proof: Let n, r  N with r  n. This is a simple application of the product rule. To choose an r-permutation of a set with n elements, we must choose a first element (there are n to choose from) then we must choose a second element (there are n – 1 left to choose from, …, and finally we must choose an rth element (there are n – (r – 1) left to choose from).  Ex: There are P(5, 5) = 5! = 120 permutations of a set with 5 elements.

Ex: 100 people enter a contest. How many different ways are there to choose a first, second, and third place winner. Since abc must be in the permutation, we can think of it as one entity. Namely, we reduce the problem to finding the number of permutations of the set {abc, d, e, f, g, h}. This is P(6, 6) = 6! = 720. This is the number of 3-permutations of a set with 100 elements. That is, P(100, 3) = 100!/(100 – 3)! = 100*99*98 = So there are different ways to select winners. Ex: How many permutations of the set {a, b, c, d, e, f, g, h} contain the string abc? Sometimes we don’t care about the order that elements are chosen. We only care about the number of different ways to choose r things from a set with n elements. [Choose a subset].

Def: An r-combination of a set of n distinct objects is an unordered arrangement of r of the n objects. In other words, an r-combination of a set with n distinct elements is a subset with of cardinality r. Ex: {a, b, c, d} is a set of 4 distinct objects. Here are some 3- combinations of this set: {a, b, c}, {a, b, d}, {a, c, d}, {b, c, d}. In fact these are all of the 3-combinations of this set. Notation: C(n, r) denotes the number of r-combinations of a set with n distinct elements. This is also denoted ( n r ). Theorem: Let n, r  N with r  n. Then C(n, r) = n!/[r!(n – r)!]. Proof: Note that P(n, r) = C(n, r)*P(r, r). So C(n, r) = P(n, r)/P(r, r) = [n!/(n – r)!]/[r!/(r – r)!] = n!/[r!(n – r)!]. 

Theorem: Let n, r  N with r  n. Then C(n, r) = C(n, n – r). Proof1: C(n, r) = n!/[r!(n – r)!] by the previous theorem. C(n, n – r) = n!/[(n – r)!(n – (n – r)!] = n!/[(n – r)!r!] as well.  Proof2: Let S be a set with n elements. Then C(n, r) is the number of subsets of this set with r elements. C(n, r) is also the number of ways to choose r elements from a set with n elements. Now C(n, n – r) is the number of ways to choose n – r elements from a set with n elements. We could consider this as a way of constructing a subset with r elements. The n – r elements we choose are the ones we are excluding. So C(n, r) = C(n, n – r) since they are both represent the number of ways to choose a subset of r elements from a set with n elements. 

Ex: How many ways are there to select five players from a 10 member tennis team to play in a match? This is C(10, 5) = 10!/[5!5!] = (10*9*8*7*6)/(5*4*3*2*1) = 252. Ex: What if the players in the above example have to be seeded as 1, 2, 3, 4, and 5 to play the matches? Now we care about the order we choose the 5 players in. So this is P(10, 5) = 10!/5! = 10*9*8*7*6 = Ex: How many bit strings of length n contain exactly r 1s? We must choose r of the n bit positions to put the 1s in. So this is C(n, r). Ex: So there are C(5, 3) = 5!/[3!2!] = (5*4)/2 = 10 bit strings of length 5 that contain exactly three 1s.

Reminders: –Test3 is scheduled on Friday, April 25 (in 3 weeks) was sent that included a proposed schedule –HW 8 is due Wednesday, April 9 in class Return Test 2: –Avg: 70, Median: 74 – –< 50 scores are headed in the direction of failing –Be sure to review material that gave you trouble –Lower right hand corner has current letter grade –Turn in Homework assignments on time 25% of 20 is 5 full points on final grade Equivalent to 33 pts on a test, 14 pts on final