Pigeonhole Principle

Similar documents
24 The Pigeonhole Principle

Functions Introduction to Functions 7.2 One-to-One, Onto, Inverse functions. mjarrar Watch this lecture and download the slides

THE PIGEONHOLE PRINCIPLE AND ITS APPLICATIONS

COMP Intro to Logic for Computer Scientists. Lecture 9

Algebra 3 SAILS. Pacing Guide to make an A in the course = equivalent to 21 ACT math sub-score: SAILS Pacing for Traditional Schedule Module 1

Approximating the position of a hidden agent in a graph

Table of Contents. Foreward 13 Introduction 15 Acknowledgements 17. Chapter 1: Modern Training Fundamentals 19

Integer Operations Long-Term Memory Review Grade 7 Review 1

LOCAL LITTER CHECK. Results Summary form. Location. Characteristics Clean Hot spot Number of bins Number of people Litter Overall Rating Count area

Applications KARL MALONE JOHN STOCKTON. a. What fraction benchmark is near the number of free throws made by each player?

PROBLEM SOLVING. (2) Cross out one digit in the number 1829 so that you get the smallest possible number.

A C E. Applications. Applications Connections Extensions

Building Concepts: Mean as Fair Share

Games! June Seven Mathematical Games. HtRaMTC Paul Zeitz,

The Origin of Species: Lizards in an Evolutionary Tree

Cats, lions and zebras: assumptions, predictions, the utility function, and, sufficient but not necessary

Pullet or Cockerel? How to Know

Chapter 6: Extending Theory

Frogs, toads and salamanders disappearing fast: study By Baltimore Sun, adapted by Newsela staff May. 30, :00 AM

He mustn t hear me breathe.

PROBLEM SOLVING JUNIOR CIRCLE 01/09/2011

Welcome to the case study for how I cured my dog s doorbell barking in just 21 days.

Section: 101 (2pm-3pm) 102 (3pm-4pm)

Semantics. These slides were produced by Hadas Kotek.

Lesson 1.1 Assignment

Yes, heterozygous organisms can pass a dominant allele onto the offspring. Only one dominant allele is needed to have the dominant genotype.

THE DIARY OF ANNE FRANK at the Prospect Playhouse Director: Kirsty Halliday (O Sullivan) Producer: Sheree Ebanks

Determiners and generalized quantifiers

A Dog s Life. Unit 7. Speaking. Vocabulary - Dogs. Dog breeds: poodle husky German shepherd Labrador Yorkshire terrier

Russian zoo mated a lion with a tiger, resulting in a rare baby liger

Super Star Nutrition For Kids

Problems from The Calculus of Friendship:

Idioms n Phrases Questions for SBI CLERK Pre & IBPS CLERK Pre Exams.

January 30, Genetics.notebook

Rolling Bones 4-H Club. Where, What, When, Why?

Honors Geometry Formative Assessment: Sections * Required

Loose Leash Walking. Core Rules Applied:

log on (using IE for your browser is recommended) at

Housetraining Your Adopted Dog

Getting Started with Java Using Alice. 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

How the Camel Got His Hump

Finch Robot: snap level 4

R A I S I N G Y O U R H O M E C H I C K E N F L O C K

The Distorting Mirror

On Some Counterexamples to the Transitivity of Grounding

Elicia Calhoun Seminar for Mobility Challenged Handlers PART 2

CITY COUNCIL JUNE 10, :00 PM

Lecture 1: Turtle Graphics. the turtle and the crane and the swallow observe the time of their coming; Jeremiah 8:7

8/4/2014. Consumers are concerned about food safety!

BOWNE BYTES. A Monthly Newsletter from the PTA January Upcoming Events FAREWELL DR. BOLEY! WELCOME MR. LIEBERMAN! HAPPY JANUARY!

Healthy Hands at Work Being sick at work is everyone s business

Wolf Reintroduction Scenarios Pro and Con Chart

LEARNING OBJECTIVES. Watch and understand a video about a wildlife organization. Watch and listen

Other Patterns of Inheritance:

The Making of the Fittest: Natural Selection and Adaptation

Consumers are concerned about food safety!

The City School. Learn Create Program

How to House Train a Dog in Seven Days

