Learning Objectives for Section 7.4 Permutations and Combinations. 7.4 Permutations and Combinations

Similar documents
Chapter Permutations and Combinations. Section 4 Permutations and Combinations. Example. Definition of n Factorial (n!)

7.4 Permutations and Combinations

Permutations. 1) How many unique 3 digit codes can be created from the 5 digits {1, 2, 3, 4, 5} if repeats are possible?

Finite Math - Fall 2016

Permutations And Combinations Questions Answers

Section Summary. Permutations Combinations Combinatorial Proofs

Permutations and Combinations

Permutations and Combinations

Section The Multiplication Principle and Permutations

Chapter 2. Permutations and Combinations

Chapter 5 - Elementary Probability Theory

Permutations and Combinations

Sec$on Summary. Permutations Combinations Combinatorial Proofs

4.4: The Counting Rules

Section : Combinations and Permutations

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

The Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n

STAT 430/510 Probability Lecture 1: Counting-1

13.3 Permutations and Combinations

ACTIVITY 6.7 Selecting and Rearranging Things

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

Combinatorics and Intuitive Probability

Answer each of the following problems. Make sure to show your work.

Using a table: regular fine micro. red. green. The number of pens possible is the number of cells in the table: 3 2.

Counting. Chapter 6. With Question/Answer Animations

CHAPTER 8 Additional Probability Topics

LEVEL I. 3. In how many ways 4 identical white balls and 6 identical black balls be arranged in a row so that no two white balls are together?

Topics to be covered

Probability and Counting Techniques

commands Homework D1 Q.1.

Mathematics Probability: Combinations

n! = n(n 1)(n 2) 3 2 1

Permutations and Combinations Section

PERMUTATIONS AND COMBINATIONS

Elementary Combinatorics

Unit on Permutations and Combinations (Counting Techniques)

Permutations. Used when "ORDER MATTERS"

Week 3-4: Permutations and Combinations

Section 5.4 Permutations and Combinations

Discrete Structures Lecture Permutations and Combinations

CHAPTER 5 BASIC CONCEPTS OF PERMUTATIONS AND COMBINATIONS

Introduction. Firstly however we must look at the Fundamental Principle of Counting (sometimes referred to as the multiplication rule) which states:

We introduced the Counting Principle earlier in the chapter.

1) 1) 2) 2) 3) 3) 4) 4) 5) 5) 6) 6) 7) 7) 8) 8) 9) 9) 10) 10) 11) 11) 12) 12)

Question No: 1 If you join all the vertices of a heptagon, how many quadrilaterals will you get?

Discrete Structures for Computer Science

November 6, Chapter 8: Probability: The Mathematics of Chance

MATH 22. Lecture B: 9/4/2003 COUNTING. I counted two and seventy stenches, All well-defined, and several stinks.

COUNTING AND PROBABILITY

With Question/Answer Animations. Chapter 6

50 Counting Questions

Introduction to Mathematical Reasoning, Saylor 111

CISC 1400 Discrete Structures

Multiple Choice Questions for Review

JUST THE MATHS UNIT NUMBER PROBABILITY 2 (Permutations and combinations) A.J.Hobson

The Fundamental Counting Principle & Permutations

Math 3012 Applied Combinatorics Lecture 2

Student Exploration: Permutations and Combinations

PS 3.8 Probability Concepts Permutations & Combinations

Statistics Intermediate Probability

Math Week in Review #4

Fundamentals of Probability

* Order Matters For Permutations * Section 4.6 Permutations MDM4U Jensen. Part 1: Factorial Investigation

CS1800: Permutations & Combinations. Professor Kevin Gold

MAT 155. Key Concept. Notation. Fundamental Counting. February 09, S4.7_3 Counting. Chapter 4 Probability

Math 166: Topics in Contemporary Mathematics II

Discrete Mathematics: Logic. Discrete Mathematics: Lecture 15: Counting

CS 237: Probability in Computing

8.3 Probability with Permutations and Combinations

Permutations and Combinations. Quantitative Aptitude & Business Statistics

STAT 430/510 Probability

Section 5.4 Permutations and Combinations

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

Ch 9.6 Counting, Permutations, and Combinations LESSONS

Section Summary. Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions)

DISCRETE STRUCTURES COUNTING

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology

Mixed Counting Problems

Finite Math Section 6_4 Solutions and Hints

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

Chapter 11: Probability and Counting Techniques

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

WEEK 7 REVIEW. Multiplication Principle (6.3) Combinations and Permutations (6.4) Experiments, Sample Spaces and Events (7.1)

3 The multiplication rule/miscellaneous counting problems

