3.4 Cardinality Definition 3.7: The empty set is a finite set of cardinality 0. If there is a one-to-one correspondence between A and the set {0,1,2,3,…,

Slides:



Advertisements
Similar presentations
Tutorial 2: First Order Logic and Methods of Proofs
Advertisements

COUNTING AND PROBABILITY
Recursively Defined Functions
3.5 Paradox  1.Russell’s paradox  A  A, A  A 。  Russell’s paradox: Let S={A|A  A}. The question is, does S  S?  i.e. S  S or S  S?  If S  S,
3.3 The Characteristic function of the set  function from universal set to {0,1}  Definition 3.6: Let U be the universal set, and let A  U. The characteristic.
Copyright © Zeph Grunschlag, Counting Techniques Zeph Grunschlag.
CSE115/ENGR160 Discrete Mathematics 02/01/11
Functions f( ) = A B Lecture 15: Nov 4.
Properties of the Integers: Mathematical Induction
Functions A B f( ) =. This Lecture We will define a function formally, and then in the next lecture we will use this concept in counting. We will also.
Combinatorics 3/15 and 3/ Counting A restaurant offers the following menu: Main CourseVegetablesBeverage BeefPotatoesMilk HamGreen BeansCoffee.
Discrete Mathematics, Part II CSE 2353 Fall 2007 Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University Some slides.
DISCRETE COMPUTATIONAL STRUCTURES CSE 2353 Summer 2005.
2.4 Sequences and Summations
Discrete Mathematical Structures (Counting Principles)
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
Chapter 2 Mathematical preliminaries 2.1 Set, Relation and Functions 2.2 Proof Methods 2.3 Logarithms 2.4 Floor and Ceiling Functions 2.5 Factorial and.
DISCRETE COMPUTATIONAL STRUCTURES CS Fall 2005.
Dr. Eng. Farag Elnagahy Office Phone: King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222.
3. Counting Permutations Combinations Pigeonhole principle Elements of Probability Recurrence Relations.
4.1.2 Pigeonhole principle:Strong Form  Theorem 4.2: Let q 1,q 2,…,q n be positive integers. If q 1 +q 2 +…+q n -n+1 objects are put into n boxes, then.
CS201: Data Structures and Discrete Mathematics I
Aim: How can the word ‘infinite’ define a collection of elements?
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
CS 103 Discrete Structures Lecture 13 Induction and Recursion (1)
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 7 Functions Instructor: Hayk Melikyan Today we will review sections 7.3, 7.4 and 7.5.
CS 285- Discrete Mathematics
1 Chapter 2 Pigeonhole Principle. 2 Summary Pigeonhole principle –simple form Pigeonhole principle –strong form Ramsey’s theorem.
2/24/20161 One, two, three, we’re… Counting. 2/24/20162 Basic Counting Principles Counting problems are of the following kind: “How many different 8-letter.
Introduction Suppose that a password on a computer system consists of 6, 7, or 8 characters. Each of these characters must be a digit or a letter of the.
Pigeonhole Principle. If n pigeons fly into m pigeonholes and n > m, then at least one hole must contain two or more pigeons A function from one finite.
Section 2.5. Cardinality Definition: A set that is either finite or has the same cardinality as the set of positive integers (Z + ) is called countable.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Chapter 5 Counting 歐亞書局.
Function Hubert Chan (Chapter 2.1, 2.2) [O1 Abstract Concepts]
Discrete Mathematics Lecture 6
Discrete Mathematics Lecture 3 (and 4)
Discrete Mathematics CS 2610
The Pigeonhole Principle
ICS 253: Discrete Structures I
Chapter 7: Counting Principles
CSE15 Discrete Mathematics 02/01/17
CSNB 143 Discrete Mathematical Structures
Copyright © Zeph Grunschlag,
Discrete Structures for Computer Science
COCS DISCRETE STRUCTURES
Set, Combinatorics, Probability & Number Theory
Function Hubert Chan (Chapter 2.1, 2.2) [O1 Abstract Concepts]
Copyright © Zeph Grunschlag,
Counting Chapter 6 With Question/Answer Animations
Cardinality of Sets Section 2.5.
CS 2210 Discrete Structures Counting
Recursively Defined Functions
Lecture 7 Functions.
CS100: Discrete structures
Discrete Structures for Computer Science
How Hard Can It Be?.
Countable and Countably Infinite Sets
Induction and recursion
ICS 253: Discrete Structures I
COUNTING AND PROBABILITY
DISCRETE COMPUTATIONAL STRUCTURES
Counting techniques Basic Counting Principles, Pigeonhole Principle, Permutations and Combinations.
Functions Rosen 2.3, 2.5 f( ) = A B Lecture 5: Oct 1, 2.
Representations of Integers
DISCRETE COMPUTATIONAL STRUCTURES
Theorem 3.5: Let f be an everywhere function from A to B. Then
Mathematical Induction
Counting I: Choice Trees and Correspondences
Pigeon-Hole Principle ( PHP )
Presentation transcript:

3.4 Cardinality Definition 3.7: The empty set is a finite set of cardinality 0. If there is a one-to-one correspondence between A and the set {0,1,2,3,…, n-1}, then A is a finite set of cardinality n. Definition 3.8: A set A is countably infinite if there is a one-to-one correspondence between A and the set N of natural number. We write |A|=|N|=0. A set is countable if it is finite or countably infinite.

Example: The set Z is countably infinite Proof: f:N→Z,for any nN,

The set Q of rational number is countably infinite, i.e. |Q|=|N|=0. |[0,1]| 0. Theorem 3.13: The R of real numbers is not countably infinite. And |R|=|[0,1]|. Theorem 3.14: The power set P(N) of the set N of natural number is not countably infinite. And |P(N)|=|R|=1. Theorem 3.15(Cantor’s Theorem): For any set, the power set of X is cardinally larger than X. N, P (N),P (P (N)),…

3.5 Paradox 1.Russell’s paradox AA, AA。 Russell’s paradox: Let S={A|AA}. The question is, does SS? i.e. SS or SS? If SS, If SS, The statements " SS " and " SS " cannot both be true, thus the contradiction.

2.Cantor’s paradox 1899,Cantor's paradox, sometimes called the paradox of the greatest cardinal, expresses what its second name would imply--that there is no cardinal larger than every other cardinal. Let S be the set of all sets. |S|?|P (S)| or |P (S)|?|(S)| The Third Crisis in Mathematics

II Introductory Combinatorics Chapter 4 Introductory Combinatorics Counting P100(Sixth) P88(Fifth)

Combinatorics, is an important part of discrete mathematics. Techniques for counting are important in computer science, especially in the analysis of algorithm. sorting,searching combinatorial algorithms Combinatorics

existence counting construction optimization existence :Pigeonhole principle Counting techniques for permutation and combinations,and Generating function, and Recurrence relations

4.1 Pigeonhole principle Dirichlet,1805-1859 shoebox principle

4.1.1 Pigeonhole principle :Simple Form If n pigeons are assigned to m pigeonholes, and m<n, then at least one pigeonhole contains two or more pigeons. Theorem 4.1: If n+1 objects are put into n boxes, then at least one box contain tow or more of the objects.

Example 1: Among 13 people there are two who have their birthdays in the same month. Example 2: Among 70 people there are six who have their birthdays in the same month. Example 3:From the integers 1,2,…,2n, we choose n+1 intergers. Show that among the integers chosen there are two such that one of them is divisible by the other. 2ka 2ra and 2sa

Example 4:Given n integers a1,a2,…,an, there exist integers k and l with 0k<ln such that ak+1+ak+2+…+al is divisible by n. a1, a1+a2, a1+a2+a3,…,a1+a2+…+an. Example 5:A chess master who has 11 weeks to prepare for a tournament decides to play at least one game every day but, in order not to tire himself, he decides not to play more than 12 games during any calendar week. Show that there exists a succession of (consecutive) days during which the chess master will have played exactly 21 games.

Concerning Application 5, Show that there exists a succession of (consecutive) days during which the chess master will have played exactly 22 games. (1)The chess master plays few than 12 games at least one week (2)The chess master plays exactly 12 games each week

Exercise P103 3,7, 8,9 (Sixth) OR P90 3,7, 8,9(Fifth) 1.Prove:(1)|(0,1)|=|R| (2)|[0,1]|=|R| 2.From the integers 1,2,…,2n, we choose n+1 intergers. Show that among the integers chosen there are two which are relatively prime. 3.A computer network consists of six computers. Each computer is directly connected to at least one of the other computers. Show that there are at least two computers in the network that are directly connected to the same number of other computers. 4.Show that for any given n+2 integers there exist two of them whose sum, or else whose difference is divisible by 2n. Next:Permutations of sets P91 (Sixth) OR P79(Fifth) circular permutation Combinations of sets, P96 (Sixth) OR P83(Fifth)