Permutations and Combinations

Slides:



Advertisements
Similar presentations
5.3 Permutations and Combinations
Advertisements

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.
Chapter 13 sec. 3.  Def.  Is an ordering of distinct objects in a straight line. If we select r different objects from a set of n objects and arrange.
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
1 Learning Objectives for Section 7.4 Permutations and Combinations After today’s lesson you should be able to set up and compute factorials. apply and.
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.
Chapter 2 Section 2.4 Permutations and Combinations.
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
LING 438/538 Computational Linguistics Sandiway Fong Lecture 17: 10/24.
Chapter 11 Counting Methods © 2008 Pearson Addison-Wesley. All rights reserved.
Combinatorics Chapter 3 Section 3.3 Permutations Finite Mathematics – Stall.
Permutations and Combinations With Beanie Babies.
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.
Logic and Introduction to Sets Chapter 6 Dr.Hayk Melikyan/ Department of Mathematics and CS/ For more complicated problems, we will.
3.4 Counting Principles Statistics Mrs. Spitz Fall 2008.
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.
Precalculus – MAT 129 Instructor: Rachel Graham Location: BETTS Rm. 107 Time: 8 – 11:20 a.m. MWF.
1 Permutations and Combinations CS/APMA 202 Rosen section 4.3 Aaron Bloomfield.
MAT 2720 Discrete Mathematics Section 6.1 Basic Counting Principles
Jessie Zhao Course page: 1.
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.4,
Chapter 6 With Question/Answer Animations 1. Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients.
Permutations and Combinations
10.3 – Using Permutations and Combinations Permutation: The number of ways in which a subset of objects can be selected from a given set of objects, where.
Section 10-3 Using Permutations and Combinations.
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.
Probability Permutations and Combinations.  Permutations are known as any arrangement of distinct objects in a particular _________. Permutations order.
Quiz Plot the point: (-4, 2, -3) in the Cartesian space. Find the midpoint between the 2 points: P(1, 5, -7) and Q(-5, 3, -3) 3. Find the distance.
Combinations A combination is an unordered collection of distinct elements. To find a combination, the general formula is: Where n is the number of objects.
2.2 Permutations (Textbook Section 4.6). Recall Factorial Notation  The number of ways to arrange n objects into n spots is n! (read “!” a “factorial”)
Learning Objectives for Section 7.4 Permutations and Combinations
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 7.4 Permutations and Combinations The student will be able to set up and.
When do we add and when do we multiply?. How many ways can we draw a king or a seven from a deck? There are 4 kings and 4 sevens. Each of these cards.
Discrete Structures Combinations. Order Doesn’t Matter In the previous section, we looked at two cases where order matters: Multiplication Principle –
COUNTING PRINCIPALS, PERMUTATIONS, AND COMBINATIONS.
6.7 Permutations & Combinations. Factorial: 4! = 4*3*2*1 On calculator: math ==> PRB ==> 4 7! = 5040 Try 12!
I CAN: Use Permutations and Combinations
Combinations – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Combinations Reading: Kolman, Section 3.2.
3.2 Combinations.
HAWKES LEARNING Students Count. Success Matters. Copyright © 2015 by Hawkes Learning/Quant Systems, Inc. All rights reserved. Section 7.2 Counting Our.
Permutations Counting where order matters If you have two tasks T 1 and T 2 that are performed in sequence. T 1 can be performed in n ways. T 2 can be.
Discrete Math Section 15.3 Solve problems using permutations and combinations Read page Combinations and permutations.
Permutations and Combinations
Discrete Mathematics. Exercises Exercise 1:  There are 18 Computer Science (CS) majors and 325 Business Administration (BA) majors at a college.
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.
Quiz: Draw the unit circle: Include: (1)All “nice” angles in degrees (2) All “nice” angles in radians (3) The (x, y) pairs for each point on the unit circle.
ICS 253: Discrete Structures I Counting and Applications King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Section 6.3. Section Summary Permutations Combinations.
Permutations and Combinations. Permutations Definition –An ordered arrangement of objects is called a permutation. –Hence, a permutation of n distinct.
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.
Chapter 10 Counting Methods.
Permutations and Combinations
CSE15 Discrete Mathematics 04/19/17
Section 8.3 PROBABILITY.
Permutations and Combinations
Counting, Permutations, & Combinations
Combinations.
Using Permutations and Combinations
9.6 Counting Theory Example If there are 3 roads from Albany to Baker
Standard DA-5.2 Objective: Apply permutations and combinations to find the number of possibilities of an outcome.
Chapter 11: Further Topics in Algebra
Permutations and Combinations
Using Permutations and Combinations
10.3 – Using Permutations and Combinations
Presentation transcript:

Permutations and Combinations Discrete Structures, Fall 2011

Permutation vs Combination Permutations Combinations Ordering of elements from a set Sequence does matter 1 2 3 is not the same as 3 2 1 Collection of element from a set Order does not matter 1 2 3 is the same as 3 2 1

Permutation Example How many ways can we select 3 students from a group of 5 students to form a line to wait to order lunch? Students = S = { 1 2 3 4 5 } Possible permutations would be: 1 2 3 3 4 5 2 1 3 5 4 2 Solution: notice that order matters There are 5 ways to select the first student Once that selection is made, there are 4 ways to select the 2nd student Then there are 3 ways to select the 3rd student. 5*4*3 = 60. There are sixty different permutations Alternatively, to arrange all 5 students in a line, then there are 5 * 4 * 3 * 2 * 1 = 120 permutations.

Permutation Definition A Permutation is an ordering of the objects within a distinct set. An arrangement of a subset of the original set is called an r-Permutation, where the “r” is the number of elements in the subset In the previous example, we first calculated the 3-permutation and then calculated the full permutation. Consider the set S = { 1, 2, 3 } The arrangement 2 1 3 is a permutation of S, while 2 1 is a 2-permutation of S

How many permutations of a set exist? For a given set containing n elements, we can calculate the number of possible full permutations by considering the number of options we have at each assignment # of permutations = (n)(n-1)(n-2)(n-3)…(2)(1) = n! n! is called “factorial of n” and is n multiplied by every number between n and 0. 5! = 5*4*3*2*1 0! = 1 (special case) For an r-permutation, we have: # of permutations = (n)(n-1)(n-2)(n-3)…(n-r+1) Introduce a new notation for the r-permutation: P(n,r) = (n)(n-1)(n-2)(n-3)…(n-r+1) P(n,r) = n!/(n-r)! where n is the number of elements in the set, and r is the number of elements in the permutation

Example How many different ways are there to select a first-prize winner, a second-prize winner and a third-prize winner from 100 different people who entered a contest? This is a 3-permutation P(100,3) = 100 * 99 *98 = 970,200

Combinations How many different committees of three students can be formed by a group of 4 students? S = { 1 2 3 4 } Solution: We need to find the number of subsets with three elements. This is the same as eliminating 1 number. There are 4 subsets, or combinations. This is an example of finding 3-Combinations of a set S. The number of r distinct combinations of the set of size n is denoted C(n,r) To compute C(n,r), use the formula n!/(r!*(n-r)!)

Combination Example How many poker hands of 5 cards can be dealt from a deck of 52 cards? Order does not matter, so this is a combination problem. C(52,5) = 52!/5!47! = 52*51*50*49*48/(5*4*3*2*1) = 2,598,960

Class problems: List the permutations of {a b c} How many different permutations are there of { a b c d e f g }? Let S = {1 2 3 4 5} List the 3-permutations of S List the 3-combinations of S Find C(5,3) Are there more n-combinations or n-permutations of a set?