CSNB143 – Discrete Structure Topic 6 – Counting Techniques.

Slides:



Advertisements
Similar presentations
Unit 0, Pre-Course Math Review Session 0.2 More About Numbers
Advertisements

Permutations and Combinations
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.
Combinations, Permutations, and the Fundamental Counting Principle.
COUNTING TECHNIQUES PERMUTATIONS AND COMBINATIONS.
Multiplication Rule. A tree structure is a useful tool for keeping systematic track of all possibilities in situations in which events happen in order.
Data Analysis and Probability Presenters Aaron Brittain Adem Meta.
12.1 & 12.2: The Fundamental Counting Principal, Permutations, & Combinations.
Chapter 2: The Next Step… Conditional Probability.
Probability And Expected Value ————————————
Combinations We should use permutation where order matters
Chapter 7 - Part Two Counting Techniques Wednesday, March 18, 2009.
4/2/03Tucker, Section 5.31 How many ways to arrange the six letters b, a, n, a, n, a ? Arrangements and Selections With Repetitions Six places: __ __ __.
COUNTING TECHNIQUES PERMUTATIONS AND COMBINATIONS.
Chapter Probability © 2010 Pearson Prentice Hall. All rights reserved 3 5.
Permutations and Combinations
College Algebra Fifth Edition
How many ways are there to pass through city A where the arrows represent one-way streets? Answer: mn ways The counting principal: Suppose two experiments.
Chapter 5 Section 5 Counting Techniques.
5.5 Counting Techniques. More Challenging Stuff  The classical method, when all outcomes are equally likely, involves counting the number of ways something.
Warm-Up 4/29. Rigor: You will learn how to find the number of possible outcomes using the Fundamental Counting Principle, permutations and combinations.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
Conditional Probabilities Multiplication Rule Independence.
The Fundamental Counting Principal, Permutations, & Combinations.
Copyright © Cengage Learning. All rights reserved. CHAPTER 7 Uncertainty: Data and Chance.
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
8-2:Permutations and Combinations English Casbarro Unit 8.
Notes, examples and problems presented by Del Ferster.
Chris rents a car for his vacation. He pays $159 for the week and $9.95 for every hour he is late. When he returned the car, his bill was $ How.
Permutations fancy word isn’t it…. Making Groups I need 4 volunteers We are going to make groups of 3 people Let’s make those groups What situations make.
UNIT 4: Applications of Probability
A Permutation is an ordered combination. To help you to remember, think "Permutation... Position"
Combinations. A combination is a grouping of items in which order does not matter. There are generally fewer ways to select items when order does not.
October 13, 2009 Combinations and Permutations.
Algorithms and their Applications CS2004 ( ) Dr Stephen Swift 3.1 Mathematical Foundation.
10/23/ Combinations. 10/23/ Combinations Remember that Permutations told us how many different ways we could choose r items from a group.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
Counting Principle FACTORIAL, PERMUTATION, COMBINATION FACTORIAL, PERMUTATION, COMBINATION.
Whiteboardmaths.com © 2004 All rights reserved
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
Find the value of 5 P 3. Counting Methods – Part 3.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 7.4 Permutations and Combinations The student will be able to set up and.
CSNB143 – Discrete Structure
Arrangements How many ways can I arrange the following candles?
Copyright © 2012 Pearson Education, Inc. All rights reserved Chapter 8 Counting Principles; Further Probability Topics.
Discrete Mathematics, 1st Edition Kevin Ferland Chapter 6 Basic Counting 1.
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.
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.
Chapter 7 – Counting Techniques CSNB 143 Discrete Mathematical Structures.
5.5 Generalized Permutations and Combinations
COUNTING Permutations and Combinations. 2Barnett/Ziegler/Byleen College Mathematics 12e Learning Objectives for Permutations and Combinations  The student.
Special Topics. Calculating Outcomes for Equally Likely Events If a random phenomenon has equally likely outcomes, then the probability of event A is:
Probability and Counting Rules 4-4: Counting Rules.
Permutations Intro to Algebra/Geometry. Does order matter? In English we use the word "combination" loosely, without thinking if the order of things is.
Permutations & Combinations
Combinations and Permutations Whats the Difference?
Multiplication Rule Combinations Permutations
CSNB 143 Discrete Mathematical Structures
Permutations and Combinations
Permutations and 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.
Chapter 7 Logic, Sets, and Counting
Combinations, Enumerations without Repetitions
Probability And Expected Value ————————————
Probability And Expected Value ————————————
MAT 142 Lecture Video Series
Chapter 11: Further Topics in Algebra
Applied Statistical and Optimization Models
Presentation transcript:

CSNB143 – Discrete Structure Topic 6 – Counting Techniques

Learning Outcomes Student should be able to explain all types of counting techniques. Students should be able to distinguish the techniques learned. Students should be able to use each of the counting techniques based on different questions and situations.

Topic 6 – Counting Techniques Introduction Calculations in probability theory often involve working out the number of different ways in which something can happen. Since simply listing the ways can be tedious and reliable, it is helpful to work out some techniques for doing this kind of counting. Assumed Knowledge Use calculator for the exercises. Cancel manually as much as possible to avoid multiplying a large series of numbers

Topic 6 – Counting Techniques Permutation & Combination In English we use the word "combination" loosely, without thinking if the order of things is important. In other words: – Combination : "My fruit salad is a combination of apples, grapes and bananas" We don't care what order the fruits are in, they could also be "bananas, grapes and apples" or "grapes, apples and bananas", its the same fruit salad. – Permutation : "The combination to the safe was 472". Now we do care about the order. "724" would not work, nor would "247". It has to be exactly So, in Mathematics we use more precise language: – If the order doesn't matter, it is a Combination. If the order does matter it is a Permutation. – A Permutation is an ordered Combination. Source:

Topic 6 – Counting Techniques Permutations with Repetition These are the easiest to calculate. When you have n things to choose from... you have n choices each time. So when choosing r of them, the permutations are: n × n ×... (r times) = n r (Because there are n possibilities for the first choice, THEN there are n possibilities for the second choice, and so on.) Example: In a lock, there are 10 numbers to choose from (0,1,..9) and you choose 3 of them: 10 × 10 ×... (3 times) = 10 3 = 1000 permutations So, the formula is simply: n r where n is the number of things to choose from, and you choose r of them (Repetition allowed, order matters)

Topic 6 – Counting Techniques Permutation with Repetition Another Example : If A = { , , ,  }, how many words that can be built with length 3, repetition allowed? n = 4, r = 3, then n r = 4 3 = 64 words A sequence of r elements from n elements of A is always said as ‘permutation of r elements chosen from n elements of A’, and written as n P r or P(n, r)

Topic 6 – Counting Techniques Permutation without Repetition In this case, you have to reduce the number of available choices each time. For example, what order could 16 pool balls be in? After choosing, say, number "14" you can't choose it again. So, your first choice would have 16 possibilites, and your next choice would then have 15 possibilities, then 14, 13, etc. The total permutations would be 16 × 15 × 14 × = 20,922,789,888,000. Mathematically this is written using the factorial function. ! So, if you wanted to select all of the pool balls the permutations would be: 16! = 20,922,789,888,000

Topic 6 – Counting Techniques Permutation without Repetition But maybe you don't want to choose them all, just 3 of the balls, so that would be only: 16 × 15 × 14 = 3360 In other words, there are 3,360 different ways that 3 pool balls could be selected out of 16 balls. The formula used of this is

Topic 6 – Counting Techniques Permutation without Repetition Another example: If A = {p, q, r, s}, find the number of permutations for 3 elements, without repetition. The formula used is : where n = 4, r =3 4 P 3 = __ 4!__ = = 24 (4-3)! 1

Topic 6 – Counting Techniques Permutation without Repetition Another example: Choose 3 alphabets from A …. Z where n = 26, r =3 26 P 3 = __ 26!__ = … = (26-3)! 23.33……3.2.1

Topic 6 – Counting Techniques Combination with Repetition There are n things to choose from, and you choose r of them. Order does not matter, and you can repeat The formula used is

Topic 6 – Counting Techniques Combination with Repetition Example In how many ways can a prize winner choose a combination of three CDs from the Top Ten list if repetition is allowed The formula used is n = 10, r = 3 4 C 3 = __( – 1)!_ = … = 220 ways 3!(10 - 1)! ……3.2.1

Topic 6 – Counting Techniques Combination without Repetition This is how lotteries work. The numbers are drawn one at a time, and if you have the lucky numbers (no matter what order) you win! Going back to our pool ball example, let us say that you just want to know which 3 pool balls were chosen, not the order. The formula used is

Topic 6 – Counting Techniques Combination without Repetition The pool balls example will be counted as follows:

Topic 6 – Counting Techniques Combination without Repetition Another example: If A = {p, q, r, s}, find the number of combinations for 3 elements, no repetition is allowed The formula used is: where n = 4, r = 3 4 C 3 = __ 4!__ = = 4 3!(4-3)!