Copyright © Cengage Learning. All rights reserved.

Slides:



Advertisements
Similar presentations
Permutations and Combinations
Advertisements

Counting Principles Probability.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
How many possible outcomes can you make with the accessories?
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
Logic and Introduction to Sets Chapter 6 Dr.Hayk Melikyan/ Department of Mathematics and CS/ For more complicated problems, we will.
College Algebra Fifth Edition
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Permutations and Combinations. Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish permutations.
© The McGraw-Hill Companies, Inc., Chapter 4 Counting Techniques.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
Sullivan Algebra and Trigonometry: Section 14.2 Objectives of this Section Solve Counting Problems Using the Multiplication Principle Solve Counting Problems.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Learning Objectives for Section 7.4 Permutations and Combinations The student will be able to set up and.
Permutations and Combinations
PERMUTATIONS AND COMBINATIONS BOTH PERMUTATIONS AND COMBINATIONS USE A COUNTING METHOD CALLED FACTORIAL.
THE NATURE OF COUNTING Copyright © Cengage Learning. All rights reserved. 12.
Lesson 0.4 (Counting Techniques)
37. Permutations and Combinations. Fundamental Counting Principle Fundamental Counting Principle states that if an event has m possible outcomes and another.
MATH 2311 Section 2.1. Counting Techniques Combinatorics is the study of the number of ways a set of objects can be arranged, combined, or chosen; or.
HAWKES LEARNING Students Count. Success Matters. Copyright © 2015 by Hawkes Learning/Quant Systems, Inc. All rights reserved. Section 7.2 Counting Our.
COUNTING Permutations and Combinations. 2Barnett/Ziegler/Byleen College Mathematics 12e Learning Objectives for Permutations and Combinations  The student.
Permutations and Combinations. Fundamental Counting Principle If there are r ways of performing one operation, s ways of performing a second operation,
Copyright © Cengage Learning. All rights reserved. Probability and Statistics.
Section 6.3. Section Summary Permutations Combinations.
Example A standard deck of 52 cards has 13 kinds of cards, with four cards of each of kind, one in each of the four suits, hearts, diamonds, spades, and.
The Multiplication Rule
Permutations and Combinations
Counting, Permutations, & Combinations
Chapter 10 Counting Methods.
MATH 2311 Section 2.1.
Counting, Permutations, & Combinations
Permutations and Combinations
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
Probability Counting techniques.
Sequences, Series, and Probability
Generalized Permutations and Combinations
Counting Principals, Permutations, and Combinations
12.2 Permutations and Combinations
Counting, Permutations, & Combinations
Permutations and Combinations
Ronald Hui Tak Sun Secondary School
Copyright © Cengage Learning. All rights reserved.
CS100: Discrete structures
COUNTING AND PROBABILITY
Chapter 7 Logic, Sets, and Counting
Warm Up Permutations and Combinations Evaluate  4  3  2  1
Counting, Permutations, & Combinations
Permutations and Combinations
Lesson 11-1 Permutations and Combinations
Permutations and Combinations
Permutations and Combinations
Counting, Permutations, & Combinations
Counting techniques Basic Counting Principles, Pigeonhole Principle, Permutations and Combinations.
Permutations and Combinations
How many possible outcomes can you make with the accessories?
Permutations.
Counting Principle.
Counting Methods and Probability Theory
Chapter 10 Counting Methods.
Bellwork Practice Packet 10.3 B side #3.
Counting Methods and Probability Theory
Day 2 - Combinations.
Permutations and Combinations
Standard DA-5.2 Objective: Apply permutations and combinations to find the number of possibilities of an outcome.
Permutations and Combinations
Lecture 7: Permutations and Combinations
Permutations and Combinations
Presentation transcript:

Copyright © Cengage Learning. All rights reserved. Probability and Statistics Copyright © Cengage Learning. All rights reserved.

Copyright © Cengage Learning. All rights reserved. 14.1 Counting Copyright © Cengage Learning. All rights reserved.

Objectives The Fundamental Counting Principle Counting Permutations Counting Combinations Problem Solving with Permutations and Combinations

The Fundamental Counting Principle

Example1 – Using the Fundamental Counting Principle An ice-cream store offers three types of cones and 31 flavors. How many different single scoop ice-cream cones is it possible to buy at this store? Solution: There are two stages for selecting an ice-cream cone. At the first stage we choose a type of cone, and at the second stage we choose a flavor. We can think of the different stages as boxes:

Example1 – Solution cont’d The first box can be filled in three ways, and the second can be filled in 31 ways: By the Fundamental Counting Principle there are 3  31 = 93 ways of choosing a single-scoop ice-cream cone at this store.

The Fundamental Counting Principle There is an immediate consequence of this principle for any number of events: If E1, E2,…., Ek are events that occur in order and if E1 can occur in n1 ways, E2 in n2 ways, and so on, then the events can occur in order in n1  n2  ….  nk ways.

(a) repetitions are allowed; (b) repetition is not allowed Example How many 4-digit numbers can be made from the figures 1, 2, 3, 4, 5, 6, 7 when (a) repetitions are allowed; (b) repetition is not allowed P5

Counting Permutations

Counting Permutations A permutation of a set of distinct objects is an ordering of these objects. For example, some permutations of the letters ABCD are ABDC BACD DCBA DABC How many such permutations in total are possible? There are four choices for the first position, three for the second (after the first has been chosen), two for the third (after the first two have been chosen), and only one choice for the fourth letter (the letter that has not yet been chosen). Note: When applying permutations, choices are not replaced once used.

Counting Permutations By the Fundamental Counting Principle the number of possible permutations is 4  3  2 1 = 4! = 24 The same reasoning with 4 replaced by n leads to the following.

Counting Permutations How many permutations consisting of two letters can be made from these same four letters?. . .(A B C D) There are 4 choices of the first letter and 3 for the second letter. By the Fundamental Counting Principle there are 4  3 = 12 such permutations.

In general, if a set has n elements, then the number of ways of ordering r elements from the set is denoted by P(n, r) and is called the number of permutations of n objects taken r at a time.

Example 5 – Finding the Number of Permutations A club has nine members. In how many ways can a president, vice president, and secretary be chosen from the members of this club? Solution: We need the number of ways of selecting three members, in order, for the positions of president, vice president, and secretary from the nine club members. This number is

Next Example: In how many ways can the letters of the word “ISOSCELES” be arranged to form a new “word” ? If each of the 9 letters of “ISOSCELES” were different, there would be P= 9! different possible words. P7

However, the 3 S’s are indistinguishable from each other and can be permuted in 3! different ways. As a result, each of the 9! arrangements of the letters of “ISOSCELES” that would otherwise spell a new word will be repeated 3! times. P7

Hence the total number of words that can be formed is To avoid counting repetitions resulting from the 3 S’s, we must divide 9! by 3!. Similarly, we must divide by 2! to avoid counting repetitions resulting from the 2 indistinguishable E’s. Hence the total number of words that can be formed is 9! ÷(3! *2! )= 30240 P7

Permutations with Indistinguishable Elements If a set of n elements has k1 indistinguishable elements of one kind, k2 of another kind, and so on for r kinds of elements, then the number of permutations of the set of n elements is P7

Suppose we arrange the 4 letters A, B, C and D in a circular arrangement as shown. Note that the arrangements ABCD, BCDA, CDAB and DABC are not distinguishable. A D C B P5

The number of distinct circular arrangements of n objects is (n —1)! LOOKS LIKE WE NEED A NEW FORMULA! The number of distinct circular arrangements of n objects is (n —1)! Hence 10 men can be arranged in a circle in 9! = 362 880 ways. P5

In how many ways can 8 men be arranged (a) in a row Example In how many ways can 8 men be arranged (a) in a row (b) in a circle?  P5

In how many ways can 10 people be seated in 10 chairs all in a row? Class Practice In how many ways can 10 people be seated in 10 chairs all in a row? In how many ways can 10 people be seated in a circle In how many ways can 10 people be seated in 15 chairs all in a row? P6

