counting infinite sets

Similar documents
Cardinality. The set of all finite strings over the alphabet of lowercase letters is countable. The set of real numbers R is an uncountable set.

This chapter is all about cardinality of sets. At first this looks like a

Georg Cantor ( ):

Lecture 16 : Relations and Functions DRAFT

INTRODUCTORY SET THEORY

CS 3719 (Theory of Computation and Algorithms) Lecture 4

1 if 1 x 0 1 if 0 x 1

God created the integers and the rest is the work of man. (Leopold Kronecker, in an after-dinner speech at a conference, Berlin, 1886)

Proseminar on Semantic Theory Fall 2013 Ling 720. Problem Set on the Formal Preliminaries : Answers and Notes

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

Basic Concepts of Point Set Topology Notes for OU course Math 4853 Spring 2011

Math Workshop October 2010 Fractions and Repeating Decimals

Session 7 Fractions and Decimals

Supplemental Worksheet Problems To Accompany: The Pre-Algebra Tutor: Volume 1 Section 1 Real Numbers

Georg Cantor and Set Theory

36 CHAPTER 1. LIMITS AND CONTINUITY. Figure 1.17: At which points is f not continuous?

This asserts two sets are equal iff they have the same elements, that is, a set is determined by its elements.

How many numbers there are?

I remember that when I

The Graphical Method: An Example

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

Introduction to Theory of Computation

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

5544 = = = Now we have to find a divisor of 693. We can try 3, and 693 = 3 231,and we keep dividing by 3 to get: 1

MA651 Topology. Lecture 6. Separation Axioms.

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

1. Prove that the empty set is a subset of every set.

3. Mathematical Induction

Chapter 4 Lecture Notes

Graph Theory Problems and Solutions

Activity 1: Using base ten blocks to model operations on decimals

THE TURING DEGREES AND THEIR LACK OF LINEAR ORDER

LIMITS AND CONTINUITY

The Banach-Tarski Paradox

Cartesian Products and Relations

Math 55: Discrete Mathematics

Unit 1 Number Sense. In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions.

1.7 Graphs of Functions

MATH 4330/5330, Fourier Analysis Section 11, The Discrete Fourier Transform

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Basic Concepts of Set Theory, Functions and Relations

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

Lecture 17 : Equivalence and Order Relations DRAFT

Special Situations in the Simplex Algorithm

Set Theory Basic Concepts and Definitions

Chapter 31 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M.

Continued Fractions and the Euclidean Algorithm

A Course in Discrete Structures. Rafael Pass Wei-Lung Dustin Tseng

Follow links for Class Use and other Permissions. For more information send to:

Reading 13 : Finite State Automata and Regular Expressions

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

Grade 7/8 Math Circles Sequences and Series

Pigeonhole Principle Solutions

2. Length and distance in hyperbolic geometry

Limits. Graphical Limits Let be a function defined on the interval [-6,11] whose graph is given as:

Math 181 Handout 16. Rich Schwartz. March 9, 2010

Indices and Surds. The Laws on Indices. 1. Multiplication: Mgr. ubomíra Tomková

CHAPTER II THE LIMIT OF A SEQUENCE OF NUMBERS DEFINITION OF THE NUMBER e.

Metric Spaces Joseph Muscat 2003 (Last revised May 2009)

The Fundamental Theorem of Arithmetic

An example of a computable

Mathematical Methods of Engineering Analysis

Introduction to computer science

To discuss this topic fully, let us define some terms used in this and the following sets of supplemental notes.

MATH10040 Chapter 2: Prime and relatively prime numbers

SECTION 10-2 Mathematical Induction

Notes on metric spaces

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

You know from calculus that functions play a fundamental role in mathematics.

So let us begin our quest to find the holy grail of real analysis.

Zeros of a Polynomial Function

Lies My Calculator and Computer Told Me

Binary Number System. 16. Binary Numbers. Base 10 digits: Base 2 digits: 0 1

8 Primes and Modular Arithmetic

Chapter 9. Systems of Linear Equations

1 The Concept of a Mapping

6.2 Permutations continued

Lemma 5.2. Let S be a set. (1) Let f and g be two permutations of S. Then the composition of f and g is a permutation of S.

Student Outcomes. Lesson Notes. Classwork. Discussion (10 minutes)

Solution to Exercise 2.2. Both m and n are divisible by d, som = dk and n = dk. Thus m ± n = dk ± dk = d(k ± k ),som + n and m n are divisible by d.

Matrix Representations of Linear Transformations and Changes of Coordinates

NUMBER SYSTEMS. William Stallings

Invalidity in Predicate Logic

Computational Models Lecture 8, Spring 2009

GENERIC COMPUTABILITY, TURING DEGREES, AND ASYMPTOTIC DENSITY

x a x 2 (1 + x 2 ) n.

Mathematical Induction

The last three chapters introduced three major proof techniques: direct,

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

Stupid Divisibility Tricks

Chapter 7. Functions and onto. 7.1 Functions

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Lesson Plan. N.RN.3: Use properties of rational and irrational numbers.

THE SEARCH FOR NATURAL DEFINABILITY IN THE TURING DEGREES

Mathematics Review for MS Finance Students

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Math 4310 Handout - Quotient Vector Spaces

Stanford Math Circle: Sunday, May 9, 2010 Square-Triangular Numbers, Pell s Equation, and Continued Fractions

Transcription:

There are three kinds of people in the world: those who can count and those who can t. counting infinite sets Peter Trapa March 2, 2005 Everyone knows what infinity is: it s something that goes on and on forever. But it s often necessary to make a more precise definition. That is the first goal of these notes. By way of motivation, consider the famous infinite hotel. It has rooms numbered 1, 2, 3, and so on; but there is no largest room number. Even when all the rooms are occupied, the proprietor still displays the Vacancy sign. The reason? If a new guest arrives, the proprietor simply tells all the current occupants to move to the next higher room number. More precisely the proprietor tells the occupant of room n to move to room n + 1. After this is done for all n, each existing guest has his own room, and room number 1 is vacant for the new guest to occupy. This trick could never work with a finite hotel when all the room are filled, there is no way to accommodate a new guest (without putting two guests in the same room). We are going to define the notion of infinity so that the converse also holds: this trick will always work with an infinite hotel. First we need a few preliminary definitions. Definition Suppose S and T are sets and that f : S T is a function. We say that f is one-to-one if f never sends two points of S to the same point in T; that is, f is one-to-one if whenever f(a) = f(b), then a = b. We say that f is onto if every point of T is hit by f; that is f is onto if for all t T, there exists s S such that f(s) = t. If f : S T is one-to-one and onto, we say that f puts S and T in one-to-one correspondence. A function which is one-to-one is sometimes called injective; one that is onto is often called surjective; and one that is one-to-one and onto is called bijective. This is simply a matter of terminology. Exercises 1. Write N for the set of natural numbers {1,2,3,... }. Consider the function f : N N defined by f(n) = n + 1. Is f onto? Is f one-to-one? 2. Write Z for the set of integers {..., 2, 1,0,1,2,... }. Consider the function f : Z Z defined by f(n) = n + 1. Is f onto? Is f one-to-one? 3. Consider the function f : N N defined by f(n) = n 2. Is f onto? Is f one-to-one? 4. Consider the function f : Z Z defined by f(n) = n 2. Is f onto? Is f one-to-one? 1

2 5. The following represent graphs of functions from the real numbers R to R. Decide which are one-to-one, which are onto, which are neither, and which are both. 6. Find a one-to-one onto map {0,1,2,3,... } {1,2,3,... } 7. Find a one-to-one onto map from the real numbers x such that x 0 to the set of real number x such that x > 0. 8. Find a one-to-one onto map from the real numbers x such that 0 x 1 to the set of real number x such that 0 < x < 1. Let s return to the notion of infinity. We can now make a precise definition. Definition. A set S is called infinite if there is a map f : S S such that f is one-to-one but not onto. Here is another way to say the same thing. A set S is called infinite if and only if it there is a subset T S with T S and a one-to-one map f : S T. This definition captures our intuitive notion of what it means to be infinite. For example look as the set of rooms in the infinite hotel S = {1,2,3,... }. Define a map f : S S by f(j) = j + 1. (This is the map that the proprietor used.) This is clearly one-to-one: if

f(j) = j(k), then j + 1 = k + 1 and j = k. But it s not onto since there is no j such that f(j) = 1. So the set of rooms in the infinite hotel is indeed infinite! The next issue we want to address is the notion of the size of a set. First suppose S and T are finite sets. Then S and T have the same number of elements if and only if there is a one-to-one and onto map between them. (Stop and make sure that you really understand this assertion.) So, in the case of finite sets, we say that S and T have the same size if and only if there is a bijection between S and T. Now we may simply extend the definition to arbitrary sets: two sets S and T have the same size if there is a one-to-one onto map between them. (As a matter of terminology the technical word that is often used for size is cardinality. For example, we say that two sets have the same cardinality if there is a bijection between them.) It may surprise you that there are different sizes of infinite sets. It s convenient to introduce a little more terminology at this point. Let s write Z for the set {..., 2, 1,0,1,2... }. We say that a set S is countable if there exists an onto map f : N S. For example, if S is finite, we can simply label its elements {s 1,s 2,...,s N } and then the function f can be defined as { s j if 1 j N f(j) = otherwise. s 1 So finite sets are countable. Of course N is countable too. To test your understanding, it s a good exercise to verify that Z is also countable. Are there other infinite sets that are uncountable? Here is a beautiful trick (called Cantor s diagonal argument) to show that the set R of real numbers is uncountable. In fact we will show that the interval of real numbers between 0 and 1 is uncountable. Suppose f is any map from Z to [0,1]. Our task is to show that f cannot be onto. Then we will have proved [0,1] (and hence R) is uncountable. Consider the value f(1). This is a real number, so we can express it in decimal notation and write here each x (i) j f(1) =.x (1) 1 x(1) 2 x(1) 3 ; is just a number between 0 and 9. Let s list the other values of f in this way f(1) =.x (1) 1 x(1) 2 x(1) 3 x(1) 4 x(1) 5 f(2) =.x (2) 1 x(2) 2 x(2) 3 x(2) 4 x(2) 5 f(3) =.x (3) 1 x(3) 2 x(3) 3 x(3) 4 x(3) 5 f(4) =.x (4) 1 x(4) 2 x(4) 3 x(4) 4 x(4) 5 f(5) =.x (5) 1 x(5) 2 x(5) 3 x(5) 4 x(5) 5. Now choose numbers y j from 0 to 9 so that each y j differs from the diagonal element x (j) J, y j x (j) j for all j. Consider y =.y 1 y 2 y 3 y 4 y 5. Clearly y [0,1]. But by construction there is no integer k such that f(k) = y. So f cannot be onto. So [0,1] is uncosuntable! Thus the interval [0,1] does not have the same size as Z! 3

4 Here are some problems to test your understanding of countability. Exercises 1. Is the set of pairs of integers countable? 2. Is the set of rational numbers Q (i.e. fractions) countable? 3. Is the set of irrational numbers countable? 4. Is the set of real numbers x such that 0 x 1 countable? Aside. One of the great problems of the last hundred years is called the continuum hypothesis. It can be stated as follows. Conjecture. Any set of real numbers is either countable or can be put in one-to-one correspondence with the entire set of real numbers. Here are two harder examples that we will discuss in the course of today s Circle. Question. Does the interval ( 1,1) have the same size as the entire real line? Question. Does the set of point lying in a square of edge-length one have the same size as the interval [0,1]? As a final example, we consider the Cantor set. We start with the interval of real numbers from 0 to 1 and remove the middle interval from 1/3 to 2/3, S 1 = Then perform the same procedure to each of the remaining intervals to arrive S 2 = Continue in this way, S 3 = S 4 =

5 S 5 = Finally define S = i S i. This is called the Cantor set. It looks like a little dust on the real line, and doesn t look very infinite at all. Formally we can ask: Question. Is S countable?