Math Circle Beginners Group May 22, 2016 Combinatorics

Similar documents
Math Circle Beginners Group May 22, 2016 Combinatorics

ACTIVITY 6.7 Selecting and Rearranging Things

Counting Things. Tom Davis March 17, 2006

Combinatorics (Part II)

Combinatorics: The Fine Art of Counting

Combinatorics: The Fine Art of Counting

Introduction. Firstly however we must look at the Fundamental Principle of Counting (sometimes referred to as the multiplication rule) which states:

arxiv: v1 [math.co] 24 Nov 2018

Park Forest Math Team. Meet #5. Number Theory. Self-study Packet

Organized Counting 4.1

What is the sum of the positive integer factors of 12?

Reigate Grammar School. 11+ Entrance Examination January 2012 MATHEMATICS

After learning the Rules, What should beginners learn next?

Combinatorics. PIE and Binomial Coefficients. Misha Lavrov. ARML Practice 10/20/2013

Review I. October 14, 2008

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

Course Learning Outcomes for Unit V

Unit. The double attack. Types of double attack. With which pieces? Notes and observations

In how many ways can a team of three snow sculptors be chosen to represent Amir s school from the nine students who have volunteered?

PERMUTATIONS AND COMBINATIONS

W = {Carrie (U)nderwood, Kelly (C)larkson, Chris (D)aughtry, Fantasia (B)arrino, and Clay (A)iken}

If a pawn is still on its original square, it can move two squares or one square ahead. Pawn Movement

Park Forest Math Team. Meet #5. Self-study Packet

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

Name: Permutations / Combinations March 18, 2013

Chess Handbook: Course One

Advanced Intermediate Algebra Chapter 12 Summary INTRO TO PROBABILITY

DISCRETE STRUCTURES COUNTING

Unit 5 Radical Functions & Combinatorics

Ch Counting Technique

Chance and Probability

Introduction to Mathematical Reasoning, Saylor 111

Week 3-4: Permutations and Combinations

Meet #5 March Intermediate Mathematics League of Eastern Massachusetts

Elementary Combinatorics

YourTurnMyTurn.com: chess rules. Jan Willem Schoonhoven Copyright 2018 YourTurnMyTurn.com

n r for the number. (n r)!r!

Solutions to Exercises on Page 86

BMT 2018 Combinatorics Test Solutions March 18, 2018

Counting Methods and Probability

Question No: 1 If you join all the vertices of a heptagon, how many quadrilaterals will you get?

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

a b c d e f g h i j k l m n

1. The 14 digits of a credit card are written in the boxes shown. If the sum of any three consecutive digits is 20, what is the value of A?

(1). We have n different elements, and we would like to arrange r of these elements with no repetition, where 1 r n.

DELUXE 3 IN 1 GAME SET

Unit 2 Lesson 2 Permutations and Combinations

1. Simplify 5! 2. Simplify P(4,3) 3. Simplify C(8,5) ? 6. Simplify 5

Twenty-fourth Annual UNC Math Contest Final Round Solutions Jan 2016 [(3!)!] 4

The Basic Rules of Chess

LEARN TO PLAY CHESS CONTENTS 1 INTRODUCTION. Terry Marris December 2004

Fundamental Counting Principle 2.1 Page 66 [And = *, Or = +]

Mathematics Enhancement Programme TEACHING SUPPORT: Year 3

Canadian Mathematics Competition An activity of The Centre for Education in Mathematics and Computing, University of Waterloo, Waterloo, Ontario

Math 166: Topics in Contemporary Mathematics II

Grade 6 Math Circles Winter February 10/11 Counting

Separation Numbers of Chessboard Graphs. Doug Chatham Morehead State University September 29, 2006

A few chessboards pieces: 2 for each student, to play the role of knights.

Warm Up Need a calculator

Finite Math - Fall 2016

OCTAGON 5 IN 1 GAME SET

7.4 Permutations and Combinations

Chess Rules- The Ultimate Guide for Beginners

Grade 7/8 Math Circles November 8 & 9, Combinatorial Counting

Combinatorics: The Fine Art of Counting

Chess, a mathematical definition

Combinations. Permutations. Counting. Counting. Combinations. Permutations. September 19, J. Boulton MDM 4U1

St. Catherine of Siena. Entering 3 rd Grade Math Packet. Name

Downloaded from

N-Queens Problem. Latin Squares Duncan Prince, Tamara Gomez February

You must have: Ruler graduated in centimetres and millimetres, pen, HB pencil, eraser. Tracing paper may be used.

Calculate the following. (1) (2) (3) (4) (5) (6) (7)

Fundamental Counting Principle 2.1 Page 66 [And = *, Or = +]

2014 ACM ICPC Southeast USA Regional Programming Contest. 15 November, Division 1

Mathematics Competition Practice Session 6. Hagerstown Community College: STEM Club November 20, :00 pm - 1:00 pm STC-170

2017 School Competition Sprint Round Problems 1 30

The game of Paco Ŝako

Counting Things. Tom Davis November 14, 2002

HOMEWORK ASSIGNMENT 5

GRAPH THEORY PART III

Reading 14 : Counting

Movement of the pieces

Structured Programming Using Procedural Languages INSS Spring 2018

THE EFFECTIVENESS OF DAMATH IN ENHANCING THE LEARNING PROCESS OF FOUR FUNDAMENTAL OPERATIONS ON WHOLE NUMBERS

Live Casino game rules. 1. Live Baccarat. 2. Live Blackjack. 3. Casino Hold'em. 4. Generic Rulette. 5. Three card Poker

Chapter 3 PRINCIPLE OF INCLUSION AND EXCLUSION

POKER (AN INTRODUCTION TO COUNTING)

Sec. 4.2: Introducing Permutations and Factorial notation

Counting techniques and more complex experiments (pp ) Counting techniques determining the number of outcomes for an experiment

How is data presented, compared and used to predict future outcomes?

PROBABILITY. Example 1 The probability of choosing a heart from a deck of cards is given by

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

Math 1116 Probability Lecture Monday Wednesday 10:10 11:30

Counting Things Solutions

Chained Permutations. Dylan Heuer. North Dakota State University. July 26, 2018

Counting and Probability Math 2320

Dragnet Abstract Test 4 Solution Booklet

CHAMPIONSHIP CHESS GAME WORLD. Log On: When you log into the World of Chess, you will enter the Hall of Kings.

CONDITIONAL PROBABILITY UNIT 6 PROBABILITY

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

Transcription:

Math Circle Beginners Group May 22, 2016 Combinatorics Warm-up problem: Superstitious Cyclists The president of a cyclist club crashed his bicycle into a tree. He looked at the twisted wheel of his bicycle and exclaimed bitterly, Another 8! And all because the number on my membership card is 8. And now not a week passes without the wheel of my bike turning into a figure 8. The most obvious solution is to change all the card numbers in the club so that none of them includes the digit 8. No sooner said than done. The club had three levels of membership: the platinum bicyclists, whose card numbers are one digit long (including 0); the gold members, whose card numbers are two digits long (including 00); and the silver members, whose card numbers are three digits long (including 000). The next day, each member of the club got a new card. 1. How many platinum members were in the club if all one-digit numbers (except of course 8) wereusedtonumberthenewcards? There are 9 digits excluding 0. Since all of the numbers were used up, there must be 9 platinum bicyclists in the club. 2. How many gold members were in the club if all two-digit numbers not containing the digit 8 were used to number the new cards? We need to count how many two-digit numbers there are without 8 as one of the digits. Think of a two-digit number as two spaces you need to fill to make up the number (the ones digit and the tens digit). There are 9 possible Ishita Gambhir/Los Angeles Math Circle/UCLA The problems on this page are taken from N. Ya. Vilenkin s "Combinatorics."

digits for every place, so we can have 9 9 =81 numbers in total, which means 81 gold members. 3. How many silver members were in the club if all three-digit numbers not containing the digit 8 were used to number the new cards? Similarly, think of a three-digit number as three spaces you need to fill to make up the number (the ones digit, the tens digit and the hundreds digit). There are 9 possible digits for every place, so we can have 9 9 9=9 3 numbers in total, which means 729 silver members. Counting Quickly 1. Yesterday, Ish decided to come up with a new language. She created an alphabet of 13 different letters and decided that there will only be three-letter words in her language. If all possible arrangements of letters can make acceptable words, how many words can there be in Ish s dictionary? Similar to what we did in the warm-up problem, think of each three-letter word as three spaces to fill up with any of the 13 letters. Since we can repeat letters in this language (for example, aaa is an acceptable word), we can have 13 13 13 = 13 3 possible words. 2. If each letter could appear in a word only once, how many three-letter words would there be in this language? Since we cannot repeat letters in this language (for example, aaa or aba are not acceptable words), we can only have 13 12 11 possible words. For the second and third letters in the word, we do not have 13 options anymore because we already used a letter for the first position. 2

3. There are four flavours of ice-creams in the ice-cream truck: vanilla, strawberry, chocolate and banana. Sam wants to buy himself a cone with two scoops of different flavors. In how many ways can Sam choose two different flavours from the given four? You can do this problem by making different combinations of flavors yourself. It does not matter which scoop is at the bottom and which is at the top. The possible combinations are: vanilla, strawberry vanilla, chocolate vanilla, banana strawberry, chocolates strawberry, banana chocolate, banana 4. What is the logical difference between problems 2 and 3? In problem 2, it matters which order we place the letters in to make words. In problem 3, it does not matter which scoop comes first. 3

In problem 2, we are creating permutations. Permutations are arrangements that can be made by placing different objects in a row. The order in which you place these objects is important. In problem 3, we are creating combinations. When the order in which you pick the objects does not matter, you create combinations. Think about arranging (permutations) versus picking (combinations). 5. Adrian s table has 8 students and he needs to call out any 3 students one at a time to solve 3 questions on the board. In how many ways can he do that? We can simplify this problem to say that there are n (8) different objects, and we need to arrange r (3) of these n objects in some order. We will denote this problem as Pr n to mean that we have to create Permutations of r objects from a given set of n distinct objects. It is not hard to see that P n r = n! (n r)! Since the order in which Adrian calls out students matters, we are creating permutions. So, we have 8 options for the first student, 7 options for the second student (since we cannot have one student solve more than one problem), and 6 options for the third student. This gives us 8 7 6 possible ways to call out three students. This is the same as using the formula for permutations: P 8 3 = 8! 5! =8 6 7 6. A cricket team has 11 members. The coach of the team needs to pick a captain, a vice-captain and a secretary. In how many ways can he do that? Use the formula for permutations. Since the order in which the coach arranges 3 members out of 11 matters the first will become captain, the second will become vice-captain and the third will become secretary, we are creating permutions. So, we have 11 options for the captain, 10 options for the vice-captain, and 9 options for secretary. This gives us 11 10 9 possible ways to pick the management. This is the same as using the formula for permutations: P 11 3 = 11! 8! =11 10 9 4

