The Pigeonhole Principle

Similar documents
The Addition Rule. Lecture 44 Section 9.3. Robb T. Koether. Hampden-Sydney College. Mon, Apr 14, 2014

The Plurality-with-Elimination Method

The Plurality-with-Elimination Method

Heap and Merge Sorts

Tests of Homogeneity and Independence

Hamilton s and Jefferson s Methods

Math 10 Lesson 1 4 Answers

Module 5. Knowledge Representation and Logic (Propositional Logic) Version 2 CSE IIT, Kharagpur

Outline. Uninformed Search. Problem-solving by searching. Requirements for searching. Problem-solving by searching Uninformed search techniques

Grade 6 Math Connects Suggested Course Outline for Schooling at Home

Think by Simon Blackburn. Chapter 6b Reasoning

Rational and Irrational Numbers 2

Georgia Quality Core Curriculum

Avicenna, Proof of the Necessary of Existence

ORDINAL GENESIS 1:1/JOHN 1:1 TRIANGLE (Part 1)

ORDINAL GENESIS 1:1/JOHN 1:1 TRIANGLE (Part 2) By Leo Tavares

Grade 7 Math Connects Suggested Course Outline for Schooling at Home 132 lessons

Curriculum Guide for Pre-Algebra

Step 2: Multiply both the numerator and the denominator. Remember that you can multiply numbers

Identifying Rational And Irrational Numbers

THE GOD/MAN TRIANGLE OF JESUS CHRIST. THE IMAGE OF GOD (Part 1) > THE IMAGE OF GOD (Part 2) By Leo Tavares

MITOCW Lec 2 MIT 6.042J Mathematics for Computer Science, Fall 2010

Pulling Rabbits from Hats (Conditional Probability), Part I

Beyond Symbolic Logic

2.1 Review. 2.2 Inference and justifications

On Infinite Size. Bruno Whittle

Who wants to be your friend forever? Jesus wants to be my friend forever. Matthew 28:19, NIV

1 Introduction. Cambridge University Press Epistemic Game Theory: Reasoning and Choice Andrés Perea Excerpt More information

RANDOMNESS AND THE JUSTIFICATION OF INDUCTION

Transferability and Proofs

THE USELESSNESS OF VENN DIAGRAMS*

2. How many days are in this month?

Probability Distributions TEACHER NOTES MATH NSPIRED

Can the Angel fly into infinity, or does the Devil eat its squares?

What can happen if two quorums try to lock their nodes at the same time?

Semantic Entailment and Natural Deduction

Friends and strangers

The St. Petersburg paradox & the two envelope paradox

1. Show that f is a bijective

Is the Bible a reliable source of Information? - Prove of the existence of an all-knowing, almighty God by propheticmathematical

Decimals_Mid-term Exam Review #4

INFS 326: COLLECTION DEVELOPMENT. Lecturer: Mrs. Florence O. Entsua-Mensah, DIS Contact Information:

Selftestengine.PSAT (515q) PSAT Math, PSAT Reading

Pakistan International School Jeddah (English Section) Final Term Syllabus Outline Year 4. English. Science

The Gentiles Are Converted

The Church showed favoritism (31.3)

ANALYSIS, PSYCHOANALYSIS, AND THE ART OF COIN-TOSSING 1

Estimating Irrational Roots

Decimals_Mid-term Exam Review #3

Chapter 2 - Lecture 4 Conditional Probability

Definitions of Gods of Descartes and Locke

Grade 6 correlated to Illinois Learning Standards for Mathematics

Understanding irrational numbers by means of their representation as non-repeating decimals

PETER WALKED ON WATER WITH JESUS

PHILOSOPHY OF LOGIC AND LANGUAGE OVERVIEW LOGICAL CONSTANTS WEEK 5: MODEL-THEORETIC CONSEQUENCE JONNY MCINTOSH

Agnostic KWIK learning and efficient approximate reinforcement learning

POSTSCRIPT A PREAMBLE

Lecture 3: Properties II Nominalism & Reductive Realism. Lecture 3: Properties II Nominalism & Reductive Realism

Descartes and Foundationalism

3 Articles with Proof and Disproof of Birch and Swinnerton

Pearson Education Limited Edinburgh Gate Harlow Essex CM20 2JE England and Associated Companies throughout the world

