The Pigeonhole Principle 3.4 Binomial Coefficients

Similar documents
Ch 3.4 Binomial Coefficients. Pascal's Identit y and Triangle. Chapter 3.2 & 3.4. South China University of Technology

ICS141: Discrete Mathematics for Computer Science I

MATH Midterm Solutions

= 5! 3! 2! = 5! 3! (5 3)!. In general, the number of different groups of r items out of n items (when the order is ignored) is given by n!

Section 5.1 The Basics of Counting

4. PERMUTATIONS AND COMBINATIONS

The number of r element subsets of a set with n r elements

Consider unordered sample of size r. This sample can be used to make r! Ordered samples (r! permutations). unordered sample

CHAPTER 5 : SERIES. 5.2 The Sum of a Series Sum of Power of n Positive Integers Sum of Series of Partial Fraction Difference Method

BINOMIAL THEOREM An expression consisting of two terms, connected by + or sign is called a

DANIEL YAQUBI, MADJID MIRZAVAZIRI AND YASIN SAEEDNEZHAD

By the end of this section you will be able to prove the Chinese Remainder Theorem apply this theorem to solve simultaneous linear congruences

BINOMIAL THEOREM NCERT An expression consisting of two terms, connected by + or sign is called a

ON EUCLID S AND EULER S PROOF THAT THE NUMBER OF PRIMES IS INFINITE AND SOME APPLICATIONS

Counting Functions and Subsets

a) The average (mean) of the two fractions is halfway between them: b) The answer is yes. Assume without loss of generality that p < r.

MATH /19: problems for supervision in week 08 SOLUTIONS

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

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

9.7 Pascal s Formula and the Binomial Theorem

Using Counting Techniques to Determine Probabilities

Lecture 6: October 16, 2017

Math 7409 Homework 2 Fall from which we can calculate the cycle index of the action of S 5 on pairs of vertices as

Mapping Radius of Regular Function and Center of Convex Region. Duan Wenxi

Greatest term (numerically) in the expansion of (1 + x) Method 1 Let T

( ) 1 Comparison Functions. α is strictly increasing since ( r) ( r ) α = for any positive real number c. = 0. It is said to belong to

Two-Toned Tilings and Compositions of Integers

SOME ARITHMETIC PROPERTIES OF OVERPARTITION K -TUPLES

Using Difference Equations to Generalize Results for Periodic Nested Radicals

( ) ( ) ( ) ( ) Solved Examples. JEE Main/Boards = The total number of terms in the expansion are 8.

Multivector Functions

EXAMPLES. Leader in CBSE Coaching. Solutions of BINOMIAL THEOREM A.V.T.E. by AVTE (avte.in) Class XI

Progression. CATsyllabus.com. CATsyllabus.com. Sequence & Series. Arithmetic Progression (A.P.) n th term of an A.P.

Sums of Involving the Harmonic Numbers and the Binomial Coefficients

4. PERMUTATIONS AND COMBINATIONS Quick Review

EVALUATION OF SUMS INVOLVING GAUSSIAN q-binomial COEFFICIENTS WITH RATIONAL WEIGHT FUNCTIONS

FIXED POINT AND HYERS-ULAM-RASSIAS STABILITY OF A QUADRATIC FUNCTIONAL EQUATION IN BANACH SPACES

Auchmuty High School Mathematics Department Sequences & Series Notes Teacher Version

Generalized Fibonacci-Lucas Sequence

Lecture 3 : Concentration and Correlation

Math 166 Week-in-Review - S. Nite 11/10/2012 Page 1 of 5 WIR #9 = 1+ r eff. , where r. is the effective interest rate, r is the annual

A NOTE ON DOMINATION PARAMETERS IN RANDOM GRAPHS

Math 155 (Lecture 3)

Lower Bounds for Cover-Free Families

Disjoint Sets { 9} { 1} { 11} Disjoint Sets (cont) Operations. Disjoint Sets (cont) Disjoint Sets (cont) n elements

