Ch. 5: Counting. 5.1: The Basics of Counting Intro Example #1: If we have a class of 6 math majors and 7 CS majors (with no double majors) – A) In how.

Slides:



Advertisements
Similar presentations
Exam 1 Review
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.
Section 4.1: The Basics of Counting As we have seen, one way to count the number of objects in a finite set S is to produce a one-to-one correspondence.
College of Information Technology & Design
Permutations Examples 1. How many different starting rotations could you make with 6 volleyball players? (Positioning matters in a rotation.)
Counting (Combinatorics) 1.
Warm-Up Complete in notes.
MATH104 Ch. 11: Probability Theory
Ch. 5: Probability Theory. Probability Assignment Assignment by intuition – based on intuition, experience, or judgment. Assignment by relative frequency.
Section 2: The Multiplication Rule Consider the game of tossing a coin, then rolling a die, then picking a card. One possible event would be (H, 2, 2clubs).
Exam 1 Review 5.1, , 8.1, 8.2.
Do Now: Make a tree diagram that shows the number of different objects that can be created. T-shirts: Sizes: S, M, L and T-shirts: Sizes: S, M, L and Type:
Review of 5.1, 5.3 and new Section 5.5: Generalized Permutations and Combinations.
MAT 2720 Discrete Mathematics Section 6.1 Basic Counting Principles
Introduction to Counting Discrete Structures. A Multiplication Principle.
MATH104 Ch. 11: Probability Theory. Permutation Examples 1. If there are 4 people in the math club (Anne, Bob, Cindy, Dave), and we wish to elect a president.
Today in Algebra 2? Turn in graded worksheet Notes: Permutations and Combinations –NEED A GRAPHING CALCULATOR Homework.
Permutations Chapter 12 Section 7. Your mom has an iTunes account. You know iTunes requires her to enter a 7- letter password. If her password is random,
Aim: Combinations Course: Math Lit. Do Now: Aim: How do we determine the number of outcomes when order is not an issue? Ann, Barbara, Carol, and Dave.
Counting Techniques 0.4.
Sports Camp Morning Camp AerobicsRunningYogaSwimmingWeights Afternoon Camp HikingTennisVolleyballSoftball List all the possible choices available on your.
Methods of Counting Outcomes BUSA 2100, Section 4.1.
What are we doing today? Have calculator handy Notes: Basic Combinatorics Go over quiz Homework.
Counting Techniques. Multiplication Rule of Counting If a task consists of a sequence of choices in which there are p selections for the first choice,
Permutations, Combinations, and Counting Theory AII.12 The student will compute and distinguish between permutations and combinations and use technology.
At the local deli you can add two toppings to your sandwich. Draw a tree diagram to show how many ways you can select two different toppings for your sandwich.
Objectives Solve counting problems using the Multiplication Rule Solve counting problems using permutations Solve counting problems using combinations.
Prob/Stats Definition A permutation is an ordered arrangement of objects. (For example, consider the permutations of the letters A, B, C and D.)
Honors Precalculus Counting and Probability Section 12.2: Permutations and Combinations IBTWW: 10/23/2015.
Sullivan Algebra and Trigonometry: Section 14.2 Objectives of this Section Solve Counting Problems Using the Multiplication Principle Solve Counting Problems.
There are 3 horses (labeled A, B and C) racing for different places. Draw tree diagram to show 1. In how many ways can the horses be placed as 1 st, 2.
Permutations and Combinations Section 2.2 & 2.3 Finite Math.
Permutations and Combinations
Warm Up Which of the following are combinations?
Permutations Review: (Counting Principle) 1.) Carol has 4 skirts, 3 blouses and 3 pairs of shoes. How many different outfits are possible? 2.) A bike license.
Permutations and Combinations Review: Counting Principle 1.) Carol has 4 skirts, 3 shirts, and 3 pairs of shoes. How many different outfits are possible?
Permutations, Combinations, and Counting Theory
Algebra 2/TrigonometryName: __________________________ 12.1, 12.2 Counting Principles NotesDate: ___________________________ Example 1: You are buying.
6.7 Permutations & Combinations. Factorial: 4! = 4*3*2*1 On calculator: math ==> PRB ==> 4 7! = 5040 Try 12!
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.
MATH260 Ch. 5: Probability Theory part 4 Counting: Multiplication, Permutations, Combinations.
Multiplication Counting Principle How many ways can you make an outfit out of 2 shirts and 4 pants? If there are m choices for step 1 and n choices for.
Section Basic Counting Principles: The Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n 1.
Permutations and Combinations
Fri 4/29 Lesson 11 – 1 Learning Objective: To use permutations & combinations to count possibilities Hw: 11-1 Fundamental Counting WS.
COUNTING Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Multiplication Counting Principle How many ways can you make an outfit out of 2 shirts and 4 pants? If there are m choices for step 1 and n choices for.
MAT 2720 Discrete Mathematics
Fundamental Counting Principal
Multiplication Rule Combinations Permutations
Multiplication Counting Principle
Warm Up Which of the following are combinations?
MATH 2311 Section 2.1.
1. In how many ways can six people sit in a six-passenger car?
Chapter 5 Probability 5.5 Counting Techniques.
Section 0-4 Counting Techniques
Permutations and Combinations
Counting, Permutations, & Combinations
Permutations and Combinations
Warm Up Which of the following are combinations?
104- Ch. 11 part 1; 260- Ch. 5 pt. 2 master_prob_pc.pptx
Permutations.
MATH 2311 Section 2.1.
Counting Principle.
Permutations and Combinations
Probability Warm Up page 12- write the question you have 10 mins to complete it. See coaching on page 85.
Day 2 - Combinations.
pencil, highlighter, GP notebook, textbook, calculator
________________________________________________
MATH 2311 Section 2.1.
Presentation transcript:

Ch. 5: Counting

5.1: The Basics of Counting Intro Example #1: If we have a class of 6 math majors and 7 CS majors (with no double majors) – A) In how many ways could we pick one representative from the class? – B) In how many ways could we pick 1 math and 1 CS major? Intro Example #2: If a class has 10 math and 13 CS majors, and 4 of these are joint majors, how many are in the class?

Summary of Basic Counting Techniques Ex 1A uses the SUM rule 6+7=13 Ex 1B uses the PRODUCT rule 6*7=42 Ex 2 uses INCLUSION/EXCLUSION =19

Multiplication Problems 1. At a restaurant, you have a choice of main dish (beef, chicken, fish, vegetarian), vegetable (broccoli, corn), potato (baked, fries), and dessert (chocolate, strawberry). LIST all possible choices. 2. A teacher wishes to make all possible different answer keys to a multiple choice quiz. How many possible different answer keys could there be if there are 3 questions that each have 4 choices (A,B,C,D). LIST them all. 3. What if there were 20 multiple choice questions with 5 choices each? Explain (don’t list). 4. With 9 baseball players on a team, how many different batting orders exist?

Answers 1. At a restaurant, you have a choice of main dish (beef, chicken, fish, vegetarian), vegetable (broccoli, corn), potato (baked, fries), and dessert (chocolate, strawberry). LIST all possible choices. mainvegetablepotatodessert Beefbrocbakedchocolate Beefbrocbakedstrawb Beefbrocfrieschocolate … 4*2*2*2=32

Answers 2. A teacher wishes to make all possible different answer keys to a multiple choice quiz. How many possible different answer keys could there be if there are 3 questions that each have 4 choices (A,B,C,D). LIST them all.4*4*4=64 3. What if there were 20 multiple choice questions with 5 choices each? Explain (don’t list). 5^20 4. With 9 baseball players on a team, how many different batting orders exist? 9! = 362,880

Permutation Examples 1. If there are 4 people in the math club (Anne, Bob, Cindy, Dave), and we wish to elect a president and vice-president, LIST all of the different ways that this is possible. 2. From these 4 people (Anne, Bob, Cindy, Dave), we wish to elect a president, vice- president, and treasurer. LIST all of the different ways that this is possible.

Answers 1. If there are 4 people in the math club (Anne, Bob, Cindy, Dave), and we wish to elect a president and vice-president, LIST all of the different ways that this is possible. ABBACADA ACBCCBDB ADBDCDDC 4*3=12 or 4P2 = 12

Answers 2. From these 4 people (Anne, Bob, Cindy, Dave), we wish to elect a president, vice- president, and treasurer. LIST all of the different ways that this is possible. ABC ABD…

