94
1 Section 3.1.5: Permutations and Combinations

Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

  • Upload
    duongtu

  • View
    224

  • Download
    3

Embed Size (px)

Citation preview

Page 1: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

1

Section 3.1.5: Permutationsand Combinations

Page 2: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

2

When picking items from a set sothat the order of the selectionmatters, we call this a Permutation.

Page 3: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

3

When picking items from a set sothat the order of the selection doesnot matter, we call this aCombination.

Page 4: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

4

Example (1)

A club has an election for President,Vice-president and Secretary.

I There are 5 candidates, A, B, C, Dand E

I After ranking, the top candidatewill be President, the secondVice-president and the thirdSecretary.

How many different outcomes arethere?

Page 5: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

4

Example (1)

A club has an election for President,Vice-president and Secretary.

I There are 5 candidates, A, B, C, Dand E

I After ranking, the top candidatewill be President, the secondVice-president and the thirdSecretary.

How many different outcomes arethere?

Page 6: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

4

Example (1)

A club has an election for President,Vice-president and Secretary.

I There are 5 candidates, A, B, C, Dand E

I After ranking, the top candidatewill be President, the secondVice-president and the thirdSecretary.

How many different outcomes arethere?

Page 7: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

4

Example (1)

A club has an election for President,Vice-president and Secretary.

I There are 5 candidates, A, B, C, Dand E

I After ranking, the top candidatewill be President, the secondVice-president and the thirdSecretary.

How many different outcomes arethere?

Page 8: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

5

Example (2)

A club has an election for itsexecutive board, which consists of 3members.

I There are 5 candidates, A, B, C, Dand E

I The top three candidates will beon the board

How many different possibilities arethere for the board?

Page 9: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

5

Example (2)

A club has an election for itsexecutive board, which consists of 3members.

I There are 5 candidates, A, B, C, Dand E

I The top three candidates will beon the board

How many different possibilities arethere for the board?

Page 10: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

5

Example (2)

A club has an election for itsexecutive board, which consists of 3members.

I There are 5 candidates, A, B, C, Dand E

I The top three candidates will beon the board

How many different possibilities arethere for the board?

Page 11: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

6

In both cases, 3 out of the 5candidates will be picked.

In Example (1) the order matterssince it determines who gets whichposition. This is a permutationproblem.

Page 12: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

6

In both cases, 3 out of the 5candidates will be picked.

In Example (1) the order matterssince it determines who gets whichposition.

This is a permutationproblem.

Page 13: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

6

In both cases, 3 out of the 5candidates will be picked.

In Example (1) the order matterssince it determines who gets whichposition. This is a permutationproblem.

Page 14: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

7

The number of different outcomes isdenoted

5P3

In general, if we want to select ritems out of n, and the ordermatters, then the number of waysof doing that is denoted by

nPr

Page 15: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

7

The number of different outcomes isdenoted

5P3

In general, if we want to select ritems out of n, and the ordermatters, then the number of waysof doing that is denoted by

nPr

Page 16: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

8

In Example (2), the order does notmatter since the board members areequal. This is a combinationproblem.

Page 17: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

9

The number of different boards isdenoted by

5C3

In general, if we want to select ritems out of n, and the order doesnot matter, then the number ofways of doing that is denoted by

nCr

Page 18: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

9

The number of different boards isdenoted by

5C3

In general, if we want to select ritems out of n, and the order doesnot matter, then the number ofways of doing that is denoted by

nCr

Page 19: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

10

To write a permutation we usesquare brackets like [A,B,C].

This isdifferent from [A,C,B] since the ordermatters.

[A,B,C ] 6= [A,C ,B]

Page 20: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

10

To write a permutation we usesquare brackets like [A,B,C]. This isdifferent from [A,C,B] since the ordermatters.

[A,B,C ] 6= [A,C ,B]

Page 21: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

11

To write a combination, we usebraces like {A,B,C}.

Now {A,B,C}and {A,C,B} are equal since theorder doesn’t matter.

{A,B,C} = {A,C ,B}

Page 22: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

11

To write a combination, we usebraces like {A,B,C}.Now {A,B,C}and {A,C,B} are equal since theorder doesn’t matter.

{A,B,C} = {A,C ,B}

Page 23: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

12

Solution (of Example (1))

Picking the officers can be brokeninto three steps:

1. Pick a President2. Pick a Vice-president3. Pick a Secretary

Page 24: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

12

Solution (of Example (1))

Picking the officers can be brokeninto three steps:1. Pick a President

