Basic Combinatorics. Math 40210, Section 01 Spring Homework 7 due Monday, March 26

Similar documents
Math 155 (Lecture 3)

Section 5.1 The Basics of Counting

(ii) Two-permutations of {a, b, c}. Answer. (B) P (3, 3) = 3! (C) 3! = 6, and there are 6 items in (A). ... Answer.

MATH 304: MIDTERM EXAM SOLUTIONS

Lecture Overview. 2 Permutations and Combinations. n(n 1) (n (k 1)) = n(n 1) (n k + 1) =

Bertrand s Postulate

Combinatorics and Newton s theorem

Induction: Solutions

Let us consider the following problem to warm up towards a more general statement.

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is

Zeros of Polynomials

Problem 4: Evaluate ( k ) by negating (actually un-negating) its upper index. Binomial coefficient

Combinatorially Thinking

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

Permutations, Combinations, and the Binomial Theorem

CS 336. of n 1 objects with order unimportant but repetition allowed.

Basic Counting. Periklis A. Papakonstantinou. York University

3.2 Properties of Division 3.3 Zeros of Polynomials 3.4 Complex and Rational Zeros of Polynomials

( ) GENERATING FUNCTIONS

3.1 Counting Principles

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

Injections, Surjections, and the Pigeonhole Principle

Math 4400/6400 Homework #7 solutions

Seunghee Ye Ma 8: Week 5 Oct 28

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018

The Binomial Theorem

MT5821 Advanced Combinatorics

Homework 1 Solutions. The exercises are from Foundations of Mathematical Analysis by Richard Johnsonbaugh and W.E. Pfaffenberger.

Chapter 7 COMBINATIONS AND PERMUTATIONS. where we have the specific formula for the binomial coefficients:

P1 Chapter 8 :: Binomial Expansion

Properties and Tests of Zeros of Polynomial Functions

1. n! = n. tion. For example, (n+1)! working with factorials. = (n+1) n (n 1) 2 1

NICK DUFRESNE. 1 1 p(x). To determine some formulas for the generating function of the Schröder numbers, r(x) = a(x) =

These Two Weeks. Mathematical Induction Chapter 4 Lecture 10 & Lecture 13. CPRE 310 Discrete Mathematics. Mathematical Induction Problems

Intermediate Math Circles November 4, 2009 Counting II

MATH 324 Summer 2006 Elementary Number Theory Solutions to Assignment 2 Due: Thursday July 27, 2006

Test One (Answer Key)

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime.

Modern Algebra 1 Section 1 Assignment 1. Solution: We have to show that if you knock down any one domino, then it knocks down the one behind it.

Summer High School 2009 Aaron Bertram

Math 475, Problem Set #12: Answers

Induction proofs - practice! SOLUTIONS