Week 5-6: The Binomial Coefficients

Advanced Physical Geodesy

Chapter 1 : Combinatorial Analysis

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

Einstein Classes, Unit No. 102, 103, Vardhman Ring Road Plaza, Vikas Puri Extn., Outer Ring Road New Delhi , Ph. : ,

Conditional Convergence of Infinite Products

MATHS FOR ENGINEERS ALGEBRA TUTORIAL 8 MATHEMATICAL PROGRESSIONS AND SERIES

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

On randomly generated non-trivially intersecting hypergraphs

9.1 The multiplicative group of a finite field. Theorem 9.1. The multiplicative group F of a finite field is cyclic.

On a Problem of Littlewood

SHIFTED HARMONIC SUMS OF ORDER TWO

Chapter 3: Theory of Modular Arithmetic 38

On composite conformal mapping of an annulus to a plane with two holes

ELEMENTARY AND COMPOUND EVENTS PROBABILITY

Some Integral Mean Estimates for Polynomials

ANSWERS, HINTS & SOLUTIONS HALF COURSE TEST VII (Main)

Permutations and Combinations

Introduction To Discrete Mathematics

Injections, Surjections, and the Pigeonhole Principle

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

Permutations & Combinations. Dr Patrick Chan. Multiplication / Addition Principle Inclusion-Exclusion Principle Permutation / Combination

CfE Advanced Higher Mathematics Course materials Topic 5: Binomial theorem

Solution to HW 3, Ma 1a Fall 2016

Chapter 2 Sampling distribution

On ARMA(1,q) models with bounded and periodically correlated solutions

EDEXCEL NATIONAL CERTIFICATE UNIT 28 FURTHER MATHEMATICS FOR TECHNICIANS OUTCOME 2- ALGEBRAIC TECHNIQUES TUTORIAL 1 - PROGRESSIONS

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

Finite q-identities related to well-known theorems of Euler and Gauss. Johann Cigler

Some Properties of the K-Jacobsthal Lucas Sequence

BINOMIAL THEOREM & ITS SIMPLE APPLICATION

2012 GCE A Level H2 Maths Solution Paper Let x,

Research Article The Peak of Noncentral Stirling Numbers of the First Kind

Complex Numbers Solutions

Taylor Transformations into G 2

THE ANALYTIC LARGE SIEVE

Putnam Training Exercise Counting, Probability, Pigeonhole Principle (Answers)

Student s Name : Class Roll No. ADDRESS: R-1, Opp. Raiway Track, New Corner Glass Building, Zone-2, M.P. NAGAR, Bhopal

KEY. Math 334 Midterm II Fall 2007 section 004 Instructor: Scott Glasgow

CIS Spring 2018 (instructor Val Tannen)

Bertrand s Postulate

Bernstein Polynomials

COUNTING SUBSET SUMS OF FINITE ABELIAN GROUPS

RELIABILITY ASSESSMENT OF SYSTEMS WITH PERIODIC MAINTENANCE UNDER RARE FAILURES OF ITS ELEMENTS

3.6 Applied Optimization

PROGRESSION AND SERIES

Supplementary materials. Suzuki reaction: mechanistic multiplicity versus exclusive homogeneous or exclusive heterogeneous catalysis

A note on random minimum length spanning trees

An analog of the arithmetic triangle obtained by replacing the products by the least common multiples

Introduction Common Divisors. Discrete Mathematics Andrei Bulatov

Permutations, Combinations, and the Binomial Theorem

Combinatorially Thinking

Strong Result for Level Crossings of Random Polynomials. Dipty Rani Dhal, Dr. P. K. Mishra. Department of Mathematics, CET, BPUT, BBSR, ODISHA, INDIA

BINOMIAL THEOREM SOLUTION. 1. (D) n. = (C 0 + C 1 x +C 2 x C n x n ) (1+ x+ x 2 +.)

Different kinds of Mathematical Induction

Transcription:

