SlideShare a Scribd company logo
J.M.S.S. Silva
Pigeon-hole Principle

              If n (> m)
            pigeons are put
                 into m
            pigeonholes, th
              ere's a hole
            with more than
              one pigeon.
Alternative Forms
• If n objects are to be allocated to m
  containers, then at least one container
  must hold at least ceil(n/m) objects.
• For any finite set A , there does not exist
  a bijection between A and a proper
  subset of A .
• Let |A| denote the number of elements in
  a finite set A. For two finite sets A and
  B, there exists a 1-1 correspondence
  f: A->B iff |A| = |B|.
History
      The first statement of the
       principle is believed to
       have been made by
       Dirichlet in 1834 under the
       name Schubfachprinzip
       ("drawer principle" or
       "shelf principle")
      Also known as Dirichlet's
       box (or drawer) principle
General Problems
 There 750 students in the a batch at
 UOM. Prove that at least 3 of them have
 their birthdays on the same date ?
   ○ 366 * 2= 732 < 750
   ○ Thus at least 3 students have the birthday
    on the same date.
Problems on Relations
   There are 50 people in a room. some of them are
    friends. If A is a friend of B then B is also a friend of
    A. Prove that there are two persons in the room
    who have a same number of friends.

   In league T20 tournament of 16 cricket
    teams, every two teams have to meet in a game.
    Prove that at any time there are two teams which
    played equal number of matches.
Solution
   Case 1                             Case 2
     There exists a person              There does not exists
      with 49 friends (he is a            a person with 49
      friend of all other people)         friends
     Then there cannot be a             The no of friends vary
      person with 0 friends               between 0 – 48 .
     The no of friends vary             There are 50 people
      between 1 – 49 .                    and only 49 values.
     There are 50 people and
      only 49 values.
Problems On Divisibility
   Prove that there
    exists a multiple of
    2009 whose decimal
    expansion contains
    only digits 1 and 0.
Answer
   Consider 2010 numbers
          - 1,11,111,1111, … ,1111…111.

 Each of these numbers produce one of 2009
  remainders
        - 0,1,2,3 ,…,2008
 We have 2010 numbers and 2009 remainders
 By pigeon-hole principle some two numbers have the
  same remainder .Let those 2 numbers be A and B
  (A>B)
 Consider A-B. which is a multiple of 2009.
        - In the form of 11…1100…000
Problems On Divisibility
   Prove that of any 52 natural numbers one can find
    two numbers n and m such that either their sum m+n
    or difference m-n is divisible by 100.

     Consider sets {0},{1,99},{2,98}….{49,51},{50}
     There are 51 sets
     By pigeon hole principle at least 1 set should have 2
      members
     If we consider any set above if they have 2 members in the
      set, m+n or m-n is divisible by 100
Problems on Geometry
   51 points are placed, in a random way, into a
    square of side 1 unit. Can we prove that 3 of these
    points can be covered by a circle of radius 1/7 units
    ?
Answer
    To prove the result, we may divide
    the square into 25 equal smaller
    squares of side 1/5 units each.
    Then by the Pigeonhole Principle, at
    least one of these small squares
    should contain at least 3 points.
    Otherwise, each of the small
    squares will contain 2 or less points
    which will then mean that the total
    number of points will be less than
    50 , which is a contradiction to the
    fact that we have 51 points in the
    first case !
Answer - continue
   Now the circle
    circumvented around the
    particular square with the
    three points inside should
    have
   Radius=Sqrt(1/100+1/100
    )
           =Sqrt(1/50)
           <Sqrt(1/49)=1/7
                                 1/10
Applications
   Lossless data compression cannot guarantee
    compression for all data input files.
   The pigeonhole principle often arises in
    computer science. For example, collisions are
    inevitable in a hash table because the number
    of possible keys exceeds the number of
    indices in the array
   In probability theory, the birthday problem, or
    birthday paradox pertains to the probability
    that in a set of randomly chosen people some
    pair of them will have the same birthday
Applications
   The proof of Chinese Remainder Theorem
    is based on pigeon-hole principle
        Let m and n be relatively prime positive
        Integers. Then the system:
              x = a (mod m)
              x = b (mod n)
                    has a solution.
