Download presentation
Presentation is loading. Please wait.
Published byRidwan Budiaman Modified over 6 years ago
1
How to Count Things βThere are three kinds of people in the world: those who can count and those who cannot.β 11/21/2018
2
Why is counting important?
Recall: the basic definition of the probability of an event, π πΈ = ππ’π‘πππππ π‘βππ‘ πππ‘ πΈπ£πππ‘ πΈ π πππππ π ππππ ππ’π‘πππππ You need to be able to count how many outcomes fit the event of interest. You need to be able to count how many outcomes are in the sample space. 11/21/2018
3
Counting can get complicated
There are techniques and tricks to counting For instance: probability of drawing five cards and getting a Full House How many different poker hands can be drawn? How many of them are Full House hands? Making a list of the sample space outcomes would take a very, very long time! 11/21/2018
4
Where weβve been; Where weβre going
Previously: Elementary probability P(A or B), the addition rule P(A and B), the multiplication rules Now: Counting events, just counting, only Using counting in P(E) computations that are more challenging than the ones weβve been doing 11/21/2018
5
Three Counting Tricks The Fundamental Counting Rule β how many different license plates can be made? Permutations β ten horses race; how many different win/place/show results are possible? Combinations β how many different juries can be formed from the 100 jurors in todayβs pool? 11/21/2018
6
The Fundamental Counting Principle
The setup: A sequence of π events There are π 1 possible outcomes of event #1 There are π 2 possible outcomes for event #2 Etc., etc., π π possible outcomes for event #π The conclusion: You Multiply their counts. Overall π 1 β π 2 ββ―β π π possible outcomes 11/21/2018
7
Classic Example - License Plate
Suppose we must have three letters followed by four numbers. How many possible different license plates? Use the Fundamental Counting Principle! letter letter letter number number number number ____ β ____β ____β ____ β ____ β ____ β ____ = ___________ possible different license plates 11/21/2018
8
Classic Example β The Menu
You get one appetizer out of six choices, And one main course out of ten choices, And one dessert out of eight choices. How many meals before youβve tried every possible combination? Appetizer and Main Course and Dessert ________ β _________ β _______ = ___________ 11/21/2018
9
Classic Example β The Meeting Room
A, B, C, D, E, F, X, Y, Z attend a meeting The chairman will sit at the head of the table. Only X, Y, and Z are qualified to be chairman. There are four seats along each side of the table. How many possible seating arrangements are there? (Hint: Start with chairman, then fill the rest of the seats.) _____ β _____ β _____ β _____ β _____ β _____ β _____ β _____ β _____ = ______________ possible different seatings 11/21/2018
10
Factorials Example: 10! It means 10β9β8β7β6β5β4β3β2β1
The result is a large number! TI-84 MATH, PRB, 4:! 11/21/2018
11
Permutations The situation The notation and the formula
You have π objects You are going to take π of them The order of the π items is important The notation and the formula π π π = π! (πβπ)! 11/21/2018
12
Permutations Example π π π = π! (πβπ)! Ten horses run the race. π=10
π π π = π! (πβπ)! Example Ten horses run the race. π=10 How many win/place/show possibilities? π=3 10 π 3 = 10! (10β3)! = 10β9β8β7β6β5β4β3β2β β6β5β4β3β2β1 11/21/2018
13
Permutations Example Ten horses run the race. π=10
How many win/place/show possibilities? π=3 10 π 3 = 10! (10β3)! = 10β9β8β7β6β5β4β3β2β β6β5β4β3β2β1 =10β9β8=720 11/21/2018
14
Permutations Example Ten horses run the race. π=10
How many win/place/show possibilities? π=3 11/21/2018
15
Permutations Example Ten horses run the race. π=10 How many win/place/show possibilities? π=3 This happened to be the same as if we used the Fundamental Counting Rule 10 horses could cross the line first and Win 9 remaining horses for the 2nd Place finish 8 remaining horses who could Show 11/21/2018
16
Example: How many βwordsβ
How many four-letter words can be made, if we donβt repeat any letters? Thinking is the only way to do these ! 26 letters Choose 4 of them The order matters So Permutation is the way to do it 11/21/2018
17
How many four-letter βwordsβ ?
____ P _____ = ______ If we instead used the Fundamental Counting Principle to compute this, _____ β _____ β _____ β _____ = _____ 11/21/2018
18
How many words? How many 7-letter βwordsβ can be made from the letters in FLORIDA ? There are ____ letters available We are taking ____ of them Order { does or does not? } matter So itβs a ___________ situation. The computation is ___ P ____ The solution is __________. 11/21/2018
19
How many words? How many βwordsβ can be made from FLORIDA ?
This is a multistep problem! How many 2-letter words? ____ P ____ How many 3-letter words? ____ P ____ How many 4-letter words? ____ P ____ How many 5-letter words? ____ P ____ How many 6-letter words? ____ P ____ How many 7-letter words? ____ P ____ How many 8-letter words? ____ P ____ 11/21/2018
20
βSpecialβ Permutations
How many 4-letter words can be made from the letters in the BABY? Complicated by 2 Bβs. Donβt double-count. Just doing 4! wonβt work. How: βDivide outβ the duplicate letters ! 2! ABBY, ABYB, AYBB, BABY, BAYB, BBAY, BBYA, BYAB, BYBA, YABB, YBAB, YBBA 11/21/2018
21
βSpecialβ Permutations
How many 11-letter words can be made from the 11 letters in MISSISSIPPI ? Complicated by 4 Iβs, 4 Sβs, 2 Pβs Just doing 11! wonβt work. βDivide outβ the duplicate letters. 11! 4!4!2! EXTRA PARENS NEEDED ON TI-84 !!! 11/21/2018
22
Permutations vs. Combinations
You have π objects You are going to take π of them The order of the π items is important π π π = π! (πβπ)! You have π objects You are going to take π of them The order of the π items is NOT important So we divide out the various repetitions of those π items. π πΆ π = π! πβπ ! π! 11/21/2018
23
Permutations β Classic Example
How many different 5-card poker hands? Analysis: π=52 items π=5 of them taken at a time Order does not matter. An ace is an ace, whether you drew it first or second or third or fourth or last Compute: 11/21/2018
24
Poker Hands Combination
π πΆ π = π! πβπ ! π! 52 πΆ 5 = 52! 52β5 !5! = ππβππβππβππβππβππ! ππ!βπβπβπβπβπ Clever set-up: the 47! top cancels with 47! Bottom Or TI-84 MATH, PRB, 3:nCr 11/21/2018
25
Classic Example - Committees
Choosing 5 students for the cafeteria committee out of 20 students available. Analysis Order doesnβt matter So itβs a Combination (not a Permutation) Computation: ___ C ___ = 11/21/2018
26
Classic Multistep Committee Problem
Weβre choosing the Scheduling Committee. 10 women and we need 3 of them to serve. 6 men and we need 2 of them to serve. How many possible committees can we have? Youβll need two different tools to compute this. 11/21/2018
27
Classic Multistep Committee Problem
Women and Men on the committee Analysis Fundamental Counting Principle, multiply: How many ways to choose 3 out of 10 women? Times how many ways to choose 2 out of 6 men? The women are one nCr combination calculation. The men are another nCr combination calculation. 11/21/2018
28
Classic Multistep Committee Problem
3 Women and 2 Men on the committee How many ways to choose a President and a Vice-President, with no restrictions on who may serve? Analysis Order matters here! So itβs a Permutation: ___ P ___ = _____ 11/21/2018
29
Lottery β How many ways to choose five numbers out of ____ numbers?
5 numbers out of 5? ____ C ____ = ______ 5 numbers out of 6? ____ C ____ = ______ 5 numbers out of 7? ____ C ____ = ______ 5 numbers out of 10? ____ C ____ = ______ 5 numbers out of 20? ____ C ____ = ______ 5 numbers out of 30? ____ C ____ = ______ 5 numbers out of 59? ____ C ____ = ______ 11/21/2018
30
Powerball Five white numbers from 1 thru 59
One red Powerball number from 1 thru 39 The Fundamental Counting Principle again Combination calculation for 5 white numbers Trivial calculation for the 1 powerball number Multiply those results together 11/21/2018
31
How many βpairsβ in a deck of cards?
View it as two events in a single draw The rank The suit Then apply the Fundamental Counting Princ. Any one of the 13 ranks (from 2, 3, β¦, Q, K, A) Four cards of that rank taken two at a time 13 πΆ 1 β 4 πΆ 2 =78 11/21/2018
32
How many 5-card flushes? View it in two pieces
1 out of the 4 suits 5 out of the 13 cards in that suit The Fundamental Counting Principle, again 4 πΆ 1 β 13 πΆ 5 =5148 11/21/2018
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.