About Permutations and Combinations: Examples

Similar documents
Discrete Structures Lecture Permutations and Combinations

Applications of Probability Theory

IB HL Mathematics Homework 2014

CS1800: Permutations & Combinations. Professor Kevin Gold

DISCRETE STRUCTURES COUNTING

11.3B Warmup. 1. Expand: 2x. 2. Express the expansion of 2x. using combinations. 3. Simplify: a 2b a 2b

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

Exercises Exercises. 1. List all the permutations of {a, b, c}. 2. How many different permutations are there of the set {a, b, c, d, e, f, g}?

Discrete Mathematics: Logic. Discrete Mathematics: Lecture 15: Counting

Section 14.3 Partial Derivatives

Polynomials - Special Products

Topics to be covered

Permutations and Combinations Practice Test

Multiple Choice Questions for Review

Unit 5 Radical Functions & Combinatorics

Unit 5 Radical Functions & Combinatorics

PERMUTATIONS AND COMBINATIONS

The Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n

10.2.notebook. February 24, A standard deck of 52 playing cards has 4 suits with 13 different cards in each suit.

SMML MEET 3 ROUND 1

With Question/Answer Animations. Chapter 6

Date Topic Notes Questions 4-8

Counting principles, including permutations and combinations.

Introductory Probability

Counting integral solutions

Chapter 8. Lesson a. (2x+3)(x+2) b. (2x+1)(3x+2) c. no solution d. (2x+y)(y+3) ; Conclusion. Not every expression can be factored.

Mat 344F challenge set #2 Solutions

Problem Set 2. Counting

Bernoulli Trials, Binomial and Hypergeometric Distrubutions

JIGSAW ACTIVITY, TASK # Make sure your answer in written in the correct order. Highest powers of x should come first, down to the lowest powers.

Combinatorial Proofs

Chapter 10A. a) How many labels for Product A are required? Solution: ABC ACB BCA BAC CAB CBA. There are 6 different possible labels.

Math 2411 Calc III Practice Exam 2

AwesomeMath Admission Test A

DISCUSSION #8 FRIDAY MAY 25 TH Sophie Engle (Teacher Assistant) ECS20: Discrete Mathematics

Contest 1. October 20, 2009

UNIT-2: BOOLEAN EXPRESSIONS AND COMBINATIONAL LOGIC CIRCUITS

SALES AND MARKETING Department MATHEMATICS. Combinatorics and probabilities. Tutorials and exercises

CS1802 Week 3: Counting Next Week : QUIZ 1 (30 min)

Lesson Objectives. Simplifying Algebraic Expressions with Polynomials Multiplying Monomials and Binomials

MATH 351 Fall 2009 Homework 1 Due: Wednesday, September 30

Partial Differentiation 1 Introduction

Sec. 4.2: Introducing Permutations and Factorial notation

Counting. Chapter 6. With Question/Answer Animations

CSCI 2200 Foundations of Computer Science (FoCS) Solutions for Homework 7

aabb abab abba baab baba bbaa permutations of these. But, there is a lot of duplicity in this list, each distinct word (such as 6! 3!2!1!

COUNTING AND PROBABILITY

Counting in Algorithms

Lesson1.notebook July 07, 2013

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Chapter 2. Permutations and Combinations

The Product Rule can be viewed as counting the number of elements in the Cartesian product of the finite sets

Discrete Mathematics with Applications MATH236

Counting Principles Review

elements in S. It can tricky counting up the numbers of

Sec 5.1 The Basics of Counting

Section Summary. Permutations Combinations Combinatorial Proofs

Week 1: Probability models and counting

Chapter 2 Math

Simple Counting Problems

Algebra II- Chapter 12- Test Review

MTH 103 H Final Exam. 1. I study and I pass the course is an example of a. (a) conjunction (b) disjunction. (c) conditional (d) connective

PERMUTATIONS AND COMBINATIONS

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology

Math Fall 2011 Exam 2 Solutions - November 1, 2011

n! = n(n 1)(n 2) 3 2 1

Midterm practice super-problems

MATH 105: Midterm #1 Practice Problems

With Question/Answer Animations. Chapter 6

Discrete probability and the laws of chance

LEVEL I. 3. In how many ways 4 identical white balls and 6 identical black balls be arranged in a row so that no two white balls are together?

10-1. Combinations. Vocabulary. Lesson. Mental Math. able to compute the number of subsets of size r.

Combinations and Permutations

Nu1nber Theory Park Forest Math Team. Meet #1. Self-study Packet. Problem Categories for this Meet:

4.1 Organized Counting McGraw-Hill Ryerson Mathematics of Data Management, pp

Discrete Mathematics. Spring 2017

2. How many even 4 digit numbers can be made using 0, 2, 3, 5, 6, 9 if no repeats are allowed?

(1) 2 x 6. (2) 5 x 8. (3) 9 x 12. (4) 11 x 14. (5) 13 x 18. Soln: Initial quantity of rice is x. After 1st customer, rice available In the Same way

Reading 14 : Counting

Permutations and Combinations

UNDERSTAND SIMILARITY IN TERMS OF SIMILARITY TRANSFORMATIONS

Permutations and Combinations

MAT3707. Tutorial letter 202/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/202/1/2017

CIS 2033 Lecture 6, Spring 2017

Math 3012 Applied Combinatorics Lecture 2

~~Final Exam Review~~

TOPIC 2: HOW TO COUNT

Strings. A string is a list of symbols in a particular order.

Sensors, Signals and Noise

Compound Probability. Set Theory. Basic Definitions

Honors Precalculus Chapter 9 Summary Basic Combinatorics

Practice Test (page 201) 1. A. This is not true because 64 has these factors: 1, 2, 4, 8, 16, 32, and 64 So, A is the correct answer.

Permutations and Combinations

Sec$on Summary. Permutations Combinations Combinatorial Proofs

Sets, Venn Diagrams & Counting

Poker: Probabilities of the Various Hands

Permutation and Combination

Combinatorics. Reading: EC Peter J. Haas. INFO 150 Fall Semester Lecture 14 1/ 28

Chapter 3 Linear Equations in Two Variables

CS 237 Fall 2018, Homework SOLUTION

Transcription:

About Permutations and Combinations: Examples

TABLE OF CONTENTS Basics... 1 Product Rule...1-2 Sum Rule...2 Permutations... 2-3 Combinations... 3-4 Pascal s Triangle... 4 Binomial Theorem.. 4 Pascal s Identity/Triangle... 5 Examples... 5 Example 1...5 Example 2...5 Example 3...6 Example 4...6 Example 5...6-7

About Permutations and Combinations: Examples Basics Example: A standard Canadian postal code contains 3 letters and 3 numbers arranged as follows. Letter-Number-Letter Number-Letter-Number How many different postal codes are there? Answer: First we note that there are 26 letters of the alphabet to choose from, and 10 numbers to choose from. We can list some of the early ones. A0A 0A0 A0A 0A1 A0A 0A2... etc This will take lots of time, luckily there is a quicker way. Since there are 26 possible letters, we have 26 outcomes for the first letter, and each letter after. Similarly there are 10 numbers to choose from. So then the number of possible postal codes becomes. 26*10*26 * 10*26*10 = 17,576,000 So there are 17,576,000 different possible postal codes. Product Rule A student has a choice of 4 classes in the morning and 5 classes to choose from in the afternoon, how many different combinations of classes are there for the student? Answer: There are 4 possibilities for the morning classes, and 3 for afternoon classes, thus n 1 = 4, and n 2 = 5 and by the product rule. 1

Total Combinations = n 1 * n 2 = 4*5 = 20 There are 20 possible combinations of classes. Sum Rule A student has a choice of 4 classes in the morning and 2 classes to choose from in the afternoon, how many different classes can the student sign up for? Answer: There are 4 classes for morning classes, and 2 classes for afternoon classes. Letting e 1 being morning classes and e 2 being afternoon classes. Thus n 1 = 4 and n 2 = 2, and by the Sum Rule Theorem Total classes = n 1 + n 2 = 5 + 3 = 8 There are 8 total classes for the student to take. Permutations Example: How many different ways can we arrange the numbers 1,2,3? Answer: There aren't many, we can list them here: 123,132,213,231,312,321. There are 6 possibilities, note we had three numbers to arrange. For the first spot we had 3 possibilities, then 2 possibilities, then just 1 number left. 4! = 4*3*2*1 = 24 6! = 6*5*4*3*2*1 = 720 10! = 10*9*8*7*6*5*4*3*2*1 = 3628800 How many permutations of ABCDEFG contain the block ABC? 2

Answer: We already know there are 7! ways to arrange the 7 objects (! = 5040). However, how many of those have ABC together? ABDCEFG is a valid permutation, but it doesn't have ABC together. We consider ABC as one element, therefore the number of elements we have to order is 5, they are ABC, D, E, F, G. Since there are 5 elements, then there are 5! Ways to arrange them, 5! = 120. There are 120 ways to arrange those letters with ABC together. In a horse race with 6 horses, how many different ways are there to select the top 3 horses? Answer: Again we use the product rule, we have 6 ways to pick the first place horse, 5 ways to pick the second, and 4 ways to pick the 3 rd place horse. Total Combinations = 6*5*4 = 210 There are 210 ways to arrange 3 objects when you have a total of 7 objects. Combinations How many different committees of three students can be formed from a group of four students? Answer: For simplification, let s label the students ABCD, A for student one, B for student two, etc. In this case picking student A then students B (AB) is the same as picking student B then student A (BA). In other words, order doesn t matter. Thus, the total number of committees one can create is 4. 3

The worst hockey team is allowed to draft any three players from the top 3 teams. The top 3 teams have 20, 23, 21 players respectively. How many different ways can the worst team choose 3 players? Solution: We have to first recognize that order doesn't matter. There is nothing in the question saying first we need a left winger. We are also free to choose any players we want, we don't have to pick one player from each team or anything, so the total number of players we have it 64, and we are choose 3, so: C(64,3) = 64! / (64-3)! (3!) = 64! / (61!)(3!) = 83328 There are 83328 ways to select the 3 players. Binomial Theorem Pascal s Triangle Consider the following expansion (x + y) 3 = (x + y)(x + y)(x + y) = (xx + xy + yx + yy)(x + y) = xxx + xxy + xyx + xyy + yxx + yxy + yyx + yyy = x 3 + 3x 2 y + 3xy 2 + y 3 With the Binomial Theorem it becomes: Which can of course be simplified by calculating C(3,0), C(3,1), etc. 4

Pascal s Identity/Triangle C(7,2) = 21, C(7,3) = 35, C(8,3) = 56 (21+35 = 56) Example 1 Examples In how many ways can we select two students from a group of seven students to stand in a line for a picture? In how many ways can we arrange all seven of these students in a line for a picture? Solution: We first note that order matters in this problem. For the first spot in the photo we have seven choices, once that student is chosen we have six, or simply: P(7,2) = 42 For all seven students we keep going after the second spot, which gets us: Example 2 7! = 5040. How many ways are there to select 4 players from a 8-member tennis team to compete in an upcoming tournament? Solution: Order doesn't matter here, so n = 8 and r = 4, thus plugging into out equation. C(8,4) = 8!/(4!)(8-4)! = 8!/(4!)(4!) = 70 5

Example 3 What's the coefficient of x 12 y 13 in (x + y) 25 Solution: Using the Binomial Theorem, n = 25, and j =13. Example 4 And thus the coefficient is C(25,13) = 25!/(13!)(12!) = 5200300 What is the expansion of (x - y)4 Solution: Note that the equation can be written as (x + (-y)) 4 And thus, by the Binomial Theorem (x - y) 4 = C(4,0)(-1) 0 x 4 + C(4,1)(-1)x 3 y + C(4,2)(-1) 2 x 2 y 2 + C(4,3)(-1) 3 xy 3 + C(4,4)(-1) 4 y 4 (x - y) 4 = x 4 - x 3 y + x 2 y 2 - xy 3 + y 4 Example 5 The English alphabet has 21 consonants and 5 vowels. How many strings of 6 letters contain: a) exactly one vowel b) exactly two vowels Solution a) We know there are 266 strings with length 6 and 216 with only consonants. There are 6 positions to place 1 vowel, and 5 vowels to pick. This will leave us with 5 free positions for consonants: 6*5*215 6

Solution b) There are C(6,2) ways to select the 2 positions for the vowels, and 5 ways to pick each vowel. This leaves us 4 positions free for the consonants: 15*52214 7