Main Menu Main Menu (Click on the topics below) Combinations Example Theorem Click on the picture.

Slides:



Advertisements
Similar presentations
Counting Techniques: Permutations of Selected Elements Addition Rule, Difference Rule, Inclusion/Exclusion Rule.
Advertisements

Main Menu Main Menu (Click on the topics below) Algebra of Combinations Pascal’s formula More Formulas Click on the picture Sanjay Jain, Lecturer, School.
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
Permutations and Combinations Rosen 4.3. Permutations A permutation of a set of distinct objects is an ordered arrangement these objects. An ordered arrangement.
Counting Methods Topic 7: Strategies for Solving Permutations and Combinations.
How many possible outcomes can you make with the accessories?
Counting Techniques: Combinations
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,
CSE115/ENGR160 Discrete Mathematics 04/17/12
Permutations r-permutation (AKA “ordered r-selection”) An ordered arrangement of r elements of a set of n distinct elements. permutation of a set of n.
Chapter 2 Section 2.4 Permutations and Combinations.
Combinations We should use permutation where order matters
Discrete Mathematics Lecture 6 Alexander Bukharovich New York University.
1 More Counting Techniques Possibility trees Multiplication rule Permutations Combinations.
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
COUNTING PRINCIPALS, PERMUTATIONS, AND COMBINATIONS.
Main Menu Main Menu (Click on the topics below) Permutations with Some repetitions Example r-Combinations with Some repetitions Example Permutations and.
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.
Counting and Probability Sets and Counting Permutations & Combinations Probability.
Chapter 8 Counting Principles: Further Probability Topics Section 8.2 Combinations.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Counting. Why counting  Determine the complexity of algorithms To sort n numbers, how many instructions are executed ?  Count the number of objects.
7 Further Topics in Algebra © 2008 Pearson Addison-Wesley. All rights reserved Sections 7.4–7.7.
Basic Counting Lecture 12: Oct 28. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations,
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.4,
Basic Counting. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations, combinations.
Topics to be covered: Produce all combinations and permutations of sets. Calculate the number of combinations and permutations of sets of m items taken.
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.
1 Lecture 4 (part 1) Combinatorics Reading: Epp Chp 6.
ICS 253: Discrete Structures I Counting and Applications King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Chapter 6, Counting and Probability
Conditional Probability The probability that event B will occur given that A will occur (or has occurred) is denoted P(B|A) (read the probability of B.
Simple Arrangements & Selections. Combinations & Permutations A permutation of n distinct objects is an arrangement, or ordering, of the n objects. An.
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.
Harbord C.I..
Permutations and Combinations
Discrete Mathematics Lecture # 25 Permutation & Combination.
Permutations and Combinations. Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish permutations.
Main Menu Main Menu (Click on the topics below) Combinatorics Introduction Equally likely Probability Formula Counting elements of a list Counting elements.
Lesson 0.4 (Counting Techniques)
Counting Techniques. Multiplication Principle (also called the Fundamental Counting Principle) Combinations Permutations Number of subsets of a given.
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
Copyright © Peter Cappello 2011 Simple Arrangements & Selections.
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.
1 DISCRETE STRUCTURES DISCRETE STRUCTURES SSK3003 DR. ALI MAMAT 1.
Main Menu Main Menu (Click on the topics below) Pigeonhole Principle Example Generalized Pigeonhole Principle Example Proof of Pigeonhole Principle Click.
6/9/2016MATH 106, Section 51 Section 5 Combinations Questions about homework? Submit homework!
ICS 253: Discrete Structures I Counting and Applications King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Permutations & Combinations: Selected Exercises. Copyright © Peter Cappello2 Preliminaries Denote the # of arrangements of some k elements of a set of.
Permutations and Combinations. Fundamental Counting Principle Fundamental Counting Principle states that if an event has m possible outcomes and another.
Section 6.3. Section Summary Permutations Combinations.
Permutations and Combinations
CSE15 Discrete Mathematics 04/19/17
ICS 253: Discrete Structures I
Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
COUNTING AND PROBABILITY
Permutations and Combinations
First lecture fsalamri Faten alamri.
Combinations.
Permutations and Combinations
Standard DA-5.2 Objective: Apply permutations and combinations to find the number of possibilities of an outcome.
Permutations and Combinations
Lecture 7: Permutations and Combinations
Permutations and Combinations
Presentation transcript:

Main Menu Main Menu (Click on the topics below) Combinations Example Theorem Click on the picture

Combinations Sanjay Jain, Lecturer, School of Computing

Combinations Let n, r  0, be such that r  n. Suppose A is a set of n elements. An r-combination of A, is a subset of A of size r. Pronounced: n choose r Denotes the number of different r-combinations of a set of size n. Some other notations commonly used are n C r, and C(n,r).

Combinations Combinations ---> unordered selection Permutation ---> ordered selection

END OF SEGMENT

Example There are 7 questions in an exam. You need to select 5 questions to answer. How many ways can you select the questions to answer? (order does not matter) Here 7 is the number of questions and 5 is the number of questions selected

END OF SEGMENT

Example In how many ways 52 cards can be distributed to N, S, E, W in a game of bridge. T 1 : give 13 cards to N T 2 : give 13 of the remaining cards to E T 3 : give 13 of the remaining cards to S T 4 : give 13 of the remaining cards to W

Example In how many ways 52 cards can be distributed to N, S, E, W in a game of bridge. T 1 : give 13 cards to N T 1 : can be done in ways.

Example In how many ways 52 cards can be distributed to N, S, E, W in a game of bridge. T 2 : give 13 of the remaining cards to E T 2 : can be done in ways.

Example In how many ways 52 cards can be distributed to N, S, E, W in a game of bridge. T 3 : give 13 of the remaining cards to S T 3 : can be done in ways.

Example In how many ways 52 cards can be distributed to N, S, E, W in a game of bridge. T 4 : give 13 of the remaining cards to W T 4 : can be done in ways.

Example In how many ways 52 cards can be distributed to N, S, E, W in a game of bridge. T 1 : give 13 cards to N T 2 : give 13 of the remaining cards to E T 3 : give 13 of the remaining cards to S T 4 : give 13 of the remaining cards to W Thus using the multiplication rule total number of ways in which cards can be distributed is

END OF SEGMENT

Example 70 faculty members. Need to choose two committees: A) Curriculum committee of size 4 B) Exam committee of size 3 How many ways can this be done if the committees are to be disjoint?