2. Pick a Vice-president3. Pick a Secretary

Page 25: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

12

Solution (of Example (1))

Picking the officers can be brokeninto three steps:1. Pick a President2. Pick a Vice-president

3. Pick a Secretary

Page 26: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

12

Solution (of Example (1))

Picking the officers can be brokeninto three steps:1. Pick a President2. Pick a Vice-president3. Pick a Secretary

Page 27: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

13

Solution

Remarks:

I The selection of president willaffect the choices forvice-president, since you can’t beboth.

I However, the number of choicesfor vice-president is independentof the selection of president.

Page 28: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

13

Solution

Remarks:

I The selection of president willaffect the choices forvice-president, since you can’t beboth.

I However, the number of choicesfor vice-president is independentof the selection of president.

Page 29: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

14

Solution

I Number of choices for secretary isindependent of the two previoussteps.

I So we can apply the productprinciple to get the total numberof outcomes.

Page 30: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

14

Solution

I Number of choices for secretary isindependent of the two previoussteps.

I So we can apply the productprinciple to get the total numberof outcomes.

Page 31: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

15

President5 ×

Vice-pres

4 ×Secretary

3 =Slates

60

Page 32: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

16

We see that

5P3 = 5× 4× 3

We go down by 1 since at each stepwe have 1 fewer item to pick from.

Page 33: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

17

In general, if we want to pick r itemsout of n, and the order matters,the product principle tells us that

nPr = n × (n − 1) · · · × (n − r + 1)︸ ︷︷ ︸r factors

Page 34: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

18

Special case: When we want to pick nitems out of n and the order matters.

This is the number of ways n itemscan be ordered.

nPn = n×(n−1)×(n−2) · · ·×2×1

Page 35: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

18

Special case: When we want to pick nitems out of n and the order matters.This is the number of ways n itemscan be ordered.

nPn = n×(n−1)×(n−2) · · ·×2×1

Page 36: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

19

We denote this number by n!, andcall it n factorial.

This is the number of permutationsof n objects.

Page 37: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

19

We denote this number by n!, andcall it n factorial.This is the number of permutationsof n objects.

Page 38: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

20

Example

How many ways can we order thethree letters A, B, and C?

Solution

In terms of factorials, it’s

3! = 3× 2× 1 = 6

We can list all six:[A,B,C], [A,C,B], [B,A,C], [B,C,A],[C,A,B], [C,B,A].

Page 39: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

20

Example

How many ways can we order thethree letters A, B, and C?

Solution

In terms of factorials, it’s

3! = 3× 2× 1 = 6

We can list all six:[A,B,C], [A,C,B], [B,A,C], [B,C,A],[C,A,B], [C,B,A].

Page 40: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

20

Example

How many ways can we order thethree letters A, B, and C?

Solution

In terms of factorials, it’s

3! = 3× 2× 1 = 6

We can list all six:[A,B,C], [A,C,B], [B,A,C], [B,C,A],[C,A,B], [C,B,A].

Page 41: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

21

Using factorials we rewrite theformula for nPr as:

nPr =n!

(n − r)!

Page 42: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

22

Now consider combinations.

Example

A club has an election for itsexecutive board, consisting of 2members (different than earlierexample).There are 5 candidates, A,B, C, D and E. The top two will beon the board.How many outcomesare there?

Page 43: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

22

Now consider combinations.Example

A club has an election for itsexecutive board, consisting of 2members (different than earlierexample).

There are 5 candidates, A,B, C, D and E. The top two will beon the board.How many outcomesare there?

Page 44: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

22

Now consider combinations.Example

A club has an election for itsexecutive board, consisting of 2members (different than earlierexample).There are 5 candidates, A,B, C, D and E.

The top two will beon the board.How many outcomesare there?

Page 45: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

22

Now consider combinations.Example

A club has an election for itsexecutive board, consisting of 2members (different than earlierexample).There are 5 candidates, A,B, C, D and E. The top two will beon the board.

How many outcomesare there?

Page 46: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

22

Now consider combinations.Example

A club has an election for itsexecutive board, consisting of 2members (different than earlierexample).There are 5 candidates, A,B, C, D and E. The top two will beon the board.How many outcomesare there?

Page 47: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

23

Solution

We need to choose 2 board membersout of 5 candidates. So the numberof outcomes is

5C2

But how do we compute thatnumber?

Page 48: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

23

Solution

We need to choose 2 board membersout of 5 candidates. So the numberof outcomes is

5C2

But how do we compute thatnumber?

Page 49: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

24

Solution

