Permutations and Combinations

Slides:



Advertisements
Similar presentations
Permutations and Combinations
Advertisements

PERMUTATIONS AND COMBINATIONS
COUNTING TECHNIQUES PERMUTATIONS AND COMBINATIONS.
T HE F UNDAMENTAL C OUNTING P RINCIPLE & P ERMUTATIONS.
Counting Principles The Fundamental Counting Principle: If one event can occur m ways and another can occur n ways, then the number of ways the events.
Statistics Review. Box-and-Whisker Plots The Parts of a Box and Whisker Plot Name the parts of a Box-and-Whisker Plot MedianUpper Quartile Lower.
How many possible outcomes can you make with the accessories?
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
COUNTING TECHNIQUES PERMUTATIONS AND COMBINATIONS.
Expected value a weighted average of all possible values where the weights are the probabilities of each outcome :
Permutation A permutation is an arrangement in which order matters. A B C differs from B C A.
Permutations and Combinations. Random Things to Know.
Elementary Counting Techniques & Combinatorics
S /1/2015 Math 2 Honors - Santowski 1.  Use the Fundamental Counting Principle to determine the number of outcomes in a problem.  Use the idea.
Permutations and Combinations
Permutations and Combinations. Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish permutations.
Warm Up Evaluate  4  3  2   6  5  4  3  2 
Permutations, Combinations, and Counting Theory AII.12 The student will compute and distinguish between permutations and combinations and use technology.
Permutations S /4/ Math 2 Honors - Santowski.
Ch. 6: Permutations!.
Arrangements, Permutations & Combinations
Permutations and Combinations
PERMUTATIONS AND COMBINATIONS BOTH PERMUTATIONS AND COMBINATIONS USE A COUNTING METHOD CALLED FACTORIAL.
Permutations and Combinations. Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish permutations.
Permutations, Combinations, and Counting Theory
Algebra 1 Predicting Patterns & Examining Experiments Unit 7: You Should Probably Change Section 4: Making Choices.
Lesson 0.4 (Counting Techniques)
37. Permutations and Combinations. Fundamental Counting Principle Fundamental Counting Principle states that if an event has m possible outcomes and another.
Warm up How many possible pizzas could you make with 3 types of meats, 2 types of cheeses, and 2 types of sauces? 5 * 4 * 3 * 2 * 1 =
Algebra 1 Predicting Patterns & Examining Experiments Unit 7: You Should Probably Change Section 2: Making Arrangements.
Permutations and Combinations
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
Copyright © Cengage Learning. All rights reserved. Probability and Statistics.
Permutations and Combinations. Fundamental Counting Principle Fundamental Counting Principle states that if an event has m possible outcomes and another.
13 Lesson 1 Let Me Count the Ways Fundamental Counting Principle, Permutations & Combinations CP Probability and Statistics FA 2014 S-ID.1S-CP.3S-CP.5.
Permutations and Combinations Review Plus a little Dry Run, Sorting and Code.
Counting Techniques Section 5.5. Objectives Solve counting problems using the Multiplication Rule Solve counting problems using permutations Solve counting.
Permutations and Combinations
Permutations and Combinations
Counting, Permutations, & Combinations
Happy Pi Day! Find x. 15 If you still have x
Copyright © Cengage Learning. All rights reserved.
combinaTorial Analysis
Permutations and Combinations
Permutations and Combinations
Warm Up Permutations and Combinations Evaluate  4  3  2  1
Permutations and Combinations
Counting, Permutations, & Combinations
Probability Warm Up page 12- write the question you have 10 mins to complete it. See coaching on page 85.
Permutations and Combinations
Lesson 11-1 Permutations and Combinations
Permutations and Combinations
104- Ch. 11 part 1; 260- Ch. 5 pt. 2 master_prob_pc.pptx
Within Subjects (Participants) Designs
Counting techniques Basic Counting Principles, Pigeonhole Principle, Permutations and Combinations.
Permutations and Combinations
First lecture fsalamri Faten alamri.
How many possible outcomes can you make with the accessories?
Counting Principle.
Bellwork Practice Packet 10.3 B side #3.
6.1 Counting Principles and Permutations
Probability Warm Up page 12- write the question you have 10 mins to complete it. See coaching on page 85.
Day 2 - Combinations.
Permutations and Combinations
Standard DA-5.2 Objective: Apply permutations and combinations to find the number of possibilities of an outcome.
Permutations and Combinations
Lecture 7: Permutations and Combinations
Permutations and Combinations
The Shapley-Shubik Power Index
Presentation transcript:

Permutations and Combinations Key Vocabulary: Permutation Combination Fundamental Counting Principle Factorial

Objectives: apply fundamental counting principle compute permutations compute combinations distinguish permutations vs combinations

Fundamental Counting Principle Lets start with a simple example. A student is to roll a die and flip a coin. How many possible outcomes will there be? 1H 2H 3H 4H 5H 6H 1T 2T 3T 4T 5T 6T 12 outcomes 6*2 = 12 outcomes

 Example: For dinner you have the following choices: ENTREES MAINS soup salad chicken prawns hamburger DESSERTS How many different combinations of meals could you make? We'll build a tree diagram to show all of the choices.  icecream