Example T 1 : Choose curriculum committee T 2 : Choose exam committee T1:T1: ways T2:T2: The selection of both comm can be done in * ways

END OF SEGMENT

Example From 300 students I need to select a president, secretary and 3 ordinary members of Executive committee. How many ways can this be done?

1st Method: T 1 : president T 2 : secretary T 3 : 3 ordinary members C 3 2nd Method: T 1 : 5 members of the committee C 5 T 2 : choose president among the members of the committee T 3 : choose secretary among the members of the committee --- 4

END OF SEGMENT

Example From 300 students I need to select a football team of 11 players. Tom and Sam refuse to be in the team together. How many ways can the team be selected? Case 1: Tom is in the team. Case 2: Sam is in the team. Case 3: Neither Tom nor Sam is in the team.

Example Case 1: Tom is in the team. Need to select 10 out the remaining 298 students.

Example Case 2: Sam is in the team. Need to select 10 out the remaining 298 students.

Example Case 3: Both Tom and Sam are not in the team. Need to select 11 out the remaining 298 students.

Example From 300 students I need to select a football team of 11 players. Tom and Sam refuse to be in the team together. How many ways can the team be selected? Case 1: Tom is in the team C 10 Case 2: Sam is in the team C 10 Case 3: Neither Tom nor Sam is in the team C 11 Thus total number of possible ways to select the team is:

END OF SEGMENT

Example There are 6 boys and 5 girls. In how many ways can one form an executive committee of size 4 such that there is at least one member of each sex? Wrong method: T 1 : select one boy ways T 2 : select one girl ways T 3 : select 2 others C 2 ways 6*5* 9 C 2 ways to select the committee.

Example There are 6 boys and 5 girls. In how many ways can one form an executive committee of size 4 such that there is at least one member of each sex? Wrong method: B1 G1 G2, G3 B1 G2 G1, G3 B1 G3 G1, G2 Selection of B1, G1, G2, G3 is counted as:

END OF SEGMENT

Example There are 6 boys and 5 girls. In how many ways can one form an executive committee of size 4 such that there is at least one member of each sex?

Example Correct method: A: Choose 4 members of the committee (without restrictions) B: Choose 4 members of the committee without any boys. C: Choose 4 members of the committee without any girls. D: Choose 4 members of the committee with at least one boy and at least one girl. D=A-B-C

END OF SEGMENT

Theorem Proof: Choose k out of n elements Choose k out of n elements in order a) Choose k out of n elements. b) Put order P(n,k) Thus:

END OF SEGMENT