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

Similar documents
24 The Pigeonhole Principle

THE PIGEONHOLE PRINCIPLE AND ITS APPLICATIONS

Pigeonhole Principle

Approximating the position of a hidden agent in a graph

6. 1 Leaping Lizards!

COMP Intro to Logic for Computer Scientists. Lecture 9

Games! June Seven Mathematical Games. HtRaMTC Paul Zeitz,

PARADE COLLEGE Mathematics Methods 3&4-CAS Probability Analysis SAC 2

Lecture 4: Controllability and observability

Semantics. These slides were produced by Hadas Kotek.

A Very Improbable Story Ebook Gratuit

Chapter VII Non-linear SSI analysis of Structure-Isolated footings -soil system

1.1 Brutus Bites Back

Lesson 1.3. One Way Use compatible numbers. Estimate Sums Essential Question How can you use compatible numbers and rounding to estimate sums?

Recurrent neural network grammars. Slide credits: Chris Dyer, Adhiguna Kuncoro

Addition: Sums to 10. Operations and Algebraic Thinking. Objective. Common Core State Standards. Talk About It. Solve It.


CS108L Computer Science for All Module 7: Algorithms

1.1 Brutus Bites Back A Develop Understanding Task

Lesson 1.1 Assignment

Nathan A. Thompson, Ph.D. Adjunct Faculty, University of Cincinnati Vice President, Assessment Systems Corporation

THE NATURE OF ANIMAL HEALING : THE DEFINITIVE HOLISTIC MEDICINE GUIDE TO CARING FOR YOUR DOG AND CAT

Informed search algorithms

Released Items Grade 5 ELA-Reading AzMERIT

Geometry from Scratch

Book Cats Test Year 7 Sample Paper Quantitative Epub

The Cat in the Hat. by Dr. Seuss. Teacher & Student Guide. by Heather Hall. Developing Thinkers. Research, Reason, Relate, Record. PAHS...

Learn more at LESSON TITLE: BRINGING UP BIRDY GRADE LEVEL: 2-3. TIME ALLOTMENT: One to two 45-minute class periods OVERVIEW:

Handling missing data in matched case-control studies using multiple imputation

2010 Canadian Computing Competition Day 1, Question 1 Barking Dogs!

We recommend you cite the published version. The publisher s URL is

Chinese New Year ACTIVITY 1: Animals (all levels) - WORKSHEET 1

7. Flock book and computer registration and selection

Mendelian Genetics Using Drosophila melanogaster Biology 12, Investigation 1

Data Mining Classification: Alternative Techniques. Lecture Notes for Chapter 4. Rule-Based. Introduction to Data Mining, 2 nd Edition

ACTIVATE PRIOR KNOWLEDGE

Turtle Ballet: Simulating Parallel Turtles in a Nonparallel LOGO Version. Erich Neuwirth

Sketch Out the Design

Bacteriology and Mycology Course Specifications ( ) A. BASIC INFORMATION B. PROFESSIONAL INFORMATION

Pigeon Feathers And Other Stories John Updike Hundchenore

DOWNLOAD OR READ : THE CORNELL BOOK OF CATS A COMPREHENSIVE AUTHORITATIVE MEDICAL REFERENCE FOR EVERY CAT KITTEN PDF EBOOK EPUB MOBI

FVM WULS-SGGW yearly curriculum hours

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

Beaks Of Finches Nys Lab Answer Key

PIGEONETICS LAB PART 1

Biology Meets Math. Predator-Prey Relationships in Belowground Ecosystems. US Department of Homeland Security

Solving Problems Part 2 - Addition and Subtraction

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

Our class had 2 incubators full of eggs. On day 21, our chicks began to hatch. In incubator #1, 1/3 of the eggs hatched. There were 2 chicks.

Introduction to phylogenetic trees and tree-thinking Copyright 2005, D. A. Baum (Free use for non-commercial educational pruposes)

Physics Based Ragdoll Animation

Pigeon And Crow Population Control by Trapping

INFO 1103 Homework Project 1

