Math 378 Spring 2011 Assignment 4 Solutions

Similar documents
Introduction to Combinatorial Mathematics

Some Review Problems for Exam 3: Solutions

Basic Combinatorics. Math 40210, Section 01 Fall Homework 8 Solutions

Some Review Problems for Exam 3: Solutions

Discrete Math, Spring Solutions to Problems V

Notes. Combinatorics. Combinatorics II. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

Indistinguishable objects in indistinguishable boxes

Some Review Problems for Exam 1: Solutions

Cool Results on Primes

Fall 2017 Test II review problems

CHINO VALLEY UNIFIED SCHOOL DISTRICT INSTRUCTIONAL GUIDE ALGEBRA II

Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula

2030 LECTURES. R. Craigen. Inclusion/Exclusion and Relations

Divisibility = 16, = 9, = 2, = 5. (Negative!)

1. How many labeled trees are there on n vertices such that all odd numbered vertices are leaves?

Math-2 Section 1-1. Number Systems

Review problems solutions

UC Berkeley Department of Electrical Engineering and Computer Science. EE 126: Probablity and Random Processes. Problem Set 3: Solutions Fall 2007

Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

PRIMES Math Problem Set

The Advantage Testing Foundation Olympiad Solutions

Math 1 Variable Manipulation Part 4 Student

Combinations and Probabilities

The Inclusion Exclusion Principle

2011 Olympiad Solutions

1 Basic Combinatorics

MATHEMATICAL INDUCTION

Week 15-16: Combinatorial Design

HW2 Solutions Problem 1: 2.22 Find the sign and inverse of the permutation shown in the book (and below).

Vectors Picturing vectors Properties of vectors Linear combination Span. Vectors. Math 4A Scharlemann. 9 January /31

2 BAMO 2015 Problems and Solutions February 26, 2015

CDM Combinatorial Principles

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

Chapter 10. Infinite Sequences and Series

MATH 61-02: PRACTICE PROBLEMS FOR FINAL EXAM

. As the binomial coefficients are integers we have that. 2 n(n 1).

Lecture 3: Miscellaneous Techniques

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions

Lecture 7 Feb 4, 14. Sections 1.7 and 1.8 Some problems from Sec 1.8

Deep Algebra Projects: Algebra 1 / Algebra 2 Go with the Flow

Mathematical Induction. EECS 203: Discrete Mathematics Lecture 11 Spring

Lesson 3-2: Solving Linear Systems Algebraically

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 8

Research Methods in Mathematics Homework 4 solutions

Chapter 1 Review of Equations and Inequalities

Math-2A Lesson 2-1. Number Systems

The Pigeonhole Principle

Advanced Counting Techniques

Math 120. x x 4 x. . In this problem, we are combining fractions. To do this, we must have

BRITISH COLUMBIA SECONDARY SCHOOL MATHEMATICS CONTEST, 2017 Junior Preliminary Problems & Solutions

Intermediate Math Circles March 6, 2013 Number Theory I

Mathathon Round 1 (2 points each)

Rational Numbers. a) 5 is a rational number TRUE FALSE. is a rational number TRUE FALSE

USA Aime 1983: Problems & Solutions 1

SOUTH AFRICAN TERTIARY MATHEMATICS OLYMPIAD

Counting in the Twilight Zone

BMT 2018 Team Test Solutions March 18, 2018

Advanced Counting Techniques. Chapter 8

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

3 Fields, Elementary Matrices and Calculating Inverses

x y B =. v u Note that the determinant of B is xu + yv = 1. Thus B is invertible, with inverse u y v x On the other hand, d BA = va + ub 2

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

Combinations. April 12, 2006

Combinatorics. But there are some standard techniques. That s what we ll be studying.

Solving and Graphing Inequalities

First Midterm Examination

MATH STUDENT BOOK. 12th Grade Unit 9

Intermediate Math Circles February 22, 2012 Contest Preparation II

1. When applied to an affected person, the test comes up positive in 90% of cases, and negative in 10% (these are called false negatives ).

Exercises. Template for Proofs by Mathematical Induction

Intermediate Math Circles February 14, 2018 Contest Prep: Number Theory

Probability Exercises. Problem 1.

Apprentice Program: Linear Algebra

Conjectures and proof. Book page 24-30

2.1 Identifying Patterns

Summary of basic probability theory Math 218, Mathematical Statistics D Joyce, Spring 2016

10x + y = xy. y = 10x x 1 > 10,

Rook Polynomials In Higher Dimensions

Problem 1: Suppose A, B, C and D are finite sets such that A B = C D and C = D. Prove or disprove: A = B.

Multiple comparisons - subsequent inferences for two-way ANOVA

SMT 2013 Power Round Solutions February 2, 2013

SECTION 2.3: LONG AND SYNTHETIC POLYNOMIAL DIVISION

MATH 402 : 2017 page 1 of 6

MATH 3012 N Solutions to Review for Midterm 2

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Homework 7 Solutions, Math 55

Math 1 Variable Manipulation Part 5 Absolute Value & Inequalities

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Note 7

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

MATH240: Linear Algebra Review for exam #1 6/10/2015 Page 1

Consider an infinite row of dominoes, labeled by 1, 2, 3,, where each domino is standing up. What should one do to knock over all dominoes?

The Secret Santa Problem Continues

Restricted and Unrestricted Coverings of Complete Bipartite Graphs with Hexagons

Example 1 Example 2 Example 3. Example 4 Example 5

Homework 3 Solutions, Math 55

2 Exercises 1. The following represent graphs of functions from the real numbers R to R. Decide which are one-to-one, which are onto, which are neithe

BmMT 2017 Individual Round Solutions November 19, 2017

Organization Team Team ID#

besides your solutions of these problems. 1 1 We note, however, that there will be many factors in the admission decision

Topology Hmwk 6 All problems are from Allen Hatcher Algebraic Topology (online) ch 2

Transcription:

Math 3 Spring 2011 Assignment 4 Solutions Brualdi 6.2. The properties are P 1 : is divisible by 4. P 2 : is divisible by 6. P 3 : is divisible by. P 4 : is divisible by 10. Preparing to use inclusion-exclusion, we observe that A 1 A 2 = = 33 12 1000 A 1 = = 2500 A 1 A 3 = = 35 A 1 A 2 A 3 = = 119 4 2 4 1000 A 2 = = 1666 A 1 A 4 = = 500 A 1 A 2 A 4 = = 166 6 20 60 1000 A 3 = = 142 A 2 A 3 = = 23 A 1 A 3 A 4 = = 1 42 140 1000 A 4 = = 1000 A 2 A 4 = = 333 A 2 A 3 A 4 = = 4 10 30 210 A 3 A 4 = = 142 0 A 1 A 2 A 3 A 4 = = 23 420 Thus, by inclusion-exclusion, the number of values between 1 and 10,000 inclusive A1 A 2 A 3 A 4 = (2500 + 1666 + 142 + 1000) + (33 + 35 + 500 + 23 + 333 + 142) = 5429. (119 + 166 + 1 + 4) + 23

Brualdi 6.3. The properties are P 1 : is a perfect square. P 2 : is a perfect cube. Preparing for inclusion-exclusion, we observe that 6 A 1 = = 100 A 1 A 2 = = 4 3 A 2 = = 21 Thus, by inclusion exclusion, we have A1 A 2 = (100 + 21) + 4 = 93. Brualdi 6.. The properties are P 1 : x 1 9. P 2 : x 2 9. P 3 : x 3 9. P 4 : x 4 9. Preparing for inclusion-exclusion we note that A 1 = A 2 = A 3 = A 4. Also, A 1 represents the number of nonnegative integer solutions of x + x 2 + x 3 + x 4 = 5. This number is ( 5) = 56. Additionally, no more than one property can hold for a given solution to x 1 + x 2 + x 3 + x 4 = 14 in nonnegative integers. Thus, by inclusion-exclusion, we have ( ) A1 A 2 A 3 A 4 1 = 4 14 = 60 4 56 = 456. 5