BBC LEARNING ENGLISH 6 Minute English Water burial

CLIL READERS. Level headwords. Level headwords. Level 5. Level headwords. Level 6 1,200 headwords. Level headwords

Challenge Math & Summer Activities

BEGINNER I OBEDIENCE Week #1 Homework

Getting Started. Instruction Manual

Application Decisions:

For The Blind Man In The Dark Room Looking For The Black Cat That Isn't There By Anthony Huberman

Social Media Antibiotic Stewardship Digital Images

CHRISTMAS IN OZ BY VAL R. CHEATHAM. Performance Rights

VBS 2015 Adult VBS Extras Conference

2019 Championships Qualification and Info Sheet

SPECIFICATIONS FOR THE ORGANIZATION OF THE FCI TRADITIONAL STYLE (TS) HERDING EUROPEAN CHAMPIONSHIPS FCI HEC TS

Rabies: What kids need to know! Henry County Animal Care & Control

Not All Data is Linear

SAVE A LIFE. SAVE A LIFE: What Everyone Should Know to Stop Bleeding After an Injury

Motuora island reptile monitoring report for common & Pacific gecko 2017

2014, 54 AN ACT ENSURING THE SAFETY OF PEOPLE WITH PETS IN DISASTERS

New Year s Resolutions for Dogs 2016

The Case for Dog Kennels on Titanic s Boat Deck

GEOG 490/590 SPATIAL MODELING SPRING 2015 ASSIGNMENT 3: PATTERN-ORIENTED MODELING WITH AGENTS

Heuristic search, A* CS171, Winter 2018 Introduction to Artificial Intelligence Prof. Richard Lathrop. Reading: R&N

Worksheet for Morgan/Carter Laboratory #9 Mendelian Genetics II: Drosophila

LRN ENTRY LEVEL 3 CERTIFICATE IN ESOL INTERNATIONAL (CEF B1)

Cat Survey Key Findings Report. Released March 2014 Multnomah County Animal Services

Fossilized remains of cat-sized flying reptile found in British Columbia

Blue eyed Villagers. Contents. Summer Puzzle 2. 2 Discussion 3. 3 Solution 4

2. Some animals protect themselves by using their teeth and claws. running fast. stinging. camouflage.

Shearing Sheep Tips for Shearing Day

Animal Breeding & Genetics

Copyright 2008, Animal Behavior Associates, Inc. All Rights Reserved.

Consolidating Knowledge. Strategies to Embed Knowledge into your Long Term Memory

Lab Developed: 6/2007 Lab Revised: 2/2015. Crickthermometer

CHAPTER 1 OBEDIENCE REGULATIONS GENERAL REGULATIONS

F. Smarandache & V. Christianto THE ART OF WAG. Awaken the Dog inside. (Caution: Do these at your own risks) InfoLearnQuest, USA

Reader s Theater. A short play on the rules of the Iditarod Race. Written by Jennifer Slifer, Cromwell Middle School, Cromwell, CT.

Ty See competition results. Jaime See competition results. K-9 Kapers. Nov 2015 Beth Widdows, Temporary Editor

Stone Soup 1 st & 2 nd Grade Spring Musical Thursday, April 9 th at 2:00pm

Did you know the peanut is not really a nut? It. looks like one, but it s not. Peanuts are the seeds of a plant and belong to the pea family.

Laura Ackerman and Addie

INSTALLATION INSTRUCTIONS

Narragansett Council 2016 Cub Scout Klondike Derby. Camp Norse January 23 rd 8am-3:30pm

Intestinal Worms CHILDREN SAY THAT WE CAN. Intestinal worms affect millions of children worldwide.

Transcription:

Pigeonhole Principle TUT0003 CSC/MATA67 October 19th, 2017

Housekeeping Quiz 3 handed back Ex4 marking + Ex3 marks A1 is out! CSEC-S meeting tomorrow (3-5pm in IC200) CSEC Chess AI Seminar (6-8pm, IC230) Midterm reminder *Insert eerie music here*

Quiz today? But is there a quiz today?

Quiz today? But is there a quiz today? Of course there is, get bamboozled.

