Counting principle and permutations

Slides:



Advertisements
Similar presentations
6.1 Use Combinations and Binomial Theorem 378 What is a combination? How is it different from a permutation? What is the formula for n C r ?
Advertisements

10.2 Combinations and Binomial Theorem What you should learn: Goal1 Goal2 Use Combinations to count the number of ways an event can happen. Use the Binomial.
12.2 Combinations and Binomial Thm p In the last section we learned counting problems where order was important For other counting problems where.
4/16/2015 MATH 224 – Discrete Mathematics Counting Basic counting techniques are important in many aspects of computer science. For example, consider the.
15.2 Counting Methods: Permutations
Counting Methods Topic 7: Strategies for Solving Permutations and Combinations.
Counting Principles The Fundamental Counting Principle: If one event can occur m ways and another can occur n ways, then the number of ways the events.
EXAMPLE 1 Find combinations CARDS
Today Today: Reading: –Read Chapter 1 by next Tuesday –Suggested problems (not to be handed in): 1.1, 1.2, 1.8, 1.10, 1.16, 1.20, 1.24, 1.28.
Chapter 2 Section 2.4 Permutations and Combinations.
Chapter 7 - Part Two Counting Techniques Wednesday, March 18, 2009.
EXAMPLE 1 Use a tree diagram Snowboarding
EXAMPLE 1 Use a tree diagram Snowboarding
Chapter 5 Section 5 Counting Techniques.
The Fundamental Counting Principal, Permutations, & Combinations.
Do Now: Make a tree diagram that shows the number of different objects that can be created. T-shirts: Sizes: S, M, L and T-shirts: Sizes: S, M, L and Type:
Use Combinations and the Binomial Theorem (continued)
X of Z: MAJOR LEAGUE BASEBALL ATTENDANCE Rather than solving for z score first, we may be given a percentage, then we find the z score, then we find the.
(13 – 1) The Counting Principle and Permutations Learning targets: To use the fundamental counting principle to count the number of ways an event can happen.
The Fundamental Counting Principal - Permutations - Factorials.
Introduction to Counting Discrete Structures. A Multiplication Principle.
7 Further Topics in Algebra © 2008 Pearson Addison-Wesley. All rights reserved Sections 7.4–7.7.
Chapter 11: Counting Methods
Algebra II 10.2: Use Combinations Quiz : Friday, 12/13.
ON A BLANK SHEET OF PAPER PLEASE COMPLETE THE PREREQUISITE SKILL #1-9 ON PAGE 680 BELL RINGER.
12.2 Combinations and Binomial Theorem p In the last section we learned counting problems where order was important For other counting problems.
Counting Techniques 0.4.
1/31/2007 Pre-Calculus Chapter 9 Review a n = a 1 + (n – 1)d a n = a 1 r (n – 1)
Chapter 10: Counting Methods
Slide 7- 1 Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Do Now: Review 10.4 Multiple Choice 1.) What does mean? a.) b.) c.) Short Answer 2.) Find the number of arrangements of 3 #’s for a locker with a total.
Chapter 10 Section 1 Apply the Counting Principle and Permutations In this assignment, you will be able to Use the Fundamental Counting Principle.
Chapter  Determine how many different possibilities are possible:  1. There are 3 different ice cream flavors and 5 different toppings. You.
15.3 Counting Methods: Combinations ©2002 by R. Villar All Rights Reserved.
Quiz 10-1, Which of these are an example of a “descrete” set of data? 2.Make a “tree diagram” showing all the ways the letters ‘x’, ‘y’, and ‘z’
Probability Counting Methods. Do Now: Find the probablity of: Rolling a 4 on a die Rolling a “hard eight” (2 - 4’s) on a pair of dice.
Chapter 12 PROBABILITY Counting, Combinations, Permutations, Probability, Binomial Theorem.
12.2 Combinations and The Binomial Theorem
Algebra II 10.1: Apply the Counting Principle and Permutations HW: HW: p (6, 10, 14, 16, 26, 28, 34, all) Quiz : Friday, 12/13.
Warm Up CST Review. EXAMPLE 1 Use a tree diagram Snowboarding A sporting goods store offers 3 types of snowboards (all-mountain, freestyle, and carving)
Happy 2014! Sit somewhere new to start the new year! The plan for this semester…
9.6 The Fundamental Counting Principal & Permutations.
HAWKES LEARNING Students Count. Success Matters. Copyright © 2015 by Hawkes Learning/Quant Systems, Inc. All rights reserved. Section 7.2 Counting Our.
Algebra-2 Counting and Probability. Quiz 10-1, Which of these are an example of a “descrete” set of data? 2.Make a “tree diagram” showing all.
Chance of winning Unit 6 Probability. Multiplication Property of Counting  If one event can occur in m ways and another event can occur in n ways, then.
The Counting Principle Permutation Or Combination.
Warm Up Evaluate  4  3  2   6  5  4  3  2 
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
Quiz: Draw the unit circle: Include: (1)All “nice” angles in degrees (2) All “nice” angles in radians (3) The (x, y) pairs for each point on the unit circle.
SECTION 5.4 COUNTING. Objectives 1. Count the number of ways a sequence of operations can be performed 2. Count the number of permutations 3. Count the.
10.1 Applying the Counting Principle and Permutations.
0.4 Counting Techniques. Fundamental Counting Principle TWO EVENTS:If one event can occur in m ways and another event can occur in n ways, then the number.
Algebra II 10.1: Apply the Counting Principle and Permutations.
How much should I invest?
Apply the Counting Principle and Permutations
Using Combinations You have already learned that order is important for some counting problems. For other counting problems, order is not important. For.
12.2 Combinations and Binomial Theorem
WARMUP Lesson 10.2, For use with pages b
Use Combinations and the Binomial Theorem
Counting Principle and Permutations
Chapter 0.4 Counting Techniques.
Use Combinations and the Binomial Theorem
12.1 The Fundamental Counting Principle & Permutations
Apply the Counting Principle and Permutations
10.2A Combinations What you should learn: Goal 1
Apply the Counting Principle and Permutations
Evaluate the expression.
Use Combinations and the Binomial Theorem
________________________________________________
Vocabulary FCP/ Comb/Perm Simple Probability Compound Probability 1
Presentation transcript:

Counting principle and permutations Chapter 10 Counting principle and permutations

Ways to Count- Tree Diagram A sporting goods store offers 3 types of snowboards (all-mountain, freestyle, and carving) and 2 types of boots (soft and hybrid). How many choices does the store offer for snowboarding equipment?

A sporting goods store offers 3 types of snowboards (all-mountain, freestyle, and carving) and 2 types of boots (soft and hybrid). How many choices does the store offer for snowboarding equipment? All-mountain Soft All-mountain board, soft boots Hybrid all-mountain board, hybrid boots Freestyle Freestyle board, soft boots Freestyle board, hybrid boots Carving Carving board, soft boots Hard Carving board, hard boots

Ways to count- Tree Diagram The tree has 6 branches. So, there are 6 possible choices!

Use a Tree Diagram The snowboard shop also offers 3 different types of bicycles (mountain, racing, and BMX) and 3 different wheel sizes (20”, 22”, and 24”). How many bicycle choices does the store offer?

ANSWER 9 Bicycles

Fundamental Counting Principle Snowboarding example- There are 3 options for boards and 2 options for boots. So the number of possibilities is 32=6 This is called the “Fundamental Counting Principle”

Fundamental Counting Principle Two events- If one event can occur in m ways and another event can occur in n ways, then the number of ways that both events can occur is mn. Three or more events- The fundamental counting principle extends to 3 or more events. The product of possibilities for each event will give the possibility of ALL the events occurring.

Use the Fundamental Counting Principle You are framing a picture. The frames are available in 12 different styles. Each style is available in 55 different colors. You also want a blue mat board, which is available in 11 different shades of blue. How many different ways can you frame the picture?

Use the Fundamental Counting Principle Multiply # of frame styles (12) # of frame colors (55) # of mat boards (11) 12 x 55 x 11 = 7260 There are 7260 different ways to frame the picture!

Use the Counting Principle with or without Repetition The standard configuration for a Texas license plate is 1 letter followed by 2 digits followed by 3 letters

Use the Counting Principle with Repetition How many different license plates are possible if letters and digits can be repeated?

Use the Counting Principle with Repetition How many different license plates are possible if letters and digits can be repeated? Multiply # of letters possible (26) # of digits possible (10)

Use the Counting Principle with Repetition 26 x 10 x 10 x 26 x 26 x 26 = 45,697,600

Use the Counting Principle without Repetition How many different license plates are possible if letters and digits cannot be repeated?

Use the Counting Principle without Repetition How many different license plates are possible if letters and digits cannot be repeated? Multiply # of letters possible (26) # of digits possible (10) # of digits possible w/o the previous digit used (9) # of letters possible w/o the first letter used (25) # of letters possible w/o the first 2 letters used (24) # of letters possible w/o the first 3 letters used (23)

Use the Counting Principle without Repetition 26 x 10 x 9 x 25 x 24 x 23 = 32,292,000

More Counting Principles with and without Repetition How would the answers change for the standard configuration of a New York license plate, which is 3 letters followed by 4 numbers? How many possibilities with repetition? How many possibilities without repetition?

Answer With Repetition- 175,760,000 possibilities Without Repetition- 78,624,000 possibilities