* Order Matters For Permutations * Section 4.6 Permutations MDM4U Jensen. Part 1: Factorial Investigation

Grade 7/8 Math Circles November 8 & 9, Combinatorial Counting

Chapter 1. Probability

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability

Sec.on Summary. The Product Rule The Sum Rule The Subtraction Rule (Principle of Inclusion- Exclusion)

Chapter 1. Probability

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability

elements in S. It can tricky counting up the numbers of

Permutations and Combinations. MATH 107: Finite Mathematics University of Louisville. March 3, 2014

Section 6.4 Permutations and Combinations: Part 1

Finite Mathematics MAT 141: Chapter 8 Notes

Math236 Discrete Maths with Applications

Counting (Enumerative Combinatorics) X. Zhang, Fordham Univ.

With Question/Answer Animations. Chapter 6

Counting Methods and Probability

Transcription:

Learning Objectives for Section 7.4 Permutations and Combinations The student will be able to set up and compute factorials. The student will be able to apply and calculate permutations. The student will be able to apply and calculate combinations. The student will be able to solve applications involving permutations and combinations. 1 7.4 Permutations and Combinations For more complicated problems, we will need to develop two important concepts: permutations and combinations. Both of these concepts involve what is called the factorial of a number. 2 1

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. 3 Example The simplest protein molecule in biology is called vasopressin and is composed of 8 amino acids that are chemically bound together in a particular order. The order in which these amino acids occur is of vital importance to the proper functioning of vasopressin. If these 8 amino acids were placed in a hat and drawn out randomly one by one, how many different arrangements of these 8 amino acids are possible? 4 2

Solution Solution: Let A, B, C, D, E, F, G, H symbolize the 8 amino acids. They must fill 8 slots: There are 8 choices for the first position, leaving 7 choices for the second slot, 6 choices for the third slot and so on. The number of different orderings is 8(7)(6)(5)(4)(3)(2)(1) = 8! = 40,320. 5 Two Problems Illustrating Combinations and Permutations Problem 1: Consider the set {p, e, n}. How many two-letter words (including nonsense words) can be formed from the members of this set, if two different letters have to be used? 6 3

Two Problems Illustrating Combinations and Permutations Problem 1: Consider the set {p, e, n}. How many two-letter words (including nonsense words) can be formed from the members of this set, if two different letters have to be used? Solution: We will list all possibilities: pe, pn, en, ep, np, ne, a total of 6. Problem 2: Now consider the set consisting of three males: {Paul, Ed, Nick}. For simplicity, denote the set by {p, e, n}. How many two-man crews can be selected from this set? 7 Two Problems Illustrating Combinations and Permutations Problem 1: Consider the set {p, e, n}. How many two-letter words (including nonsense words) can be formed from the members of this set, if two different letters have to be used? Solution: We will list all possibilities: pe, pn, en, ep, np, ne, a total of 6. Problem 2: Now consider the set consisting of three males: {Paul, Ed, Nick}. For simplicity, denote the set by {p, e, n}. How many two-man crews can be selected from this set? Solution: pe (Paul, Ed), pn (Paul, Nick) and en (Ed, Nick), and that is all! 8 4

Difference Between Permutations and Combinations Both problems involved counting the numbers of arrangements of the same set {p, e, n}, taken 2 elements at a time, without allowing repetition. However, in the first problem, the order of the arrangements mattered since pe and ep are two different words. In the second problem, the order did not matter since pe and ep represented the same two-man crew. We counted this only once. The first example was concerned with counting the number of permutations of 3 objects taken 2 at a time. The second example was concerned with the number of combinations of 3 objects taken 2 at a time. 9 Permutations The notation P(n,r) represents the number of permutations (arrangements) of n objects taken r at a time, where r is less than or equal to n. In a permutation, the order is important. P(n,r) may also be written P n,r In our example with the number of two letter words from {p, e, n}, the answer is P(3,2), which represents the number of permutations of 3 objects taken 2 at a time. P(3,2) = 6 = (3)(2) In general, P(n,r) = n(n-1)(n-2)(n-3) (n-r+1) 10 5

More Examples Find P(5,3) 11 More Examples Find P(5,3) Here n = 5 and r = 3, so we have P(5,3) = (5)(5-1)(5-2) = 5(4)3 = 60. This means there are 60 permutations of 5 items taken 3 at a time. Application: A park bench can seat 3 people. How many seating arrangements are possible if 3 people out of a group of 5 sit down? 12 6

