Permutations & Combinations

Slides:



Advertisements
Similar presentations
Chris Morgan, MATH G160 January 30, 2012 Lecture 9 Chapter 4.1: Combinations 1.
Advertisements

Math 221 Integrated Learning System Week 2, Lecture 1
Data Analysis and Probability Presenters Aaron Brittain Adem Meta.
12.1 & 12.2: The Fundamental Counting Principal, Permutations, & Combinations.
Chapter 2: The Next Step… Conditional Probability.
CSRU1100 Counting. Counting What is Counting “how many?” Counting is the process of determining the answer to a question of “how many?” for any given.
4/2/03Tucker, Section 5.31 How many ways to arrange the six letters b, a, n, a, n, a ? Arrangements and Selections With Repetitions Six places: __ __ __.
Chapter 5 Section 5 Permutations and Combinations.
Counting principle and permutations
Permutations and Combinations
Logic and Introduction to Sets Chapter 6 Dr.Hayk Melikyan/ Department of Mathematics and CS/ For more complicated problems, we will.
Permutations and Combinations
Warm-Up 4/29. Rigor: You will learn how to find the number of possible outcomes using the Fundamental Counting Principle, permutations and combinations.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
The Fundamental Counting Principal, Permutations, & Combinations.
P ERMUTATIONS AND C OMBINATIONS Homework: Permutation and Combinations WS.
Permutations and Combinations
Counting. Techniques for counting Rule 1 Suppose we carry out have a sets A 1, A 2, A 3, … and that any pair are mutually exclusive (i.e. A 1  A 2 =
A Permutation is an ordered combination. To help you to remember, think "Permutation... Position"
Combinations. A combination is a grouping of items in which order does not matter. There are generally fewer ways to select items when order does not.
Chapter  Determine how many different possibilities are possible:  1. There are 3 different ice cream flavors and 5 different toppings. You.
Permutations, Combinations, and Counting Theory AII.12 The student will compute and distinguish between permutations and combinations and use technology.
October 13, 2009 Combinations and Permutations.
Section 15.3 – Day 2 Counting. When do I use what? Rearranging things that are all different: Counting Principles (multiplication), Combinations, Permutations.
Chapter 7 Logic, Sets, and Counting Section 4 Permutations and Combinations.
Counting Principle FACTORIAL, PERMUTATION, COMBINATION FACTORIAL, PERMUTATION, COMBINATION.
CSNB143 – Discrete Structure Topic 6 – Counting Techniques.
Find the value of 5 P 3. Counting Methods – Part 3.
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 Section 2.2 & 2.3 Finite Math.
Probability What are the chances?.
Copyright © 2012 Pearson Education, Inc. All rights reserved Chapter 8 Counting Principles; Further Probability Topics.
8.6 Counting Principles. Listing Possibilities: Ex 1 Eight pieces of paper are numbered from 1 to 8 and placed in a box. One piece of paper is drawn from.
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.
COUNTING Permutations and Combinations. 2Barnett/Ziegler/Byleen College Mathematics 12e Learning Objectives for Permutations and Combinations  The student.
Permutations and Combinations AII Objectives:  apply fundamental counting principle  compute permutations  compute combinations  distinguish.
Permutations Intro to Algebra/Geometry. Does order matter? In English we use the word "combination" loosely, without thinking if the order of things is.
13 Lesson 1 Let Me Count the Ways Fundamental Counting Principle, Permutations & Combinations CP Probability and Statistics FA 2014 S-ID.1S-CP.3S-CP.5.
Combinations and Permutations Whats the Difference?
Counting Principles Ex. Eight pieces of paper are numbered 1 to 8 and placed in a box. One piece of paper is drawn from the box, its number is written.
The Pigeonhole Principle
Developing Your Counting Muscles
Permutations and Combinations
What Is Probability?.
Combinations Problems
Discrete Structures for Computer Science
FACTORIALS.
Section Combinations (with and without restrictions)
Mr F’s Maths Notes Number 10. Surds.
pencil, red pen, highlighter, GP notebook, calculator
The Addition Rule.
Permutations and Combinations
Unit 4 – Combinatorics and Probability Section 4
Permutations and Combinations
Permutations and Combinations
Chapter 7 Logic, Sets, and Counting
Probability And Expected Value ————————————
Permutation – The number of ways to ARRANGE ‘n’ items ‘r’ at
Basic Counting.
Permutations and Combinations
Permutations and Combinations
Counting techniques Basic Counting Principles, Pigeonhole Principle, Permutations and Combinations.
Basic Counting Lecture 9: Nov 5, 6.
Probability And Expected Value ————————————
Using Permutations and Combinations
Counting and Probability
Applied Combinatorics, 4th Ed. Alan Tucker
pencil, highlighter, GP notebook, calculator, red pen
10.3 – Using Permutations and Combinations
Applied Statistical and Optimization Models
Presentation transcript:

Permutations & Combinations Advanced Algebra B

What’s the Difference? In English we use the word “combination” loosely, without thinking if the order of things is important. In other words: “My fruit salad is a combination of apples, grapes and bananas” We don't care what order the fruits are in, they could also be “bananas, grapes and apples” or “grapes, apples and bananas”, its the same fruit salad. “The combination to the safe was 472.” Now we do care about the order. “724” would not work, nor would “247”. It has to be exactly 4-7-2.

What’s the Difference? In Mathematics we use more precise language: If the order doesn't matter, it is a Combination. If the order does matter it is a Permutation. So, we should really call this a “Permutation Lock”?!? In other words: A Permutation is an ordered Combination. (To help you to remember, think “Permutation  Position”)

Permutations with Repetition If you have n things to choose from, and you choose r of them, then the permutations are: n  n  n... (r times) = nr there are n possibilities for the first choice, THEN there are n possibilities for the second choice, and so on. In the lock above, there are 10 numbers to choose from (0,1,..9) and you choose 3 of them: 10  10  10 = 103 = 1,000 permutations So, the formula is simply: # perm = nr where n is the number of things to choose from, and you choose r of them (repetition allowed, order matters)

Permutations without Repetition What order could 16 pool balls be put in? After choosing the first ball, you can't choose it again. So, your first choice would have 16 possibilities, and your next choice would have 15 possibilities, then 14… The total permutations would be: #perm = 16 × 15 × 14 × 13 ... = 20,922,789,888,000 But maybe you don't want to choose them all, just 3 of them, so how many choices do you have? # perm = 16 × 15 × 14 = 3,360 In other words, there are 3,360 different ways that 3 pool balls could be selected out of 16 balls.

The FACTORIAL Function: ! The factorial function (symbol: !) just means to multiply a series of descending natural numbers. Examples: 4! = 4 × 3 × 2 × 1 = 24 7! = 7 × 6 × 5 × 4 × 3 × 2 × 1 = 5040 1! = 1 n! = n(n - 1)(n - 2)…1 Note: it is generally agreed that 0! = 1

The Permutation Function So, if you wanted to select all of the billiard balls the permutations would be: 16! = 20,922,789,888,000 If you wanted to select just 3, then you have to stop the multiplying after 14. There is a neat trick to do this, you divide 16! by 13! (Why?)

The Permutation Function Look carefully and you will realize that 16!/13! Is equal to 16!/(16-3)! There is a neat formula to accomplish this: where n is the number of things to choose from, and you choose r of them (no repetition, order matters)

Combinations There are also two types of combinations (remember the order does not matter) Repetition is Allowed: such as coins in your pocket (5,5,5,10,10) No Repetition: such as lottery numbers (2,14,15,27,30,33)

Combinations without Repetition This is how lotteries work. The numbers are drawn one at a time, and if you have the lucky numbers (no matter what order) you win! The easiest way to explain it is to assume that the order does matter (think of permutations),then alter it so the order does not matter.

Combinations without Repetition Going back to our pool ball example, let us say that you just want to know which 3 pool balls were chosen, not the order. We already know that 3 out of 16 gave us 3360 permutations. But many of those will be the same to us now, because we don't care what order. Let us say balls 1, 2, and 3 were chosen. How many possibilities are there?

Combinations without Repetition Order does matter Order doesn't matter 123 123 132 231 213 312 321 So, the permutations will have six times more possibilities.

The Combination Formula There’s an easy way to work out how many ways "1 2 3" could be placed in order. The answer is: 3! = 3 x 2 x 1 = 6 All we need to do is adjust our permutations formula to reduce it by how many ways the objects could be in order (because we aren't interested in the order any more):

Example How many different committees of 4 people can be formed from a club with 10 members? How many ways can a 5 card hand be dealt from a deck of 52 cards?

Interesting Symmetry So remember, do the permutation, then reduce by a further factor of "r!” It is interesting to also note how this formula is nice and symmetrical: In other words choosing 3 balls out of 16, or choosing 13 balls out of 16 have the same number of combinations. (Why?)

Examples with Cards How many different 5 card hands are there?

Examples with Cards How many 5 card hands contain exactly two aces? Take the aces first…You need to pick 2 of 4 so you have: 4C2 Now, for the remaining 3 cards, you have 48 to pick from (the whole deck minus the aces): 48C3 The final answer is: 4C2 x 48C3 = 103,776

Examples with Cards How many 5 card hands contain at least one card of a red suit and at least one card of a black suit. This takes some logic…You basically need the number of hands that are not ALL RED or ALL BLACK, right? That equals… total # hands - (# red hands + # black hands)

Examples with Cards How many hands contain at least one card of a red suit and at least one card of a black suit.

Examples with Cards How many ways are there to get 2 red aces and 2 black jacks in a 5 card hand?