Discete M athematic Chapte 3: Coutig 3. The Pigeohole Piciple 3.4 Biomial Coefficiets D Patic Cha School of Compute Sciece ad Egieeig South Chia Uivesity of Techology Ageda Ch 3. The Pigeohole Piciple Pigeohole Piciple Geealized Pigeohole Piciple Applicatios Ch 3.4 Biomial Coefficiets Biomial Theoem Pascal's Idetity ad Tiagle Theoem elated to Biomial Coefficiets

Pigeohole Piciple Suppose that a floc of 6 pigeos flies ito a set of 5 pigeoholes to oost What ca we coclude? 3 Pigeohole Piciple A least oe of these 5 pigeoholes must have at least two pigeos i it Because thee ae 6 pigeos but oly 5 pigeoholes This is Pigeohole Piciple 4

Pigeohole Piciple Pigeohole Piciple If is a positive itege ad + 1 o moe objects ae placed ito boxes, the thee is at least oe box cotaiig two o moe of the objects Also called the Diichlet Dawe Piciple the ieteeth-cetuy Gema mathematicia Diichlet Poof by cotapositio (p q q p) Suppose that oe of the boxes cotais moe tha oe object The the total umbe of objects would be at most This is a cotadictio 5 Pigeohole Piciple Coollay A fuctio f fom a set with + 1 o moe elemets to a set with elemets is ot oeto-oe a b c d 1 3 6

Pigeohole Piciple Example 1 How may wods we should have if thee must be at least two that begi with the same lette? 7 Eglish wods, because 6 lettes i the Eglish alphabet Example How may people we should have if thee must be at least two with the same bithday? 367 people because 366 possible bithdays 7 Geealized Pigeohole Piciple Pigeohole Piciple states that if + 1 o moe objects ae placed ito boxes, the thee is at least oe box cotaiig two o moe of the objects How about if we have + 1 objects? 3 + object? + 1 object? 8

Geealized Pigeohole Piciple Geealized Pigeohole Piciple If N objects ae placed ito boxes, the thee is at least oe box cotaiig at least N/ objects Poof by Cotadictio Suppose that oe of the boxes cotais moe tha N/ - 1 objects The total umbe of objects is at most N 1 N < + 11 N N/ < (N/) + 1 This is a cotadictio because thee ae a total of N objects 9 Geealized Pigeohole Piciple A commo type of poblem ass fo the miimum umbe of objects such that at least of these objects must be i oe of boxes whe these objects ae distibuted amog the boxes? 1

Geealized Pigeohole Piciple Accodig to geealized pigeohole piciple, whe we have N objects, thee must be at least objects i oe of the boxes as log as N/ N, whee N ( - 1) + 1, is the smallest itege satisfyig N/ N? 11 Geealized Pigeohole Piciple N/, N ( - 1) + 1, is the smallest itege satisfyig N/ Could a smalle value of N suffice? No If ( - 1) objects We could put - 1 of them i each of the boxes No box would have at least objects 1

Geealized Pigeohole Piciple Example 1 N/ N ( - 1) + 1 How may people out of 1 people wee bo i the same moth? N 1 1? 1/1 9 who wee bo i the same moth 13 Geealized Pigeohole Piciple Example What is the least umbe of aea codes eeded to guaatee that the 5 millio phoes i a state ca be assiged distict 1-digit telephoe umbes? Assume that telephoe umbes ae of the fom NXX-NXX- XXXX, whee the fist thee digits fom the aea code, N epesets a digit fom to 9 iclusive, ad X epesets ay digit. Diffeet phoe umbes fo NXX-XXXX is 8 x 1 6 8,, N 5,,, 8,, At least 5,, / 8,, 4 of them must have idetical phoe umbes Hece, at least fou aea codes ae equied N/ N ( - 1) + 1 14