4. How many even numerals between 200 and 400 can be formed by using 1, 2, 3, 4, 5 as digits if any digit may be repeated; P6

PERMUATIONS AS A BLOCK In how many ways can John, Todd, Lisa, and Marie line up so that the girls are always together?

Conditional Permutations When arranging elements in order , certain restrictions may apply. In such cases the restriction should be dealt with first.. P6

Ces Practice Give it a try!! Five boys and two girls are to be seated in a row. In how many ways can this be done if a girl must sit at either end of the row? P8

Another type of problem! The streets of a town form a rectangular grid, 5 blocks long and 4 blocks wide, as shown in the diagram. A man walks along the street from P to Q always walking either due East or due North. (a) Find the total number of possible paths. P R Q North East P8

Each path from P to Q involves a walk of 5 blocks due East and 4 blocks due North. Hence each path corresponds to an arrangement of the nine letters EEEEENNNN The number of paths is equal to the number of permutations of the nine letters, = 9! ÷ (5! * 4!) = 126 paths P8

(b) Find the number of these paths which pass through the point R. Q North East (b) Find the number of these paths which pass through the point R. P8

Similarly, the number of paths from P to R = 5! ÷4! = 5 and the number of paths from R to Q = 4! ÷ 3! = 4 The total number of paths from P to Q via R = 5 × 4 = 20 P8

Solving problems with “ AT LEAST” AT LEAST ONE Find the number of 4 digit numbers that have at least one 2.

PRACTICE In how many ways can the letters of the word “AGREEMENT” be arranged to from a new “word”? Using all the digits 1,2,3,4,5,6, with no repetition allowed, how many arrangements can be made beginning with an even digit? P8

(3) Five boys and five girls stand in a line. How many arrangements are possible if: All the boys stand in succession? b) The boys and girls stand alternately? c) They all stand in a circle instead of a line?

Counting Combinations

Counting Combinations A combination of r elements of a set is any subset of r elements from the set (without regard to order). If the set has n elements, then the number of combinations of r elements is denoted by C(n, r) and is called the number of combinations of n elements taken r at a time. For example, consider a set with the four elements A, B, C, and D. The combinations of these four elements taken three at a time are listed below. ABC ABD ACD BCD

Counting Combinations We notice that the number of combinations is a lot fewer than the number of permutations. In fact, each combination of three elements generates 3! permutations. So, C(4, 3) = P(4, 3)/3! = 4. In general, each combination of r objects gives rise to r ! permutations of these objects, so we get the following formula.

Counting Combinations The key difference between permutations and combinations is order. If we are interested in ordered arrangements, then we are counting permutations, but if we are concerned with subsets without regard to order, then we are counting combinations. Example: A club has nine members. In how many ways can a committee of three be chosen from the members of this club?

A club has nine members. In how many ways can a committee of three be chosen from the members of this club? Solution: We need the number of ways of choosing three of the nine members. Order is not important here, because the committee is the same no matter how its members are ordered. So we want the number of combinations of nine objects (the club members) taken three at a time. This number is

Permutations and Combinations Problem Solving with Permutations and Combinations

Problem Solving with Permutations and Combinations The crucial step in solving counting problems is deciding whether to use permutations, combinations, or the Fundamental Counting Principle. In some cases the solution of a problem may require using more than one of these principles.

ProblemHere are some general guidelines to help us decide how to apply these principles. Solving with Permutations and Combinations

Example 10 – Using Permutations and Combinations A committee of seven—consisting of a chairman, a vice chairman, a secretary, and four other members—is to be chosen from a class of 20 students. In how many ways can the committee be chosen? Solution: In choosing the three officers, order is important. So the number of ways of choosing them is P(20, 3) = 6840 Next, we need to choose four other students from the 17 remaining.

cont’d Example 10 – Solution Since order doesn’t matter in choosing these four members, the number of ways of doing this is C(17, 4) = 2380 By the Fundamental Counting Principle the number of ways of choosing this committee is P(20, 3)  C(17, 4) = 6840  2380 = 16,279,200