13.3 permutations and combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 permutations...

44
13.3 Permutations and Combinations

Upload: others

Post on 05-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

13.3 Permutations and Combinations

Page 2: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

There are 6 people who want to use an elevator. There is only room for 4 people. How many ways can 6 people try to fill this elevator (one at a time)?

Page 3: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

There are 6 people who want to use an elevator. There is only room for 4 people. How many ways can 6 people try to fill this elevator (one at a time)?

6 x 5 x 4 x 3

= 360

Page 4: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 4

Permutations

Page 5: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

There are 6 people who want to use an elevator. There is only room for 4 people. How many ways can 6 people try to fill this elevator (one at a time)?

P(6, 4) =

6 x 5 x 4 x 3

= 360

Page 6: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 6

• Example: How many permutations are there of the letters a, b, c, d, e, f, and g if we take the letters three at a time? Write the answer using P(n, r) notation.

Permutations

Page 7: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 7

• Example: How many permutations are there of the letters a, b, c, d, e, f, and g if we take the letters three at a time? Write the answer using P(n, r) notation.

Permutations

Page 8: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

P(n,r) describes a slot diagram.

n = number in first slotr = number of slots

n (n-1) (n-2) (n-3) … (last #) 1st 2nd 3rd 4th rth

Page 9: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

How many ways are there to arrange 5 books on a bookshelf?

Page 10: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

How many ways are there to arrange 5 books on a bookshelf?

P(5,5) =

5 x 4 x 3 x 2 x 1

= 120

Page 11: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Shortcut/Defintion

Example: 5! = 5x4x3x2x1

Page 12: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example:

Compute (5 - 2)!

Page 13: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example:

Compute (5 - 2)!

(5-2)! = 3! = 3x2x1 = 6

Page 14: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 14

• Example: Compute .

Factorial Notation

Page 15: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 15

• Example: Compute .

• Solution:

Factorial Notation

Page 16: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 16

Factorial Notation

Page 17: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

There are 6 people who want to use an elevator. There is only room for 4 people. How many ways can 6 people try to fill this elevator (one at a time)?

P(6, 4) =

= 360

Page 18: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

When we care about the order of objects, like books on a bookshelf, we have a permutation.

When we do not care about the order of objects, like 2 people wining a raffle, we have a combination.

Page 19: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 19

Combinations

Page 20: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example: A person would like to run 4 errands, but only has time for 2. How many pairs of errands could be tried?

Page 21: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example: A person would like to run 4 errands, but only has time for 2. How many pairs of errands could be tried?

Order does not matter = combination.

C(4,2) = 4! = 4 x 3 x 2 x 1 = 6 (4-2)! 2! 2 x 1 x 2 x 1

Page 22: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 22

• Example: How many three-element sets can be chosen from a set of five objects?

• Solution: Order is not important, so it is clear that this is a combination problem.

Combinations

Page 23: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 23

• Example: How many four-person committees can be formed from a set of 10 people?

Combinations

Page 24: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 24

• Example: How many four-person committees can be formed from a set of 10 people?

• Solution: Order is not important, so it is clear that this is a combination problem.

Combinations

Page 25: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example: At a vation spot there are 7 sites to visit, but you only have time for 5. How many different combinations do you have to choose from?

Page 26: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example: At a vation spot there are 7 sites to visit, but you only have time for 5. How many different combinations do you have to choose from?

Order does not matter = combination.

C(7,5) = 21

Page 27: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 27

• Example: In the game of poker, five cards are drawn from a standard 52-card deck. How manydifferent poker hands are possible?

Combinations

Page 28: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 28

• Example: In the game of poker, five cards are drawn from a standard 52-card deck. How manydifferent poker hands are possible?

• Solution:

Combinations

Page 29: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 29

• Example: In the game of bridge, a hand consists of 13 cards drawn from a standard 52-card deck. How many different bridge hands are there?

Combinations

Page 30: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 30

• Example: In the game of bridge, a hand consists of 13 cards drawn from a standard 52-card deck. How many different bridge hands are there?

• Solution:

Combinations

Page 31: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Combining counting methods.

Sometimes you will have more than one counting idea to find the total number of possibilities.

Page 32: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example:2 men and 2 women from a firm will attend a conference. The firm has 10 men and 9 women to choose from. How many group possibilities are there?

Page 33: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example:2 men and 2 women from a firm will attend a conference. The firm has 10 men and 9 women to choose from. How many group possibilities are there?

1st task : choose 2 men from 10

2nd task : choose 2 women from 10

Use a slot diagram x 1st 2nd

Page 34: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 34

Stage 1: Select the two women from the nine available.

Stage 2: Select the two men from the ten available.

Thus, choosing the women and then choosing the men can be done in ways.

Combining Counting Methods

Page 35: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example:How many different outcomes are there for rolling a die and then drawing 2 cards from a deck of cards?

Page 36: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example:How many different outcomes are there for rolling a die and then drawing 2 cards from a deck of cards?

1st task : roll a die

2nd task : draw 2 cards from 52 (order does not matter)

Use a slot diagram x 1st 2nd

Page 37: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Example:How many different outcomes are there for rolling a die and then drawing 2 cards from a deck of cards?

1st task : roll a die = 6 ways

2nd task : draw 2 cards from 52 = C(52,2) (order does not matter)

Use a slot diagram 6 x 1326 = 7956 1st 2nd

Page 38: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

Pascal's Triangle - numbers are written on diagonals - on the outsides write '1' - on the inside each number is the sum of the numbers to its upper left and upper right.

Page 39: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 39

Combining Counting Methods

Page 40: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 40

Combining Counting Methods

For example, consider the set {1, 2, 3, 4} and the 4th row of Pascal’s triangle: 1 4 6 4 1.

Page 41: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 41

Combining Counting Methods

For example, consider the 4th row of Pascal’s triangle: 1 4 6 4 1.

C(4, 0) = 1C(4, 1) = 4C(4, 2) = 6C(4, 3) = 4C(4, 4) = 1

Page 42: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 42

• Example: Assume that a pharmaceutical company has developed five antibiotics and four immune system stimulators. In how many ways can we choose a treatment program consisting of three antibiotics and two immune system stimulators to treat a disease? Use Pascal’s triangle to speed your computations.

• Solution: We will count this in two stages: (a) choosing the antibiotics, (b) choosing the immune system simulators.

Combining Counting Methods

(continued on next slide)

Page 43: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

1st – choose 3 antibiotics from 5

2nd – choose 2 immune system simulators from 4

Page 44: 13.3 Permutations and Combinationsmath.utoledo.edu › ~dgajews › 1180_old › 13-3 Permutations and Combinations.pdfcounting idea to find the total number of possibilities. Example:

© 2010 Pearson Education, Inc. All rights reserved. Section 13.3, Slide 44

Stage 1: Choosing 3 antibiotics from 5 can be done in C(5, 3) ways.

Stage 2: Choosing 2 immune system simulators from 4 can be done in C(4, 2) ways.

Total: C(5, 3) × C(4, 2) = 10 × 6 = 60 ways.

Combining Counting Methods