References
   http://en.wikipedia.org/wiki/Pigeonhole_principle
   http://en.wikipedia.org/wiki/Johann_Peter_Gustav_
    Lejeune_Dirichlet
   http://en.wikipedia.org/wiki/Lossless_data_compre
    ssion#Limitations
   Article on "What is Pigeonhole Principle?" by
    Alexandre V. Borovik, Elena V. Bessonova.
   Article on "Applications of the Pigeonhole
    Principle" by Edwin Kwek Swee Hee ,Huang
    Meiizhuo ,Koh Chan Swee ,Heng Wee Kuan
    , River Valley High School
Thank You

More Related Content

What's hot

Permutations and combinations ppt
Permutations and combinations pptPermutations and combinations ppt
Permutations and combinations ppt
Priya !!!
 
Pigeon hole principle
Pigeon hole principlePigeon hole principle
Pigeon hole principle
Shashindra Silva
 
The method of frobenius
The method of frobeniusThe method of frobenius
Fuzzy Set
Fuzzy SetFuzzy Set
Fuzzy Set
Ehsan Hamzei
 
Function and graphs
Function and graphsFunction and graphs
Function and graphs
Rione Drevale
 
Integration by partial fraction
Integration by partial fractionIntegration by partial fraction
Integration by partial fraction
Ayesha Ch
 
Es272 ch3a
Es272 ch3aEs272 ch3a
Function and their graphs ppt
Function and their graphs pptFunction and their graphs ppt
Function and their graphs ppt
Farhana Shaheen
 
Applications of linear algebra
Applications of linear algebraApplications of linear algebra
Applications of linear algebra
Prerak Trivedi
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
Sunny Chauhan
 
Rate of Change & Slope
Rate of Change & SlopeRate of Change & Slope
Rate of Change & Slope
chrystal_brinson
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
Rifat Rahamatullah
 
Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
Laguna State Polytechnic University
 
Permutation and combination - Math Statistic
Permutation and combination - Math StatisticPermutation and combination - Math Statistic
Permutation and combination - Math Statistic
Princess is Ntxhais
 
Complex number
Complex numberComplex number
5 3 Partial Fractions
5 3 Partial Fractions5 3 Partial Fractions
5 3 Partial Fractions
silvia
 
5 1 quadratic transformations
5 1 quadratic transformations5 1 quadratic transformations
5 1 quadratic transformations
lothomas
 
Interpolation
InterpolationInterpolation
Interpolation
Bhavik A Shah
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
Farzad Javidanrad
 
Secant Method
Secant MethodSecant Method
Secant Method
Afraz Khan
 

What's hot (20)

Permutations and combinations ppt
Permutations and combinations pptPermutations and combinations ppt
Permutations and combinations ppt
 
Pigeon hole principle
Pigeon hole principlePigeon hole principle
Pigeon hole principle
 
The method of frobenius
The method of frobeniusThe method of frobenius
The method of frobenius
 
Fuzzy Set
Fuzzy SetFuzzy Set
Fuzzy Set
 
Function and graphs
Function and graphsFunction and graphs
Function and graphs
 
Integration by partial fraction
Integration by partial fractionIntegration by partial fraction
Integration by partial fraction
 
Es272 ch3a
Es272 ch3aEs272 ch3a
Es272 ch3a
 
Function and their graphs ppt
Function and their graphs pptFunction and their graphs ppt
Function and their graphs ppt
 
Applications of linear algebra
Applications of linear algebraApplications of linear algebra
Applications of linear algebra
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Rate of Change & Slope
Rate of Change & SlopeRate of Change & Slope
Rate of Change & Slope
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
 
Permutation and combination - Math Statistic
Permutation and combination - Math StatisticPermutation and combination - Math Statistic
Permutation and combination - Math Statistic
 
Complex number
Complex numberComplex number
Complex number
 
5 3 Partial Fractions
5 3 Partial Fractions5 3 Partial Fractions
5 3 Partial Fractions
 
5 1 quadratic transformations
5 1 quadratic transformations5 1 quadratic transformations
5 1 quadratic transformations
 
Interpolation
InterpolationInterpolation
Interpolation
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
Secant Method
Secant MethodSecant Method
Secant Method
 

Viewers also liked

T’estimo1
T’estimo1T’estimo1
T’estimo1
dany-elprofe
 
Asteroïden
AsteroïdenAsteroïden
Asteroïdenkwinten
 