Aquinas Cosmological argument in everyday language

NPTEL NPTEL ONINE CERTIFICATION COURSE. Introduction to Machine Learning. Lecture-59 Ensemble Methods- Bagging,Committee Machines and Stacking

Balancing Authority Ace Limit (BAAL) Proof-of-Concept BAAL Field Trial

Mathematics as we know it has been created and used by

Logical Omniscience in the Many Agent Case

Chase William Gordon. Glendale Lodge #23. Grand Lodge of Arizona, F&AM

INTELLECTUAL HUMILITY AND THE LIMITS OF CONCEPTUAL REPRESENTATION

PEOPLE PRAYED FOR PETER

Math2UU3*TEST1. Duration of Test: 60 minutes McMaster University, 25 September Last name (PLEASE PRINT): First name (PLEASE PRINT): Student No.

Blessings and Birthrights

6.041SC Probabilistic Systems Analysis and Applied Probability, Fall 2013 Transcript Lecture 3

Computational Learning Theory: Agnostic Learning

CS485/685 Lecture 5: Jan 19, 2016

Brief Remarks on Putnam and Realism in Mathematics * Charles Parsons. Hilary Putnam has through much of his philosophical life meditated on

Artificial Intelligence. Clause Form and The Resolution Rule. Prof. Deepak Khemani. Department of Computer Science and Engineering

John 3:16, GNT. God sent Jesus to be my friend forever. Easter Matthew 26:20-30; 27:45-50; 28:1-7. Memory Verse

Our responsibility towards future generations. Lars Löfquist, Theology Department

McDougal Littell High School Math Program. correlated to. Oregon Mathematics Grade-Level Standards

The Development of Knowledge and Claims of Truth in the Autobiography In Code. When preparing her project to enter the Esat Young Scientist

Hardback?18.00 ISBN

6. Truth and Possible Worlds

Abram & God's Promise

Jesus Appeared to the Disciples

Meadowbrook Church of Christ Small Group Study Schedule The Blue Parakeet, Scot McKnight

Lecture 6 Workable Ethical Theories I. Based on slides 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley

Olivia for President. The room was neat and organized, the sun shining through her windows. Next to

Tutorial A03: Patterns of Valid Arguments By: Jonathan Chan

Blaise Pascal

Induction, Rational Acceptance, and Minimally Inconsistent Sets

Strictly speaking, all our knowledge outside mathematics consists of conjectures.

Quaerens Deum: The Liberty Undergraduate Journal for Philosophy of Religion

Discussion Notes for Bayesian Reasoning

Outline. The argument from so many arguments. Framework. Royall s case. Ted Poston

Journal of Philosophy, Inc.

PRAISES OF GOD S PEOPLE

FILE // A TO RATIONAL LIVING USER GUIDE DOCUMENT

Number, Part I of II

Introduction. Trial on air quashed as unsound (10) 1 Down, Daily Telegraph crossword 26,488, 1 March 2011

All They Know: A Study in Multi-Agent Autoepistemic Reasoning

Transcription:

The Pigeonhole Principle Lecture 45 Section 9.4 Robb T. Koether Hampden-Sydney College Mon, Apr 16, 2014 Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 1 / 23

1 The Pigeonhole Principle 2 Functions on Finite Sets 3 The Generalized Pigeonhole Principle 4 The Locker Door Problem 5 Assignment Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 2 / 23

Outline 1 The Pigeonhole Principle 2 Functions on Finite Sets 3 The Generalized Pigeonhole Principle 4 The Locker Door Problem 5 Assignment Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 3 / 23

The Pigeonhole Principle The Pigeonhole Principle (Version 1) If n > m and you put n pigeons into m pigeonholes, then at least at least two pigeons are in the same pigeonhole. The Pigeonhole Principle (Version 2) If A and B are finite sets and A > B and f : A B, then f is not one-to-one. Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 4 / 23

Example If a drawer contains 10 black socks and 10 blue socks, how many socks must you draw at random in order to guarantee that you have two socks of the same color? 20? 19? 11? 3? 2? Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 5 / 23

Example A bag of jellybeans contains dozens of jelly beans of each of 8 different colors. How many jellybeans must we choose in order to guarantee that we have at least two jellybeans of the same color? To guarantee three of the same color? To guarantee four of the same color? Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 6 / 23

