INFIINITE SETS CSC 172 SPRING 2002 LECTURE 23. Cardinality and Counting The cardinality of a set is the number of elements in the set Two sets are equipotent.

Slides:



Advertisements
Similar presentations
Chapter 2 The Basic Concepts of Set Theory
Advertisements

2.1 Sets. DEFINITION 1 A set is an unordered collection of objects. DEFINITION 2 The objects in a set are called the elements, or members, of the set.
1 Diagonalization Fact: Many books exist. Fact: Some books contain the titles of other books within them. Fact: Some books contain their own titles within.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 10 Cardinality Uncountability of the real numbers.
EE1J2 – Discrete Maths Lecture 9
Introduction to Computability Theory
Courtesy Costas Busch - RPI1 A Universal Turing Machine.
Great Theoretical Ideas in Computer Science.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata are like Turing Machines with a restriction: The working space of the tape is the space of the.
Functions f( ) = A B Lecture 15: Nov 4.
Chapter 2 The Basic Concepts of Set Theory
Fall 2004COMP 3351 A Universal Turing Machine. Fall 2004COMP 3352 Turing Machines are “hardwired” they execute only one program A limitation of Turing.
Lecture ,3.3 Sequences & Summations Proof by Induction.
A Very Practical Series 1 What if we also save a fixed amount (d) every year?
1 Introduction to Computability Theory Lecture11: The Halting Problem Prof. Amos Israeli.
Cardinality of a Set “The number of elements in a set.” Let A be a set. a.If A =  (the empty set), then the cardinality of A is 0. b. If A has exactly.
Cantor’s Legacy: Infinity And Diagonalization Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2004 Lecture 25Apr 13, 2004Carnegie.
Chapter 7 Functions Dr. Curry Guinn. Outline of Today Section 7.1: Functions Defined on General Sets Section 7.2: One-to-One and Onto Section 7.3: The.
1 CMSC 250 Chapter 7, Functions. 2 CMSC 250 Function terminology l A relationship between elements of two sets such that no element of the first set is.
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.
Cardinality of Sets Section 2.5.
THE NATURE OF SETS Copyright © Cengage Learning. All rights reserved. 2.
2.4 Sequences and Summations
Week 7 - Friday.  What did we talk about last time?  Set disproofs  Russell’s paradox  Function basics.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 15-1 Mälardalen University 2012.
Copyright © Cengage Learning. All rights reserved. CHAPTER 7 FUNCTIONS.
Chapter 2: The Basic Concepts of Set Theory. Sets A set is a collection of distinguishable objects (called elements) Can define in words Can list elements.
Ch. 11: Cantor’s Infinity!. N = {1, 2, 3, 4, 5, 6, …} “the natural numbers” Z = {…, –3, –2, –1, 0, 1, 2, 3, …} “the integers” Q = {all quotients “a/b”
Mathematical Induction
A Universal Turing Machine
Relations, Functions, and Countability
Section 3.1 Beyond Numbers What Does Infinity Mean?
COMPSCI 102 Introduction to Discrete Mathematics.
To prove that the power set of N has a higher cardinal number than N we must show that it is not possible to establish a one to one correspondence between.
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.
1 Linear Bounded Automata LBAs. 2 Linear Bounded Automata (LBAs) are the same as Turing Machines with one difference: The input string tape space is the.
Introduction to Real Analysis Dr. Weihu Hong Clayton State University 8/27/2009.
Cardinality with Applications to Computability Lecture 33 Section 7.5 Wed, Apr 12, 2006.
Great Theoretical Ideas in Computer Science.
Lecture 4 Infinite Cardinals. Some Philosophy: What is “2”? Definition 1: 2 = 1+1. This actually needs the definition of “1” and the definition of the.
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
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 2.6 Infinite Sets.
To Infinity And Beyond! CS Lecture 11 The Ideal Computer: no bound on amount of memory Whenever you run out of memory, the computer contacts the.
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.
Week 8 - Monday.  What did we talk about last time?  Properties of functions  One-to-one  Onto  Inverses  Cardinality.
Infinite sets We say that a set A is infinite if a proper subset B exists of A such that there is a bijection It is easy to see that no set with a finite.
1 A Universal Turing Machine. 2 Turing Machines are “hardwired” they execute only one program A limitation of Turing Machines: Real Computers are re-programmable.
CS336 F07 Counting 2. Example Consider integers in the set {1, 2, 3, …, 1000}. How many are divisible by either 4 or 10?
One of Cantor's basic concepts was the notion of the size or cardinality of a set M, denoted by |M|  M - finite sets M is an n-set or has size n, if.
Discrete Mathematics CS 2610
A Universal Turing Machine
Counting Sets.
2.6 Infinite Sets By the end of the class you will be able calculate the cardinality of infinite sets.
Countable or Uncountable…That is the question!
Lecture 7 Functions.
Discrete Structures for Computer Science
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Discrete Mathematics and its Applications
Discrete Math for CS CMPSC 360 LECTURE 43 Last time: Variance
Formal Languages, Automata and Models of Computation
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Functions Rosen 2.3, 2.5 f( ) = A B Lecture 5: Oct 1, 2.
Chapter 2 The Basic Concepts of Set Theory
Section 2.6 Infinite Sets.
Cardinality Definition: The cardinality of a set A is equal to the cardinality of a set B, denoted |A| = |B|, if and only if there is a one-to-one correspondence.
ICOM 5016 – Introduction to Database Systems
Presentation transcript:

INFIINITE SETS CSC 172 SPRING 2002 LECTURE 23

Cardinality and Counting The cardinality of a set is the number of elements in the set Two sets are equipotent if and oly if they have the same cardinality The existence of a one-to-one correspondence between two sets proves that they are equipotent Counting is just creating a one-to-one correspondence between set and the set of integers from 1 to some number n

Example  1  2  3  4  5

Finite & Infinite Sets Can you create a one-to-one correspondence between a set and a proper subset of itself? If you can, you have a solution to x = x + y, where x is the cardinality of the set and y >= 1 is the cardinality of the stuff you removed Impossible with finite sets Possible with infinite sets Technically, an infinite set is a set where there exists a one-to-one correspondence between the set itself and a proper subset

Example Let N be the set of integers > 0 {1,2,3,…} Clearly N –{1} is a proper subset of N {2,3,4,….} We can create a 1:1 correspondence between the two sets by matching each element x  N with element x+1  N - {1} Therefore, N is an infinite set.

Countable Infinity Once we have an infinite set, we can prove another set infinite by creating a one-to-one correspondence between the known-infinite set and a subset (possibly the whole set) of theother set For example, The set of all integers Z {.., -2,- 1,0,1,2,…} contains N, (N is 1:1 with itself) so Z is infinite.

Z and N Z and N are actually equipotent. What is the 1:1? {1,2,3,4,…} {…-3,-2,-1,0,1,2,3,…} Each element x  N maps To (x/2) if x is odd Or –(x/2) if x is even The mapping goes both ways, so Z is equipotent with N … 4, 3, 2, {1 {…,-2,-1,0,1,2,..}

Pairs to N … (1,5)(2,5)(3,5)(4,5) … (1,4)(2,4)(3,4)(4,4) (1,3)(2,3)(3,3)(4,3) (1,2)(2,2)(3,2)(4,2) (1,1)(2,1)(3,1)(4,1)

Another mapping The set N is equipotent with the set of pairs of positive integers Therefore, the set of rational numbers Q is also equipotent with Z and N, since very rational number can be represented by a pair of integers

00 Many common infinite sets are equipotent with the set of integers This cardinality is written  0 Pronounced “aleph-naught” A set with this cardinality is said to be countably infinite because we can put its elements in a 1:1 correspondence with N

Uncountable Infinity The set R of real numbers is infinite since it contains all the integers. Is it countably infinite?

R is equipotent with the set of reals between 0 and 1 r=1/  0 1 x=arctan(x)+(  /2)+  ) y=tan(  y-(  /2)) x y

Disproving Equipotency If you can find a 1:1 correspondence, you have proven equipotency If you cannot find a 1:1 correspondence you have proven nothing, either way. To disprove equipotency you must prove that no 1:1 correspondence is possible Alternately, if you prove one infinity countable and another infinity uncountable you have proven that the two sets are not equipotent

There is no one-to-one correspondence between the reals (0,1) and N Suppose there was (some table listing all the real numbers) We can construct a new number not on the table The value of the ith digit depends on the ith digit of the ith real in the table If said digit is 0-4, new digit is “8” If said digit is 5-9, new digit is “1”

Diagonalization If the new real was all ready on the table (the r th ), then it would have contributed the r th digit to the new number But the r th digit of the new number differs by at least 4 digits