Now to get all possible choices we follow each path.  We ended up with 12 possibilities Notice the number of choices at each branch 2 choices 3 choices 2 choices ice cream soup, chicken, ice cream  chicken 2  3  2 = 12 soup, chicken,  ice cream prawns soup, prawns, ice cream  soup hamburger soup, prawns,  ice cream soup, hamburger, ice cream  soup, hamburger,  salad ice cream salad, chicken, ice cream  chicken salad, chicken,  ice cream prawns salad, prawns, ice cream  hamburger salad, prawns,  ice cream Now to get all possible choices we follow each path. salad, hamburger, ice cream  salad, hamburger, 

Multiplication Principle of Counting If a task consists of a sequence of choices in which there are p selections for the first choice, q selections for the second choice, r selections for the third choice, and so on, then the task of making these selections can be done in different ways. p  q  r   If we have 6 different shirts, 4 different pants, 5 different pairs of socks and 3 different pairs of shoes, how many different outfits could we wear? 6  4  5  3 = 360

Permutations Notice, ORDER MATTERS! A Permutation is an arrangement of items in a particular order. Notice, ORDER MATTERS! To find the number of Permutations of n items, we can use the Fundamental Counting Principle or factorial notation.

Permutations The number of ways to arrange the letters ABC: ____ ____ ____ 3 ____ ____ Number of choices for first blank? 3 2 ___ Number of choices for second blank? Number of choices for third blank? 3 2 1 3*2*1 = 6 3! = 3*2*1 = 6 ABC ACB BAC BCA CAB CBA

A permutation is an ordered arrangement of r objects chosen from n objects. For combinations order does not matter but for permutations it does. There are three types of permutations. The first is distinct with repetition. This means there are n distinct objects but in choosing r of them you can repeat an object. this means different Let's look at a 3 combination lock with numbers 0 through 9 There are 10 choices for the first number There are 10 choices for the second number and you can repeat the first number There are 10 choices for the third number and you can repeat By the multiplication principle there are 10  10  10 = 1000 choices

Permutations: Distinct Objects with Repetition This can be generalized as: Permutations: Distinct Objects with Repetition The number of ordered arrangements of r objects chosen from n objects, in which the n objects are distinct and repetition is allowed, is nr What if the lock had four choices for numbers instead of three? 104 = 10 000 choices

The second type of permutation is distinct, without repetition. Let's say four people have a race. Let's look at the possibilities of how they could place. Once a person has been listed in a place, you can't use that person again (no repetition). Based on the multiplication principle: 4  3  2  1 = 24 choices First place would be choosing someone from among 4 people. Now there are only 3 to choose from for second place. Now there are only 2 to choose from for third place. 4th 3rd 2nd 1st Only one possibility for fourth place.

nPr , means the number of ordered arrangements of r objects chosen from n distinct objects and repetition is not allowed. In the last example: If you have 10 people racing and only 1st, 2nd and 3rd place how many possible outcomes are there? 0! = 1

Permutations To find the number of Permutations of n items chosen r at a time, you can use the formula

Permutations Practice: A combination lock will open when the right choice of three numbers (from 1 to 30, inclusive) is selected. How many different lock combinations are possible assuming no number is repeated? Answer Now

Permutations Practice: A combination lock will open when the right choice of three numbers (from 1 to 30, inclusive) is selected. How many different lock combinations are possible assuming no number is repeated?

Permutations Practice: From a club of 24 members, a President, Vice President, Secretary, Treasurer and Historian are to be elected. In how many ways can the offices be filled? Answer Now

Permutations Practice: From a club of 24 members, a President, Vice President, Secretary, Treasurer and Historian are to be elected. In how many ways can the offices be filled?

Combinations ORDER DOES NOT MATTER! A Combination is an arrangement of items in which order does not matter. ORDER DOES NOT MATTER! Since the order does not matter in combinations, there are fewer combinations than permutations.  The combinations are a "subset" of the permutations.

Combinations To find the number of Combinations of n items chosen r at a time, you can use the formula

Combinations To find the number of Combinations of n items chosen r at a time, you can use the formula

A combination is an arrangement of r objects chosen from n objects regardless of order. nCr , means the number combinations of r objects chosen from n distinct objects and repetition is not allowed. Order doesn't matter here so the combination 1, 2, 3 is not different than 3, 2, 1 because they both contain the same numbers.

You need 2 people on your committee and you have 5 to choose from You need 2 people on your committee and you have 5 to choose from. You can see that this is without repetition because you can only choose a person once, and order doesn’t matter. You need 2 committee members but it doesn't matter who is chosen first. How many combinations are there?

Combinations Practice: To play a particular card game, each player is dealt five cards from a standard deck of 52 cards. How many different hands are possible? Answer Now

