pigeonhole principle,cardinality,countability

28
Pigeonhole Principle, Countability, Cardinality Presented by: 08-SE-59 08-SE-72

Upload: kiran-munir

Post on 24-May-2015

6.412 views

Category:

Education


2 download

DESCRIPTION

It describes three phenomenal concepts of discrete mathematics.. Presented in 3rd semester :)

TRANSCRIPT

Page 1: Pigeonhole Principle,Cardinality,Countability

Pigeonhole Principle, Countability, Cardinality

Presented by:08-SE-5908-SE-72

Page 2: Pigeonhole Principle,Cardinality,Countability

What is a Pigeonhole Principle…?

Page 3: Pigeonhole Principle,Cardinality,Countability

The Pigeonhole Principle Suppose a flock of pigeons fly into a set of pigeonholes. If there are more pigeons than pigeonholes, then there must be at least 1 pigeonhole that has more than one pigeon in it.

If n items are put into m pigeonholes with n > m, then at least one pigeonhole must contain more than one item.

Page 4: Pigeonhole Principle,Cardinality,Countability

The Pigeonhole Principle A function from one finite set to a smaller finite set cannot be one-to-one. There must be at least two elements in the domain that have the same image in the co domain…!

Page 5: Pigeonhole Principle,Cardinality,Countability

Pigeons Pigeon holes

Page 6: Pigeonhole Principle,Cardinality,Countability

Daily Life Examples 15 tourists tried to hike the

Washington mountain. The

oldest of them is 33,

while the youngest one is 20. Then there

must be at least 2 tourists of the

same age.

Page 7: Pigeonhole Principle,Cardinality,Countability

There are 380 students at Magic school. There must at least two students whose birthdays happen on a

same day.

Page 8: Pigeonhole Principle,Cardinality,Countability

65 students appeared in an exam. The possible grades are:

A, B, C and D. There are at least two of them who managed to get the same grade in the exam.

Page 9: Pigeonhole Principle,Cardinality,Countability

Generalized Pigeonhole Principle If N objects are placed into k boxes,

then there is at least one box containing at least N/k objects…!

For Example:

Among any 100 people there must be at least 100/12 = 9 who were born in the same month.

Page 10: Pigeonhole Principle,Cardinality,Countability

Problem Statement Show that if any 5

no from 1 to 8 are chosen then two of them will add to 9.

Page 11: Pigeonhole Principle,Cardinality,Countability

How to Solve…?

Construct 4 different sets each containing two numbers that add up to 9.

A1={1,8}A2={2,7}A3={4,5}A4={3,6}

Page 12: Pigeonhole Principle,Cardinality,Countability

Each of the 5 no‘s chosen must belong to one of these sets, since there are only 4 sets the pigeon hole principle states that two of the chosen numbers belong to the same sets.

These numbers add up to 9.

Page 13: Pigeonhole Principle,Cardinality,Countability

CardinalityWhat do you mean by cardinality…?

Page 14: Pigeonhole Principle,Cardinality,Countability

Cardinality of two Sets Two sets A and B have the same

cardinality if and only if there is a one-to-one correspondence from A to B i.e. there is a function from A to B that is one-to-one and onto…!

Page 15: Pigeonhole Principle,Cardinality,Countability

How Cardinality is defined...?There are two approaches to cardinality – one which compares sets directly using

bijections and injections and another which uses cardinal numbers. Cardinal Numbers:

No. of elements in a set is called cardinal number.

Page 16: Pigeonhole Principle,Cardinality,Countability

Properties of CardinalityReflexive property of cardinality; A

has the same cardinality as A.Symmetric property of cardinality; If A

has the same cardinality as B than B has the same cardinality as A.

Transitive property of cardinality; If A has the same cardinality as B and B has the same cardinality as C then A has the same cardinality as C…

Page 17: Pigeonhole Principle,Cardinality,Countability

Cardinality of a Finite Set

Finite set: A set is called finite if and only if it is

empty set or there is a one-to-one correspondence from

{1,2,_ _,n} to it, where n is a positive integer.

Page 18: Pigeonhole Principle,Cardinality,Countability

Explanation & ExampleLet A={(x+1)3 | xЄW & 1 ≤ (x+1)3 ≤ 3000}Let’s find the cardinality of A. After a few

calculation we observe that (0+1)3=1 (1+1)3=8

.

. (13+1)3=2744So we have a bijection f={0,1,…..,13}→A wheref(x)=(x+1)3.Therefore,|A|={0,1,….,13}=A

Page 19: Pigeonhole Principle,Cardinality,Countability

Cardinality of an Infinite SetInfinite Set: A set is said to be infinite if

it is equivalent to its proper subset.

Page 20: Pigeonhole Principle,Cardinality,Countability

Explanation & ExampleLet S={ n Є Z+=: n=k2, for some positive integer

k}And Z+ denote the set of positive integersLet there be a function P: Z+ S for all positive

Integers. f(k)=k2

f is one-one f(k1)=f(k2) (for all k1, k2

belongs Z+) k1

2=k22

k1= ±k2 ( but k1 and k2 are positive)

Hence k1=k2

Page 21: Pigeonhole Principle,Cardinality,Countability

f is onto Suppose n Є S by definition of S , n= k2

for some positive integer k. By definition of f

n=f(k).

We can see that there is a one-one correspondence from Z+ to S

So we can say S and Z+ have same cardinality.

Page 22: Pigeonhole Principle,Cardinality,Countability

CountabilityWhat does it mean to say

that a set iscountable…?

Page 23: Pigeonhole Principle,Cardinality,Countability

Countable SetA set A is said to be countable if it is either finite

OR its Denumerable Denumerable: If a set is equivalent to the

set of natural numbers N then it is called denumerable set.

Page 24: Pigeonhole Principle,Cardinality,Countability

Countable Properties

Every subset of N is countable.S is countable if and only if |S| ≤ |N|.Any subset of a countable set is countable.Any image of a countable set is countable.

Page 25: Pigeonhole Principle,Cardinality,Countability

Techniques to Show CountabilityAn interesting and useful fact about

countability is that the set NxN is countable.

Theorem: NxN is a countable set

Page 26: Pigeonhole Principle,Cardinality,Countability

Proof Note that NxN is countable as a consequence

of the definition because the function f: NxN→N given by f (m,n) = 2m3n is injective.

This follows because if A and B are countable there are surjections f:N→A and g:N→B. So

fxg : NxN→AxB is a surjection from the countable set NxN

to the set AxB. This result generalizes to the Cartesian product of any finite collection of countable sets.

Page 27: Pigeonhole Principle,Cardinality,Countability

Conclusion Pigeonhole Principle says that there can’t exist 1-1 correspondence between twosets those have different cardinality. But we

saw that two sets which have 1-1 correspondence have the same cardinality.

Page 28: Pigeonhole Principle,Cardinality,Countability

Thanks...All Is

Well..