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

Similar documents
Mat 344F challenge set #2 Solutions

CSE 312: Foundations of Computing II Quiz Section #2: Combinations, Counting Tricks (solutions)

In this section, we will learn to. 1. Use the Multiplication Principle for Events. Cheesecake Factory. Outback Steakhouse. P.F. Chang s.

IB HL Mathematics Homework 2014

Topics to be covered

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

Counting. Chapter 6. With Question/Answer Animations

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

HOMEWORK ASSIGNMENT 5

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?

JUST THE MATHS UNIT NUMBER PROBABILITY 2 (Permutations and combinations) A.J.Hobson

STAT 430/510 Probability Lecture 1: Counting-1

Counting in Algorithms

Latin Squares for Elementary and Middle Grades

Discrete Structures Lecture Permutations and Combinations

With Question/Answer Animations. Chapter 6

Finite Math Section 6_4 Solutions and Hints

Section Summary. Permutations Combinations Combinatorial Proofs

Math Fall 2011 Exam 2 Solutions - November 1, 2011

Modular arithmetic Math 2320

Name: Spring P. Walston/A. Moore. Topic worksheet # assigned #completed Teacher s Signature Tree Diagrams FCP

Case 1: If Denver is the first city visited, then the outcome looks like: ( D ).

Compound Probability. Set Theory. Basic Definitions

CSE 312: Foundations of Computing II Quiz Section #1: Counting (solutions)

Math 3338: Probability (Fall 2006)

COUNTING AND PROBABILITY

Math 475, Problem Set #3: Solutions

Solutions to Exercises Chapter 6: Latin squares and SDRs

50 Counting Questions

Permutations and Combinations

DISCRETE STRUCTURES COUNTING

CIS 2033 Lecture 6, Spring 2017

MANIPULATIVE MATHEMATICS FOR STUDENTS

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

Math236 Discrete Maths with Applications

Solutions for the Practice Final

6.2 Modular Arithmetic

Staircase Rook Polynomials and Cayley s Game of Mousetrap

Chapter 3 PRINCIPLE OF INCLUSION AND EXCLUSION

Sec$on Summary. Permutations Combinations Combinatorial Proofs

Principle of Inclusion-Exclusion Notes

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

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

Chapter 6.1. Cycles in Permutations

PERMUTATIONS AND COMBINATIONS

PERMUTATIONS AND COMBINATIONS

Calculators will not be permitted on the exam. The numbers on the exam will be suitable for calculating by hand.

European Journal of Combinatorics. Staircase rook polynomials and Cayley s game of Mousetrap

5. (1-25 M) How many ways can 4 women and 4 men be seated around a circular table so that no two women are seated next to each other.

Solutions to the European Kangaroo Pink Paper

Twenty-sixth Annual UNC Math Contest First Round Fall, 2017

Simple Counting Problems

MAT 409 Semester Exam: 80 points

Permutations and Combinations Section

Permutations & Combinations

commands Homework D1 Q.1.

Final Exam, Math 6105

Unit 5 Radical Functions & Combinatorics

Discrete Mathematics. Spring 2017

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

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions)

CPCS 222 Discrete Structures I Counting

Intermediate Mathematics League of Eastern Massachusetts

6. In how many different ways can you answer 10 multiple-choice questions if each question has five choices?

Modular Arithmetic. Kieran Cooney - February 18, 2016

Distribution of Aces Among Dealt Hands

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

The Four Numbers Game

Problem Set 8 Solutions R Y G R R G

Introduction to Counting and Probability

THE PIGEONHOLE PRINCIPLE. MARK FLANAGAN School of Electrical and Electronic Engineering University College Dublin

Solutions to Problem Set 6 - Fall 2008 Due Tuesday, Oct. 21 at 1:00

BMT 2018 Combinatorics Test Solutions March 18, 2018

5.8 Problems (last update 30 May 2018)

About Permutations and Combinations: Examples

Mathematics. Programming

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 24 February 2012

Permutations and Combinations. Quantitative Aptitude & Business Statistics

Jim and Nim. Japheth Wood New York Math Circle. August 6, 2011

Combinatorics: The Fine Art of Counting