Geealized Pigeohole Piciple Example 3 Show that amog ay + 1 positive iteges ot exceedig thee must be a itege that divides oe of the othe iteges Assume we have + 1 iteges a 1, a,..., a +1 j Let a j q fo j 1,,..., + 1, j whee j is a oegative itege ad q 1, q,..., q +1 ae all odd positive iteges less tha Accodig to pigeohole piciple, because oly odd positive iteges less tha, two of the iteges q 1, q,..., q +1 must be equal Let q be the commo value of q i ad q j, the, j a q j It follows that if i < j, the a i divides a j ; othewise a j divides a i N/ N ( - 1) + 1 a j a i a i j i i q q q ad j i 15 Applicatios: Subsequece Suppose that a 1, a,..., a N is a sequece of eal umbes. A subsequece of this sequece is a sequece of the fom a i, ai,..., a 1 i m whee 1 < i 1 < i <... < i m < N 16

Applicatios: Subsequece Example Example: a 1, a,..., a 5 5, 8,, 3, 1 5, 3, 1 is a subsequece? 8, 1 is a subsequece?, 3, 5, 8 is a subsequece? a 1, a 4, a 5 a, a 5 a 3, a 4, a 1, a 17 Applicatios: Subsequece A sequece is called stictly iceasig if each tem is lage tha the oe that pecedes it A sequece is called stictly deceasig if each tem is smalle tha the oe that pecedes it 18

Applicatios: Subsequece Theoem Evey sequece of + 1 distict eal umbes cotais a subsequece of legth + 1 that is eithe stictly iceasig o stictly deceasig Example Give a sequece: 8, 11, 9, 1, 4, 6, 1, 1, 5, 7 1 tem 3 + 1 What is the legth of the logest i / deceasig subsequeces? +1 4 Iceasig sequece 1, 4, 6, 1 1, 4, 6, 7 1, 4, 6, 1 1, 4, 5, 7 Deceasig sequece 11, 9, 6,5 19 Applicatios: Subsequece Poof Let a a,..., eal umbes, a + 1 1 be a sequece of + 1 distict Associate a odeed pai (i, d ) to the tem a, whee i is the legth of the logest iceasig subsequece statig at a d is the legth of the logest deceasig subsequece statig at a 5, 8,, 3, 1 (i 1, d 1 ) (, 3) (i 4, d 4 ) (1, )

Applicatios: Subsequece Poof Suppose o iceasig o deceasig subsequeces is loge tha i ad d ae both positive iteges less tha o equal to, fo 1,,..., + 1 By the poduct ule, possible odeed pais fo (i, d ) By the pigeohole piciple two of + 1 odeed pais ae equal Theefoe, thee exist tems a s ad a t, with s < t such that i s i t ad d s d t 1 Applicatios: Subsequece Poof Thee exist tems a s ad a t, with s < t such that i s i t ad d s d t We will show that this is impossible Because the tems of the sequece ae distict, eithe a s < a t o a s > a t If a s < a t, the, because i s i t, a iceasig subsequece of legth i t + 1 ca be built statig at a s, by taig as followed by a iceasig subsequece of legth it begiig at a t This is a cotadictio, a s,, a t, 5, 8,, 3, 1 (, 3) (1, ) Similaly, if a s > a t, it ca be show that d s must be geate tha d t, which is a cotadictio

Applicatios: Ramsey Theoy Ramsey theoy, afte the Eglish mathematicia F. Ramsey, deals with the distibutio of subsets of elemets of sets Two people eithe fieds o eemies A B A B Fieds Eemies Mutual Fied/Eemies A B A B A B C D ae mutual fieds/eemies C D C D 3 Applicatios: Ramsey Theoy Example 1 Assume that i a goup of six people Show that thee ae eithe thee mutual fieds o thee mutual eemies i the goup A B C D E F 4