Adding Idea IntelliJ projects to Subversion Version Control
Adding Idea IntelliJ projects to Subversion Version ControlAdding Idea IntelliJ projects to Subversion Version Control
Adding Idea IntelliJ projects to Subversion Version Control
Nag Arvind Gudiseva
 
57031627 hr-final-project-mobilink-1
57031627 hr-final-project-mobilink-157031627 hr-final-project-mobilink-1
57031627 hr-final-project-mobilink-1shahmpa
 
Thomas corporate presentation
Thomas corporate presentationThomas corporate presentation
Thomas corporate presentation
lloydf
 
Desmolupo - MegaMotard 1098
Desmolupo - MegaMotard 1098Desmolupo - MegaMotard 1098
Desmolupo - MegaMotard 1098
Desmolupo
 
Твой Дом - Твоя Крепость.ru (Дом.ru)
Твой Дом - Твоя Крепость.ru (Дом.ru)Твой Дом - Твоя Крепость.ru (Дом.ru)
Твой Дом - Твоя Крепость.ru (Дом.ru)
prasu1995
 
Website preliminary
Website preliminaryWebsite preliminary
Website preliminary
shammone1994
 
Evaluation+6 Presentation
Evaluation+6 PresentationEvaluation+6 Presentation
Evaluation+6 Presentation
eoinb
 
Campeonato mundial de atletismo master 2011 sacramento
Campeonato mundial de atletismo master 2011   sacramentoCampeonato mundial de atletismo master 2011   sacramento
Campeonato mundial de atletismo master 2011 sacramento
ACAM ATLETISMO
 
Proiectele eTwinning cale spre cunoasterea culturii europene
Proiectele eTwinning  cale spre cunoasterea culturii europeneProiectele eTwinning  cale spre cunoasterea culturii europene
Proiectele eTwinning cale spre cunoasterea culturii europene
Grigore Gheorghita
 
Chapter ii
Chapter iiChapter ii
Chapter ii
Yannie Villanueva
 
Saca el máximo partido a tu negocio realizando pruebas de rendimiento
Saca el máximo partido a tu negocio realizando pruebas de rendimientoSaca el máximo partido a tu negocio realizando pruebas de rendimiento
Saca el máximo partido a tu negocio realizando pruebas de rendimiento
Globe Testing
 
The only exception powerpoint final
The only exception powerpoint finalThe only exception powerpoint final
The only exception powerpoint final
rturner93
 
Худякова О.М. PR-деятельность в сфере инновационных технологий
Худякова О.М. PR-деятельность в сфере инновационных технологийХудякова О.М. PR-деятельность в сфере инновационных технологий
Худякова О.М. PR-деятельность в сфере инновационных технологий
prasu1995
 
Benchmarking Briefing for LinkedIn
Benchmarking Briefing for LinkedInBenchmarking Briefing for LinkedIn
Benchmarking Briefing for LinkedIn
John Coulter MBA
 
Acta alcaldia h & f
Acta alcaldia h & fActa alcaldia h & f
Acta alcaldia h & f
vanced
 
Diary of make
Diary of makeDiary of make
Diary of make
Janet Lunkusé
 
Apple-arte-scienza
Apple-arte-scienzaApple-arte-scienza
Apple-arte-scienzadariodarius
 
ADR mechanisms 3
ADR mechanisms 3ADR mechanisms 3
ADR mechanisms 3
consumerenergy
 

Viewers also liked (20)

T’estimo1
T’estimo1T’estimo1
T’estimo1
 
Asteroïden
AsteroïdenAsteroïden
Asteroïden
 
Adding Idea IntelliJ projects to Subversion Version Control
Adding Idea IntelliJ projects to Subversion Version ControlAdding Idea IntelliJ projects to Subversion Version Control
Adding Idea IntelliJ projects to Subversion Version Control
 
57031627 hr-final-project-mobilink-1
57031627 hr-final-project-mobilink-157031627 hr-final-project-mobilink-1
57031627 hr-final-project-mobilink-1
 
Thomas corporate presentation
Thomas corporate presentationThomas corporate presentation
Thomas corporate presentation
 
Desmolupo - MegaMotard 1098
Desmolupo - MegaMotard 1098Desmolupo - MegaMotard 1098
Desmolupo - MegaMotard 1098
 