7. A competing cricket team has only three co-captains. In how many ways can the coach of this team pick his co-captains? The order in which we pick the team members to become co-captains does not matter in this case. So, we can say that there are n (10) distinct objects out of which we need to pick any r (3). We will denote this problem as Cr n to mean that we have to create Combinations of r objects from a given set of n different objects. Cr n = n! r!(n r)! Since the order in which the coach arranges 3 members out of 11 does not matter all three positions are equivalent, we are creating combinations. So, once again, we have 11 options for the first co-captain, 10 options for the next co-captain, and 9 options the third co-captain. This gives us 11 10 9 options. But we must divide this expression by 3! = 3 2 1 because there are 3! possible ways to arrange the co-captains among themselves. If we did not divide the expression by 3!, we would be counting the number of ways by 3! = 6 times more. So, there are 11 10 9 possible ways to pick the co-captains. 3! This is the same as using the formula for combinations: C3 11 = 11! = 11 10 9 3! 8! 3! 8. Why do we divide by r!? Explain in your own words. We divide by r! because when the order does not matter, we must not count different versions (orderings) of the same elements. Since there are r! ways of ordering the given r items among themselves, we must divide the number of permutations by r! to get the number of combinations. Try solving problem 3 above with three scoops instead of two in the cases where the order of the scoops matters and in the case in which the order does not matter). You will see that you can create P3 4 = 4! =24 possible permutations (order 1! matters), and only C3 4 = 4! = 4 possible combinations (order does not 1! 3! matter. The numbers differ by a factor of 3! = 6, which is number of ways in which you can order the three scoops. 5

9. Lucy s table also has 8 students and she needs to call out any 3 students all at the same time to demonstrate a problem to the other students. In how many ways can she do that? Use the formula for combinations. Since the order in which Lucy calls out students does not matter, we are creating combinations. So, we have 8 options for the first student, 7 options for the second student, and 6 options for the third student. But we must divide this expression by 3! = 3 2 1 because there are 3! possible ways to arrange these students among themselves. This gives us 8 7 6 possible 3! ways to call out three students. This is the same as using the formula for combinations: C3 8 = 8! = 8 6 7 3! 5! 3! 10. In how many ways can you rearrange the letters of the following words? (a) TRIANGLE This is essentially the same as picking and arranging 8 letters out of a set of 8. So, we are creating permutations. P8 8 = 8! 0! Since 0! = 1, P8 8 =8!. There are 8! ways of rearranging all the letters of the word TRIANGLE. (b) RECTANGLE Similarly, we are creating permutations with 9 letters out of a set of 9. P9 9 = 9! =9! 0! However, there are two Es that repeat. We must divide P9 9 by 2! because the two Es can be rearranged in 2! ways. Let s say one such arrangement is RT CEGN AEL. If we didn t divide by 2!, we would also be counting RT CEGNAEL, which is the exactly same permutation, but the two Es are also permutated. Therefore, there are 9! ways of rearranging all the letters of the word 2! RECTANGLE. 6

(c) ISOSCELES Similarly, we are creating permutations with 9 letters out of a set of 9. P9 9 = 9! =9! 0! However, there are two Es and three Ss that repeat. We must divide P9 9 by 2! 3!. 9! Therefore, there are ways of rearranging all the letters of the 2! 3! word ISOSCELES. 11. A pastry shop sells 4 kinds of pastries: napoleons, eclairs, shortcakes and cream puffs. How many different sets of 7 pastries can one buy? The problem with this problem is that we have less options to choose from. So, we cannot blindly apply the rule for combinations. Let s represent the number of napoleons we buy with 1s. 3 napoleons, let s write 111. If we are buying Next, let s write the number of eclairs we buy after a 0 to show the partition between napoleons and eclairs. If we re buying two eclairs, we will have 111011. Similarly, let s say we buy one shortcake and one cream puff, and write them as 1s separated by 0s. Our sequence will become 1110110101. You can create a sequence like this for every combination of pastries that you want to buy. For example, if you want to buy 2 napoleons, 3 eclairs, no shortcakes and two cream puffs, you will have: 1101110011. In all of these sequences, we have three 0s and seven 1s. So, we have reduced the problem into a problem of choosing three spots out of an available ten to position our 0s, or C3 10. C3 10 = 10! = 10 9 8 =120 3! 7! 3 2 1 This is also the same as choosing seven spots out of an available ten to position our 1s. Or, C7 10 = 10! =120. Therefore, there are 120 ways to 3! 7! choose different sets of seven pastries. Quick note: C n r = C n n r, P n r 6= P n n r 7

Combinatorics on a Chessboard 1 1. In how many ways can we choose a black square and a white square on a chessboard if the two squares must not belong to the same row or column? There are 32 ways of choosing any black square on a traditional chessboard. After we ve chosen a black square and excluded all the white squares from that row and column, we have 32 4 4=24 options to choose a white square from. So, there are 32 24 ways to choose a black square and a white square on a chessboard if they should not belong to the same row or column. 2. A child who does not know how to play chess places black and white chess pieces (2 knights, 2 rooks, 2 bishops, 1 queen and 1 king for each color) on a chessboard. In how many ways can he do this? There are 16 pieces that we need to arrange on a chessboard with 64 places. Therefore, this is a permutation: P16 64. However, notice that out of these 16, we have several repetitions: two black knights, two white knights, 2 white bishops, 2 black bishops, 2 white rooks, and 2 black rooks. Therefore, we must divide by 2! six times (just like we did in the problem with rearranging repeating letters of a word). So, there are P 64 16 (2!) 6 ways to place the given black and white pieces on the chessboard. 3. Compute the number of arrangements of all chess figures on a chessboard. This problem is the same as the last problem, except that we have pawns also. There are eight white pawns and eight black pawns. So, there are P 64 32 (2!) 6 (8!) 2 ways to place all chess pieces on the chessboard. 4. How many ways are there to put one black rook and one white rook on a chessboard so that they cannot attack each other? There are 64 ways of placing a black rook anywhere on a traditional chessboard. After we ve placed the black rook and excluded that row and column, we have 64 8 7=49 options to place a white rook. So, there are 64 49 ways to place a black rook and a white rook on a chessboard if they cannot attack each other. 1 Problems in this section have been taken from N. Ya. Vilenkin s Combinatorics. 8

5. In how many ways can 8 rooks be placed on a conventional chessboard so that no rook can attack another? This means that all 8 rooks must be in different rows and columns on the chessboard. There are 8 ways to pick any row on the chessboard. After we ve placed a rook and excluded that row and column, we will have 7 options to place the second rook. Continuing that, there are 8! ways to place 8 rooks on a chessboard so that none can attack another. 6. The figure below shows the plan of a town. The town consists of 4 6 rectangular blocks. Ivy wishes to get from A to B along the shortest route. In how many ways can she take the shortest route? (a) Regardless of her choice of route, how many intersections must Ivy pass (including A but excluding B)? 4+6=10 (b) Draw any one shortest route in the figure above. Mark an intersection belonging to the route with 1 if the segment following the intersection is vertical or with 0 if the segment following the intersection is horizontal. Write down your sequence below. 0101001010 (c) How many 0s and1s arethereinthesequence? 9

There will always be six 0s and four 1s because there are six horizontal blocks and four vertical blocks to cover. (d) What does each distinct sequence of 0s and1s determine? Each sequence determines a possible route from A to B. (e) How many such sequences exist? The number of such sequences is C 10 6 = C 10 4, since this is the same problem as placing six 0s (or four 1s) in ten possible spots. 7. If any town consists of n k rectangular blocks, in how many ways can one get from one corner to the opposite corner? C n+k n = C n+k k 10