ABCABC DABD CBACB DACD DABDA CBDC BACBAC DBCD CABCA DBCD DABDA CBDC CABCAB DCAD BACBA DCBD ABDAB CDAC DABDAB CDAC BADBA CDBC CADCA BDCB 4*3*2 = 24 outcomes Or 4P3 = 24

Combination Examples 1. If there are 4 people in the math club (Anne, Bob, Cindy, Dave), and 2 will be selected to attend the national math conference. LIST all of the different ways that this is possible. 2. From these 4 people (Anne, Bob, Cindy, Dave), and 3 will be selected to attend the national math conference. LIST all of the different ways that this is possible.

Combination answers 1. If there are 4 people in the math club (Anne, Bob, Cindy, Dave), and 2 will be selected to attend the national math conference. LIST all of the different ways that this is possible. AB ACBC ADBDCD 4C2= 6

Combination answer 2. From these 4 people (Anne, Bob, Cindy, Dave), and 3 will be selected to attend the national math conference. LIST all of the different ways that this is possible. ABCBCD ABD ACD 4C3 = 4

Permutations and Combinations Permutations – Use when ORDER matters and NO repitition – nPr = n!/(n-r)! – Example: If 10 people join a club, how many ways could we pick pres and vp? 10P2 = 90 Combinations – Use: ORDER does NOT matter and NO repitition – nCr = n!/ [(n-r)!r!] – Example: 10 people join a club. In how many ways could we pick 2? 10C2 = 45

Multiplication, Permutation, or Combination? 1. With 14 players on a team, how many ways could we pick a batting order of 11? 2. If license plates have 3 letters and then 4 numbers, how many different license plates exist? 3. How many different four-letter radio station call letters can be formed if the first letter must be W or K? 4. A social security number contains nine digits. How many different ones can be formed? 5. If you wish to arrange your 7 favorite books on a shelf, how many different ways can this be done?

6. If you have 10 favorite books, but only have room for 7 books on the shelf, how many ways can you arrange them? 7. You wish to arrange 12 of your favorite photographs on a mantel. How many ways can this be done? 8. You have 20 favorite photographs and wish to arrange 12 of them on a mantel. How many ways can that be done? 9. You take a multiple choice test with 12 questions (and each can be answered A B C D E). How many different ways could you answer the test? 10. If you had 13 pizza toppings, how many ways could you pick 5 of them?

Answers 1.14P P *26*26*10*10*10* ! or 12P *26*26* P ^9 9. 5^ ! Or 7P C5

Review- which method do we use with … Order matters, repetition allowed Order matters, repetition NOT allowed Order DOESN’T matter, repetition allowed Order DOESN’T matter, repetition NOT allowed

Answers Order matters, repetition allowed – Multiplication Rule – Ex: Social Security numbers Order matters, repetition NOT allowed – Permutations: P(n,r)= n!/(n-r)! – Ex: number of ways to pick 1 st, 2 nd, 3 rd from 30 Order DOESN’T matter, repetition allowed – ??? See section 5.5 Order DOESN’T matter, repetition NOT allowed – Combinations: C(n,r)= n!/ [(n-r)!*r!] – Ex: number of ways to pick a committee of 3 from 30

Harder problems- if time 1. How many bit strings (0s and 1s) are there are length 5? 2. How many license plates exist if repetition is allowed and they can be 3 letters, 3 digits OR 3 letters, 4 digits? 3. In how many ways can a photographer arrange 8 people in a row from a group of 12? If the bride must be in the picture? If both the bride and groom must be in the picture?

More examples 4. How many passwords exist with 6 letters (and no restrictions)? 5. How many 6 letter passwords exist if: There is no repetition allowed? All are consonants, and repetition is allowed? There is exactly one vowel? There is at least one vowel? (use the COMPLEMENT RULE here) 6. How many vanity plates are there with 4 to 7 characters (letters or digits) with at least 1 digit

answer 1. 2^ ^3*10^3 + 26^3*10^4 =193,336, *11*10*9*8*7*6*5=19,958,400 8*11P7=8*1,663,200=13,305,600 8*7*10P6=8,467,200

4.26^6 26P6 21^6 6*5*21^5 26^6-21^6 Review of complement rule: |E|=total = |E complement| 5. uses product, sum, and complement rule (36^4-26^4)+(36^5-26^5)+(36^6-26^6)+ (36^7-26^7) = 550,466,822,600

More complicated 5.3 problems Next class