Твой Дом - Твоя Крепость.ru (Дом.ru)
Твой Дом - Твоя Крепость.ru (Дом.ru)Твой Дом - Твоя Крепость.ru (Дом.ru)
Твой Дом - Твоя Крепость.ru (Дом.ru)
 
Website preliminary
Website preliminaryWebsite preliminary
Website preliminary
 
Evaluation+6 Presentation
Evaluation+6 PresentationEvaluation+6 Presentation
Evaluation+6 Presentation
 
Campeonato mundial de atletismo master 2011 sacramento
Campeonato mundial de atletismo master 2011   sacramentoCampeonato mundial de atletismo master 2011   sacramento
Campeonato mundial de atletismo master 2011 sacramento
 
Proiectele eTwinning cale spre cunoasterea culturii europene
Proiectele eTwinning  cale spre cunoasterea culturii europeneProiectele eTwinning  cale spre cunoasterea culturii europene
Proiectele eTwinning cale spre cunoasterea culturii europene
 
Chapter ii
Chapter iiChapter ii
Chapter ii
 
Saca el máximo partido a tu negocio realizando pruebas de rendimiento
Saca el máximo partido a tu negocio realizando pruebas de rendimientoSaca el máximo partido a tu negocio realizando pruebas de rendimiento
Saca el máximo partido a tu negocio realizando pruebas de rendimiento
 
The only exception powerpoint final
The only exception powerpoint finalThe only exception powerpoint final
The only exception powerpoint final
 
Худякова О.М. PR-деятельность в сфере инновационных технологий
Худякова О.М. PR-деятельность в сфере инновационных технологийХудякова О.М. PR-деятельность в сфере инновационных технологий
Худякова О.М. PR-деятельность в сфере инновационных технологий
 
Benchmarking Briefing for LinkedIn
Benchmarking Briefing for LinkedInBenchmarking Briefing for LinkedIn
Benchmarking Briefing for LinkedIn
 
Acta alcaldia h & f
Acta alcaldia h & fActa alcaldia h & f
Acta alcaldia h & f
 
Diary of make
Diary of makeDiary of make
Diary of make
 
Apple-arte-scienza
Apple-arte-scienzaApple-arte-scienza
Apple-arte-scienza
 
ADR mechanisms 3
ADR mechanisms 3ADR mechanisms 3
ADR mechanisms 3
 

Similar to Pigeon hole principle

20-pigeonhole-principle.ppt
20-pigeonhole-principle.ppt20-pigeonhole-principle.ppt
20-pigeonhole-principle.ppt
ssuser71ac73
 
20 pigeonhole-principle
20 pigeonhole-principle20 pigeonhole-principle
20 pigeonhole-principle
ananyapandey32
 
Pigeonhole principle
Pigeonhole principlePigeonhole principle
Pigeonhole principle
Nivegeetha
 
THE PIGEON HOLE PRINCIPLE or also known as DRAWER PRINCIPLE BY ALVIN OBLIGACION
THE PIGEON HOLE PRINCIPLE or also known as DRAWER PRINCIPLE BY ALVIN OBLIGACION THE PIGEON HOLE PRINCIPLE or also known as DRAWER PRINCIPLE BY ALVIN OBLIGACION
THE PIGEON HOLE PRINCIPLE or also known as DRAWER PRINCIPLE BY ALVIN OBLIGACION
Alvin Obligacion
 
L07 msr
L07 msrL07 msr
L07 msr
Maruf Hamidi
 
X12bPigeonHole.ppt
X12bPigeonHole.pptX12bPigeonHole.ppt
X12bPigeonHole.ppt
Vishva4
 
Grade 7 Word Problems Involving Equations in One Variable PowerPoint Presenta...
Grade 7 Word Problems Involving Equations in One Variable PowerPoint Presenta...Grade 7 Word Problems Involving Equations in One Variable PowerPoint Presenta...
Grade 7 Word Problems Involving Equations in One Variable PowerPoint Presenta...
Melvin Verdadero
 
Dirichlet processes and Applications
Dirichlet processes and ApplicationsDirichlet processes and Applications
Dirichlet processes and Applications
Saurav Jha
 
Linear equations
Linear equationsLinear equations
Linear equations
julienorman80065
 
State2009
State2009State2009
State2009
Vincen Pan
 
Report in math 830
Report in math 830Report in math 830
Report in math 830
Maria Katrina Miranda
 
