1. Trang chủ
  2. » Giáo án - Bài giảng

01Pigeonhole principle discrrete mathematics for computer science

8 78 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 8
Dung lượng 1,26 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

The Pigeonhole Principle... The Pigeonhole Principle• In words: – If n pigeons are in fewer than n pigeonholes, some pigeonhole must contain at least two pigeons n What is n?. Appl

Trang 1

The Pigeonhole Principle

Trang 2

The Pigeonhole Principle

• In words:

– If n pigeons are

in fewer than n

pigeonholes,

some

pigeonhole must

contain at least

two pigeons

n

What is n?

http://www.blog.republicofmath.com/archives/3115

Trang 3

The Pigeonhole Principle

• In math:

Let f : A → Β , ωηερε Α ανδ Β

αρε φινιτε σετσ ανδ Α > Β

Τηεν τηερε εξιστ διστινχτ ελεµ εντσ

α1, α2 ∈ Α συχη τηατ φ ( α1) = φ ( α2).

Trang 4

The Pigeonhole Principle

• What is a set?

• a finite set?

• What is |A|?

• What is a function?

• the domain of a function?

• the codomain of a function?

• Why say “distinct”?

Let f : A → Β , ωηερε Α ανδ Β αρε φινιτε σετσ ανδ Α > Β Τηεν τηερε εξιστ διστινχτ ελεµ εντσ

α1, α2 ∈ Α συχη τηατ φ (α1) = φ (α2).

Trang 5

Applications of The Pigeonhole

Principle

• In any group of 8 people, two were born on the same day of the week

• What are the “pigeons” and what

are the “pigeonholes”?

• A = the set of people, B = {Sun, … Sat}, f(a) = the day of the week on which a was born

Trang 6

Applications of The Pigeonhole

Principle

• Suppose each

pigeonhole contains

one bird, and every bird

moves to an adjacent

square (up, down, left

or right) Show that no

matter how this is done,

some pigeonhole winds

up with at least 2 birds

Trang 7

Applications of The Pigeonhole

Principle

• Suppose each

pigeonhole contains

one bird, and every bird

moves to an adjacent

square (up, down, left

or right) Show that no

matter how this is done,

some pigeonhole winds

up with at least 2 birds

Trang 8

Applications of The Pigeonhole

Principle

• Suppose each

pigeonhole contains

one bird, and every bird

moves to an adjacent

square (up, down, left

or right) Show that no

matter how this is done,

some pigeonhole winds

up with at least 2 birds

Ngày đăng: 22/03/2019, 10:33

TỪ KHÓA LIÊN QUAN