Clearing up Confusion on Contradiction... Contradiction: Defn: (Noun) A combination of statements, ideas, or features of a situation that are opposed to one another. How does the contradiction of a statement being false mean that the original statement holds true? The big reason to use a proof by contradiction? The original proof is too hard to prove.

Clearing up Confusion on Contradiction... Example: n Z, n 3 + 5 is odd n is even. Suppose both n and n 3 + 5 are odd. By the definition of odd numbers, there exists integers k and j such that n 3 + 5 = 2k + 1 and n = 2j + 1 Substitute for n, giving us: 2k + 1 = n 3 + 5 = (2j + 1) 3 + 5 = 8j 3 + 3(2j) 2 + 3(2j) + 6 2k = 8j 3 + 12j 2 + 6j + 5 Divide by 2 and rearrange: k 4j 3 6j 2 3j = 5 2 This doesn t hold under integer subtraction, thus breaking our contradiction, proving the original statement.

What to do for proof by contradiction: case by case Statement P(x) P(x) Q(x) How to Contradict it (Assume) P(x) P(x) Q(x)

Pigeonhole Principle Def n : If k + 1 or more pigeons are distributed among k pigeonholes, then at least one pigeonhole contains two or more pigeons. Layman s terms: If there s more items to store than there are individual boxes, someone s gotta share.

Pigeonhole Principle: A step-by-step process Applying the Pigeonhole Principle is done using the following process: 1 Figure out what your pigeons/items are

Pigeonhole Principle: A step-by-step process Applying the Pigeonhole Principle is done using the following process: 1 Figure out what your pigeons/items are 2 Figure out what your pigeonholes/slots are, ensure there are less pigeonholes/slots than there are pigeons/items

Pigeonhole Principle: A step-by-step process Applying the Pigeonhole Principle is done using the following process: 1 Figure out what your pigeons/items are 2 Figure out what your pigeonholes/slots are, ensure there are less pigeonholes/slots than there are pigeons/items 3 Assign a rule to the pigeonholes. What happens once two items share a slot?

Pigeonhole Principle: A step-by-step process Applying the Pigeonhole Principle is done using the following process: 1 Figure out what your pigeons/items are 2 Figure out what your pigeonholes/slots are, ensure there are less pigeonholes/slots than there are pigeons/items 3 Assign a rule to the pigeonholes. What happens once two items share a slot? 4 Apply it to your overarching proof

Pigeonhole Principle: A step-by-step process Applying the Pigeonhole Principle is done using the following process: 1 Figure out what your pigeons/items are 2 Figure out what your pigeonholes/slots are, ensure there are less pigeonholes/slots than there are pigeons/items 3 Assign a rule to the pigeonholes. What happens once two items share a slot? 4 Apply it to your overarching proof 5 QED???

Pigeonhole Principle: Example Q: Prove that if seven distinct numbers are selected from {1, 2,..., 11}, then some two of these numbers sum to 12. What are our pigeons? What are our pigeonholes?

Pigeonhole Principle: Example Q: Prove that if seven distinct numbers are selected from {1, 2,..., 11}, then some two of these numbers sum to 12. What are our pigeons? What are our pigeonholes? Pigeons: The numbers in our set. Pigeonholes: Tuples containing numbers whose sum is 12. {1, 11}, {2, 10}, {3, 9}, {4, 8}, {5, 7}, {6}

Pigeonhole Principle: Example Q: Prove that if five points are selected from the interior of a 1x1 square, then there are two points whose distance is less than 2 2.

Pigeonhole Principle: Example Q: Prove that if five points are selected from the interior of a 1x1 square, then there are two points whose distance is less than 2 2. Pigeons: The five points within the square. Pigeonholes: Four 0.5x0.5 Sub-spaces created by joining the midpoints of opposite edges of the square.

Pigeonhole Principle: Example Q: Prove that within in a group of n people, there exists a pair of people who have the same number of friends. NOTE: Everyone is friends with at least someone who isn t themselves.

Pigeonhole Principle: Example Q: Prove that within in a group of n people, there exists a pair of people who have the same number of friends. NOTE: Everyone is friends with at least someone who isn t themselves. Pigeons: The number of people in the group. Pigeonholes: The number of friends a person has.