Multiplication Rule. A tree structure is a useful tool for keeping systematic track of all possibilities in situations in which events happen in order.

Slides:



Advertisements
Similar presentations
4-1 Chapter 4 Counting Techniques.
Advertisements

9.5 Counting Subsets of a Set: Combinations
1 Counting Techniques: Possibility Trees, Multiplication Rule, Permutations.
Counting Chapter 6 With Question/Answer Animations.
Consider the possible arrangements of the letters a, b, and c. List the outcomes in the sample space. If the order is important, then each arrangement.
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.
How many possible outcomes can you make with the accessories?
Counting and Probability The outcome of a random process is sure to occur, but impossible to predict. Examples: fair coin tossing, rolling a pair of dice,
1 Counting Rules. 2 The probability of a specific event or outcome is a fraction. In the numerator we have the number of ways the specific event can occur.
ENM 207 Lecture 5. FACTORIAL NOTATION The product of positive integers from 1 to n is denoted by the special symbol n! and read “n factorial”. n!=1.2.3….(n-2).(n-1).n.
Discrete Mathematics Lecture 6 Alexander Bukharovich New York University.
1 More Counting Techniques Possibility trees Multiplication rule Permutations Combinations.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Lecture 07 Prof. Dr. M. Junaid Mughal
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
4. Counting 4.1 The Basic of Counting Basic Counting Principles Example 1 suppose that either a member of the faculty or a student in the department is.
Topics to be covered: Produce all combinations and permutations of sets. Calculate the number of combinations and permutations of sets of m items taken.
9.3 Addition Rule. The basic rule underlying the calculation of the number of elements in a union or difference or intersection is the addition rule.
Chapter 6 With Question/Answer Animations 1. Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients.
Permutations and Combinations
Permutations and Combinations. Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish permutations.
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
Methods of Counting Outcomes BUSA 2100, Section 4.1.
March 10, 2015Applied Discrete Mathematics Week 6: Counting 1 Permutations and Combinations How many different sets of 3 people can we pick from a group.
© The McGraw-Hill Companies, Inc., Chapter 4 Counting Techniques.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Lesson  The numerator and denominator of a theoretical probability are numbers of possibilities.  Sometimes those possibilities follow regular.
Week 9 - Wednesday.  What did we talk about last time?  Exam 2  Before that: review  Before that: relations.
Main Menu Main Menu (Click on the topics below) Permutation Example 1 Example 2 Circular Permutation Permuting r of n objects Example 1 Example 2 Example.
Aaron Tan October Counting and Probability 1 IntroductionPossibility Trees and Multiplication RuleCounting Elements of Disjoint SetsThe Pigeonhole.
Permutations and Combinations
Counting Principles Multiplication rule Permutations Combinations.
Lesson 0.4 (Counting Techniques)
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Counting Techniques Tree Diagram Multiplication Rule Permutations Combinations.
37. Permutations and Combinations. Fundamental Counting Principle Fundamental Counting Principle states that if an event has m possible outcomes and another.
HAWKES LEARNING Students Count. Success Matters. Copyright © 2015 by Hawkes Learning/Quant Systems, Inc. All rights reserved. Section 7.2 Counting Our.
Spring 2016 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University.
2/24/20161 One, two, three, we’re… Counting. 2/24/20162 Basic Counting Principles Counting problems are of the following kind: “How many different 8-letter.
Permutations and Combinations
Section The Pigeonhole Principle If a flock of 20 pigeons roosts in a set of 19 pigeonholes, one of the pigeonholes must have more than 1 pigeon.
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
Week 9 - Friday.  What did we talk about last time?  Partial orders  Total orders  Basic probability  Event  Sample space  Monty Hall  Multiplication.
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.
Section 6.3. Section Summary Permutations Combinations.
The Multiplication Rule
The Pigeonhole Principle
4-1 Chapter 4 Counting Techniques.
Elementary Probability Theory
COCS DISCRETE STRUCTURES
Section 8.3 PROBABILITY.
9. Counting and Probability 1
combinaTorial Analysis
Chapter 0.4 Counting Techniques.
4-1 Chapter 4 Counting Techniques.
4-1 Chapter 4 Counting Techniques.
COUNTING AND PROBABILITY
COUNTING AND PROBABILITY
Lesson 11-1 Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
COUNTING AND PROBABILITY
How many possible outcomes can you make with the accessories?
Discrete Structures Counting.
4-1 Chapter 4 Counting Techniques.
Bellwork Practice Packet 10.3 B side #3.
Standard DA-5.2 Objective: Apply permutations and combinations to find the number of possibilities of an outcome.
Permutations and Combinations
Presentation transcript:

Multiplication Rule

A tree structure is a useful tool for keeping systematic track of all possibilities in situations in which events happen in order. The next example shows how to use such a structure to count the number of different outcomes of a tournament.

Tournament Play Teams A and B are to play each other repeatedly until one wins two games in a row or a total of three games. a. How many ways can the tournament be played? b. Assuming that all the ways of playing the tournament are equally likely, what is the probability that five games are needed to determine the tournament winner?

The possible ways for the tournament to be played are represented by the distinct paths from “root” (the start) to “leaf” (a terminal point) in the tree shown Why should we stop the tree after 5 games?

The Multiplication Rule Suppose a person has four different pants (A, B, C, and D) and three different shirts (X, Y, and Z). In how many different ways the person can the person dress up?

Start X Y Z

This process is a sequence of events First Event: Choose the pants Second Event: After you choose the pant choose the shirt.

Notice that each pant can be chosen in four different ways. After a pant is chosen a shirt (to match up) can be chosen in three different ways. Total Number of Ways (as a 2-word or ordered pair) 4 3 ______ ________ Size First Event Size Second Event

EXAMPLES A typical PIN (personal identification number) is a sequence of any four symbols chosen from the 26 letters in the alphabet and the ten digits, with repetition allowed. How many different PINs are possible? Solution: Typical PINs are CARE, 3387, B32B, and so forth. You can think of forming a PIN as a four-step operation to fill in each of the four symbols in sequence.

Step 1: Choose the first symbol. Step 2: Choose the second symbol. Step 3: Choose the third symbol. Step 4: Choose the fourth symbol By the multiplication rule, there are 36  36  36  36 = 36 4 = 1,679,616 PINs

Number of PINs without Repetition Now form PINs using four symbols, either letters of the alphabet or digits, and suppose that repetition is not allowed. a. How many different PINs are there? b. If all PINs are equally likely, what is the probability that a PIN chosen at random contains no repeated symbol?

There are 36 ways to choose the first symbol,35 ways to choose the second (since the first symbol cannot be used again), 34 ways to choose the third (since the first two symbols cannot be reused), and 33 ways to choose the fourth (since the first three symbols cannot be reused) The multiplication rule can be applied to conclude that there are 36  35  34  33 = 1,413,720 different PINs with no repeated symbol.

Thus the probability that a PIN chosen at random contains no repeated symbol is In other words, approximately 84% of PINs have no repeated symbol.

Strings or Words If S is a nonempty finite set of characters, a string over S is a finite sequence of elements of S. The number of characters in a string is called the length of the string. The null string over S is the “string” with no characters. There is one string of length zero. Let A={a, b, c} How many 3-strings can be made where the characters are elements from A? How about the number of 5-strings?

r-Permutations Let A={a, b, c} A 2-permutation of A is an ordering of any two distinct elements of A in a row (2-strings no repetitions) ab ac ba bc ca cb How to count them? _________ __________ 1 st character 2 nd Character P(3,2)=No. of 2-permutations of a set with 3 elements.

Let A={a, b, c} A 1-permutation of A is an ordering of one elements of A in a row (1-strings) a b c How to count them? _______ 1 st Character P(3,1)=No. of 1-permutations of a set with 3 elements.

A 3-permutation of A is an ordering of any three distinct elements of A in a row (3-strings no repetitions). There are six permutations of A abc acb cba bac bca cab How to count them? ________ _________ _________ 1 st 2 nd 3 rd P(3,3)= No. of 3-permutations of a set with 3- elements

Calculate P(3,4) P(3,0) NOTE: P(3,3) is simply denoted P(3) and represents the permutations of a 3-set. DEFINITION: n a positive integer 3!= 0! = 1 by definition

Writing P(n, r) using factorial notation

Formula for P(n,r) Let n be a positive integer and r a non-negative integer less than or equal to n