Schl2008
Schl2008Schl2008
Schl2008
Vincen Pan
 
National2009
National2009National2009
National2009
Vincen Pan
 
Group7 (1)
Group7 (1)Group7 (1)
Group7 (1)
riomar catinguel
 
Logic
LogicLogic
mathematics questions practice class 10 real number.pdf
mathematics questions practice class 10  real number.pdfmathematics questions practice class 10  real number.pdf
mathematics questions practice class 10 real number.pdf
RITESHKUMARSAHU8
 
powerpoints probability.pptx
powerpoints probability.pptxpowerpoints probability.pptx
powerpoints probability.pptx
carrie mixto
 
Int Math 2 Section 2-9 1011
Int Math 2 Section 2-9 1011Int Math 2 Section 2-9 1011
Int Math 2 Section 2-9 1011
Jimbo Lamb
 
Integrated Math 2 Section 2-9
Integrated Math 2 Section 2-9Integrated Math 2 Section 2-9
Integrated Math 2 Section 2-9
Jimbo Lamb
 
Paso 5-Realizar transferencia del conocimiento.
Paso 5-Realizar transferencia del conocimiento.Paso 5-Realizar transferencia del conocimiento.
Paso 5-Realizar transferencia del conocimiento.
krisoltrillos
 

Similar to Pigeon hole principle (20)

20-pigeonhole-principle.ppt
20-pigeonhole-principle.ppt20-pigeonhole-principle.ppt
20-pigeonhole-principle.ppt
 
20 pigeonhole-principle
20 pigeonhole-principle20 pigeonhole-principle
20 pigeonhole-principle
 
Pigeonhole principle
Pigeonhole principlePigeonhole principle
Pigeonhole principle
 
THE PIGEON HOLE PRINCIPLE or also known as DRAWER PRINCIPLE BY ALVIN OBLIGACION
THE PIGEON HOLE PRINCIPLE or also known as DRAWER PRINCIPLE BY ALVIN OBLIGACION THE PIGEON HOLE PRINCIPLE or also known as DRAWER PRINCIPLE BY ALVIN OBLIGACION
THE PIGEON HOLE PRINCIPLE or also known as DRAWER PRINCIPLE BY ALVIN OBLIGACION
 
L07 msr
L07 msrL07 msr
L07 msr
 
X12bPigeonHole.ppt
X12bPigeonHole.pptX12bPigeonHole.ppt
X12bPigeonHole.ppt
 
Grade 7 Word Problems Involving Equations in One Variable PowerPoint Presenta...
Grade 7 Word Problems Involving Equations in One Variable PowerPoint Presenta...Grade 7 Word Problems Involving Equations in One Variable PowerPoint Presenta...
Grade 7 Word Problems Involving Equations in One Variable PowerPoint Presenta...
 
Dirichlet processes and Applications
Dirichlet processes and ApplicationsDirichlet processes and Applications
Dirichlet processes and Applications
 
Linear equations
Linear equationsLinear equations
Linear equations
 
State2009
State2009State2009
State2009
 
Report in math 830
Report in math 830Report in math 830
Report in math 830
 
Schl2008
Schl2008Schl2008
Schl2008
 
National2009
National2009National2009
National2009
 
Group7 (1)
Group7 (1)Group7 (1)
Group7 (1)
 
Logic
LogicLogic
Logic
 
mathematics questions practice class 10 real number.pdf
mathematics questions practice class 10  real number.pdfmathematics questions practice class 10  real number.pdf
mathematics questions practice class 10 real number.pdf
 
powerpoints probability.pptx
powerpoints probability.pptxpowerpoints probability.pptx
powerpoints probability.pptx
 
Int Math 2 Section 2-9 1011
Int Math 2 Section 2-9 1011Int Math 2 Section 2-9 1011
Int Math 2 Section 2-9 1011
 
Integrated Math 2 Section 2-9
Integrated Math 2 Section 2-9Integrated Math 2 Section 2-9
Integrated Math 2 Section 2-9
 
Paso 5-Realizar transferencia del conocimiento.
Paso 5-Realizar transferencia del conocimiento.Paso 5-Realizar transferencia del conocimiento.
Paso 5-Realizar transferencia del conocimiento.
 

Recently uploaded

National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 

Recently uploaded (20)

National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 

