Pigeon-Hole Principle ( PHP )

Slides:



Advertisements
Similar presentations
Lecture 4 4.1,4.2 Counting. 4.1 Counting Two Important Principles: Product Rule and Sum Rule. Product Rule: Assume we need to perform procedure 1 AND.
Advertisements

Mathematical Induction
Mathematical Induction (cont.)
1.1The Principle of Mathematical Induction 1.2Divisibility Chapter Summary Case Study Mathematical Induction 1.
7.5 Inclusion/Exclusion. Definition and Example- 2 sets |A  B| =|A| + |B| - |A ∩ B| Ex1: |A|=9, |B|=11, |A∩B|=5, |A  B| = ?
COUNTING AND PROBABILITY
The Pigeonhole Principle
Mathematical Induction II Lecture 14: Nov
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
3.5 Paradox  1.Russell’s paradox  A  A, A  A 。  Russell’s paradox: Let S={A|A  A}. The question is, does S  S?  i.e. S  S or S  S?  If S  S,
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
The Pigeonhole Principle
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Pigeonhole.
What is the best way to start? 1.Plug in n = 1. 2.Factor 6n 2 + 5n Let n be an integer. 4.Let n be an odd integer. 5.Let 6n 2 + 5n + 4 be an odd.
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Chapter 7 Functions Dr. Curry Guinn. Outline of Today Section 7.1: Functions Defined on General Sets Section 7.2: One-to-One and Onto Section 7.3: The.
Mathematical Maxims and Minims, 1988
Applications of Expansion and Factorisation SLIDESHOW 17 MATHEMATICS MR SASAKI ROOM 307.
Combinatorics 3/15 and 3/ Counting A restaurant offers the following menu: Main CourseVegetablesBeverage BeefPotatoesMilk HamGreen BeansCoffee.
The Pigeonhole (Dirichlet’s box) Principle
1 Lecture 3 (part 2) Functions – Pigeonhole Principle Reading: Epp Chp 7.4.
Discrete Mathematics Tutorial 11 Chin
Math 170 Project #11 Part 2 Jeffrey Martinez Bianca Orozco Omar Monroy.
The Pigeonhole Principle. The pigeonhole principle Suppose a flock of pigeons fly into a set of pigeonholes to roost If there are more pigeons than pigeonholes,
5.2 The Pigeonhole Principle
1 Chapter 2 Pigeonhole Principle. 2 Summary Pigeonhole principle –simple form Pigeonhole principle –strong form Ramsey’s theorem.
1 The Pigeonhole Principle CS 202 Epp section 7.3.
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
1 The Pigeonhole Principle CS 202 Epp section ??? Aaron Bloomfield.
5-5 Indirect Proof. Indirect Reasoning: all possibilities are considered and then all but one are proved false. The remaining possibility must be true.
The Pigeonhole Principle. Pigeonhole principle The pigeonhole principle : If k is a positive integer and k+1 or more objects are placed into k boxes,
Pigeonhole Principle. If n pigeons fly into m pigeonholes and n > m, then at least one hole must contain two or more pigeons A function from one finite.
Main Menu Main Menu (Click on the topics below) Pigeonhole Principle Example Generalized Pigeonhole Principle Example Proof of Pigeonhole Principle Click.
EXAMPLE 3 Write an indirect proof Write an indirect proof that an odd number is not divisible by 4. GIVEN : x is an odd number. PROVE : x is not divisible.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
COUNTING Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Mathematical Induction. The Principle of Mathematical Induction Let S n be a statement involving the positive integer n. If 1.S 1 is true, and 2.the truth.
Direct Proof and Counterexample IV: Division into Cases and the Quotient-Remainder Theorem For each of the following values of n and d, find integers q.
CSE15 Discrete Mathematics 02/08/17
The Pigeonhole Principle
Discrete Structures for Computer Science
CSE322 PUMPING LEMMA FOR REGULAR SETS AND ITS APPLICATIONS
Direct Proof and Counterexample II
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
The Pigeonhole Principle
Mathematical Induction II
Induction and recursion
CS 2210 Discrete Structures Counting
Gray Code Can you find an ordering of all the n-bit strings in such a way that two consecutive n-bit strings differed by only one bit? This is called the.
Chapter 5 Induction and Recursion
CS100: Discrete structures
Copyright © Cengage Learning. All rights reserved.
Induction and recursion
Xuan Guo Lab 5 Xuan Guo.
The sum of any two even integers is even.
COUNTING AND PROBABILITY
The Pigeonhole Principle
CS 220: Discrete Structures and their Applications
The Pigeonhole Principle
Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
Direct Proof and Counterexample I
3.4 Cardinality Definition 3.7: The empty set is a finite set of cardinality 0. If there is a one-to-one correspondence between A and the set {0,1,2,3,…,
Advanced Analysis of Algorithms
Chapter 11: Further Topics in Algebra
Mathematical Induction
Induction Rosen 5 Lecture 8: Oct 29, 30.
The Pigeonhole Principle
CSE 321 Discrete Structures
From the last time: gcd(a, b) can be characterized in two different ways: It is the least positive value of ax + by where x and y range over integers.
Presentation transcript:

Pigeon-Hole Principle ( PHP ) A Simple Idea in Combinatorics But Very Powerfull and Usefull

Ilustration 1 2 3 4 5

Theorem Let n and k be positif integer, and n > k. Suppose we have to place n identical balls into k identical boxes. Then there will be at least one box in which we place at least two balls.

For warmup we begin with simple problems without solution Among three persons, there are two of the same sex. Among 13 persons, there are two born in the same month. Among 400 persons, there are a least two have the same birthday.

Example 1 In tournament with n players , everybody plays with everybody else exactly once. Prove that during the game there are always two players who have played the same number of game.

Proof The difficulties in proving with pigeon-hole principle is the identification of the ball and the box . Then the question is . . . What is the box? What is the ball?

Proof The number of players is n. And the number of possibilities for the number of game finished by any one player are 0, 1, 2, . . . , n-1. But the fact , however 0 and n-1 cannot both occur among the numbers of games finished by the players at any one time.

Proof Then, take The number of players ( n ) as balls and The number of game finished by one player ( n-1 ) as boxes. By PHP we get, there are two players that have the same number of the game.

Example 2 (ONMIPA 2010) Let S is a set of n positive integer. Prove that there exist an element in S or sum of elements in S that divisible by n.

{ a1, a2, a3, . . ., an } not necessary distinct Proof Suppose the elements in S are { a1, a2, a3, . . ., an } not necessary distinct If there is an element in S divisible by n, we are done. Otherwise, none of them is divisible by n. Consider the Set T = { s1, s2, s3, . . ., sn } Where, sn = a1 + a2 + . . . + an

Proof If there is i, 1≤ i ≤ n such that si is divisible by n, we are finished. So, assum all of si is not divisible by n. Then we get, the remainder if si divided by n are 1, 2, 3, . . . , n-1 There are n-1 possibilities but as we have n numbers, by PHP there are two numbers that have the same remainder.

Proof Without loss of generality, assum these numbers are si and sj where i < j. Then sj – si = ai + ai+1 + . . . + aj is divisible by n as desired.

Example 3 (ONMIPA 2009) We select n+1 different integers from the set { 1, 2, 3, … 2n }. Prove that there always be two among the selected integers such that one is divisible by other.

Hint. Write the numbers 1, 2, 3, . . . , 2n in the form 2p.a where, a is odd number and p ≥ 0, p integer Then used PHP to prove the statement.

Problem Solving can be learn ONLY by Solving Problems REMEMBER Thanks

This presentation is wrote by Tutur Widodo, In April 2010 Hi…hi…hi…!