Upload
odette
View
31
Download
1
Tags:
Embed Size (px)
DESCRIPTION
Chapter 15. Diagrams, Principals, Permutations, Combinations and Binomial Theorem Mr. Morrow 4/9/2013 – 4/19/2013. - Chapter Objectives -. - PowerPoint PPT Presentation
Citation preview
Chapter 15
Diagrams, Principals, Permutations, Combinations and Binomial Theorem
Mr. Morrow4/9/2013 – 4/19/2013
- 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
- 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
- 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
- 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??
- Venn Diagram -
U
n(U) =
B
n(B) =
S
n(S) =
- Venn Diagram -The intersection of the subsets are
the people with brothers and sisters.U
B
n(B) =
S
n(S) =
Sn(B ) =
- Venn Diagram -The union of the subsets represents
the people are in either set
UB S
Union - B S
- 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:
- The Complement Principle -
The compliment of set B is written as either B’ or and is the elements not in set B:
UB S
- Complement of the Union -
The Confederacy! Haha
- 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)
𝑛(𝐵∪𝑆)=𝑛 (𝑈 )−[𝑛 (𝐵 )+𝑛 (𝑆 )−𝑛 (𝐵∩𝑆 )]
- Lets wrap it up -
U
n(U) =
B
n(B) =
S
n(S) =
Sn(B ) =
n(B S)
- 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?
- 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)
- 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
- 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
- Practice -
𝑛 (𝐸∪𝐷 )=20
𝑛 (𝐸∩𝐷 )=5
- Practice -
𝑛 (𝐸 ) ′=15
- Practice -
𝑛 (𝐸∪𝐷 ) ′=10
- 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)
- Homework Questions -
- 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
- 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
- Multiplication Principle -
It is possible to select from the 3 shirts, 2 blazers and 5 pants by applying the multiplication principle:
Outfits =
- 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…
- 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.
- 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
- 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
- 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
- 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
- Homework -
Page 575 – 577 (# 1, 3, 5, 7, 11, 13, 15, 17)
- 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 ?
- Homework Questions -
- 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 .
- 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
- 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
- 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?
- 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
- 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
- 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?
- 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
- 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)
- 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?
- 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
- Example -
Consider MEXICO and CANADA
Each of the letters in Mexico is different
A is repeated three times in CANADA
- Example -
How many permutations are there for the letters of
MASSACHUSETTS
- 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
- 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 =
- 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)
- Practice -
1.
2.
5!P=
5P=24 10
87
7
6
5
4
3
2
1
10×8×7 ×7!P=
10P=282,240
- Warm Up -
- Homework Questions -
- 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?
- 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.
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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)