Math 166: Topics in Contemporary Mathematics II

3 The multiplication rule/miscellaneous counting problems

Lecture 18 - Counting

Classwork Example 1: Exploring Subtraction with the Integer Game

CMPSCI 250: Introduction to Computation. Lecture #14: The Chinese Remainder Theorem David Mix Barrington 4 October 2013

Fundamental. If one event can occur m ways and another event can occur n ways, then the number of ways both events can occur is:.

6.4 Permutations and Combinations

Permutation group and determinants. (Dated: September 19, 2018)

Combinatorics problems

Math 365 Wednesday 2/20/19 Section 6.1: Basic counting

Math 454 Summer 2005 Due Wednesday 7/13/05 Homework #2. Counting problems:

An Elementary Solution to the Ménage Problem

MA 524 Midterm Solutions October 16, 2018

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

Solutions for Exam I, Math 10120, Fall 2016

Solutions to the 2004 CMO written March 31, 2004

Review I. October 14, 2008

16 Alternating Groups

Unit Nine Precalculus Practice Test Probability & Statistics. Name: Period: Date: NON-CALCULATOR SECTION

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

Transcription:

MATH 51 Fall 2009 Homework 1 Due: Wednesday, September 0 Problem 1. How many different letter arrangements can be made from the letters BOOKKEEPER. This is analogous to one of the problems presented in class, its also very similar to the flag-code problem. The solution is as follows. If each of the repeated letters was distinct B 1 O 1 O 2 K 1 K 2 E 1 E 2 P 1 E R 1 then there would be 10! ways to arrange these letters. However we need to divide by 2!2!! since each of the! permutations of the E s, the 2! permutations of the O s and 2! of the K s that give us the same word. Thus the total number of words is: 10!!2!2! =. We also can think of this as 10 objects with 1 of type B, of type E, 2 of type K, and 2 of type 0, and 1 of type R. As verified in class the number of distinct orderings from this set is exactly the same as the number above. We also called this number 10. 1,, 2, 2, 1 Problem 2. There are 10 students at a school and three dormetories A, B, and C with capacities 0, 5, and 5 respectively. (a) How many ways are there to fill up the dormitories? We have to split 10 distinct students into three distinct subgroups (dormitories A, B and C) with fixed sizes (0, 5, and 5 respectively). This is exactly counted by: 10 = 10! 0, 5, 5 0!5!5! (b) Suppose that of the 10 students, 0 are men and 70 are women and that A is an all men s dorm, B is an all women s dorm and C is co-ed. How many ways are there to fill up the dormitories? 1

0 To count this, first choose the 0 men for dorm A from the 0 possible men by. ( 0 ) 70 Second choose the 5 women from the 70 women, that will go into dorm B by. 5 The remainder will then be in dorm C. By the basic principle of counting the total possible placings of the students is the product: 0 70 0!70! = 0 5 0!0!5!5!. Problem. In how many ways can ten people be seated in a row if: (a) there are no restrictions on the seating arrangement? This is a simple permutation of 10 distinct objects. Thus the solution is 10! =. (b) persons A and B must sit next to each other? If A and B must sit together we treat them as one person and order them with the remaining 8 people in 9! different ways. Then for each of those orderings we either have A first or B first or 2 possible arrangements. By the basic counting principle we have a total of 2 9! = orderings. (c) there are 5 men and 5 women, and no 2 men or 2 women can sit next to each other? First choose if they sit mwmwmwmwmw or wmwmwmwmwm. Once this is chosen then order the men in their seats. Since there are five of them there are 5! arrangements. Similarly the women can then be seated in 5! different ways. Thus the total number of arrangements is 2 5! 5! =. (d) there are 5 men and they must sit next to each other? 2