Tick Talk! Lyme Disease Educational Materials for Elementary Schools (Grades 3, 4, and 5)

DOWNLOAD OR READ : CAT 2002 SOLUTIONS PDF EBOOK EPUB MOBI Page 1

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

Probability - Grade 5

Midterm Exam For Anatomy And Physiology Chapter File Type

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

Course # Course Name Credits

The Cat s Meow! Kids learn about our relationship with cats. Hot Diggity Dogs! Explains how dogs became members of our. ASPCA AnimaLessons

Simon Fraser University Fall Econ 302 Final Exam Solution Instructor: Songzi Du Saturday December 10, 2016, 8:30 11:30 AM

Comparing DNA Sequences Cladogram Practice

A Column Generation Algorithm to Solve a Synchronized Log-Truck Scheduling Problem

The Be a Tree. Posters to support delivery of the manual program. These can also be used as a support tool for the PowerPoint version

Step 4: All of the offspring will be rw. So the genotypic ratio is: 4 : 0 : 0 rw ww rr

Getting Started! Searching for dog of a specific breed:

Chapter 11 An Introduction to Crime Reconstruction

Leptospirosis Home Oie

Course Offerings: Associate of Applied Science Veterinary Technology. Course Number Name Credits

Mathematical models for dog rabies that include the curtailing effect of human intervention

Zigzag Movement (Way Things Move) By Schaefer;Lola M.

A GUIDE TO BUILDING FERAL CAT SHELTERS. brought to you by

How much benadryl can I give my dog? Make sure you know the answer to this before you start treating your puppy with benadryl. Learn the answer here.

Virtual Genetics Lab (VGL)

5/3/2018 3:09 AM Approved (Changed Course) ANHLT 151 Course Outline as of Fall 2017

USING FARMAX LITE. Upper navigation pane showing objects. Lower navigation pane showing tasks to be performed on objects

TITLE: Anti-Inflammatory Cytokine Il-10 and Mammary Gland Development. CONTRACTING ORGANIZATION: University of Buffalo Buffalo, New York

Shapely, curved, baroque style table and accessory legs are not the only distinguishing elements of the Lucy Collection. Different models combine

Adélie Penguin Bird Count

Genetics Punnett Squares Practice Packet Answer Key

Veterinary Medical Terminology

tucker turtle puppet D4F4F186CFFB4B124D1E8F6FE09AB085 Tucker Turtle Puppet

Biology If8765 Punnett Squares

GPS in pigeon racing 2018 Ove Fuglsang Jensen

BVetMed Programme Specification Applies to Cohort Commencing 2018

5 Killer Dog Training Mindmaps to Help You Effectively Train Your Dog in 30 Days

The Jet Engine Inventions that Shook the World Series. Jet engine, propeller, Royal Air Force, Frank Whittle, E.A. Griffiths, propulsion

INFO 1103 Homework Project 2

Reducing Homeless Cat Populations on Kauai Compassionate Approaches are Working Better

~~~***~~~ A Book For Young Programmers On Scratch. ~~~***~~~

FOOTEDNESS IN DOMESTIC PIGEONS

FIF CAT WG Discussion Document Firm-Designated ID Walk-Through Originally Submitted: April 8, 2013, Updated August 5, 2014

PROBLEM SOLVING JUNIOR CIRCLE 01/09/2011

The Winged Cat And Other Tales Of Ancient Civilizations

VGP 101 Part 2: Making a Training Plan

S M ALL. Up to 45 dbrw* Height 2.5 m. Custom layout* Air cooling* Height 2.2 m. Space capacity. Easy access. For 1 person. Up to. 2 persons.

Common Multiples and Common Factors

Approved by Research Committee in November 2016.

Biology 100. ALE #8. Mendelian Genetics and Inheritance Practice Problems

Transcription:

9/6/17 Mustafa Jarrar: Lecture Notes in Discrete Mathematics Birzeit University Palestine 2015 Functions 71 Introduction to Functions 72 One-to-One Onto Inverse functions 73 Application: The Pigeonhole Principle mjarrar 2015 1 Watch this lecture and download the slides Course Page: http://wwwjarrarinfo/courses/dmath/ More Online Courses at: http://wwwjarrarinfo Acknowledgement: This lecture is based on (but not limited to) to chapter 5 in Discrete Mathematics with Applications by Susanna S Epp (3rd Edition) 2 1

The Pigeonhole Principle VU 1011' I- Pigeons Pigeonholes (a) Pigeonhole Principle A function from one finite set to a smaller finite set cannot be one-to-one: There must be a least two elements in the domain that have the same image in the co-domain We will study this idea and use it to solve several types of problems 3 Applying the Pigeonhole Principle In a group of six people must there be at least two who were born in the same month? If the the group is thirteen? 13 people (pigeons) 1 months (pigeonholes) B B(xi) = birth month of xi * Feb Xe 4 2

Applying the Pigeonhole Principle Among the residents of New York City must there be at least two people with the same number of hairs on their heads? People in New York City (pigeons) Possible number of hairs on a person's head (pigeonholes) H H(x) = the number of hairs on xi's head Given that (5M in New York 3M hairs in a head) 5 Finding the Number to Pick to Ensure a Result A drawer contains ten black and ten white socks You reach in and pull some out without looking at them What is the least number of socks you must pull out to be sure to get a matched pair? Explain how the answer follows from the pigeonhole principle Socks pulled out (pigeons) Colors (pigeonholes) C C(si) = color of Si w * black 6 3

if n pigeons fly into m pigeonholes and for some positive integer k n > km then at least one pigeonhole contains k+1 or more pigeons For example: Let m = 4 n = 9 and k = 2 Pigeons Pigeonholes 7 if n pigeons fly into m pigeonholes and for some positive integer k n > km then at least one pigeonhole contains k+1 or more pigeons For any function f from a finite set X to a finite set Y and for any positive integer k if N(X) > k N(Y) then there is some y E Y such that y is the image of at least k + I distinct elements of X 8 4

Applying the Show how the generalized pigeonhole principle implies that in a group of 85 people at least 4 must have the same last initial 85 people (pigeons) 26 initials (pigeonholes) I(xi) = the initial of x's last name A< *B 85 > 3 26 = 78 thus at least (3+1) must have the same last initial 9 An other way (Contrapositive) of forming the Pigeonhole Principle: if we have m pigeonholes and n pigeons; for some positive integer if each pigeonhole has at most k pigeons then then are at most k n pigeons Generalized Pigenohole Principle (Contrapositive Form) For any function f from a finite set X to a finite set Y and for any positive integer k if for each y E Y f -'(y) has at most k elements then X has at most k * N(Y) elements x 1 x 2 X x n f(x) f -1 (y) Y y 1 Y 2 y m 10 5

Applying the Suppose no 4 people out of the 85 had the same last initial Then at most 3 would share any particular one? 85 people (pigeons) 26 initials (pigeonholes) I(xi) = the initial of x's last name A< *B Total number of people is at most 3 26 = 78 But this contradicts the fact that there are 85 people in all Hence at least 4 people share a last initial 11 Using the Contrapositive Form of the Generalized Pigeonhole Principle There are 42 students who are to share 12 computers Each students uses exactly 1 computer and no computer is used by more than 6 students Show that at least 5 computers are used by 3 or more students k: number of computers used by 3 or more students èwe must show that k 5 Students Computers x 1 x 2 f(x) y 1 y 2 x 42 y 12 12 6

Using the Contrapositive Form of the Generalized Pigeonhole Principle There are 42 students who are to share 12 computers Each students uses exactly 1 computer and no computer is used by more than 6 students Show that at least 5 computers are used by 3 or more students k: number of computers used by 3 or more students èwe must show that k 5 6k: # of students using computers with 3 or more 12-k: # of computers used by at most 2 students 2(12-k) = 24-2k: # of students on computers used by 2 st at most (6k) + (24-2k) = 4k + 24: max # of students 42: all students 4k + 24 42 So k 5 13 7