Counting, Permutations, & Combinations

Slides:



Advertisements
Similar presentations
Warm-Up Problem Can you predict which offers more choices for license plates? Choice A: a plate with three different letters of the alphabet in any order.
Advertisements

Counting Methods Topic 7: Strategies for Solving Permutations and Combinations.
How many possible outcomes can you make with the accessories?
Chapter 2 Section 2.4 Permutations and Combinations.
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.
COUNTING PRINCIPALS, PERMUTATIONS, AND COMBINATIONS.
1 Permutations and Combinations CS/APMA 202 Rosen section 4.3 Aaron Bloomfield.
Permutations and Combinations Multiplication counting principle: This is used to determine the number of POSSIBLE OUTCOMES when there is more than one.
Permutations Lesson 10 – 4. Vocabulary Permutation – an arrangement or listing of objects in which order is important. Example: the first three classes.
Counting Principles. What you will learn: Solve simple counting problems Use the Fundamental Counting Principle to solve counting problems Use permutations.
13-1 Permutations and Combinations
Counting, Permutations, & Combinations. A counting problem asks “how many ways” some event can occur. Ex. 1: How many three-letter codes are there using.
Methods of Counting Outcomes BUSA 2100, Section 4.1.
Warm Up Evaluate  4  3  2   6  5  4  3  2 
Section 10-3 Using Permutations and Combinations.
2 Permutations and Combinations Lesson 8 HAND OUT REFERENCE SHEET AND GO OVER IT.
Prob/Stats Definition A permutation is an ordered arrangement of objects. (For example, consider the permutations of the letters A, B, C and D.)
Conditional Probability The probability that event B will occur given that A will occur (or has occurred) is denoted P(B|A) (read the probability of B.
Ch Counting Principles. Example 1  Eight pieces of paper are numbered from 1-8 and placed in a box. One piece of paper is drawn from the box, its.
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,
Counting Principles. Counting examples Ex 1: A small sandwich café has 4 different types of bread, 5 different types of meat and 3 different types of.
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
MATH 2311 Section 2.1. Counting Techniques Combinatorics is the study of the number of ways a set of objects can be arranged, combined, or chosen; or.
8.6 Counting Principles. Listing Possibilities: Ex 1 Eight pieces of paper are numbered from 1 to 8 and placed in a box. One piece of paper is drawn from.
Permutations and Combinations
Copyright © Cengage Learning. All rights reserved. Probability and Statistics.
COUNTING Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Permutations and Combinations
Counting Principles Ex. Eight pieces of paper are numbered 1 to 8 and placed in a box. One piece of paper is drawn from the box, its number is written.
Counting, Permutations, & Combinations
Chapter 10 Counting Methods.
Counting, Permutations, & Combinations
Multiplication Rule Combinations Permutations
Permutations and Combinations
MATH 2311 Section 2.1.
CSE15 Discrete Mathematics 04/19/17
Counting, Permutations, & Combinations
Permutations and Combinations
Counting Principals, Permutations, and Combinations
Copyright © Cengage Learning. All rights reserved.
Counting, Permutations, & Combinations
Permutations and Combinations
Counting, Permutations, & Combinations
Permutations and Combinations
Counting, Permutations, & Combinations
How to Count Things “There are three kinds of people in the world: those who can count and those who cannot.” 11/21/2018.
Counting, Permutations, & Combinations
Counting, Permutations, & Combinations
Permutations and Combinations
Lesson 11-1 Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
Counting techniques Basic Counting Principles, Pigeonhole Principle, Permutations and Combinations.
Permutations and Combinations
How many possible outcomes can you make with the accessories?
Permutations.
Counting, Permutations, & Combinations
MATH 2311 Section 2.1.
Bellwork Practice Packet 10.3 B side #3.
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
Permutations and Combinations
MATH 2311 Section 2.1.
Presentation transcript:

Counting, Permutations, & Combinations Introduction to Combinatorics Counting, Permutations, & Combinations

A counting problem asks “how many ways” some event can occur. Ex. 1: How many three-letter codes are there using letters A, B, C, and D if no letter can be repeated? One way to solve is to list all possibilities.

Ex. 2: An experimental psychologist uses a sequence of two food rewards in an experiment regarding animal behavior. These two rewards are of three different varieties. How many different sequences of rewards are there if each variety can be used only once in each sequence? Next slide

Another way to solve is a factor tree where the number of end branches is your answer.

Fundamental Counting Principle Suppose that a certain procedure P can be broken into n successive ordered stages, S1, S2, . . . Sn, and suppose that S1 can occur in r1 ways. S2 can occur in r2 ways. Sn can occur in rn ways. Then the number of ways P can occur is

Ex. 2: An experimental psychologist uses a sequence of two food rewards in an experiment regarding animal behavior. These two rewards are of three different varieties. How many different sequences of rewards are there if each variety can be used only once in each sequence? Using the fundamental counting principle: 3 2

Permutations A permutation is an ordered arrangement of the elements of some set S Let S = {a, b, c} c, b, a is a permutation of S b, c, a is a different permutation of S An r-permutation is an ordered arrangement of r elements of the set A♦, 5♥, 7♣, 10♠, K♠ is a 5-permutation of the set of cards The notation for the number of r-permutations: P(n,r) The poker hand is one of P(52,5) permutations

Permutations Number of poker hands (5 cards): Number of (initial) blackjack hands (2 cards): P(52,2) = 52*51 = 2,652 r-permutation notation: P(n,r) The poker hand is one of P(52,5) permutations

Permutations An r-permutation of a set of n elements is an ordered selection of r elements from the set of n elements ! means factorial Ex. 3! = 3∙2∙1 0! = 1

Ex. 1:How many three-letter codes are there using letters A, B, C, and D if no letter can be repeated? Note: The order does matter

Combinations What if order doesn’t matter? In poker, the following two hands are equivalent: A♦, 5♥, 7♣, 10♠, K♠ K♠, 10♠, 7♣, 5♥, A♦ The number of r-combinations of a set with n elements, where n is non-negative and 0≤r≤n is:

The number of combinations of n elements taken r at a time is Order does NOT matter! Where n & r are nonnegative integers & r < n

Combinations example How many different poker hands are there (5 cards)? How many different (initial) blackjack hands are there?

Ex. 3: How many committees of three can be selected from four people? Use A, B, C, and D to represent the people Note: Does the order matter?

Permutations vs. Combinations Both are ways to count the possibilities The difference between them is whether order matters or not Consider a poker hand: A♦, 5♥, 7♣, 10♠, K♠ Is that the same hand as: K♠, 10♠, 7♣, 5♥, A♦ Does the order the cards are handed out matter? If yes, then we are dealing with permutations If no, then we are dealing with combinations

Ex. 4: How many ways can the 4 call letters of a radio station be arranged if the first letter must be W or K and no letters repeat?

Ex. 5: In how many ways can our class elect a president, vice-president, and secretary if no student can hold more than one office?

Ex. 6: How many five-card hands are possible from a standard deck of cards?

Ex. 7: Given the digits 5, 3, 6, 7, 8, and 9, how many 3-digit numbers can be made if the first digit must be a prime number? (can digits be repeated?) Think of these numbers as if they were on tiles, like Scrabble. After you use a tile, you can’t use it again.

Ex. 8: In how many ways can 9 horses place 1st, 2nd, or 3rd in a race?

Ex. 9: Suppose there are 15 girls and 18 boys in a class Ex. 9: Suppose there are 15 girls and 18 boys in a class. In how many ways can 2 girls and 2 boys be selected for a group project? 15C2 X 18C2 = 16,065

Circular seatings How many ways are there to sit 6 people around a circular table, where seatings are considered to be the same if they can be obtained from each other by rotating the table? First, place the first person in the north-most chair Only one possibility Then place the other 5 people There are P(5,5) = 5! = 120 ways to do that By the product rule, we get 1*120 =120 Alternative means to answer this: There are P(6,6)=720 ways to seat the 6 people around the table For each seating, there are 6 “rotations” of the seating Thus, the final answer is 720/6 = 120