9.5 Counting Subsets of a Set: Combinations

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Factors, Primes & Composite Numbers
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
0 - 0.
ALGEBRAIC EXPRESSIONS
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
MULTIPLICATION EQUATIONS 1. SOLVE FOR X 3. WHAT EVER YOU DO TO ONE SIDE YOU HAVE TO DO TO THE OTHER 2. DIVIDE BY THE NUMBER IN FRONT OF THE VARIABLE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
The Poisson distribution
ZMQS ZMQS
4-1 Chapter 4 Counting Techniques.
Copyright © Cengage Learning. All rights reserved. 6 Sets and Counting.
Counting. Counting in Algorithms How many comparisons are needed to sort n numbers? How many steps to compute the GCD of two numbers ? How many steps.
1 Combinations & Counting II Samuel Marateck © 2009.
Basic Permutations and Combinations
O X Click on Number next to person for a question.
© S Haughton more than 3?
Applications of Inclusion-Exclusion: Selected Exercises.
Counting. Counting = Determining the number of elements of a finite set.
Twenty Questions Subject: Twenty Questions
Squares and Square Root WALK. Solve each problem REVIEW:
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
What You Should Learn • Represent and classify real numbers.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Week 1.
We will resume in: 25 Minutes.
1 Unit 1 Kinematics Chapter 1 Day
Counting Techniques: Permutations of Selected Elements Addition Rule, Difference Rule, Inclusion/Exclusion Rule.
EXAMPLE 4 Multiply matrices Multiply 2 –3 –1 8. SOLUTION The matrices are both 2 2, so their product is defined. Use the following steps to find.
12 April 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
Counting Chapter 6 With Question/Answer Animations.
The Division Rule Theorem: Suppose a set A has n elements and is partitioned by the collection {A 1, A 2,..., A p }, where each partition set has m elements.
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,
Multiplication Rule. A tree structure is a useful tool for keeping systematic track of all possibilities in situations in which events happen in order.
Combinations We should use permutation where order matters
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Review of 5.1, 5.3 and new Section 5.5: Generalized Permutations and Combinations.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.4,
Generalized Permutations and Combinations
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.
Simple Arrangements & Selections. Combinations & Permutations A permutation of n distinct objects is an arrangement, or ordering, of the n objects. An.
CSNB143 – Discrete Structure
Discrete Mathematics Lecture # 25 Permutation & Combination.
Counting Principles Multiplication rule Permutations Combinations.
Copyright © Peter Cappello 2011 Simple Arrangements & Selections.
Permutations & Combinations: Selected Exercises. Copyright © Peter Cappello2 Preliminaries Denote the # of arrangements of some k elements of a set of.
Section The Product Rule  Example: How many different license plates can be made if each plate contains a sequence of three uppercase English letters.
Section 6.3. Section Summary Permutations Combinations.
The Multiplication Rule
Generalized Permutations and Combinations
Permutations and Combinations
COUNTING AND PROBABILITY
COUNTING AND PROBABILITY
Basic Counting Lecture 9: Nov 5, 6.
The Division Rule Theorem: Suppose a set A has n elements and is partitioned by the collection {A1, A2, ..., Ap}, where each partition set has m elements.
Presentation transcript:

9.5 Counting Subsets of a Set: Combinations

r-Combination An r-combination from a set of n-elements is an r-subset of an n-set. Any of the symbols C(n, r ), n Cr , C n, r , is used to count the number of r-subsets from an n-set

r-Combinations Consider the set A={a, b, c, d}. Calculate the number of r-combinations below by showing the subsets counted in each case

Counting r-Combinations Take A={a, b, c, d} Consider the 3-combination {a, b, c}. Notice that {a, b, c}={a ,c, b}={b, c, a} etc. How many 3-permutation are there with the elements from the r-combination {a, b, c}?

Formula for C(n , r) The number of r-combinations of an n-set is given by

Examples 1. How many distinct five-person teams can be chosen to work on a special project from a group of 12 people? Solution: The number of distinct five-person teams is the same as the number of subsets of size 5 (or 5-combinations) that can be chosen from the set of twelve. This number is . Thus there are 792 distinct five-person teams.

Examples 2. Suppose the group of twelve consists of five men and seven women. How many five-person teams can be chosen that consist of three men and two women? b. How many five-person teams contain at least one man? (two ways) c. How many five-person teams contain at most one man?

Solution a. To answer this question, think of forming a team as a two-step process: Step 1: Choose the men. Step 2: Choose the women. There are ways to choose the three men out of the five and ways to choose the two women out of the seven. Hence, by the product rule,

b. How many five-person teams contain at least one man b. How many five-person teams contain at least one man? (two ways) This question can be answered either by the addition rule or by the difference rule. (Difference Rule) Observe that the set of five-person teams containing at least one man equals the set difference between the set of all five-person teams and the set of five-person teams that do not contain any men.

(addition rule) observe that the set of teams containing at least one man can be partitioned as shown Teams with At Least One Man

The number of teams in each subset of the partition is calculated using the method illustrated in part (a). There are

Hence, by the addition rule,

c. The set of teams containing at most one man can be partitioned into the set that does not contain any men and the set that contains exactly one man. Hence, by the addition rule,

Number of Bit String with Fixed Number of 1’s How many 10-bit strings are there with exactly 3 ones? Label the entries of the bit string from 1-10. ___ ____ ____ _____ ………….._____ _____ 1 2 3 4 9 10 To place 3 ones simply choose three of the entries to place them. For instance {1,7,10} indicates that 1’s will be placed on those entries; {5, 2, 9} indicates that 1’s will be placed on entries 5, 2, 9. The other entries are zeroes. There are a total of 10-bit strings with 3 ones

Permutations of a Set With Repeated Elements Consider different ordering of the letters in the word MISSISSIPPI How many distinguishable orderings are there? IIMSSPISSIP, ISSSPMIIPIS, PIMISSSSIIP, and so on Approach 1: Strings with all entries different. Account for repetitions (labels) Approach 2: Strings and select entries to put each of the different letters in the word

APPROACH 1 Consider all the entries different and then take care of repetitions There are a total of 11 characters, so 11! different words that can be made For each word any reordering of the I’s, S’s, P’s will produce the same word (disregarding the sub-index). There are 4!4! 2! repeated words. Total of different words with the letters in MISSISSIPPI is

APPROACH 2 Consider a 11-word where the entries are the letters in MISSISSIPPI ___ ____ ____ _____ ………….._____ _____ _____ 1 2 3 4 9 10 11 Choose the number of ways to place 1 M Then choose the number of ways to place 4 I’s Then choose the number of ways to place 4 S’s Then choose the number of ways to place 2 P’s

By the multiplication principle the total number of different words with the letters in MISSISSIPPI is These is the number of permutations of 11 objects with repetitions

Formula Permutation with repetitions of n characters of k different types

Exercise How many passwords of length 8 can be made with the letters A, B, C, D, E, F? How many of those passwords have three B’s, two E’s, and three F’s? How many of those passwords are permutations of the letters A, B, C, D, E, F?