Applicatios: Ramsey Theoy Example 1 Let A be oe of the six people Accodig to pigeohole piciple ( 5/ 3), A at least has thee fieds, o thee eemies Fome Case: suppose that B, C, ad D ae fieds If ay two of these thee people ae fieds, the these two ad A fom a goup of thee mutual fieds Othewise, B, C, ad D fom a set of thee mutual eemies Simila to the latte case A B C D E F 5 Applicatios: Ramsey Theoy Ramsey umbe R(m, ) The miimum umbe of people at a paty such that thee ae eithe m mutual fieds o mutual eemies, assumig that evey pai of people at the paty ae fieds o eemies m ad ae positive iteges geate tha o equal to Example What is R(3, 3)? Aswe should be 6 I a goup of five people whee evey two people ae fieds o eemies, thee may ot be thee mutual fieds o thee mutual eemies 6

7 Applicatios: Ramsey Theoy 5 people caot guaatee havig 3 mutual fieds/eemies C B A D E 8 Biomial Theoem Let x ad y be vaiables, ad let be a oegative itege The Biomial Theoem shows: ( ) y x+ j j j y x j y x y x y x + + +... 1 1 1

Biomial Theoem Example What is the coefficiet of x 1 y 13 i the expasio of (x - 3y) 5? ( x+ ( 3y) ) 5 ( x) j ( 3y) j 5, -1 13 5 j 5 5 j 5 13 ( ) 1 ( 3) 13 5! 1 3 13 13! 1! 9 Biomial Theoem Coollay 1 Let be a oegative itege. The Poof ( 1+ 1) 1 1 3

31 Biomial Theoem Coollay Let be a positive itege. The Poof It implies that 1) ( ( ) 1 1) ( + 1 1) ( 1) (... 5 3 1... 4 + + + + + + 3 Biomial Theoem Coollay 3 Let be a oegative itege. The Poof 3 1 ) 1 ( + (3)

Pascal's Idetity ad Tiagle Pascal s Idetity Let ad be positive iteges with. The + 1 + 1 Pascal's tiagle A geometic aagemet of the biomial coefficiets i a tiagle biomial coefficiet is the sum of two adjacet biomial coefficiets i the pevious ow 1C C 1 1 1 C 1 1 1 1 1 1 3 3 1 1 4 6 4 1 1 5 1 1 5 1 33 Pascal's Idetity ad Tiagle Poof +1C C -1 + C Suppose T is a set cotaiig + 1 elemets Let a be a elemet i T, ad let S T - {a} Thee ae +1 C subsets of T cotaiig elemets +1 C subsets cotais eithe ( C -1 ) - 1 elemets of S ad a, o ( C ) elemets of S ad ot a Theefoe, +1 C C -1 + C a +1 C C -1 T a S C 34

Theoem elated to Biomial Coefficiets Vademode s Idetity Theoem: Vademode s Idetity Let m,, ad be oegative iteges with ot exceedig eithe m o. The m+ m 35 Theoem elated to Biomial Coefficiets Vademode s Idetity m+ Poof Suppose: m items i a fist set ad items i a secod set The total umbe of ways to pic elemets fom the uio of these sets is m+ C Aothe way is to pic elemets fom the fist set ad the - elemets fom the secod set, whee is a itege with Thee ae m C C - ways +3 C Theefoe, m+ m m C - C m C C m m C 1 C 1 mc C 36

37 Theoem elated to Biomial Coefficiets Vademode s Idetity Coollay If is a oegative itege, the 38 Theoem elated to Biomial Coefficiets Vademode s Idetity Poof Recall, Theefoe,

Theoem elated to Biomial Coefficiets Theoem Let ad be oegative iteges with. The 1 + 1 + j j Theoem elated to Biomial Coefficiets Poof: Coside +1 C +1 couts the bit stigs of legth + 1 cotaiig + 1 oes 1111... +1 bits cotai +1 1s Aothe coutig way is to coside the possible locatios, amed, of the fial 1 should equal to + 1, +,..., o + 1 +1 +1 111...11-1 bits cotai 1s 1 + 1 + j 39 j 4

Theoem elated to Biomial Coefficiets Coside the fist -1 bits I this -1 bits, thee should be 1s Thee ae -1 C ways 111...11-1 bits cotai 1s Recall, +1 +1 + 1 + 1 1 j j 1 + 1 + j By the chage of vaiables j - 1 j 41