Combinations To play a particular card game, each player is dealt five cards from a standard deck of 52 cards. How many different hands are possible? Practice:

Combinations Practice: A student must answer 3 out of 5 essay questions on a test. In how many different ways can the student select the questions? Answer Now

Combinations A student must answer 3 out of 5 essay questions on a test. In how many different ways can the student select the questions? Practice:

Combinations Practice: A basketball team consists of two centers, five forwards, and four guards. In how many ways can the coach select a starting line up of one center, two forwards, and two guards? Answer Now

Combinations Practice: A basketball team consists of two centers, five forwards, and four guards. In how many ways can the coach select a starting line up of one center, two forwards, and two guards? Center: Forwards: Guards: Thus, the number of ways to select the starting line up is 2*10*6 = 120.

Review/Summary Permutations vs. Combinations When is it a permutation? When is it a combination?

A permutation is an arrangement in which order matters. A B C differs from B C A

How Many Permutations? Consider four objects {A,B,C,D} There are 4 choices for the first slot. There are 3 choices for the second slot. There are 2 choices for the third slot. There is 1 choice for the last slot.

4 x 3 x 2 x 1 = 24 Permutations ABCD ABDC ACBD ACDB ADBC ADCB BACD BADC BCAD BCDA BDAC BDCA CABD CADB CBAD CBDA CDAB CDBA DABC DACB DBAC DBCA DCAB DCBA

Generalization There are 4! ways to arrange 4 items. There are n! ways to arrange n items.

Permutation Example Selecting 3 items out of a set of 5 We have 5 choices for the first item. We have 4 choices for the second item. We have 3 choices for the third item. 5 x 4 x 3 = 60 Permutations

Permutation Formula

Combinations are arrangements in which order does NOT matter. A, B, C is the same as B, C, A

Evaluating In how many ways may 3 items be selected from a set of 5 without regard to order?

We already know that there 60 permutations of these items. For each set of three, there are 3! or 6 arrangements. A B C A C B B A C B C A C A B C B A All of these are really the same.

Consider the set {A,B,C,D,E} These are the combinations. Our actual answer is 10. Consider the set {A,B,C,D,E} These are the combinations. A,B,C A,B,D A,B,E A,C,D A,C,E A,D,E B,C,D B,C,E B,D,E C,D,E

Combination Formula

A Challenging Example. Have a go.  Permutation: Order Matters How many even numbers greater than 4000 can be formed using some or all of the digits 1, 2, 3, 4, 5, 6 if each digit must feature no more than once in a number? We could have even numbers with 4, 5 or 6 digits This Gives 4 possibilities to work with: PART A: 4, 5 or 6 EVEN digits beginning with a 4 OR 6 PART B: 4, 5 or 6 EVEN digits beginning with a 5 PART C: 5 or 6 EVEN digits beginning with a 2 PART D: 5 or 6 EVEN digits beginning with a 1 or 3

A Challenging Example. Have a go.  Permutation: Order Matters How many even numbers greater than 4000 can be formed using some or all of the digits 1, 2, 3, 4, 5, 6 if each digit must feature no more than once in a number? PART A: 4, 5 or 6 EVEN digits beginning with a 4 OR 6 2 4 3 2 + 2 4 3 2 2 + 2 4 3 2 1 2 This gives a total of 240

A Challenging Example. Have a go.  Permutation: Order Matters How many even numbers greater than 4000 can be formed using some or all of the digits 1, 2, 3, 4, 5, 6 if each digit must feature no more than once in a number? PART B: 4, 5 or 6 EVEN digits beginning with a 5 1 4 3 3 + 1 4 3 2 3 + 1 4 3 2 1 3 This gives a total of 180

A Challenging Example. Have a go.  Permutation: Order Matters How many even numbers greater than 4000 can be formed using some or all of the digits 1, 2, 3, 4, 5, 6 if each digit must feature no more than once in a number? PART C: 5 or 6 EVEN digits beginning with a 2 1 4 3 2 2 + 1 4 3 2 1 2 This gives a total of 96

A Challenging Example. Have a go.  Permutation: Order Matters How many even numbers greater than 4000 can be formed using some or all of the digits 1, 2, 3, 4, 5, 6 if each digit must feature no more than once in a number? PART D: 5 or 6 EVEN digits beginning with a 1 or 3 2 4 3 2 3 + 2 4 3 2 1 3 This gives a total of 288

A Challenging Example. Have a go.  Permutation: Order Matters How many even numbers greater than 4000 can be formed using some or all of the digits 1, 2, 3, 4, 5, 6 if each digit must feature no more than once in a number? We could have even numbers with 4, 5 or 6 digits This Gives 4 possibilities to work with: PART A: 4, 5 or 6 EVEN digits beginning with a 4 OR 6 = 240 PART B: 4, 5 or 6 EVEN digits beginning with a 5 = 180 PART C: 5 or 6 EVEN digits beginning with a 2 = 96 PART D: 5 or 6 EVEN digits beginning with a 1 or 3 =288 Number of possible even numbers greater than 4000 = 804