More Examples (continued) Solution: Think of the bench as three slots. There are 5 people that can sit in the first slot, leaving 4 remaining people to sit in the second position and finally 3 people eligible for the third slot. Thus, there are 5(4)(3) = 60 ways the people can sit. The answer could have been found using the permutations formula P(5,3) = 60, since we are finding the number of ways of arranging 5 objects taken 3 at a time. 13 P (n,n)= n (n -1)(n -2) 1 = n! Find P(5,5), the number of arrangements of 5 objects taken 5 at a time. 14 7

P (n,n)= n (n -1)(n -2) 1 = n! Find P(5,5), the number of arrangements of 5 objects taken 5 at a time. Answer: P(5,5) = 5(4)(3)(2)(1) = 120. Application: A bookshelf has space for exactly 5 books. How many different ways can 5 books be arranged on this bookshelf? 15 P (n,n)= n (n -1)(n -2) 1 = n! Find P(5,5), the number of arrangements of 5 objects taken 5 at a time. Answer: P(5,5) = 5(4)(3)(2)(1) = 120. Application: A bookshelf has space for exactly 5 books. How many different ways can 5 books be arranged on this bookshelf? Answer: Think of 5 slots, again. There are five choices for the first slot, 4 for the second and so on until there is only 1 choice for the final slot. The answer is 5(4)(3)(2)(1), which is the same as P(5,5) = 120. 16 8

Combinations In the second problem, the number of two man crews that can be selected from {p, e, n} was found to be 6. This corresponds to the number of combinations of 3 objects taken 2 at a time or C(3,2). We will use a variation of the formula for permutations to derive a formula for combinations. Note: C(n,r) may also be written C n,r or ( n r). 17 Combinations Consider the six permutations of {p, e, n} which are grouped in three pairs of 2. Each pair corresponds to one combination of 2: (pe, ep), (pn, np), (en, ne) If we want to find the number of combinations of 3 objects taken 2 at a time, we simply divide the number of permutations of 3 objects taken 2 at a time by 2 (or 2!) We have the following result: P(3,2) C(3,2) = 2! 18 9

Generalization General result: This formula gives the number of subsets of size r that can be taken from a set of n objects. The order of the items in each subset does not matter. The number of combinations of n distinct objects taken r at a time without repetition is given by P( n, r) n( n 1)( n 2)...( n r + 1) C( n, r) = = r! r( r 1)( r 2)...1 19 Examples 1. Find C(8,5) 2. Find C(8,8) 20 10

Examples Solution 1. Find C(8,5) Solution: C(8,5) = P(8,5) 8(7)(6)(5)(4) 8(7)(6) = = = 8(7) = 56 5! 5(4)(3)(2)(1) 3(2)(1) 2. Find C(8,8) Solution: C(8,8) = P(8,8) 8(7)(6)(5)(4)(3)(2)(1) = = 1 8! 8(7)(6)(5)(4)(3)(2)(1) 21 Combinations or Permutations? In how many ways can you choose 5 out of 10 friends to invite to a dinner party? 22 11

Combinations or Permutations? (continued) In how many ways can you choose 5 out of 10 friends to invite to a dinner party? Solution: Does the order of selection matter? If you choose friends in the order A,B,C,D,E or A,C,B,D,E, the same set of 5 was chosen, so we conclude that the order of selection does not matter. We will use the formula for combinations since we are concerned with how many subsets of size 5 we can select from a set of 10. C(10,5) = P(10,5) 10(9)(8)(7)(6) 10(9)(8)(7) = = = 2(9)(2)(7) = 252 5! 5(4)(3)(2)(1) (5)(4) 23 Permutations or Combinations? (continued) How many ways can you arrange 10 books on a bookshelf that has space for only 5 books? 24 12

Permutations or Combinations? (continued) How many ways can you arrange 10 books on a bookshelf that has space for only 5 books? Solution: Does order matter? The answer is yes since the arrangement ABCDE is a different arrangement of books than BACDE. We will use the formula for permutations. We need to determine the number of arrangements of 10 objects taken 5 at a time so we have P(10,5) = 10(9)(8)(7)(6)=30,240. 25 Lottery Problem A certain state lottery consists of selecting a set of 6 numbers randomly from a set of 49 numbers. To win the lottery, you must select the correct set of six numbers. How many possible lottery tickets are there? 26 13

Lottery Problem A certain state lottery consists of selecting a set of 6 numbers randomly from a set of 49 numbers. To win the lottery, you must select the correct set of six numbers. How many possible lottery tickets are there? Solution: The order of the numbers is not important here as long as you have the correct set of six numbers. To determine the total number of lottery tickets, we will use the formula for combinations and find C(49,6), the number of combinations of 49 items taken 6 at a time. Using our calculator, we find that C(49,6) = 13,983,816. 27 14