Fermat s Little Theorem. mod 13 = 0, = }{{} mod 13 = 0. = a a a }{{} mod 13 = a 12 mod 13 = 1, mod 13 = a 13 mod 13 = a.

Enumerative & Asymptotic Combinatorics

[ 11 ] z of degree 2 as both degree 2 each. The degree of a polynomial in n variables is the maximum of the degrees of its terms.

The Structure of Z p when p is Prime

Langford s Problem. Moti Ben-Ari. Department of Science Teaching. Weizmann Institute of Science.

Math F215: Induction April 7, 2013

Course : Algebraic Combinatorics

USA Mathematical Talent Search Round 3 Solutions Year 27 Academic Year

Riemann Sums y = f (x)

4.3 Growth Rates of Solutions to Recurrences

CS / MCS 401 Homework 3 grader solutions

M A T H F A L L CORRECTION. Algebra I 1 4 / 1 0 / U N I V E R S I T Y O F T O R O N T O

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics

UNIVERSITY OF NORTHERN COLORADO MATHEMATICS CONTEST. First Round For all Colorado Students Grades 7-12 November 3, 2007

Sorting Algorithms. Algorithms Kyuseok Shim SoEECS, SNU.

4755 Mark Scheme June Question Answer Marks Guidance M1* Attempt to find M or 108M -1 M 108 M1 A1 [6] M1 A1

Chapter 1 : Combinatorial Analysis

Addition: Property Name Property Description Examples. a+b = b+a. a+(b+c) = (a+b)+c

PH 425 Quantum Measurement and Spin Winter SPINS Lab 1

Mathematical Induction

An Introduction to Randomized Algorithms

arxiv: v1 [math.co] 23 Mar 2016

A NOTE ON PASCAL S MATRIX. Gi-Sang Cheon, Jin-Soo Kim and Haeng-Won Yoon

Two Topics in Number Theory: Sum of Divisors of the Factorial and a Formula for Primes

Math 609/597: Cryptography 1

Week 5-6: The Binomial Coefficients

Complex Numbers Solutions

CIS Spring 2018 (instructor Val Tannen)

Math 4707 Spring 2018 (Darij Grinberg): homework set 4 page 1

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play.

MIDTERM 3 CALCULUS 2. Monday, December 3, :15 PM to 6:45 PM. Name PRACTICE EXAM SOLUTIONS

Lecture 2. The Lovász Local Lemma

SOLVED EXAMPLES

CHAPTER I: Vector Spaces

Homework 9. (n + 1)! = 1 1

Solutions to Math 347 Practice Problems for the final

CSE 21 Mathematics for

RADICAL EXPRESSION. If a and x are real numbers and n is a positive integer, then x is an. n th root theorems: Example 1 Simplify

The Binomial Theorem

Solutions to Final Exam

Worksheet on Generating Functions

Math 61CM - Solutions to homework 1

Solutions to Problem Set 8

David Vella, Skidmore College.

A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

1 Generating functions for balls in boxes

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS

NAME: ALGEBRA 350 BLOCK 7. Simplifying Radicals Packet PART 1: ROOTS

Recurrence Relations

(a) (b) All real numbers. (c) All real numbers. (d) None. to show the. (a) 3. (b) [ 7, 1) (c) ( 7, 1) (d) At x = 7. (a) (b)

The Binomial Theorem

Bijective Proofs of Gould s and Rothe s Identities

PROPERTIES OF THE POSITIVE INTEGERS

6.4 Binomial Coefficients

Infinite Sequences and Series

DIVISIBILITY PROPERTIES OF GENERALIZED FIBONACCI POLYNOMIALS

Lecture 6 April 10. We now give two identities which are useful for simplifying sums of binomial coefficients.

You may work in pairs or purely individually for this assignment.

Transcription:

Basic Combiatorics Math 40210, Sectio 01 Sprig 2012 Homewor 7 due Moday, March 26 Geeral iformatio: I ecourage you to tal with your colleagues about homewor problems, but your fial write-up must be your ow wor You should preset your fial homewor solutios clearly ad eatly Keep i mid that whe you write a homewor solutio, you are tryig to commuicate the solutio to someoe other tha yourself, so icomplete seteces ad persoal shorthad is ot helpful! Due to mapower issues, I will oly grade selected homewor problems, but I pla to quicly post solutios to all the problems soo after I ve collected them up Readig: Itroductio to Chapter 2 Sectio 21 Sectio 22 Sectio 23 Problems: Sectio 21: 1, 3, 6, 11 Sectio 22: 2, 3, 4, 7(d,e, 8 (just for fallig powers Sectio 23: 2, 7, 9(d,e, 10 (For problem 2, it should be clarified that the steps must always be tae i a positive directio: you ca go from (x, y, z to ay of (x + 1, y, z, (x, y + 1, z or (x, y, z + 1, but ot for example to (x 1, y, z 1

Solutios: 21 1a: 53 choice for iitial character, 63 for all the rest, so (53(63(63(63(63 i total 21 1b: 53 with oe character, 53 63 with two characters, so (53+(53(63+(53(63(63+ (53(63(63(63 + (53(63(63(63(63 i total 21 1c: 53 with oe character, 53 with two characters (first character determies secod, 53 63 with three characters (first character determies third, 53 63 with four characters (first two characters determies third ad fourth, 53 63 63 with five characters (first two characters determie fourth ad fifth, so (53 + (53 + (53(63 + (53(63 + (53(63(63 i total 21 3a: 30! 21 3b: (14(13(12 21 3c: ( ( 15 8 15 8 21 3d: I the wester divisio there are i total 45 ceters from which three must be chose, 60 guards from which four must be chose, ad 75 forwards from which five must be chose, leadig to a total of ( 45 3 ( 60 4 ( 75 5 21 6: I thi that this questio has some ambiguities! Each multiple choice questio has 2 4 16 possible aswers (you ca choose a arbitrary subset of {a, b, c, d} There are 10 such questios, so 16 10 possibilities for the multiple choice part Each T/F questio has 2 possible aswers (oe is required to give a aswer, so 2 8 possibilities for the true/false part I the defiitio sectio, EITHER for each of seve terms, there is a set of 10 defiitios from which oe must be chose, leadig to a total 10 7 possibilities for this part, OR there is a set of seve terms ad 10 defiitios, ad you have to match the terms ito the defiitios, i which case there are 10 7 for this part (assumig that o defiitio wors for multiple terms I do t uderstad the last istructio EITHER it meas that you do the multiple choice, ad the do either the T/F or the defiitios, i which case there are 16 10 (2 8 + 10 7 (or 16 10 (2 8 + 10 7 possibilities i total, OR it meas that you do oe of the multiple choice, the T/F or the defiitios, i which case there are 16 10 +2 8 +10 7 (or 16 10 +2 8 +10 7 possibilities i total 21 11: A which is a positive iteger divisor of N has prime factorizatio p α 1 1 p α 2 2 p αm m, where each α i satisfies 0 α i i So there are i + 1 choices for each α i, leadig to ( 1 + 1( 2 + 1 ( m + 1 distict positive iteger divisors of N 22 2: A algebraic proof is easy: (!!(! ( 1! ( 1!(! 2 ( 1! ( 1!(( 1 ( 1! ( 1 1

For a combiatorial proof, otice that multiplyig through by oe gets ( ( 1 1 This is exactly the committee-chair idetity from Quiz 4 (the olie solutio for which gives a coutig proof 22 3: We have ( ( m!!!(! m!( m!! 1 (! m!( m!! 1 m! ( m!(!! ( m! m!( m! ( m!(! ( ( m m m 22 4: Either he first selects the paitigs to display from the, ad the selects the m paitigs from the to display promietly, leadig to a cout of ( (, m or he first chooses the m paitigs from the to display promietly, the chooses the remaiig m from the remaiig m to also display (but less promietly, leadig to a cout of ( ( m m m Notice that this is a geeralizatio of the committee-chair idetity from Quiz 4 (which is the case m 1 22 7d: This is a tricy oe! Without usig ( (, I ow of o way to approach this (o algebraic or iductive proof, for example Usig ( (, we have ( 2 ( ( The right had-side is coutig the umber of ways of selectig a set of size from a set {a 1,, a, b 1,, b } of size 2, by first decidig how may of the comes from the a i s ( of them, leadig to a cout of (, forcig the remaider to comes from the bi s ( of them, leadig to a cout of ( ( But by a direct cout, we get that this is just 2 (Notice 3

that this is a example of the vadermode covolutio from page 142, with m l i the displayed equatio above (211 I summary: ( 2 ( 2 22 7e: If 0 ad m is egative, the the sum is 0 (it is empty If 0 ad m 0, the the sum is 1 That deals with 0; so from ow o we assume 1 For 1, if m < 0, the the sum is 0 (it is empty For m 0, there s just oe term, ad the sum is 1 For m, the sum is the same as if we stopped at, so it s 0, as we proved i class So the remaiig (ad most iterestig cases are 2 ad 1 m 1 A little experimetatio with Pascal s triagle suggests that i this rage: ( ( 1 ( 1 ( 1 m m m For each fixed 2, we prove this by iductio o m, with the case m 0 trivial For m > 0 we have ( ( ( 1 + ( ( 1 m m m 1 ( ( 1 ( 1 m + ( 1 m 1 m m 1 (( ( 1 ( 1 m m m 1 ( 1 ( 1 m m the secod equality usig the iductio hypothesis ad the last equality usig Pascal s idetity 22 8: I do t ow of a easy way to do this algebraically or by iductio If we allow ourselves to oly prove the result for x, y positive itegers, the there are two easy approaches: First, we ca write ( x y!!(! x y y (! x! (! ( ( x y! So, by vadermode s covolutio, we have ( x y ( ( x y!! 4 ( ( x y! ( x + y

But also So we have the idetity ( x + y (x + y! Here s aother, more combiatorial way: the left had side directly couts the umber of ways of taig elemets from a set of size x+y, say {a 1,, a x, b 1,, b y }, ad arragig the elemets i order Aother way to do this is to select elemets ( ruig from 0 to from {a 1,, a x } ad arrage them i order (x ways to do this, tae elemets from {b 1,, b y } ad arrage them i order (y ( ways to do this, ad the merge the two ordered sets to get a ordered list of elemets from the full set of a s ad b s ( ( ways to do this - just choosig the slots ito which the a s go So the right had side also couts the umber of ways of taig elemets from a set of size x+y ad arragig them i order 23 2: I order to reach (a, b, c from (0, 0, 0 taig steps parallel to (ad i the same direct as (1, 0, 0, (0, 1, 0 ad (0, 0, 1, we eed to tae exactly a + b + c steps a of these steps must be steps of the form (1, 0, 0, b of them must be of the form (0, 1, 0, ad c of them must be of the form (0, 0, 1 So we completely determie a path by partitioig the set {1,, a + b + c} ito three classes, class 1 of size a, class 2 of size b ad class 3 of size c, with i fallig ito class 1 idicatig that the ith step is of the form (1, 0, 0, etc There are exactly ( a+b+c a,b,c such partitios 23 7: The left had side couts the umber of ways of partitioig a set of size m +, say {a 1,, a m } {b 1,, b } ito three classes, the first of size a, the secod of size b ad the third of size c The cout is direct Aother (idirect way to cout the same thig is to first decide how may of the a i s go ito class 1 (say α of them, how may of the a i s go ito class 2 (say β of them, ad how may of the a i s go ito class 3 (say γ of them, the cout the umber of partitios that actually achieve this split (the summad of the right had side couts exactly this: if α of the a i s go ito class 1, the a α of the b i s must, etc, the sum this quatity over all possible choices of α, β ad γ (for which the oly costrait is α + β + γ m, sice all of the a i s must go ito some class This is exactly the right-had side NB: I m ot vouchig for the 100% accuracy of the umbers from here o - please let me ow if you spot errors! 23 9d: We have 6 A s, 2 K s, 2 L s, 2 S s, 1 N, ad 1 U r 3: Total 181 1 choice for word type xxx, each with 1 aagram; 20 choices for word type xxy, each with 3 aagrams; 20 choices for word type xyz, each with 6 aagrams r 4: Total 897 1 choice for word type xxxx, each with 1 aagram; 5 choices for word type xxxy, each with 4 aagrams; 5

6 choices for word type xxyy, each with 6 aagrams; 40 choices for word type xxyz, each with 12 aagrams; 15 choices for word type xyzw, each with 24 aagrams r 14: ( 14 6, 2, 2, 2, 1, 1 23 9e: We have 5 A s, 4 L s, ad 3 W s r 4: Total 80 14! 6!2!2!2! 2 choices for word type xxxx, each with 1 aagram; 6 choices for word type xxxy, each with 4 aagrams; 3 choices for word type xxyy, each with 6 aagrams; 3 choices for word type xxyz, each with 12 aagrams; 0 choices for word type xyzw, each with 24 aagrams r 5: Total 201 1 choice for word type xxxxx, each with 1 aagram; 4 choices for word type xxxxy, each with 5 aagrams; 3 choices for word type xxxyy, each with 10 aagrams; 3 choices for word type xxxyz, each with 20 aagrams; 3 choices for word type xxyyz, each with 30 aagrams; 0 choices for all other word types r 12: ( 12 12! 5, 4, 3 5!4!3! 23 10: The extra words that ca be formed from the letters of Bobo, Mississippi are exactly the words with either oe or two B s First, the cout for words with 2 B s: 0 choices for word type xxxx; 0 choices for word type xxxy; 4 choices for word type xxyy, each with 6 aagrams; 10 choices for word type xxyz, each with 12 aagrams; 0 choices for word type xyzw This gives a cout of 144 Next, the cout for words with 1 B: 0 choices for word type xxxx; 2 choices for word type xxxy, each with 4 aagrams; 0 choices for word type xxyy, each with 6 aagrams; 16 choices for word type xxyz, each with 12 aagrams; 10 choices for word type xyzw, each with 24 aagrams This gives a cout of 440 The grad total, 584, is greater tha 267 6