Brualdi 6.9. To account for the lower bounds we realize that this is equivalent to the number of nonnegative integer solutions to y 1 + y 2 + y 3 + y 4 = 13 where y 1 5, y 2, y 3 4, y 4 4. The properties are P 1 : y 1 6. P 2 : y 2. P 3 : y 3 5. P 4 : y 4 5. Preparing for inclusion exclusion, we observe that ( ) 10 A 1 = A 2 = 5 ( ) 11 A 3 = ( ) 11 A 4 = Thus, by inclusion-exclusion, we have ( ) (( ) ( ) 16 10 + + 2 13 5 A 1 A 2 = 0 ( ) 5 A 1 A 3 = 2 ( ) 5 A 1 A 4 = 2 ( ) 3 A 2 A 3 = 0 ( ) 3 A 2 A 4 = 0 ( ) 6 A 3 A 4 = 3 ( )) ( 11 + 2 ( ) 5 + 2 2 A i A j A k = 0 A 1 A 2 A 3 A 4 = 0 ( ) 3 + 0 ( )) 6 = 96. 3 Brualdi 6.10. Note that this is the same as finding the number of nonnegative integer solutions of a 1 + a 2 + + a k = r where a i n i. Let P i be that a i n i + 1. The existence of an r combination means r n 1 + n 2 + + n k. If a solution satisfies all k properties, a 1 + a 2 + + a k (n 1 + 1) + (n 2 + 1) + + (n k + 1) = n 1 + n 2 + + n k + k > r. Thus, the number of solutions satisfying all k properties is 0 = A 1 A 2 A k =.

Brualdi 6.12. Choose the 4 elements to move: ( ( ) 4) ways. Then derange those elements: D4 ways. This makes D 4 ways total. 4 Brualdi 6.14. By the above argument, ( ) n D n k. k Brualdi 6.15. (a) D. (b) The only thing not allowed is that no gentleman receives his own hat, so! D. (c) As ( in )(b), except we also must eliminate when only one receives his own hat, so! D D 6. 1 Brualdi 6.16. The left hand side counts the number of permutations of {1, 2,..., n in the obvious way. The right hand side counts the number of permutations of {1, 2,..., n by looking at how many numbers are in the same position as their value. Summing over all possible numbers of positions gives the total number of permutations of {1, 2,..., n. Brualdi 6.21. (By Induction) Note that D 1 = 0 and D 2 = 1 satisfying our base cases for induction. Now assume that D n is even n is odd for k < n. Method 1: Consider D k+1 = k(d k 2 + D k 1 ). If k + 1 is odd, then k is even so D k+1 is even. If k + 1 is even, then k is odd. By our inductive hypothesis, D k 2 is odd and D k 1 is even. This means the sum D k 2 + D k 1 is odd. Also, we know that an odd number times an odd number is odd, so D k+1 is odd.

Method 2: n! n! Note that is even n is even and for 0 k < n 1 is always even (since (n 1)! k! n and n 1 are factors and one must be even). Since D n = n! n! 1 + n! 2! n! 3! + + ( 1)n 1 n! (n 1)! + ( 1)n We know that all the values are even except possibly the last two. If n is odd, then we have precisely two odd numbers in the sum, so D n is even. If n is even, then everything is even except ±1, so D n is odd. Method 3: Consider D n = nd n 1 + ( 1) n. Brualdi 6.29. It is easiest to think of this as giving out tickets: put the people in a line and give out tickets labeled with the stop number. This is exactly a 10-permutation using the numbers 1 through 6. We are interested when the permutation has at least one of each value. The properties for inclusion-exclusion would be: P 1 : No one gets out at stop 1. P 2 : No one gets out at stop 2. P 3 : No one gets out at stop 3. P 4 : No one gets out at stop 4. P 5 : No one gets out at stop 5. P 6 : No one gets out at stop 6. Setting the properties this way shows that the set intersections in inclusion-exclusion will be symmetric (ie. no one getting out at stops 1 and 2 will be the same number as stops 3 and 5). Inclusion-exclusion is as follows: A i = 5 10 A i A j = 4 10 A i A j A k = 3 10 A i A j A k A l = 2 10 A i A j A k A l A m = 1 10 A 1 A 2 A 3 A 4 A 5 A 6 = 0 ( ) ( ) A1 A 2 A 3 A 4 A 5 A 6 6 6 = 6 10 5 10 + 4 10 1 2 ( ) 6 3 10 + 3 ( ) 6 2 10 4 ( ) 6 1 10. 5

Extra Problem #1. (a). Number the girls 1 through and assume they face in a counterclockwise direction. The forbidden arrangements have one or more of 1 looking at 2, 2 looking at 3,..., or looking at 1. Consider the following properties: P 12 : The rearrangement has 1 looking at 2. P 23 : The rearrangement has 2 looking at 3.. P 1 : The rearrangement has looking at 1. There is an easy and a hard way to think about the rest: Hard Way: Since the animal seats are distinct, there are! =! arrangements total. { Note that A 12 is equivalent to the number of arrangements of 12, 3, 4, 5, 6,,, so 6!. This is because we look at a circular permutation of these objects (6!) but the starting point matters, so there are of each. This is similar for all A ij. Let s think about the possible { two way intersections. Consider A 12 A 34. This is the number of arrangements of 12, 34, 5, 6,, so a similar argument gives 5!. If we { consider A 12 A 23, we have the number of arrangements of 123, 4, 5, 6,, or 5! also. Now for three way intersections. The types of possibilities are as follows: { Consider A 12 A 34 A 56. This is the number of arrangements of 12, 34, 56,, {. This is 4!. Consider A 12 A 23 45. This is the number of arrangements of 123, 45, 6,, { which is 4!. Consider A 12 A 23 A 34. This is the number of arrangements of 1234, 5, 6,, which is 4!. Continue ad nauseam. OR Easy Way: The easier way to think about this is that for each property satisfied, we reduce the number of objects in the circular permutation by one. Thus we have that if we want the number of permutations satisfying k properties, we find the number of circular permutations of k objects, ( ( k 1)! ways) and then account for the different starting positions when finding the arrangements. This doesn t work for k =, but to satisfy all properties there is only one circular permutation, but starting position matters so there are arrangements.

Either way we have (by inclusion-exclusion), ( ) ( ) ( ) ( ) =! 6! + 5! 4! + 3! 1 2 3 4 ( ) ( ) 0! + 1 [ ( ) ( ) ( ) ( ) ( ) =! 6! + 5! 4! + 3! 2! + 1 2 3 4 5 2! + 5 1! 6 Note the similarity between these and Q n (in particular Q and Q ). 1! 6 0! + ] 1 ( ) (b). If all the seats are identical, we divide ( ) by so we get: ( ) ( ) ( ) Number of rearrangements =! 6! + 5! 4! 1 2 3 ( ) ( ) ( ) + 3! 2! + 1! 4 5 6 0! + 1. (c). If the girls are facing in a line, this is exactly Q as discussed in class. (d). Q n.

Extra Problem #2. (a). This is a 6 6 board. We can regard the non-attacking rooks as permutations of {1,..., 6 where the ith position indicates the row of the rook in column i for i = 1,..., 6. The forbidden spots relate to the following properties: P 11 : There is a 1 in position 1 of the permutation. (ie. a rook is placed at (1,1)). P 12 : There is a 1 in position 2 of the permutation. (ie. a rook is placed at (1,2)). P 23 : There is a 2 in position 3 of the permutation. P 24 : There is a 2 in position 4 of the permutation. P 35 : There is a 3 in position 5 of the permutation. P 36 : There is a 3 in position 6 of the permutation. Further, note that for i, k, m distinct, j = 1, 2, l = 3, 4, n = 5, 6: By inclusion-exclusion, we have A ij = 5! A ij A kl = 4! A ij A kl A mn = 3! Number of ways to place the rooks = 6! 6 5! + = 240. ( 3 2) 2 2 2 {{{{ 3 12 4! 3! (b). This is an board and we want permutations where 1 is not in position 1, 2 is not be in position 2,..., is not be in position. This is precisely D. (c). The probability of (b) happening is D! D n Interestingly, lim = 1 x n! e Extra Problem #3. = 1433 40320 =.361944. =.3694411... Inclusion-exclusion states that we would take the pairwise intersections and subtract the three way intersections. This means that would like to maximize the pairwise intersections while minimizing the three way intersections. Let the figures be C 1, C 2 and T. The maximum

number of intersections for these types of figures (since C 1 C 2 is not allowed to be since the circles are distinguishable) is given below. max( C 1 C 2 ) = 2 max( C i T ) = 6, for i = 1, 2. If we can realize these maxima while keeping C 1 C 2 T = 0, then we have clearly found the maximum number of points belonging to at least two of these figures which would be 6 + 6 + 2 = 14. This can be done as in the picture below.