3/26/03 Tucker, Applied Combinatorics Section 5.11 5.1 General Counting Methods for Arrangements and Selections Tucker, Applied Combinatorics, Sec. 5.1,

Slides:



Advertisements
Similar presentations
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.
Advertisements

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.
Chapter 7 Logic, Sets, and Counting
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
Counting Techniques: 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.
Today Today: Reading: –Read Chapter 1 by next Tuesday –Suggested problems (not to be handed in): 1.1, 1.2, 1.8, 1.10, 1.16, 1.20, 1.24, 1.28.
1 Section 4.1 Basics of Counting. 2 Basic Counting Principles: Sum Rule Suppose you have two tasks to perform: –The first task can be done in n 1 ways;
Chapter 6.1 Generating Functions
4/5/05Tucker, Sec Applied Combinatorics, 4rth Ed. Alan Tucker Section 5.4 Distributions Prepared by Jo Ellis-Monaghan.
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: __ __ __.
Michael Duquette & Whitney Sherman
Tucker, Section 5.41 Section 5.4 Distributions By Colleen Raimondi.
Applied Combinatorics, 4th Ed. Alan Tucker
COUNTING PRINCIPALS, PERMUTATIONS, AND COMBINATIONS.
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.
Advanced Counting Techniques
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Probability Lesson: PR-4 Fundamental Counting Principle Fundamental Counting Principle Learning.
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.
Combinatorics 3/15 and 3/ Counting A restaurant offers the following menu: Main CourseVegetablesBeverage BeefPotatoesMilk HamGreen BeansCoffee.
Chapter The Basics of Counting 5.2 The Pigeonhole Principle
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Chapter 8. Section 8. 1 Section Summary Introduction Modeling with Recurrence Relations Fibonacci Numbers The Tower of Hanoi Counting Problems Algorithms.
Generalized Permutations and Combinations
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
1 Lecture 4 (part 1) Combinatorics Reading: Epp Chp 6.
Lesson Counting Techniques. Objectives Solve counting problems using the Multiplication Rule Solve counting problems using permutations Solve counting.
Elements of Combinatorics (Continuation) 1. Pigeonhole Principle Theorem. If pigeons are placed into pigeonholes and there are more pigeons than pigeonholes,
Objectives Solve counting problems using the Multiplication Rule Solve counting problems using permutations Solve counting problems using combinations.
March 10,  Counting  Fundamental Counting principle  Factorials  Permutations and combinations  Probability  Complementary events  Compound.
Simple Arrangements & Selections. Combinations & Permutations A permutation of n distinct objects is an arrangement, or ordering, of the n objects. An.
Lesson  The numerator and denominator of a theoretical probability are numbers of possibilities.  Sometimes those possibilities follow regular.
Sullivan Algebra and Trigonometry: Section 14.2 Objectives of this Section Solve Counting Problems Using the Multiplication Principle Solve Counting Problems.
The Basics of Counting Section 6.1.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 12.8 The Counting Principle and Permutations.
CSNB143 – Discrete Structure
The Product Rule: Use & Misuse. Copyright © Peter Cappello The Product Rule If a procedure has 1.A 1 st stage with s 1 outcomes 2.A 2 nd stage with.
1 Basics of Counting CS/APMA 202 Rosen section 4.1 Aaron Bloomfield.
1 If a task is made up of multiple operations (activities or stages that are independent of each other) the total number of possibilities for the multi-step.
Counting The Fundamental Counting Principle. Fundamental Counting Principle If a series of “n” decisions must be made, and if the first decision can be.
COUNTING PRINCIPALS, PERMUTATIONS, AND COMBINATIONS.
Introduction to Discrete Probability Epp, section 6.x CS 202.
Counting Principles Multiplication rule Permutations Combinations.
THE NATURE OF COUNTING Copyright © Cengage Learning. All rights reserved. 12.
11.1A Fundamental Counting Principal and Factorial Notation 11.1A Fundamental Counting Principal If a task is made up of multiple operations (activities.
HAWKES LEARNING Students Count. Success Matters. Copyright © 2015 by Hawkes Learning/Quant Systems, Inc. All rights reserved. Section 7.2 Counting Our.
 Counting  Fundamental Counting principle  Factorials  Permutations and combinations  Probability  Complementary events  Compound events  Independent.
Section 1.3 Each arrangement (ordering) of n distinguishable objects is called a permutation, and the number of permutations of n distinguishable objects.
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.
Copyright © Peter Cappello 2011 Simple Arrangements & Selections.
COUNTING Permutations and Combinations. 2Barnett/Ziegler/Byleen College Mathematics 12e Learning Objectives for Permutations and Combinations  The student.
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.
Special Topics. Calculating Outcomes for Equally Likely Events If a random phenomenon has equally likely outcomes, then the probability of event A is:
Unit 4: Probability Day 1: Counting Principles. Standards and Benchmarks Select and apply counting procedures, such as the multiplication and.
CS 104: Discrete Mathematics
Pre-Calculus Section 8.6A Counting Principles. 1. Eight pieces of paper are numbered 1 to 8 and placed in a box. One piece of paper is drawn from the.
COUNTING Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Fundamental counting principle Fundamental Counting Principal = Fancy way of describing how one would determine the number of ways a sequence of events.
Permutations and Combinations
Sequences, Series, and Probability
Generalized Permutations and Combinations
Counting Principals, Permutations, and Combinations
12.2 Permutations and Combinations
Discrete Structures for Computer Science
8.3 Counting Apply the fundamental counting principle
Section 12.8 The Counting Principle and Permutations
COUNTING AND PROBABILITY
6.2 Fundamental Counting Principal
Applied Combinatorics, 4th Ed. Alan Tucker
Counting I: Choice Trees and Correspondences
Presentation transcript:

3/26/03 Tucker, Applied Combinatorics Section General Counting Methods for Arrangements and Selections Tucker, Applied Combinatorics, Sec. 5.1, Patti Bodkin and Tamsen Hunter

3/26/03 Tucker, Applied Combinatorics Section 5.12 Principals The Addition Principal If there are different objects in the first set, objects in the second set,..., and the objects in the mth set, and if the different sets are disjoint, then then number of the ways to select an object from one of the m sets is.

3/26/03 Tucker, Applied Combinatorics Section 5.13 Principals The Multiplication Principal Suppose a procedure can be broken into m successive (ordered) stages, with outcomes in the first stage, outcomes in the second stage,..., and outcomes in the mth stage. If the number of outcomes at each stage is independent of the choices in previous stages and if the composite outcomes are all distinct, then the total procedure has different composite outcomes.

3/26/03 Tucker, Applied Combinatorics Section 5.14 Example 1 There are: five different Spanish books six different French books eight different Transylvanian books. How many books are there to pick an (unordered) pair of two books not both in the same language? If one Spanish and one French book are chosen, using the multiplication principal, the selection can be done; 5X6=30. If one Transylvanian book and one Spanish book, then 5X8=40. If one Transylvanian and one French book, then 6X8=48 ways. These three types of selections are disjoint, so by the addition principal there are =118 ways in all.

3/26/03 Tucker, Applied Combinatorics Section 5.15 Tip for Solving Problems The preceding example typifies a basic way of thinking in combinatorial problem solving: Always try first to break a problem into moderate number of manageable subproblems. There may be cleverer ways, but if we can reduce the original problem to subproblems with which we are familiar, then we are less likely to make a mistake.

3/26/03 Tucker, Applied Combinatorics Section 5.16 Example 2 How many ways are there to form a three-letter sequence using the letters a, b, c, d, e, f: 1: with repetition of letters allowed? 2: without repetition of any letter? 3: without repetition and containing the letter e? 4: with repetition and containing the letter e?

3/26/03 Tucker, Applied Combinatorics Section 5.17 Example 2.1: How many 3-letter sequences with repetition allowed? With repetition, we have six choices for each letter in the sequence. So by the multiplication principle there are three-letter sequences without repetition. a a b

3/26/03 Tucker, Applied Combinatorics Section 5.18 Example 2.2: How many 3-letter sequences without repetition? Without repetition, there are six choices for the first letter. For the second letter, there are five choices. Similarly for the third letter, there are four choices. Thus there are three- letter sequences without repetition. f d b

3/26/03 Tucker, Applied Combinatorics Section 5.19 Example 2.3: How many 3-letter sequences without repetition and containing the letter e? Use a diagram to display the positions in a sequence. Since the sequence must contain an e, then there are three choices for which position in the sequence is e: eee

3/26/03 Tucker, Applied Combinatorics Section Example 2.3 (continued) How many 3-letter sequences without repetition and containing the letter e? In each diagram, there are 5 choices for which of the other 5 letters (excluding e) goes in the first remaining position and 4 choices for which of the remaining 4 letters goes in the other position. Thus there are three-letter sequences with e. edc

3/26/03 Tucker, Applied Combinatorics Section Example 2.4: How many 3-letter sequences with repetition and containing the letter e? As in part 3 when repetition is allowed, there are three choices for e’s position. For any of these choices for e’s position, there are choices for the other two positions, since e and the other letters can appear more than once. But the answer of is not correct. The Multiplication Principle has been violated because the outcomes are not distinct.

3/26/03 Tucker, Applied Combinatorics Section Example 2.4 (continued) How many 3-letter sequences with repetition and containing the letter e? Consider the sequence: It was generated two times in our procedure: once when e was put in the first position followed by c e as one of the 36 choices for the latter two positions, and a second time when e was put in the last position with e c in the first two positions. We must use an approach that ensures distinct outcomes. Let us break the problem into disjoint cases based on where the first e in the sequence occurs. e c e

3/26/03 Tucker, Applied Combinatorics Section Example 2.4 (continued) How many 3-letter sequences with repetition and containing the letter e? First suppose the first e is in the first position: Then there are six choices (including e) for the second and for the third positions—6 * 6 ways. Next suppose the first e is in the second position: Then there are five choices for the first position (cannot be e) and six choices for the last position—5 * 6 ways. Finally, let the first (and only) e be in the last position: There are five choices each for the two positions—5 * 5 ways. The correct answer is thus: e a b e df e c d

3/26/03 Tucker, Applied Combinatorics Section Problem for Class to Try: How many nonempty different collections can be formed from five (identical) apples and eight (identical) oranges? Hint: Concentrate on what makes one collection different from another collection.

3/26/03 Tucker, Applied Combinatorics Section Problem for Class to Try: The number of apples and the number of oranges will be different in different collections. We can characterize any collections by a pair for integers (a,o), where a is the number of apples and o is the number of oranges. There are 6 possible values for a and 9 possible values for o. Together there are. Since the problem asked for non-empty collections and one of the solutions is (0,0), the desired answer is

3/26/03 Tucker, Applied Combinatorics Section Advice: When you are stuck and cannot get started with a problem, try writing down in a systematic fashion of the possible outcomes you want to enumerate. By doing this, you should start to see a pattern emerge. For help with problem # 45 on the homework, this link is good: