Permutations and Combinations

Slides:



Advertisements
Similar presentations
Combinations A combination is a grouping of things ORDER DOES NOT MATTER.
Advertisements

Quantitative Methods Session – Permutation & Combination Pranjoy Arup Das.
PERMUTATIONS AND COMBINATIONS
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.
1 Learning Objectives for Section 7.4 Permutations and Combinations After today’s lesson you should be able to set up and compute factorials. apply and.
Multiplication Rule. A tree structure is a useful tool for keeping systematic track of all possibilities in situations in which events happen in order.
Chapter 5 Section 5 Permutations and Combinations.
Combinations Combinations are very similar to permutations with one key difference: Order does not matter.
Logic and Introduction to Sets Chapter 6 Dr.Hayk Melikyan/ Department of Mathematics and CS/ For more complicated problems, we will.
Permutation A permutation is an arrangement in which order matters. A B C differs from B C A.
Unit 7: Probability Lesson 2 Tree Diagrams, fundamental counting principle, sample space lists and tables, permutation, combination, factorials.
Elementary Counting Techniques & Combinatorics Martina Litschmannová K210.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
Elementary Counting Techniques & Combinatorics
6.4 Permutations and combinations For more complicated problems, we will need to develop two important concepts: permutations and combinations. Both of.
Math 2 Honors - Santowski
P ERMUTATIONS AND C OMBINATIONS Homework: Permutation and Combinations WS.
S /1/2015 Math 2 Honors - Santowski 1.  Use the Fundamental Counting Principle to determine the number of outcomes in a problem.  Use the idea.
Counting. Techniques for counting Rule 1 Suppose we carry out have a sets A 1, A 2, A 3, … and that any pair are mutually exclusive (i.e. A 1  A 2 =
Lesson 1.9 Probability Objective: Solve probability problems.
Number of Elements in a Finite Set. Notation : The number of the elements of the set A will be denoted by n(A) Examples (1): Let: Let: A = {a,b,c,d} B.
Mathematics. Permutation & Combination - 2 Session.
Elementary Combinatorics Combinatorics  Deals with enumeration (counting) techniques and related algebra.  Basis of counting XSet |X|No. of elements.
Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 1 of 93 Chapter 5 Sets and Counting.
0 0 Correction: Problem 18 Alice and Bob have 2n+1 FAIR coins, each with probability of a head equal to 1/2.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
Permutations S /4/ Math 2 Honors - Santowski.
Ch. 6: Permutations!.
Counting CSC-2259 Discrete Structures Konstantin Busch - LSU1.
Arrangements, Permutations & Combinations
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 7.4 Permutations and Combinations The student will be able to set up and.
Probability. Basic Concepts of Probability What you should learn: How to identify the sample space of a probability experiment and to identify simple.
PERMUTATIONS AND COMBINATIONS BOTH PERMUTATIONS AND COMBINATIONS USE A COUNTING METHOD CALLED FACTORIAL.
Discrete Mathematics Lecture # 25 Permutation & Combination.
PERMUTATIONS and COMBINATIONS
Some other set notation We will use the notation to mean that e is an element of A. We will use the notation to mean that e is not an element of A.
Algebra 1 Predicting Patterns & Examining Experiments Unit 7: You Should Probably Change Section 4: Making Choices.
Counting Techniques Tree Diagram Multiplication Rule Permutations Combinations.
Algebra 1 Predicting Patterns & Examining Experiments Unit 7: You Should Probably Change Section 2: Making Arrangements.
March 11, 2005 Recursion (Implementation) Satish Dethe
COUNTING Permutations and Combinations. 2Barnett/Ziegler/Byleen College Mathematics 12e Learning Objectives for Permutations and Combinations  The student.
Copyright © Cengage Learning. All rights reserved. Probability and Statistics.
1 MAT137 Business Statistics Week 2 Probability DePaul University Bill Qualls.
Organic Molecule Building Block
9 Deductive Geometry 9.1 Introduction to Deductive Reasoning and Proofs 9.2 Deductive Proofs Related to Lines and Triangles 9.3 Deductive Proofs Related.
Traveling Salesperson Problem
11.3 Notes Combinations.
Elementary Counting Techniques & Combinatorics
CSC-2259 Discrete Structures
Counting Principals, Permutations, and Combinations
Copyright © Cengage Learning. All rights reserved.
Counting, Permutations, & Combinations
3! ways, and 2! ways, so Permutations where some objects are repeated
Calculating Probability, Combinations and Permutations
COUNTING AND PROBABILITY
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
Chapter 7 Logic, Sets, and Counting
Counting 3-Dec-18.
Arranging and Choosing
COUNTING AND PROBABILITY
Permutations and Combinations
104- Ch. 11 part 1; 260- Ch. 5 pt. 2 master_prob_pc.pptx
Welcome to the World of Algebra
Within Subjects (Participants) Designs
Section 6.2 Permutations with Repeated Objects and Combinations
Using Permutations and Combinations
6.1 Counting Principles and Permutations
Permutations and Combinations
The Shapley-Shubik Power Index
10.3 – Using Permutations and Combinations
Presentation transcript:

Permutations and Combinations Permutation: The number of ways in which a subset of objects can be selected from a given set of objects, where order is important. Given the set of three letters, {A, B, C}, how many possibilities are there for selecting any two letters where order is important? (AB, AC, BC, BA, CA, CB) Combination: The number of ways in which a subset of objects can be selected from a given set of objects, where order is not important. Given the set of three letters, {A, B, C}, how many possibilities are there for selecting any two letters where order is not important? (AB, AC, BC).

Definition of n Factorial (n !) n! = n(n – 1)(n – 2)(n – 3)…1 For example, 5! = 5(4)(3)(2)(1) = 120 n! = n(n – 1)! 0! = 1 by definition. Most calculators have an n! key or the equivalent. n! grows very rapidly, which may result in overload on a calculator.

Example Vasopressin* is a small polypeptide composed of 9 amino acids in a particular order. The order of these amino acids is of critical to the proper functioning of vasopressin. If these 9 amino acids were placed in a hat and drawn out randomly one by one, how many different arrangements of these 9 amino acids are possible? *Retains water in the body and constricts blood vessels

Solution Solution: Let A, B, C, D, E, F, G, H, I symbolize the 9 amino acids. They must fill 9 slots: ___ ___ ___ ___ ___ ___ ___ ___ ___ There are 9 choices for the first position, leaving 8 choices for the second slot, 7 choices for the third slot and so on. The number of different orderings is 9(8)(7)(6)(5)(4)(3)(2)(1) = 9! = 362,880

Number of Possible Proteins Given 21 amino acids, how many different dipeptides can be formed? 21 possibilities in there first position 21 possibilities in the second position Therefore there are 21 x 21 = 441 permutations

Number of Possible Proteins in the Universe Given 21 amino acids, how many different proteins can be made that are 300 amino acids long? 21 possibilities in the first position etc Therefore there are 21300 = 4.6 x 10396 permutations By comparison, the number of all atoms in the observable universe is 1080

Permutations and Combinations Factorial Formula for Permutations The number of permutations, or arrangements, of n district things taken r at a time, where r <= n, is calculated using the expression: Factorial Formula for Combinations The number of combinations, or subsets, of n district things taken r at a time, where r <= n, is calculated using the expression:

Permutations and Combinations Example How many ways can you order the 4 objects {A, B, C, D} Solution: N = 4! = 4(3)(2)(1) = 24 Here are the orderings. ABCD ABDC ACBD ACDB ADBC ADCB BACD BADC BCAD BCDA BDAC BDCA CABD CADB CBAD CBDA CDAB CDBA DABC DACB DBAC DBCA DCAB DCBA

Permutations and Combinations Example How many permutations of size 3 can be found in the group of 5 objects {A, B, C, D, E} Solution: ABC ABD ABE ACD ACE ADE BCD BCE BDE CDE ACB ADB AEB ADC AEC AED BDC BEC BED CED BAC BAD BAE CAD CAE DAE CBD CBE DBE DCE BCA BDA BEA CDA CEA DEA CDB CEB DEB DEC CAB DAB EAB DAC EAC EAD DBC EBC EBD ECD DBA EBA DCA ECA EDA DCB ECB EDB EDC

Permutations and Combinations Find the number of permutations of 8 elements taken 3 at a time.   Find the number of permutations of the letters A, B, and C  

Using Permutations and Combinations A PhD examination includes 4 women and 3 male examiners. How many ways can the be examiners be seated in a row of 7 chairs?   If the male and female examiners have to be seated alternatively, how many combinations will there be? Sit a male in the first seat, female next etc.

Using Permutations and Combinations How many ways can you select two letters followed by three digits for an ID if repeats are not allowed? Two parts: 1. Determine the set of two letters. 2. Determine the set of three digits. 26P2 10P3         2625 1098 650 720 650720 468,000

Using Permutations and Combinations Find the number of different subsets of size 3 in the set: {m, a, t, h, r, o, c, k, s}. Find the number of arrangements of size 3 in the set: {m, a, t, h, r, o, c, k, s}. 9C3 9P3           987   504 arrangements 84 Different subsets

Using Permutations and Combinations Assume a committee of n = 10 people and we want to choose a chairperson, a vice-chairperson and a treasurer. Suppose that 6 of the members of the committee are male and 4 of the members are female. What is the probability that the three executives selected are all male? Solution: We select 3 persons (male and female) from the committee of 10 in a specific order. (Permutations of size 3 from a group of 10).The total number of ways that this can be done is: This is the size, N = n(S), of the sample space S. Assume all outcomes in the sample space are equally likely.

Using Permutations and Combinations Let E be the event that all three executives are male (6 males in total) Hence Thus if all candidates are equally likely to be selected to any position on the executive then the probability of selecting an all male executive is:

Application to Lotto 6/49 Here you choose 6 numbers from the integers 1, 2, 3, …, 47, 48, 49. Six winning numbers are chosen together with a bonus number. How many choices for the 6 winning numbers

Software Support Excel: Permutations (in EXCEL =PERMUT(6,2)) Combinations (in EXCEL =COMBIN(6,2)) Python: scipy.special.comb (N, k) scipy.special.perm (N, k)

One more thing An alternative and more common way to denote an r-combination: