chapter 15

63
Chapter 15 Diagrams, Principals, Permutations, Combinations and Binomial Theorem Mr. Morrow 4/9/2013 – 4/19/2013

Upload: odette

Post on 24-Jan-2016

31 views

Category:

Documents


1 download

DESCRIPTION

Chapter 15. Diagrams, Principals, Permutations, Combinations and Binomial Theorem Mr. Morrow 4/9/2013 – 4/19/2013. - Chapter Objectives -. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Chapter 15

Chapter 15

Diagrams, Principals, Permutations, Combinations and Binomial Theorem

Mr. Morrow4/9/2013 – 4/19/2013

Page 2: Chapter 15

- Chapter Objectives -

To use Venn diagrams to illustrate intersections and unions of sets and to use the inclusion-exclusion principle to solve counting problems involving intersections and unions of sets.

To use the multiplication, addition and complement principles to solve counting problems.

To solve problems involving permutation and combinations

To solve counting problems that involve permutations with repetition and circular permutations

To use the binomial theorem and Pascal’s triangle

Page 3: Chapter 15

- Combinatorics -

The theory of counting:

- Counting should be easy but it can get tricky when there are numerous objects to be counted

- Shortcuts (rules) make it easier to count large numbers of objects

Page 4: Chapter 15

- Venn Diagrams -

These diagrams, in which you all should be familiar with, can be used to illustrate and separate sets of number we are counting

Definitions:- The Universal Set is the set of ‘objects’ or elements to be counted and is often represented by the letter U

The number of elements in the universal set is represented by n(U)

In a Venn Diagram the universal set is represented as a rectangle

- A subset is the group of elements that we are interested inIn a Venn Diagram each subset is represented by a circle

Page 5: Chapter 15

- Class Poll -

Who has a brother or brothers?

Who has a sister or sisters?

Who has both brothers and sisters?

Who has neither brothers nor sisters?

We can represent this information using a Venn Diagram

Who wishes they didn’t have their brothers or sisters??

Page 6: Chapter 15

- Venn Diagram -

U

n(U) =

B

n(B) =

S

n(S) =

Page 7: Chapter 15

- Venn Diagram -The intersection of the subsets are

the people with brothers and sisters.U

B

n(B) =

S

n(S) =

Sn(B ) =

Page 8: Chapter 15

- Venn Diagram -The union of the subsets represents

the people are in either set

UB S

Union - B S

Page 9: Chapter 15

- The Inclusion – Exclusion Principle -

UB S

Because the intersection is counted in each subset, when we determine the union we only count the

intersection once therefore:

Page 10: Chapter 15

- The Complement Principle -

The compliment of set B is written as either B’ or and is the elements not in set B:

UB S

Page 11: Chapter 15

- Complement of the Union -

The Confederacy! Haha

Page 12: Chapter 15

- Complement of the Union -

The complement of the subsets is the number of people who have neither brothers nor sisters

U

n(U) =

B

n(B) =

S

n(S) =

Sn(B ) =

n(B S)

𝑛(𝐵∪𝑆)=𝑛 (𝑈 )−[𝑛 (𝐵 )+𝑛 (𝑆 )−𝑛 (𝐵∩𝑆 )]

Page 13: Chapter 15

- Lets wrap it up -

U

n(U) =

B

n(B) =

S

n(S) =

Sn(B ) =

n(B S)

Page 14: Chapter 15

- Example -

Of the 540 seniors at Central High School, 335 are taking math, 287 are taking science and 220 are taking both math and science. How many are taking neither math or science?

Page 15: Chapter 15

- Example -

To find the number of seniors taking neither math or science we find the

complement of the union which is = 540 – 402 = 138

The number of students taking either math or science can be determinedusing the inclusion – exclusion principle.

= 335 + 287 – 220 = 402

n(M S) n(M) n(S) n(M S)

n(M S)

U

n(U) = 540

M

S

n(M) = 335 n(S) = 287

= 220

n(M S)

Page 16: Chapter 15

- Practice -

Given the set of number from 1 to 30. Determine the subsets of even numbers and numbers divisible by 3. Represent this information in a Venn Diagram.

- Determine

- Determine

- Determine

- Determine

Page 17: Chapter 15

- Practice -

16

14

12

10

8

2

64

189

15

3

20

1

7

5

11

13

17

19

21

27

2430

22

26

2823

25

29

Page 18: Chapter 15

- Practice -

𝑛 (𝐸∪𝐷 )=20

𝑛 (𝐸∩𝐷 )=5

Page 19: Chapter 15

- Practice -

𝑛 (𝐸 ) ′=15

Page 20: Chapter 15

- Practice -

𝑛 (𝐸∪𝐷 ) ′=10

Page 21: Chapter 15

- Practice -

If A={3, 6, 9, 12, 15, 18}, B={2, 4, 6, 8, 10, 12, 14, 16, 18} and C={1, 4, 9, 16} list the elements in

A B B C A C

A B C A B A C

B C A B C (A B) C

(B C) A (A C) B

{6, 12, 18} {4,16} {9}

{}{2, 3, 4, 6, 8, 9, 10, 12, 14, 15, 16, 18}

{1, 3, 4, 6, 9, 12, 15, 16, 18}

{1, 2, 4, 6, 8, 9, 10, 12, 14, 16, 18}

{4, 9, 16}

{3, 4, 6, 9, 12, 15, 16, 18} {2, 4, 6, 8, 9, 10, 12, 14, 16, 18}

Homework: pg. 568 (# 1, 3, 11, 13, 15, 17, 19, 21)

Page 22: Chapter 15

- Homework Questions -

Page 23: Chapter 15

- Multiplication Principle -

The other day we saw how we can use Venn Diagrams to help us visualize concepts of counting. Right now we will see an idea called “Trees”

Example:Try flipping a coin three times, how many possible outcomes are there?

H

T

H

H

T

H

T H

T

H

T

H

T

There are eight possible outcomes:HHH, HHT, HTH, HTT, THH, THT, TTH, TTT

Page 24: Chapter 15

- Multiplication Principle -

Definition: If an action can be performed in n1 ways and for each of these ways another action can be performed in n2 ways, then the two actions can be performed in n1n2 ways.

Practice:How many of you girls stand in yourcloset for at least 5 minutes a day?This is widely not true, but assumeyou only have three button-ups,two blazers and five pairs of pants.

How many outfits are available?Draw a tree to verify

Page 25: Chapter 15

- Multiplication Principle -

It is possible to select from the 3 shirts, 2 blazers and 5 pants by applying the multiplication principle:

Outfits =

Page 26: Chapter 15

- Practice -

The license plate math: In Virginia a standard (none custom) license plate is issued like the one below. How many combinations can be created?

Think about what you see before you answer…

Page 27: Chapter 15

- Addition Principle -

We just saw how many possible license plates could be made using the picture below. Now consider that VA may decide to start making licenses such that the 1st 3 spaces are numbers and the last 4 spaces are letters. How many possible licenses would VA now have?

(3 letter/ 4 numbers)

(3 numbers/ 4 letters)

Ok…now what?This example introduces the concept of mutually exclusive events. We can’t put both a letter and a number into each space – mutually exclusive events cannot be performed together.

Page 28: Chapter 15

- Mutually Exclusive Venn Diagrams -

How do we represent mutually exclusive events?

The addition principle states that if two actions are mutually exclusive, and the first can be done n1 ways and the second can be done n2 ways, the one action or the other can be done in

n1 + n2 ways.

UL N

Page 29: Chapter 15

- Addition Principle -

Soo…how many possible licenses would VA now have?

(3 letter/ 4 numbers)

(3 numbers/ 4 letters)

175,760,000 + 457,976,000 = 632,736,000

Page 30: Chapter 15

- Factorials -

How many ways can I arrange the Harry Potter series books on a shelf?

… The first thing we need to know is how many books are in the series?

Ok, now think of having 7 slots on the shelf

How many books could go inthe first slot? second? third? Why?We multiply each by thepreceding term…

= 5040

7 6 5 4 3 2 1

Page 31: Chapter 15

- Practice -

1. If 8! is 40,320 what is 9! How would we determine 23! • Go to the <run> menu on your calculator. Press the

OPTN button. Press <F6> which is the arrow and then press <F3> which is PROB. Enter the factorial number then press <F1> to invoke the factorial calculation

2. If Costa Rica chose not to use 0 on its license plates, how many different plates are possible?

3. A guy has six ball caps and 3 hoodies1. How many cap and hoodie combinations can he choose

from?2. If he chooses to wear a ball cap or a hoodie but not both,

how many choices does he have?

4. If 10 runners compete in a race, in how many ways can 1st, 2nd and 3rd place prizes be awarded?

9! = 362,880 and 23! = 2.58 x 1022

Outfits = 6 x 3 = 18 or 6 + 3 = 9

Costa Rican tags = 9 x 9 x 9 x 9 x 9 = 59049

Prizes = 10 x 9 x 8 = 720

Page 32: Chapter 15

- Homework -

Page 575 – 577 (# 1, 3, 5, 7, 11, 13, 15, 17)

Page 33: Chapter 15

- Warm Up -

In an election-day survey of 100 voters leaving the polls, 52 said they voted for Proposition 1, and 38 said they voted for Proposition 2. If 18 said they voted for both, how many voted for neither?

In a survey of 48 high school students, 20 liked classical music and 16 liked bluegrass music. Twenty students said they didn’t like either. How many liked classical but not bluegrass?

For a universal set U, what is ?

Page 34: Chapter 15

- Homework Questions -

Page 35: Chapter 15

- Permutations -

Given n symbols, how many non-repetitive lists of length r can be made from the n symbols in which order matters? By using the multiplication principle to obtain the answer

By cancellation this value can also be written as:

We summarize this as follows:The number of non-repetitive lists of length r whose entriesare chosen from a set of n possible entries is .

Page 36: Chapter 15

- Permutations -

For this class, you will represent this as:

Where: n is the number of objects/ elements available to be chosen

r is the number of objects/ elements actually chosen

Page 37: Chapter 15

- Combinations -

Without diving too deep into the math behind this next idea…

Imagine we build from Permutations but instead we are curious about solutions in which order does not matter.

For this class, you will represent this as:

Where: n is the number of objects/ elements available to be chosen

r is the number of objects/ elements actually chosen

Page 38: Chapter 15

- Examples -

A company advertises two job openings, one for a computer programmer and one for an IT specialist. If 10 people who are qualified for either position apply, in how many ways can the job openings be filled?

A company advertises two job openings for computer programmers, both with the same salary and job description. In how many ways can the openings be filled if 10 people apply?

Page 39: Chapter 15

- Examples -

A company advertises two job openings, one for a computer programmer and one for an IT specialist. If 10 people who are qualified for either position apply, in how many ways can the job openings be filled?

= 90

A company advertises two job openings for computer programmers, both with the same salary and job description. In how many ways can the openings be filled if 10 people apply?

= 45

Page 40: Chapter 15

- Using a Calculator -

Your calculator will quickly compute permutations and combinations.For example 1 we are attempting to calculate 10P2

Go to the Run menuPress the OPTN buttonPress F6 (arrow over to additional menu choices)Press F3 (PROB)Key in 10, press F2 (nPr) and key in 2Press EXE

For example 2 we are attempting to calculate 10C2

Go to the Run menuPress the OPTN buttonPress F6 (arrow over to additional menu choices)Press F3 (PROB)Key in 10, press F3 (nCr) and key in 2Press EXE

Page 41: Chapter 15

- Practice -

1) A single 5-card hand is dealt off of a standard 52-card deck. How many different 5-card hands are possible?

2) Same scenario are (1), however, how many such hands are there in which two of the cards of clubs and three are hearts?

3) Imagine a lottery that works as follows. A bucket contains 36 balls numbered 1, 2, 3, 4, …, 36. Six of these balls will be drawn randomly. For $1 you buy a ticket that has six blanks. You fill in the blanks with six different numbers between 1 and 36. You win $1,000,000 if you chose the same numbers that are drawn, regardless of the order. What are the changes of winning?

Page 42: Chapter 15

- Practice -

A single 5-card hand is dealt off of a standard 52-card deck. How many different 5-card hands are possible?