If the 5 men must sit next to each other then if the seates are ordered #1 #10 then the first man can be in seat #1 #. Choose this seat ( ways). Then order the 5 men (5!). Then order the 5 women in the remaining seats (5!). Thus the total number of orderings is 5! 5! =. (e) there are 5 married couples, and each couple must sit together? To count this treat each couple as an object and order them in 5! ways. Then once their two seats are chosen there are 2 ways the first couple can sit (mw or wm). Then there are 2 ways in which the second couple can sit and so forth. Giving a total of 5!2 5 = arrangements of the people. Problem 4. properties? How many integers greater then 5400 have both of the following (a) The digits are distinct. (b) The digits 2 and 7 do not occur. To do this problem we split it into cases. First consider the numbers with 8 digits. in this case we must order the digits 1,, 4, 5,, 8, 9, and 0. However when we pick the digit for the first entry we only have 7 choices since 0 cannot be the first digit. Then once we have chosen that digit we have to order the remaining 7 digits in any of the 7! possible permutations. Thus the total number is 7 7! = 5280. In a similar fashion there are 7 7! = 5280 seven digit numbers, 7 7 5 4 = 1740 six digit numbers of this type and 7 7 5 4 = 5880 five digit numbers. The four digit numbers must be handled in cases since they must be bigger then 5400. First count the numbers that are 000 or bigger. To do this there are choices for the first digit (,8, or 9) then 7 choices for the second, for the third, and 5 for the fourth position, giving 7 5 = 0 numbers of this type. Secondly consider the numbers that begin with a 5. Then there are four choices for the second digit (4,, 8, or 9 ) that can be picked for the second digit. Then the third digit must be chosen from the remaining digits and then there are 5 choices for the fourth digit Giving 4 = 120 numbers of this type. Thus the total number of integers satisfying conditions (a) and (b) is 120 + 0 + 5880 + 1740 + 5280 + 5280 = 9480.

Problem 5. (a) Suppose that Michigan table tennis team of 1 players splits into pairs for practicing. How many different splittings are possible? One way to think of this is that you have to take 1 people and envision placing two at each of 8 tables numbered 1-8. This is splitting 1 people into 8 distinct groups of 2 people each. The number of ways to do this is: ( ) 1 = 2, 2, 2, 2, 2, 2, 2, 2 1! 2!2!2!2!2!2!2!2!. However we have over counted since if Ms A and Mr. B are at table one or at table 2 makes no difference. Thus we must divide by 8!. Giving pairings. (b) Suppose that Michigan table tennis team of 12 players competes with MSU team of 12 players. How many different splittings are possible (each pair contains a player of each team)? This is actually easy to count because we envision the Michigan players lined up. Then we start with the first one in line and pick a MSU player to be paired with him. There are 12 ways to do this. Next we go to the second Michigan player and we have 11 possible choices of MSU players to play him, and so on. So a total of 12! possible pairing are possible. Problem. A classroom has 2 rows of 8 seats each. There are 14 students, 5 of whom always sit in the front row and 4 of whom always sit in the back row. In how many ways can the students be seated? Consider the probblem by breaking it into pieces. First suppose the back-row sitters walk into the room. Then there are 8 choices of where the first one to walk in can sit. 7 for the second, for the third and 5 for the fourth. Next the front-row-sitters walk in. There are 8 choices for the first 7 for the second,...4 for the 5th. Now the five remaining students walk in one at a time. There are 7 seats remaining and the first of these students that walks in has 7 choices of where to sit, the second has six choices,... the fifth has choices of where to sit. Viewing the problem in this way tells us that the answer should be: (8 7 5)(8 7 5 4 )(7 5 4 ) = 28449792000 4

Problem 7. From a group of 8 women and men a committee consisting of men and women is to be formed. How many dierent committees are possible if: (a) 2 of the men (Mr. X and Mr. Y) refuse to serve together; We count this by first considering all the possible committees with out any restriction and then subtracting the number of committees with Mr. A and Mr. B. The total number of ways to choose men from is and the total ways of choosing 8 women from 8 is. Thus the total number of committees with men and 8 women is the product = 1120. Now if we count the number of committees that have both ( Mr. ) A and Mr. B then we must choose the one remaining man from 4 8 the other 4 or and then choose the women from 8. Giving a total of 1 8 4 = 224. Thus subtracting the two gives 1120 224 = 89. (Note one could do this problem by considering the possible committees with neither A nor B and then as a separate case consider the committees with exactly one of A or B and then add the cases together) (b) 2 of the women (Ms. A and Ms. B) refuse to serve together; This proceeds in an analogous fashion to part (a) and we subtract the committees with both Ms. A and Ms. B from the total (1120 as counted in part (a)). The number of ( ways ) that Ms. A and Ms B can serve together is by first choosing the three men and then choosing one more woman from the other or =. Thus the 1 total number of committees with both Ms. A and Ms. B is = 120. Thus, the total number of committees when they DO NOT serve together is 1120 120 = 1000. (c) 1 man (Mr. X) and 1 woman (Ms. A) refuse to serve together? 5

