Ch. 12.1: Permutations

Similar documents
Math Quizzes Winter 2009

Probability. Section 9. Probability. Probability of A = Number of outcomes for which A happens Total number of outcomes (sample space)

6.3 Conditional Probability and Independence

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! 314

2. How many ways can the letters in PHOENIX be rearranged? 7! = 5,040 ways.

Question of the Day. Key Concepts. Vocabulary. Mathematical Ideas. QuestionofDay

Feb 7 Homework Solutions Math 151, Winter Chapter 4 Problems (pages )

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

Chapter 3. Distribution Problems. 3.1 The idea of a distribution The twenty-fold way

1.4 Compound Inequalities

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

SECTION 10-5 Multiplication Principle, Permutations, and Combinations

(b) You draw two balls from an urn and track the colors. When you start, it contains three blue balls and one red ball.

Lecture 2 Binomial and Poisson Probability Distributions

The Binomial Probability Distribution

Definition and Calculus of Probability

Fundamentals of Probability

1.2 Solving a System of Linear Equations

3. Mathematical Induction

Math 55: Discrete Mathematics

Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd.

5.1 Radical Notation and Rational Exponents

Methods Used for Counting

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

Vieta s Formulas and the Identity Theorem

Chapter 20: chance error in sampling

Statistics 100A Homework 2 Solutions

Discrete mathematics

3.2 Roulette and Markov Chains

Mathematical goals. Starting points. Materials required. Time needed

1 Combinations, Permutations, and Elementary Probability

You flip a fair coin four times, what is the probability that you obtain three heads.

EXAM. Exam #3. Math 1430, Spring April 21, 2001 ANSWERS

Lesson Plans for (9 th Grade Main Lesson) Possibility & Probability (including Permutations and Combinations)

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10

Maths class 11 Chapter 7. Permutations and Combinations

Sequences. A sequence is a list of numbers, or a pattern, which obeys a rule.

Math 408, Actuarial Statistics I, Spring Solutions to combinatorial problems

10.2 Series and Convergence

Math 3C Homework 3 Solutions

Random variables, probability distributions, binomial random variable

Chapter 6: Probability

Lecture Note 1 Set and Probability Theory. MIT Spring 2006 Herman Bennett

Combinatorics. Chapter Factorials

A Little Set Theory (Never Hurt Anybody)

Math 55: Discrete Mathematics

Introduction to Probability

Statistics 100A Homework 4 Solutions

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 13. Random Variables: Distribution and Expectation

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

Session 29 Scientific Notation and Laws of Exponents. If you have ever taken a Chemistry class, you may have encountered the following numbers:

5. Probability Calculus

Lottery Combinatorics

Probability, statistics and football Franka Miriam Bru ckler Paris, 2015.

Ch. 13.2: Mathematical Expectation

Section 1.5 Exponents, Square Roots, and the Order of Operations

ECE302 Spring 2006 HW1 Solutions January 16,

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Solving Rational Equations

Greatest Common Factor and Least Common Multiple

Basics of Counting. The product rule. Product rule example. 22C:19, Chapter 6 Hantao Zhang. Sample question. Total is 18 * 325 = 5850

Section 5-3 Binomial Probability Distributions

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Section 6.4: Counting Subsets of a Set: Combinations

Section 6-5 Sample Spaces and Probability

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes

Solving Linear Equations - General Equations

ST 371 (IV): Discrete Random Variables

Ch. 13.3: More about Probability

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

How to Calculate the Probabilities of Winning the Eight LUCKY MONEY Prize Levels:

For two disjoint subsets A and B of Ω, say that A and B are disjoint events. For disjoint events A and B we take an axiom P(A B) = P(A) + P(B)

3.1. Solving linear equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

Permutation Groups. Tom Davis April 2, 2003

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

6.2. Discrete Probability Distributions

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

Click on the links below to jump directly to the relevant section

Probability: Terminology and Examples Class 2, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Hoover High School Math League. Counting and Probability

IEOR 6711: Stochastic Models I Fall 2012, Professor Whitt, Tuesday, September 11 Normal Approximations and the Central Limit Theorem

Ch. 11.2: Installment Buying

2.2 Derivative as a Function

Probabilistic Strategies: Solutions

Pure Math 30: Explained!

23. RATIONAL EXPONENTS

How to Verify Performance Specifications

Section 6.2 Definition of Probability

6th Grade Lesson Plan: Probably Probability

DETERMINE whether the conditions for a binomial setting are met. COMPUTE and INTERPRET probabilities involving binomial random variables

E3: PROBABILITY AND STATISTICS lecture notes

Economics 1011a: Intermediate Microeconomics

What is the winning probability of each prize in Mark Six? Actually how small is the winning probability?

AP Stats - Probability Review

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014

Regions in a circle. 7 points 57 regions

6.042/18.062J Mathematics for Computer Science. Expected Value I

MATH 140 Lab 4: Probability and the Standard Normal Distribution

2013 MBA Jump Start Program

Transcription:

Ch. 12.1: Permutations The Mathematics of Counting The field of mathematics concerned with counting is properly known as combinatorics. Whenever we ask a question such as how many different ways can we make this choice, or how many different arrangements are possible, we are asking a combinatoric question. The following is a very general rule that is foundational to the subject: The Fundamental Counting Principle Suppose an experiment consists of k sub-experiments, performed one after the other. If the 1st sub-experiment has n 1 possible outcomes, the 2nd sub-experiment has n 2 possible outcomes,... and the kth subexperiment has n k possible outcomes, then then the combined experiment has n 1 n 2... n k possible outcomes. The justification for this principle is due to tree diagrams (discussed in the book an in class). It may seem a bit vague, so it is best illustrated with an example: Example 1: Suppose we perform an experiment in which we first flip a coin twice, and then roll a dice. How many possible outcomes are there? ANSWER: This experiment consists of 3 sub-experiments: (1) flip a coin, (2) flip a coin, (3) roll a dice. 1st outcome: coin flip 2nd outcome: coin flip 3rd outcome: dice roll (1) The 1st sub-experiment has 2 possible outcomes: {H, T }. (2) The 2nd sub-experiment has 2 possible outcomes: {H, T }. (2) The 3rd sub-experiment has 6 possible outcomes: {,,,,, }. Thus, by the Fundamental Counting Principle, there are 2 2 6 = 24 possible outcomes. 1

It is important to remember that when using the Fundamental Counting Principle, the order of the sub-experiments matters. For instance in the previous example, the outcome (H, T, ) is NOT the same as (T, H, ) because the order of the coin-flip outcomes is reversed. Example 2: Consider an ATM PIN. (a) How many different 4-digit PINs can be made using the digits 0,..., 9? (b) How many can be made if the 1st digit cannot be a zero? ANSWER: (a) Note that in this example, the order of the digits does matter: for instance, 1234 and 4321 are different PINs. We can think of this problem as an experiment in which we choose one digit after another. 1st digit 2nd digit 3rd digit 4rd digit For each of the 4 spaces, we can choose from 10 different digits. Thus, there are 10 10 10 10 = 10 4 = 10, 000 different outcomes, each outcome giving us a different PIN. (b) Here our counting procedure is the same as above, except that for our 1st digit, we can only choose from 9 possible digits (since the digit 0 is not allowed). Thus, in this case, there are 9 10 10 10 = 9 10 3 = 9, 000 different ways to make a unique PIN. 2

Factorial Notation When working in combinatorics, we often run across very long products of numbers. The factorial notation is often helpful in simplifying such expressions, as we will shortly see. Factorial For any counting number, n, the factorial of n is defined by By convention, 0! = 1! = 1. n! = n(n 1)(n 2)... (3)(2)(1). Also note the useful property that n! = n (n 1)! for any n 1. Example 3: Evaluate the following: (a) 5! = 5 4 3 2 1 = 120 (b) 5! 3! = 120 6 = 114 (c) (5 3)! = 2! = 2 (d) 100! 98! = 100 99 = 9900 3

Permutations without Repetitions In the most general terms, a permutation is just an ordered list of elements selected from some set. In some usages, elements can be repeated, while in other usages this is not allowed. Example 4: Here are some example permutations: (3, 1, 2) and (2, 1, 3) are both distinct permutations of the set {1, 2, 3}, without repetitions allowed. (5, 6) is a 2-permutation of the set {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, without repetition allowed. The word abracadabra is an 11-permutation of the set of letters {a,b,c,d,r}, with repetition allowed. Note that elements of a permutation are often (though not always) listed between parentheses, (...), and that unlike set notation, the order of the list does matter. A common type of combinatoric problem is to determine the total number of possible permutations of a given set, when no repetitions are allowed. Example 5: Consider a club consisting of 6 members: { Tom, Calvin, Doug, Jane, Mary, Iris }. Suppose the club is giving a presentation in which 3 members have to give speeches, one after another, and no two speeches are given by the same person. How many different line-ups are possible? ANSWER: Let s consider the experiment in which we choose each speaker, one after the other, to form a particular line-up: Mary 1st speaker Doug 2nd speaker Iris 3rd speaker For the 1st speaker, we can choose among 5 members. Once that choice is made, however, we have only 4 members left to choose from for the 2nd speaker, and then only 3 members left to choose from for the 3rd speaker. Thus, by the Fundamental Counting Principle, there are 5 4 3 = 60 ways to choose a distinct line up. 4

This type of problem occurs so often, that we use a special notation to describe the solution... Number of Permutations without Repetitions The total number of permutations of r elements selected from a set of n elements without repetition is given by the formula np r = n(n 1)(n 2)... (n r + 1) = By convention, np 0 = 1, for any n. n! (n r)! Example 6: Consider a lottery in which 6 balls are consecutively drawn at random from an urn containing 99 balls, each printed with a unique number 1,..., 99. What are the total number of possible outcomes of this draw? ANSWER: Each drawing is a permutation of 6 numbers chosen from a set of 99, without repetition. Thus, the total number of possible permutations is: 99P 6 = 99 98 97 96 95 94 = 806, 781, 064, 320. This is a very large number, over 800 billion possible permutations. (As a prelude to the next chapter, think of trying to guess the exact permutation that is chosen. What would be your probability of guessing correctly?) 5

Permutations with Specific Repetitions In some problems, we need to deal with permutations in which some elements are repeated a specific number of times. For instance, we might want to know the number of ways of uniquely arranging 4 pictures on a wall (in a line) if 2 of the pictures are identical. Here s a simpler example Example 7: How many distinguishable permutations can be made using all letters in the word needle? ANSWER: In this case, we have a total of 6 letters, and 3 of them (the Es) are identical. Let the unknown N be the answer that we re looking for. If we temporarily assume that all 3 Es are distinguishable (say we denote them with different colors, E, E, E), then we have permutations with NO repetitions, and the total number possible is 6 P 6 = 6! Now, note that each of the N permutations in which the Es are identical correspond to 3! possible permutations in which the Es are distinguishable (since we can permute those Es in place without changing the identity of the word). For example: NEEDLE = { needle, needle, needle, needle, needle, needle. } Thus, N 3! = 6!, and so N = (6!)/(3!) = 120. The same reasoning leads us to the following general formula: Number of Permutaions with given Repetitions The total number of distinguishable permutations of k elements, in which the 1st element is repeated n 1 times, the 2nd element is repeated n 2 times,... and the kth element is repeated n k times, is given by the multinomial coefficient: ( n ) n 1, n 2,..., n k = n! n 1! n 2!... n k! where n = n 1 + n 2 + + n k. 6

Example 8: How many distinguishable permutations of the word MISSISSIPPI are possible? ANSWER: We have n = 11 letters in total: n 1 = 1 M s, n 2 = 4 I s, n 3 = 4 S s, n 4 = 2 P s. Thus, the total number of permutations is... ( ) n 11! = n 1, n 2, n 3, n 4 1! 4! 4! 2! = 34, 650 7