= 2,598,960Same scenario are (1), however, how many such hands are there in which two of the cards of clubs and three are hearts?

Think of such hand as being described by a list of length two of the form where the first entry is a 2-element subset of 13 club cards, and

the second entry is a 3-element subset of the 13 heart cards.

= 22,308

Page 43: Chapter 15

- Practice -

Imagine a lottery that works as follows. A bucket contains 36 calls numbered 1, 2, 3, 4, …, 36. Six of these balls will be drawn randomly. For $1 you buy a ticket that has six blanks. You fill in the blanks with six different numbers between 1 and 36. You win $1,000,000 if you chose the same numbers that are drawn, regardless of the order. What are the changes of winning?

You are choosing six numbers from a set of 36 numbers

= 1,947,792

Homework: pg. 580 (# 1-19 odd)

Page 44: Chapter 15

- Ummm?? -

Write down all the possible arrangements of the letters MOPHow many arrangements were you able to create?

Write down all the distinguishable arrangements of the letters MOMHow many arrangements were you able to create?

Why was the total number of arrangements different for the two sets?

Page 45: Chapter 15

- Permutations with Repetition -

If an element is repeated in an arrangement, then fewer permutations result.

Where: n1 = the number of elements of type 1,

n2 = the number of elements of type 2 … nk = the number of elements of type k.

This gives us the number of distinguishable permutations of n elements

Page 46: Chapter 15

- Example -

Consider MEXICO and CANADA

Each of the letters in Mexico is different

A is repeated three times in CANADA

Page 47: Chapter 15

- Example -

How many permutations are there for the letters of

MASSACHUSETTS

Page 48: Chapter 15

- Practice -

A person is at point X on the grid below and is going to walk to point Y by always traveling south or east. How many routes from X to Y are possible?

X

Y

Page 49: Chapter 15

- Wait a minute? -How many circular permutations are possible when seating four people around a table?

A

B

C

D

A

B

C

D A

B

C

D

A

B

C

D

ABCD DABC CDAB BCDA

• Circular permutations are the same because A is always to the right of B which is to the right of C which is to the right of D.• Linear permutations are different

Therefore the number of circular permutations =

Page 50: Chapter 15

- Practice -1. How many different ways can five children arrange

themselves for a game of ring-around-the-rosie?

2. How many ways can ten people be seated around a circular table if the host and hostess can’t be seated together?

Homework pg. 585 (#1-15 odd)

Page 51: Chapter 15

- Practice -

1.

2.

5!P=

5P=24 10

87

7

6

5

4

3

2

1

10×8×7 ×7!P=

10P=282,240

Page 52: Chapter 15

- Warm Up -

Page 53: Chapter 15

- Homework Questions -

Page 54: Chapter 15

- Investigation -Determine:

Can you see any patterns?How do the number of terms relate to the exponent?

Is there a pattern to the exponents in each term?

Do you detect any relationship for the coefficients of each term?

Page 55: Chapter 15

- Aint nobody got time to do all that -Our objective now is to develop a method for expanding binomials of the where n is a positive integer

When we expand (FOIL) the linear factors in a binomial the result is a polynomial with n+1 terms

Each term in the polynomial is of the form where k is a coefficient and y and z are exponents.

The hard part is finding a simple way to determine k, y, and z.

Page 56: Chapter 15

- Binomial Theorem -If n is a positive integer then:

Where each term is in the form:

- Therefore for any term t of a binomial to the power the coefficient

- The sum of the exponents of a and b is always n. (y + z = n)

- The exponent of the first monomial of ‘a’, y = n – (t – 1)

- The exponent of the second monomial of ‘b’, z = t – 1

Page 57: Chapter 15

- Example -Find the first four terms in the expansion of

1st termk = 21C(1-1) = 21C0 = 1y = 21 – (1 – 1) = 21z = 1 – 1 = 0therefore the first term is the product of 1 x a21 x b0 = a21

2nd termk = 21C(2-1) = 21C1 = 21y = 21 – (2 – 1) = 20z = 2 – 1 = 1therefore the second term is 21a20b1 = 21a20b

3rd termk = 21C(3 – 1) = 21C2 = 210y = 21 – (3 – 1) = 19z = 3 – 1 = 2therefore the third term is 210a19b2

4th termk = 21C(4 – 1) = 21C3 = 1330y = 21 – (4 – 1) = 18z = 4 – 1 = 3therefore the fourth term is 1330a18b3

Page 58: Chapter 15

- Example -What is the 8th term of ?

1. k = 10C8-1 k = 10C7 k = 120

2. The exponent for x = 10 – (8 – 1) = 3

3. The exponent for -2y = 8 – 1 = 7

4. Therefore the 8th term is= 120x3(-2y)7

= 120x3(-2)7y7

= 120(-128)x3y7

= - 15360x3y7

Page 59: Chapter 15

- Practice -1. Give the expansion of (2a – b2)8

2. In the expansion of (a + b)20, what is the coefficient ofa) a17b3 b) a3b17