If we pretend for now that ordermatters we would get

5P2 = 5× 4 = 20

But outcomes like [A,B] and [B,A](which are different permutations)represent the same combination,namely {A,B}.

Page 50: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

24

Solution

If we pretend for now that ordermatters we would get

5P2 = 5× 4 = 20

But outcomes like [A,B] and [B,A](which are different permutations)represent the same combination,namely {A,B}.

Page 51: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

25

Solution

So, in the above count of 20, eachcombination gets double counted.So, divide by 2, to get

5C2 =5× 4

2= 10

Page 52: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

26

In general, when r items are pickedthey can be arranged in

rPr = r !

different orders.

So, when we ignore the order, eachcombination gets counted r ! times.

Page 53: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

26

In general, when r items are pickedthey can be arranged in

rPr = r !

different orders.So, when we ignore the order, eachcombination gets counted r ! times.

Page 54: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

27

Therefore the number ofcombinations of r items out of n isobtained by dividing the number ofpermutations by r !:

nCr =nPr

r !=

n!

(n − r)!× r !or

nCr =n · (n − 1) · · · (n − r + 1)

1 · 2 · 3 · · · r

Page 55: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

27

Therefore the number ofcombinations of r items out of n isobtained by dividing the number ofpermutations by r !:

nCr =nPr

r !=

n!

(n − r)!× r !

or

nCr =n · (n − 1) · · · (n − r + 1)

1 · 2 · 3 · · · r

Page 56: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

27

Therefore the number ofcombinations of r items out of n isobtained by dividing the number ofpermutations by r !:

nCr =nPr

r !=

n!

(n − r)!× r !or

nCr =n · (n − 1) · · · (n − r + 1)

1 · 2 · 3 · · · r

Page 57: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

28

Example

6P3

= 6 · 5 · 4 = 120

6C3 =6P3

3!=

6 · 5 · 41 · 2 · 3

= 20

Page 58: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

28

Example

6P3 = 6 · 5 · 4

= 120

6C3 =6P3

3!=

6 · 5 · 41 · 2 · 3

= 20

Page 59: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

28

Example

6P3 = 6 · 5 · 4 = 120

6C3 =6P3

3!=

6 · 5 · 41 · 2 · 3

= 20

Page 60: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

28

Example

6P3 = 6 · 5 · 4 = 120

6C3

=6P3

3!=

6 · 5 · 41 · 2 · 3

= 20

Page 61: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

28

Example

6P3 = 6 · 5 · 4 = 120

6C3 =6P3

3!

=6 · 5 · 41 · 2 · 3

= 20

Page 62: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

28

Example

6P3 = 6 · 5 · 4 = 120

6C3 =6P3

3!=

6 · 5 · 41 · 2 · 3

= 20

Page 63: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

28

Example

6P3 = 6 · 5 · 4 = 120

6C3 =6P3

3!=

6 · 5 · 41 · 2 · 3

= 20

Page 64: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

29

What if r = 0 or r = n? We need toknow what to plug in for 0!.

Turns out 0! = 1.

n! = n × (n − 1) · · · × 2× 10! = 1

Page 65: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

29

What if r = 0 or r = n? We need toknow what to plug in for 0!.Turns out 0! = 1.

n! = n × (n − 1) · · · × 2× 1

0! = 1

Page 66: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

29

What if r = 0 or r = n? We need toknow what to plug in for 0!.Turns out 0! = 1.

n! = n × (n − 1) · · · × 2× 10! = 1

Page 67: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

30

Example

6P0 =

6!

(6− 0)!= 1

6C6 =6!

6! · 0!= 1

Page 68: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

30

Example

6P0 =6!

(6− 0)!= 1

6C6 =6!

6! · 0!= 1

Page 69: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

30

Example

6P0 =6!

(6− 0)!= 1

6C6 =

6!

6! · 0!= 1

Page 70: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

30

Example

6P0 =6!

(6− 0)!= 1

6C6 =6!

6! · 0!

= 1

Page 71: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

30

Example

6P0 =6!

(6− 0)!= 1

6C6 =6!

6! · 0!= 1

Page 72: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

31

Now we have the tools to tackle the“3” version:

Example (2)

A club has an election for itsexecutive board, consisting of 3members.

I There are 5 candidates, A, B, C, Dand E

I Top three candidates will be onthe board

How many outcomes are there?

Page 73: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

31

Now we have the tools to tackle the“3” version:Example (2)

A club has an election for itsexecutive board, consisting of 3members.

I There are 5 candidates, A, B, C, Dand E

I Top three candidates will be onthe board

How many outcomes are there?

Page 74: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

31

Now we have the tools to tackle the“3” version:Example (2)

A club has an election for itsexecutive board, consisting of 3members.

I There are 5 candidates, A, B, C, Dand E

I Top three candidates will be onthe board

How many outcomes are there?

Page 75: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

31

Now we have the tools to tackle the“3” version:Example (2)

A club has an election for itsexecutive board, consisting of 3members.

I There are 5 candidates, A, B, C, Dand E

I Top three candidates will be onthe board

How many outcomes are there?

Page 76: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

31

Now we have the tools to tackle the“3” version:Example (2)

A club has an election for itsexecutive board, consisting of 3members.

I There are 5 candidates, A, B, C, Dand E

I Top three candidates will be onthe board

How many outcomes are there?

Page 77: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

32

Solution

If 3 board members are chosen froma pool of 5 candidates, this can bedone in

5C3 =5!

2! 3!=

120

2 · 6= 10

different ways.

Page 78: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

33

Example

An Ice Cream Parlor has 7 flavors ofice cream, in three differentcontainers.

a) How many different two-scooporders are possible?

b) How many true double scoops arepossible?

A true double is a two-scoop with 2different flavors.

Page 79: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

33

Example

An Ice Cream Parlor has 7 flavors ofice cream, in three differentcontainers.a) How many different two-scoop

orders are possible?

b) How many true double scoops arepossible?

A true double is a two-scoop with 2different flavors.

Page 80: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

33

Example

An Ice Cream Parlor has 7 flavors ofice cream, in three differentcontainers.a) How many different two-scoop

orders are possible?b) How many true double scoops are

possible?

A true double is a two-scoop with 2different flavors.

Page 81: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

33

Example

An Ice Cream Parlor has 7 flavors ofice cream, in three differentcontainers.a) How many different two-scoop

orders are possible?b) How many true double scoops are

possible?A true double is a two-scoop with 2different flavors.

Page 82: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

34

First consider the true doubles.

We assume that the order doesn’tmatter. There are

7C2 =7!

2!5!=

5040

2 · 120= 21

ways to choose the two flavors.

Page 83: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

34

First consider the true doubles.We assume that the order doesn’tmatter. There are

7C2 =7!

2!5!=

5040

2 · 120= 21

ways to choose the two flavors.

Page 84: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

35

Now we break down the wholeprocess in two independent steps:

I pick the container (3 choices)I pick the flavors (21 choices)

By the product principle there are

3× 21 = 63

different true doubles.

Page 85: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

35

Now we break down the wholeprocess in two independent steps:

I pick the container (3 choices)

I pick the flavors (21 choices)By the product principle there are

3× 21 = 63

different true doubles.

Page 86: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

35

Now we break down the wholeprocess in two independent steps:

I pick the container (3 choices)I pick the flavors (21 choices)

By the product principle there are

3× 21 = 63

different true doubles.

Page 87: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

35

Now we break down the wholeprocess in two independent steps:

I pick the container (3 choices)I pick the flavors (21 choices)

By the product principle there are

3× 21 = 63

different true doubles.

Page 88: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

36

For the first part of the problem(number of two-scoop orders,period), we can break it down intotwo disjoint cases.

I we have a true double

(63 orders)

I both scoops have the same flavor

(21 orders)

The first case is already covered (63orders).

Page 89: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

36

For the first part of the problem(number of two-scoop orders,period), we can break it down intotwo disjoint cases.

I we have a true double (63 orders)I both scoops have the same flavor

(21 orders)

The first case is already covered (63orders).

Page 90: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

36

For the first part of the problem(number of two-scoop orders,period), we can break it down intotwo disjoint cases.

I we have a true double (63 orders)I both scoops have the same flavor

(21 orders)

The first case is already covered (63orders).

Page 91: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

37

For the second case, we need to pickI a container (3 choices)I a single flavor (7 choices)

so there are 3× 7 = 21 two-scoop ofa single flavor.

Page 92: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

37

For the second case, we need to pickI a container (3 choices)I a single flavor (7 choices)

so there are 3× 7 = 21 two-scoop ofa single flavor.

Page 93: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

38

Combining the two cases with thesum principle, there are a total of

63 + 21 = 84

two-scoop ice cream orders.

Page 94: Section 3.1.5: Permutations and Combinations · Combination. 4 Example (1) ... This is a permutation problem. 6 In both cases, ... Solution (of Example (1)) Picking the o cers can

39

Next time: Counting poker hands.