Example If we choose 6 distinct integers from 1 to 9, At least one pair of them adds to 10. Why? At least two pairs of them have the same total. Why? How many integers must we choose from 1 to 99 in order to guarantee that at least two distinct pairs of them will have the same total? Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 7 / 23

Outline 1 The Pigeonhole Principle 2 Functions on Finite Sets 3 The Generalized Pigeonhole Principle 4 The Locker Door Problem 5 Assignment Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 8 / 23

Functions on Finite Sets Theorem Let A and B be finite sets with A = B and let f : A B. Then f is one-to-one if and only if f is onto. Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 9 / 23

Functions on Finite Sets Proof. Suppose that f is not onto. Then there exists y B such that y / f (A). So f (A) < B = A. However, restrict the codomain of f to f (A) and we have f : A f (A). By the Pigeonhole Principle, f is not one-to-one. Thus, if f is one-to-one, then f is onto. Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 10 / 23

Functions on Finite Sets Proof. Suppose that f is not one-to-one. Then f (A) < A = B. Therefore, f (A) B. Thus, f is not onto. Therefore, if f is onto, then f is one-to-one. Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 11 / 23

Decimal Expansions Theorem Let n m be a rational number in reduced form. If the decimal expansion of n m has not terminated after m significant digits, then it is a repeating decimal expansion. Furthermore, the repeating part of n m can have length no more than m. Find the decimal expansions of 1 16 and 1 17. Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 12 / 23

Outline 1 The Pigeonhole Principle 2 Functions on Finite Sets 3 The Generalized Pigeonhole Principle 4 The Locker Door Problem 5 Assignment Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 13 / 23

The Generalized Pigeonhole Principle The Generalized Pigeonhole Principle Let A and B be sets and let f : A B. If A > m B for some integer m, then there exists an element y B that is the image of at least m + 1 elements of A. Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 14 / 23

Example In a group of 85 people, at least 4 must have the same last initial. If we select 30 distinct numbers from 1 to 100, there must be at least three distinct pairs that have the same sum. What if we select 45 distinct numbers from 1 to 100? Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 15 / 23

Outline 1 The Pigeonhole Principle 2 Functions on Finite Sets 3 The Generalized Pigeonhole Principle 4 The Locker Door Problem 5 Assignment Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 16 / 23

The Locker Door Problem Suppose we have a hallway with 1000 lockers, labeled 1 through 1000. Each locker door is closed. We also have 1000 students, labeled 1 through 1000. We send each student down the hallway with the following instructions: If you are Student k, then reverse the state of every k-th door, beginning with Door k. After all the students have been sent down the hallway, which doors will be open? Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 17 / 23

The Locker Door Problem Suppose that we have only 10 doors and 10 students and that we wish to leave Doors 2, 4, 5, 8, and 9 open and the others closed. Which students should be send down the hallway? Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 18 / 23

The Locker Door Problem Clearly, we must not send Student 1 down the hallway. Door 2 is closed, so we must send Student 2 down the hallway. Door 3 is closed, so we must not send Student 3 down the hallway. Door 4 is open, so we must not send Student 4 down the hallway. Door 5 is closed, so we must send Student 5 down the hallway. And so on. Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 19 / 23

The Locker Door Problem Let D {1, 2, 3,..., 1000}. Can we choose a set S of students so that if we send them down the hallway, the doors in D will be open and the rest will be closed? Let S 1, S 2 be two distinct subsets of {1, 2, 3,..., 1000}. If we send the students in S 1 down the hallway, will a different set of doors be left open than if we had sent the students in S 2 down the hallway? Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 20 / 23

The Locker Door Problem Let A = {1, 2, 3,..., 1000}. Define f : P(A) P(A) as follows. For any set S A, let f (A) be the set of doors left open after the students in S have been sent down the hallway. Prove that f is a one-to-one correspondence. Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 21 / 23

Outline 1 The Pigeonhole Principle 2 Functions on Finite Sets 3 The Generalized Pigeonhole Principle 4 The Locker Door Problem 5 Assignment Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 22 / 23

Assignment Assignment Read Sections 9.4, pages 554-563. Exercises 2, 4, 8, 13, 18, 19, 21, 25, 27, 30, 34, 37, page 563. Robb T. Koether (Hampden-Sydney College) The Pigeonhole Principle Mon, Apr 16, 2014 23 / 23