3. Find the first four terms of the expansion of the expression (sinx – cosy)30. Do not simplify.

4. Find the value of (0.99)5 to the nearest hundredth by considering the expansion of (1 – 0.01)5

Page 60: Chapter 15

- Practice -Expanding (2a – b2)8 we know that there are 8 + 1 = 9 terms.

1st term = 8C0(2a)8(-b2)0 = 256a8

2nd term = 8C1(2a)7(-b2)1 = (8)(-128)a7b2 = -1024a7b2

3rd term = 8C2(2a)6(-b2)2 = (28)(64)a6b4 = 1792a6b4

4th term = 8C3(2a)5(-b2)3 = (56)(-32)a5b6 = -1792a5b6

5th term = 8C4(2a)4(-b2)4 = (70)(16)a4b8 = 1120a4b8

6th term = 8C5(2a)3(-b2)5 = (56)(-8)a3b10 = -448a3b10

7th term = 8C6(2a)2(-b2)6 = (28)(4)a2b12 = 112a2b12

8th term = 8C7(2a)1(-b2)7 = (8)(-2)ab14 = -16ab14

9th term = 8C8(2a)0(-b2)8 = (1)(1)b16 = b16

(2a – b2)8 = 256a8 - 1024a7b2 +1792a6b4 -1792a5b6 +1120a4b8 -448a3b10 +112a2b12 -16ab14 +b16

Page 61: Chapter 15

- Practice -In the expansion of (a + b)20, what is the coefficient ofa) a17b3 b) a3b17

a) y = n – (t – 1) 17 = 20 – (t – 1) t = 4

k = nCt-1

k = 20C3 k = 1140b) y = n – (t – 1) 3 = 20 – (t – 1) t = 18

k = nCt-1

k = 20C17

k = 1140

Page 62: Chapter 15

- Practice -Find the first four terms of the expansion of the expression(sinx – cosy)30. Do not simplify.

1st term = 30C0(sinx)30(-cosx)0 2nd term = 30C1(sinx)29(-cosx)1 3rd term = 30C2(sinx)28(-cosx)2 4th term = 30C3(sinx)27(-cosx)3

1st Termk = 30C0 = 1a = 30 – (1 – 1) = 30b = 1 – 1 = 0kxaby = sin30x

2nd Termk = 30C1 = 30a = 30 – (2 – 1) = 29b = 2 – 1 = 1kxaby = -30sin29xcosy

3rd Termk = 30C2 = 435a = 30 – (3 – 1) = 28b = 3 – 1 = 2kxaby = 435sin28xcos2y

4th Termk = 30C3 = 4060a = 30 – (4 – 1) = 27b = 4 – 1 = 3kxaby = -4060sin27xcos3y

Page 63: Chapter 15

- Practice -Find the value of (0.99)5 to the nearest hundredth by considering the expansion of (1 – 0.01)5

(1 – 0.01)5 = 5C0(1)5(-.01)0 + 5C1(1)4(-.01)1 + 5C2(1)3(-.01)2 + 5C3(1)2(-.01)3 + 5C4(1)1(-.01)4 + 5C5(1)0(-.01)5

= 1 - .05 + .001 – .00001 + .00000005 - .0000000001 = 0.9509900499

Homework: pg. 592 (#1-21 odd)