Pigeon hole principle

  • 2. Pigeon-hole Principle  If n (> m) pigeons are put into m pigeonholes, th ere's a hole with more than one pigeon.
  • 3. Alternative Forms • If n objects are to be allocated to m containers, then at least one container must hold at least ceil(n/m) objects. • For any finite set A , there does not exist a bijection between A and a proper subset of A . • Let |A| denote the number of elements in a finite set A. For two finite sets A and B, there exists a 1-1 correspondence f: A->B iff |A| = |B|.
  • 4. History  The first statement of the principle is believed to have been made by Dirichlet in 1834 under the name Schubfachprinzip ("drawer principle" or "shelf principle")  Also known as Dirichlet's box (or drawer) principle
  • 5. General Problems  There 750 students in the a batch at UOM. Prove that at least 3 of them have their birthdays on the same date ? ○ 366 * 2= 732 < 750 ○ Thus at least 3 students have the birthday on the same date.
  • 6. Problems on Relations  There are 50 people in a room. some of them are friends. If A is a friend of B then B is also a friend of A. Prove that there are two persons in the room who have a same number of friends.  In league T20 tournament of 16 cricket teams, every two teams have to meet in a game. Prove that at any time there are two teams which played equal number of matches.
  • 7. Solution  Case 1  Case 2  There exists a person  There does not exists with 49 friends (he is a a person with 49 friend of all other people) friends  Then there cannot be a  The no of friends vary person with 0 friends between 0 – 48 .  The no of friends vary  There are 50 people between 1 – 49 . and only 49 values.  There are 50 people and only 49 values.
  • 8. Problems On Divisibility  Prove that there exists a multiple of 2009 whose decimal expansion contains only digits 1 and 0.
  • 9. Answer  Consider 2010 numbers - 1,11,111,1111, … ,1111…111.  Each of these numbers produce one of 2009 remainders - 0,1,2,3 ,…,2008  We have 2010 numbers and 2009 remainders  By pigeon-hole principle some two numbers have the same remainder .Let those 2 numbers be A and B (A>B)  Consider A-B. which is a multiple of 2009. - In the form of 11…1100…000
  • 10. Problems On Divisibility  Prove that of any 52 natural numbers one can find two numbers n and m such that either their sum m+n or difference m-n is divisible by 100.  Consider sets {0},{1,99},{2,98}….{49,51},{50}  There are 51 sets  By pigeon hole principle at least 1 set should have 2 members  If we consider any set above if they have 2 members in the set, m+n or m-n is divisible by 100
  • 11. Problems on Geometry  51 points are placed, in a random way, into a square of side 1 unit. Can we prove that 3 of these points can be covered by a circle of radius 1/7 units ?
  • 12. Answer  To prove the result, we may divide the square into 25 equal smaller squares of side 1/5 units each. Then by the Pigeonhole Principle, at least one of these small squares should contain at least 3 points. Otherwise, each of the small squares will contain 2 or less points which will then mean that the total number of points will be less than 50 , which is a contradiction to the fact that we have 51 points in the first case !
  • 13. Answer - continue  Now the circle circumvented around the particular square with the three points inside should have  Radius=Sqrt(1/100+1/100 ) =Sqrt(1/50) <Sqrt(1/49)=1/7 1/10
  • 14. Applications  Lossless data compression cannot guarantee compression for all data input files.  The pigeonhole principle often arises in computer science. For example, collisions are inevitable in a hash table because the number of possible keys exceeds the number of indices in the array  In probability theory, the birthday problem, or birthday paradox pertains to the probability that in a set of randomly chosen people some pair of them will have the same birthday
  • 15. Applications  The proof of Chinese Remainder Theorem is based on pigeon-hole principle Let m and n be relatively prime positive Integers. Then the system: x = a (mod m) x = b (mod n) has a solution.
  • 16. References  http://en.wikipedia.org/wiki/Pigeonhole_principle  http://en.wikipedia.org/wiki/Johann_Peter_Gustav_ Lejeune_Dirichlet  http://en.wikipedia.org/wiki/Lossless_data_compre ssion#Limitations  Article on "What is Pigeonhole Principle?" by Alexandre V. Borovik, Elena V. Bessonova.  Article on "Applications of the Pigeonhole Principle" by Edwin Kwek Swee Hee ,Huang Meiizhuo ,Koh Chan Swee ,Heng Wee Kuan , River Valley High School