Again we proceed in a similar fashion and count the committees when Mr. X and Ms. A serve together. To do this we first choose the 2 other men from the remaining 5, 5 7 or = 10 and then choose the other 2 women from the remaining 7 or = 21. 2 2 Thus the total number of ways in which they can serve together is the product of these two numbers of 210. Now the total number of committees in which they do not serve together is our total number of committees with no restrictions (1120) minus the committees where they do serve together (210). Thus the answer is 910. Problem 8. Let r, n, and m be positive integers, and let r < n and r < m. Then the following identity holds: n + m = r r i=0 n m. i r i Prove it combinatorially by considering a group of n men and m women, and determining (in two different ways) how many groups of size r are possible. To prove this we follow the suggestion and consider a group of n men and m women, and count the number of committees of r people we can choose from the total (n+m) people. Clearly one way to count this is the left hand side (LHS) of the equation we wish to verify. Now consider counting the same thing but breaking it into cases were we consider the committees that have no men, exactly 1 man, exactly 2 men,..., all r are men. To do this consider the arbitrary case where there are i men in the( committee ) and r-i n women. Thus we must choose the i men from the total n men or and we must i m choose the r-i women from the total m women or Thus the total number of r i committees with r people with i of them men and r-i of them women is the product, n m. Now since we want to count all the possible committees we must add i r i all the cases where i = 0, i = 1,...i = r. This is exactly the right hand side of the equation we wish to verify. Since both the left and the right hand side count the same thing, they must be equal. Problem 9. In the expansion of (z + 8y) 7, what is the coefficient of z 4 y?

Recall the binomial theorem: (a + b) n = n i=0 n a i b n i. i Using this, (z + 8y) 7 = 7 i=0 7 z i (8y) 7 i. i If I want the coefficient of z 4 y then i must consider the term 7 coefficient of that term is (8) 4 = 17920 7 z 4 4 (8y). Thus the Problem 10. There are 12 people to attend a dinner party and sit at a round table. (a) How many ways can these 12 people be arranged at the table? ( supposing that any seating arangement is equivalent to another if they are rotations of each other) Since any arrangement of the people at the table can be rotated so that a certain distinguished person (call him Bob) is sitting at the head of the table. We can count just the arrangements where Bob is sitting at the top of the table. To do this we order the remaining 11 people around the table in 11! ways. (b) Suppose there are men and women, How many seating arrangements are there if no two men are to sit together. In the same fashion we suppose Bob is sitting at the top. Then the person sitting to he left must be a woman and there are choices for that seat. Then we go the her left and there must be a man (other then bob so there are 5 choices for this seat. We continue around the table giving a total of! 5! = 8400 arrangements around the table. (c) How many arrangements are there if the host and the hostess are to sit opposite eachother, but the rest of the guests may sit anywhere? 7

Again we proceed in the same fashion and suppose that the Host is at 12 o clock and that the hostess is seated at o clock. Thus we must just order the remaining 10 people and there are 10! = 28800 ways to do so. Problem 11 How many integer solutions of: x 1 + x 2 + x + x 4 = 0 satisfy, x 1 2, x 2 0, x 5, and x 4 8? To solve this problem we re-scale the variables by letting y 1 = x 1 2, y 2 = x 2, y = x + 5, and y 4 = x 4 8. Solving for each x i and substituting into the equation above we obtain: (y 1 + 2) + y 2 + (y 5) + (y 4 + 8) = 0, where each y i is now greater then or equal to 0. Manipulating the constants gives us: y 1 + y 2 + y + y 4 = 25. As per definition in class, the number of integer solutions to this equation is given by: 25 + 4 1 28 28 27 2 = = = 27. 4 1! 8