Permutations Question- How many ways can you rearrange the word COW COW OCW WOC CWO OWC WCO

Permutations The answer is 6 times. The ordering of a certain number of n objects is called a PERMUTATION.

Permutations Back to the question… “How many ways can you rearrange the word COW?” You can use the fundamental counting principle to find the number of permutations of C, O, and W. First letter- 3 choices Second letter- 2 choices Third letter- 1 choice

Permutations Therefore, we find the number of permutations is 3 x 2 x 1 = 6

Permutations How many permutations for the word: SEA ROCK MATH

Factorials! 3 x 2 x 1 can also be written as 3! ! is the symbol used for factorial 3! is read “three factorial”

Factorials! In general, n! is defined where n is a positive integer as follows: n! = n  (n-1)  (n-2)  …  3  2  1

Factorials! 5! = 5  4  3  2  1 = 120 12! = 12  11  10  9  8  7  6  5  4  3  2  1 = 479,001,600

Permutations using Factorials Ten teams are competing in the final round of the Olympic four-person bobsledding competition. In how many different ways can the bobsledding teams finish the competition? (Assume no ties)

Permutations with Factorials There are 10! ways that teams can finish. 10! = 10  9  8  7  6  5  4  3  2  1 = 3,628,800

Permutations with Factorials How many different ways can 3 of the bobsledding teams finish first, second, and third to win the gold, silver, and bronze medals?

Permutations with Factorials Any of the 10 teams can finish first, then any of the remaining 9 teams can finish second, and finally any of the 8 remaining teams can finish third. So number of ways teams can win medals is 10  9  8 = 720

Permutations with Factorials How would the answers change if there were 12 bobsledding teams competing in the final round of he competition? A- How many was can the teams finish? B- How many ways to win medals?

Answer A- 12! = 479,001,600 B- 12  11  10 = 1320

Permutations of n Objects Taken r at a Time The answer to the second part of the bobsledding questions is called the number of permutations of 10 objects taken 3 at a time. Denoted as 10P3 10P3 = 10  9  8 = = =

Permutations with Repetition The general equation for the number of permutations of n objects taken r at a time is:

Use the Permutation Equation You a burning a demo CD for your band. Your band has 12 songs stored on your computer. However, you want to put only 4 songs on the demo CD. In how many orders can you burn 4 of the 12 songs onto the CD?

Use the Permutation Equation Try: 5P3 4P1 8P5

Practice Answers 5P3 = 60 4P1 = 4 8P5 = 6720

Permutations with Repetition How many ways can you write the word MOO Note: Each “O” is a distinct letter.

Permutations with Repetition MOO OMO OOM There are 6 permutations of the letters M, O, and O. However, if the two occurrences of O are considered interchangeable, then there are only three distinguishable permutations: MOO OMO OOM

Permutations with Repetition Each of these permutations corresponds to two of the original six permutations because there are 2! , or 2, permutations of O and O. So the number of permutations of M, O, and O can be written as

Permutations with Repetition To generalize the situation we just explored we can say that the number of distinguishable permutations of n objects where one object is repeated s1 times, another is repeated s2 times, and so on, is:

Permutations with Repetition How many ways can you rearrange the letters of the following words: MATHEMATICS ALGEBRA MISSISSIPPI TALLAHASSEE

Permutations with Repetition MATHEMATICS ALGEBRA

Permutations with Repetition MISSISSIPPI TALLAHASSEE

Combinations

Permutations vs Combinations With permutations, we learned that order is important for some counting problems. For other counting problems, order is not important. For example, if you purchase a package of trading cards, the order of the cards inside the package is not important.

Permutations vs. Combinations COMBINATION- a selection of r objects from a group of n objects where order is NOT important. Think of a combination pizza; you have various kinds of toppings (pepperoni, olives, green peppers, etc.) and you can put them on in several different orders, but in the end, order doesn’t matter. Its just one delicious pizza!

Combination Equation The number of combinations of r objects taken from a group of n distinct objects is denoted by nCr and is given by this formula: nCr is read “n choose r”

Find Combinations A standard deck of 52 playing cards has 4 suits with 13 different cards in each suit. SUIT- hearts, clubs, spades, and diamonds

Find Combinations Each suit has the following cards called “kinds”: Ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King There is one of each of these kinds in each suit Face Cards- Cards that have faces on them (Jack, Queen, King)

Find Combinations If the order in which the cards are dealt is not important, how many different 5-card hands are possible? Remember… In this example, n= 52 cards and r = 5 cards

Find Combinations Therefore,

Find Combinations In how many 5-card hands are all 5 cards of the same color?

Find Combinations For all 5 cards to be the same color, you need to choose 1 of the 2 colors and then 5 of the 26 cards in that color. So, the number of possible hands is:

Multiple Events When finding the number of ways both an event A and an event B can occur, you need to multiply. When finding the number of ways that event A or event B can occur, you add instead.

Add or Multiply Combinations William Shakespeare wrote 38 plays that can be divided into 3 genres. Of the 38 plays, 18 are comedies, 10 are histories, and 10 are tragedies. How many different sets of exactly 2 comedies and 1 tragedy can you read? How many different sets of at most 3 plays can you read?

Add or Multiply Combination How many different sets of exactly 2 comedies and 1 tragedy can you read? You can choose 2 of the 18 comedies and 1 of the 10 tragedies. So, the number of possible sets of plays is:

Add or Multiply Combinations How many different sets of at most 3 plays can you read? You could read 0, 1, 2, or 3 plays. Because there are 38 plays that can be chosen, the number of possible sets of plays is:

Practice How many different sets of exactly 3 tragedies and 2 histories can you read? 8C3 10C6 7C2

Practice Answers 5400 sets 8C3 = 56 10C6 = 210 7C2 = 21

Subtracting Possibilities Counting problems that involve phrases like “at most” or “at least” are sometimes easier to solve by subtracting possibilities you do not want from the total number of possibilities. The portion NOT included in the number of possibilities is also called the COMPLIMENT.

Subtracting Possibilities During the school year, the girl’s basketball team is scheduled to play 12 home games. You want to attend at least 3 of the games. How many different combinations of games can you attend?

Subtracting Possibilities Of the 12 home games, you want to attend 3 games, or 4 games, or 5 games, and so on. So, the number of combinations of games you can attend is:

Subtracting Possibilities Instead of adding these combinations, use the following reasoning. For each of the 12 games, you can choose to attend or not attend the game, so there are 212 total combinations. If you attend at least 3 games, you do not attend only a total of 0, 1, or 2 games. So, the number of ways you can attend at least 3 games is:

Pascal’s Triangle If you arrange the values of nCr in a triangular pattern in which each row corresponds to a value of n, you get what is called Pascal’s triangle, named after the French mathematician Blaise Pascal.

Pascal’s Triangle Pascal’s triangle is show below with its entries represented by combinations and with its entries represented by numbers The first and last numbers in each row are 1. Every number other than 1 is the sum of the closest two numbers in the row directly above it. Pascal’s Triangle as numbers Pascal’s Triangle as combinations

Use Pascal’s Triangle The 6 members of a Model UN club must choose 2 representatives to attend a state convention. Use Pascal’s triangle to find the number of combinations of 2 members that can be chosen as representatives.

Use Pascal’s Triangle Because you need to find 6C2, write the 6th row of Pascal’s triangle by adding numbers from the previous row. n = 5 (5th row) 1 5 10 10 5 1 n = 6 (6th row) 1 6 15 20 15 6 1 The value of 6C2 is the 3rd number in the 6th row of Pascal’s triangle, as show above. Therefore, 6C2 = 15. There are 15 combinations of representatives for the convention.

Binomial Expansions There is an important relationship between powers of binomials and combinations. The numbers in Pascal’s triangle can be used to find coefficients in binomial expansions.

Binomial Expansions For example, the coefficients in the expansion (a + b)4 are the numbers of combinations in the row of Pascal’s triangle for n = 4: (a + b)4 = 1a4 + 4a3b + 6a2b2 + 4ab3 + 1b4 4C0 4C1 4C2 4C3 4C4 This result is generalized in the binomial theorem.

Binomial Theorem For any positive integer n, the binomial expansion of (a + b)n is: (a + b)n = nC0anb0 + nC1an-1b1 + nC2an-2b2 +…+ nCna0bn Notice that each term in the expansion of (a + b)n has the form nCran-rbr where r is an integer from 0 to n.

Expand a power of a binomial sum Use the binomial theorem to write the binomial expansion for: (x2 + y)3

Expand a power of a binomial sum

Expand a power of a binomial difference Use the binomial theorem to write the binomial expansion of: (a-2b)4

Expand a power of a binomial difference

Powers of Binomial Differences To expand a power of a binomial difference, you can rewrite the binomial as a sum. The resulting expansion will have terms whose signs alternate between + and -.

Use the binomial theorem to write the binomial expansion (a + 2b)4 (2p – q)4 (5 – 2y)3

(x + 3)5 (a + 2b)4

Find a coefficient in an expansion Find the coefficient of x4 in the expansion of (3x + 2)10

Find a coefficient in an expansion From the binomial theorem, you know the following: Each term in the expansion has the form The term containing x4 occurs when r = 6:

Find the coefficient in an expansion So the coefficient of x4 is 1,088,640 Find the coefficient of: x5 in the expansion of (x – 3)7 x3 in the expansion of (2x + 5)8

Practice Answers x5 in the expansion of (x – 3)7 189 1,400,000