A1. Basic Reviews PERMUTATIONS and COMBINATIONS... or HOW TO COUNT

Similar documents
SECTION 10-5 Multiplication Principle, Permutations, and Combinations

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

Combinatorial Proofs

4. Binomial Expansions

E3: PROBABILITY AND STATISTICS lecture notes

Section 6.4: Counting Subsets of a Set: Combinations

Row Echelon Form and Reduced Row Echelon Form

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

REPEATED TRIALS. The probability of winning those k chosen times and losing the other times is then p k q n k.

INCIDENCE-BETWEENNESS GEOMETRY

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

COUNTING SUBSETS OF A SET: COMBINATIONS

Full and Complete Binary Trees

Mathematical goals. Starting points. Materials required. Time needed

6.3 Conditional Probability and Independence

Regions in a circle. 7 points 57 regions

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

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

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

Unit 4 The Bernoulli and Binomial Distributions

Section 1.3 P 1 = 1 2. = P n = 1 P 3 = Continuing in this fashion, it should seem reasonable that, for any n = 1, 2, 3,..., =

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

Probability and Statistics Vocabulary List (Definitions for Middle School Teachers)

Elements of probability theory

C H A P T E R Regular Expressions regular expression

The Binomial Probability Distribution

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Factorizations: Searching for Factor Strings

Math 55: Discrete Mathematics

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

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

Basic Probability Concepts

5544 = = = Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

Lecture 2 Binomial and Poisson Probability Distributions

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

WHERE DOES THE 10% CONDITION COME FROM?

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

Math 4310 Handout - Quotient Vector Spaces

Section 6-5 Sample Spaces and Probability

Algebra II End of Course Exam Answer Key Segment I. Scientific Calculator Only

Creating, Solving, and Graphing Systems of Linear Equations and Linear Inequalities

Combinatorics. Chapter Factorials

9.2 Summation Notation

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

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

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

ECON 459 Game Theory. Lecture Notes Auctions. Luca Anderlini Spring 2015

6.4 Normal Distribution

Synthetic Projective Treatment of Cevian Nests and Graves Triangles

People have thought about, and defined, probability in different ways. important to note the consequences of the definition:

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

Notes on Determinant

CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r.

10.2 Series and Convergence

5.1 Radical Notation and Rational Exponents

Chapter 17. Orthogonal Matrices and Symmetries of Space

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

26 Integers: Multiplication, Division, and Order

WORKED EXAMPLES 1 TOTAL PROBABILITY AND BAYES THEOREM

LEARNING OBJECTIVES FOR THIS CHAPTER

Handout #1: Mathematical Reasoning

S on n elements. A good way to think about permutations is the following. Consider the A = 1,2,3, 4 whose elements we permute with the P =

Probability definitions

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Practical Guide to the Simplex Method of Linear Programming

The thing that started it 8.6 THE BINOMIAL THEOREM

Real Roots of Univariate Polynomials with Real Coefficients

Continued Fractions and the Euclidean Algorithm

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

Computational Geometry Lab: FEM BASIS FUNCTIONS FOR A TETRAHEDRON

Linear Programming Notes V Problem Transformations

Math 115 Spring 2011 Written Homework 5 Solutions

=

MATH Fundamental Mathematics IV

Lecture L3 - Vectors, Matrices and Coordinate Transformations

PERMUTATIONS AND COMBINATIONS HOW TO AVOID THEM AT ALL COSTS AND STILL ACTUALLY UNDERSTAND AND DO COUNTING PROBLEMS WITH EASE!

The Binomial Distribution

Scalar Valued Functions of Several Variables; the Gradient Vector

LOOKING FOR A GOOD TIME TO BET

Random variables P(X = 3) = P(X = 3) = 1 8, P(X = 1) = P(X = 1) = 3 8.

LAMC Beginners Circle: Parity of a Permutation Problems from Handout by Oleg Gleizer Solutions by James Newton

Solving Linear Systems, Continued and The Inverse of a Matrix

36 Odds, Expected Value, and Conditional Probability

db, dbm, dbw db 10 log (x) where x is unitless! For example, amplifier gain is a unitless value!

DETERMINANTS IN THE KRONECKER PRODUCT OF MATRICES: THE INCIDENCE MATRIX OF A COMPLETE GRAPH

Mathematical Induction. Mary Barnes Sue Gordon

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

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Playing with Numbers

5 Numerical Differentiation

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Sudoku puzzles and how to solve them

Discrete mathematics

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH. 1. Introduction

How To Solve The Social Studies Test

4. Continuous Random Variables, the Pareto and Normal Distributions

Generating Functions Count

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

Transcription:

A1. Basic Reviews Appendix / A1. Basic Reviews / Perms & Combos-1 PERMUTATIONS and COMBINATIONS... or HOW TO COUNT Question 1: Suppose we wish to arrange n 5 people {a, b, c, d, e}, standing side by side, for a portrait. How many such distinct portraits ( permutations ) are possible? Example: a b c d e Here, every different ordering counts as a distinct permutation. For instance, the ordering (a,b,c,d,e) is distinct from (c,e,a,d,b), etc. Solution: There are 5 possible choices for which person stands in the first position (either a, b, c, d, or e). For each of these five possibilities, there are 4 possible choices left for who is in the next position. For each of these four possibilities, there are 3 possible choices left for the next position, and so on. Therefore, there are 5 4 3 2 1 120 distinct permutations. See Table 1. This number, 5 4 3 2 1 (or equivalently, 1 2 3 4 5), is denoted by the symbol and read 5 factorial, so we can write the answer succinctly as 120. In general, FACT 1: The number of distinct PERMUTATIONS of n objects is n factorial, denoted by FACT 1: The number of distinct PERMUTATIONS of n objects is "n factorial", denoted by n! 1 2 3... n, n! or equivalently, 1 2 3... n, or equivalently, n (n-1) (n-2)... n 2 (n 1. 1) (n 2)... 2 1. Examples: 6! 6 5 4 3 2 1 6 6 120 (by previous calculation) 720 3! 3 2 1 6 2! 2 1 2 1! 1 0! 1, BY CONVENTION (It may not be obvious why, but there are good mathematical reasons for it.)

Appendix / A1. Basic Reviews / Perms & Combos-2 Question 2: Now suppose we start with the same n 5 people {a, b, c, d, e}, but we wish to make portraits of only k 3 of them at a time. How many such distinct portraits are possible? Example: a b c Again, as above, every different ordering counts as a distinct permutation. For instance, the ordering (a,b,c) is distinct from (c,a,b), etc. Solution: By using exactly the same reasoning as before, there are 5 4 3 60 permutations. See Table 2 for the explicit list! Note that this is technically NOT considered a factorial (since we don't go all the way down to 1), but we can express it as a ratio of factorials: 5 4 3 5 4 3 (2 1) (2 1) 2!. In general, FACT 2: The number of distinct PERMUTATIONS of n objects, taken k at a time, is given by the ratio n! (n k)! n (n 1) (n 2)... (n k + 1). Question 3: Finally suppose that instead of portraits ( permutations ), we wish to form committees ( combinations ) of k 3 people from the original n 5. How many such distinct committees are possible? Example: c b a Now, every different ordering does NOT count as a distinct combination. For instance, the committee {a,b,c} is the same as the committee {c,a,b}, etc.

Appendix / A1. Basic Reviews / Perms & Combos-3 Solution: This time the reasoning is a little subtler. From the previous calculation, we know that # of permutations of k 3 from n 5 is equal to 2! 60. But now, all the ordered permutations of any three people (and there are 3! 6 of them, by FACT 1), will collapse into one single unordered combination, e.g., {a, b, c}, as illustrated. So... # of combinations of k 3 from n 5 is equal to 2!, divided by 3!, i.e., 60 6 10. See Table 3 for the explicit list! This number, 3! 2!, is given the compact notation 5, read 5 choose 3, and corresponds to the 5 number of ways of selecting 3 objects from 5 objects, regardless of their order. Hence 10. In general, FACT 3: The number of distinct COMBINATIONS of n objects, taken k at a time, is given by the ratio n! k! (n k)! n (n 1) (n 2)... (n k + 1) k!. This quantity is usually written as n, and read n choose k. k Examples: 5 3! 2! 10, just done. Note that this is also equal to 5 2 2! 3! 10. 8 2 8! 2! 6! 8 7 6! 2! 6! 8 7 2 28. Note that this is equal to 8 6 8! 6! 2! 28. 15 1 1 1! 14! 15 14! 1! 14! 15. Note that this is equal to 15 14 15. Why? 7 7 7! 7! 0! 1. (Recall that 0! 1.) Note that this is equal to 7 1. Why? 0 Observe that it is neither necessary nor advisable to compute the factorials of large numbers directly. For instance, 8! 40320, but by writing it instead as 8 7 6!, we can cancel 6!, leaving only 8 7 above. Likewise, 14! cancels out of 1, leaving only 15, so we avoid having to compute 1, etc.

Appendix / A1. Basic Reviews / Perms & Combos-4 n Remark: is sometimes called a combinatorial symbol or binomial coefficient (in k connection with a fundamental mathematical result called the Binomial Theorem; you may also recall the related Pascal s Triangle ). The previous examples also show that binomial coefficients n n 5 possess a useful symmetry, namely,. For example,, but this is clearly k n k 3! 2! the same as 5. In other words, the number of ways of choosing 3-person committees 2 2! 3! from 5 people is equal to the number of ways of choosing 2-person committees from 5 people. A quick way to see this without any calculating is through the insight that every choice of a 3- person committee from a collection of 5 people leaves behind a 2-person committee, so the total number of both types of committee must be equal (10). Exercise: List all the ways of choosing 2 objects from 5, say {a, b, c, d, e}, and check these claims explicitly. That is, match each pair with its complementary triple in the list of Table 3. A Simple Combinatorial Application Suppose you toss a coin n 5 times in a row. How many ways can you end up with k 3 heads? Solution: The answer can be obtained by calculating the number of ways of rearranging 3 objects among 5; it only remains to determine whether we need to use permutations or combinations. Suppose, for example, that the 3 heads occur in the first three tosses, say a, b, and c, as shown below. Clearly, rearranging these three letters in a different order would not result in a different outcome. Therefore, different orderings of the letters a, b, and c should not count as distinct permutations, and likewise for any other choice of three letters among {a, b, c, d, e}. Hence, there 5 are 10 ways of obtaining k 3 heads in n 5 independent successive tosses. Exercise: Let H denote heads, and T denote tails. Using these symbols, construct the explicit list of 10 combinations. (Suggestion: Arrange this list of H/T sequences in alphabetical order. You should see that in each case, the three H positions match up exactly with each ordered triple in the list of Table 3. Why?) a b c d e

Appendix / A1. Basic Reviews / Perms & Combos-5 Table 1 Permutations of {a, b, c, d, e} These are the 120 ways of arranging 5 objects, in such a way that all the different orders count as being distinct. a b c d e b a c d e c a b d e d a b c e e a b c d a b c e d b a c e d c a b e d d a b e c e a b d c a b d c e b a d c e c a d b e d a c b e e a c b d a b d e c b a d e c c a d e b d a c e b e a c d b a b e c d b a e c d c a e b d d a e b c e a d b c a b e d c b a e d c c a e d b d a e c b e a d c b a c b d e b c a d e c b a d e d b a c e e b a c d a c b e d b c a e d c b a e d d b a e c e b a d c a c d b e b c d a e c b d a e d b c a e e b c a d a c d e b b c d e a c b d e a d b c e a e b c d a a c e b d b c e a d c b e a d d b e a c e b d a c a c e d b b c e d a c b e d a d b e c a e b d c a a d b c e b d a c e c d a b e d c a b e e c a b d a d b e c b d a e c c d a e b d c a e b e c a d b a d c b e b d c a e c d b a e d c b a e e c b a d a d c e b b d c e a c d b e a d c b e a e c b d a a d e b c b d e a c c d e a d d c e a b e c d a b a d e c b b d e c a c d e d a d c e b a e c d b a a e b c d b e a c d c e a b d d e a b c e d a b c a e b d c b e a d c c e a d b d e a c b e d a c b a e c b d b e c a d c e b a d d e b a c e d b a c a e c d b b e c d a c e b d a d e b c a e d b c a a e d b c b e d a c c e d a b d e c a b e d c a b a e d c b b e d c a c e d b a d e c b a e d c b a

Appendix / A1. Basic Reviews / Perms & Combos-6 Table 2 Permutations of {a, b, c, d, e}, taken 3 at a time These are the 2! 60 ways of arranging 3 objects among 5, in such a way that different orders of any triple count as being distinct, e.g., the 3! 6 permutations of (a, b, c), shown below. a b c b a c c a b d a b e a b a b d b a d c a d d a c e a c a b e b a e c a e d a e e a d a c b b c a c b a d b a e b a a c d b c d c b d d b c e b c a c e b c e c b e d b e e b d a d b b d a c d a d c a e c a a d c b d c c d b d c b e c b a d e b d e c d e d c e e c d a e b b e a c e a d e a e d a a e c b e c c e b d e b e d b a e d b e d c e d d e c e d c Table 3 Combinations of {a, b, c, d, e}, taken 3 at a time If different orders of the same triple are not counted as being distinct, then their six permutations are lumped as one, e.g., {a, b, c}. Therefore, the total number of combinations is 1 6 of the original 60, or 10. Notationally, we express this as 1 3! of the original 2!, i.e., 3! 2!, or more neatly, as 5. 5 These 10 combinations are listed below. a b c a b d a b e a c d a c e a d e b c d b c e b d e c d e