Cardinality of Sets MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Cardinality of Sets Fall / 15

Similar documents
Material from Recitation 1

Cardinality of Sets. Washington University Math Circle 10/30/2016

Cardinality Lectures

Source of Slides: Introduction to Automata Theory, Languages, and Computation By John E. Hopcroft, Rajeev Motwani and Jeffrey D.

Cantor s Diagonal Argument for Different Levels of Infinity

MATHEMATICS 191, FALL 2004 MATHEMATICAL PROBABILITY Outline #1 (Countability and Uncountability)

Infinity and Uncountability. Countable Countably infinite. Enumeration

Section 1.7 Sequences, Summations Cardinality of Infinite Sets

.Math 0450 Honors intro to analysis Spring, 2009 Notes #4 corrected (as of Monday evening, 1/12) some changes on page 6, as in .

Section 2.4 Sequences and Summations

The Size of the Cantor Set

Sets MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Sets Fall / 31

Limitations of Algorithmic Solvability In this Chapter we investigate the power of algorithms to solve problems Some can be solved algorithmically and

A B. bijection. injection. Section 2.4: Countability. a b c d e g

Comparing sizes of sets

MITOCW watch?v=4dj1oguwtem

2. Functions, sets, countability and uncountability. Let A, B be sets (often, in this module, subsets of R).

EDAA40 At home exercises 1

CS3102 Theory of Computation Solutions to Problem Set 1, Spring 2012 Department of Computer Science, University of Virginia

HW 1 CMSC 452. Morally DUE Feb 7 NOTE- THIS HW IS THREE PAGES LONG!!! SOLUTIONS THROUGOUT THIS HW YOU CAN ASSUME:

Lecture 1. 1 Notation

Slides for Faculty Oxford University Press All rights reserved.

Chapter 3. Set Theory. 3.1 What is a Set?

Topology Proceedings. COPYRIGHT c by Topology Proceedings. All rights reserved.

TOPOLOGY, DR. BLOCK, FALL 2015, NOTES, PART 3.

CSE 120. Computer Science Principles

MATH 139 W12 Review 1 Checklist 1. Exam Checklist. 1. Introduction to Predicates and Quantified Statements (chapters ).

CSE 20 DISCRETE MATH. Fall

Final Test in MAT 410: Introduction to Topology Answers to the Test Questions

Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103. Chapter 2. Sets

Math 5320, 3/28/18 Worksheet 26: Ruler and compass constructions. 1. Use your ruler and compass to construct a line perpendicular to the line below:

Calculating Cardinalities

Proof Techniques Alphabets, Strings, and Languages. Foundations of Computer Science Theory

Notes on Turing s Theorem and Computability

MATH 22 MORE ABOUT FUNCTIONS. Lecture M: 10/14/2003. Form follows function. Louis Henri Sullivan

SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION

To illustrate what is intended the following are three write ups by students. Diagonalization

CSC Discrete Math I, Spring Sets

Let A(x) be x is an element of A, and B(x) be x is an element of B.

CS103 Spring 2018 Mathematical Vocabulary

9/19/12. Why Study Discrete Math? What is discrete? Sets (Rosen, Chapter 2) can be described by discrete math TOPICS

Lambda Calculus and Computation

Topology Homework 3. Section Section 3.3. Samuel Otten

Math Circle Beginners Group October 18, 2015 Solutions

<The von Koch Snowflake Investigation> properties of fractals is self-similarity. It means that we can magnify them many times and after every

CS 3512, Spring Instructor: Doug Dunham. Textbook: James L. Hein, Discrete Structures, Logic, and Computability, 3rd Ed. Jones and Barlett, 2010

CSE 20 DISCRETE MATH. Winter

THREE LECTURES ON BASIC TOPOLOGY. 1. Basic notions.

6.080 / Great Ideas in Theoretical Computer Science Spring 2008

Definition. A set is a collection of objects. The objects in a set are elements.

CHAPTER 2. Graphs. 1. Introduction to Graphs and Graph Isomorphism

Lecture 2 Finite Automata

Computer Sciences Department

CS 341 Homework 1 Basic Techniques

LECTURE NOTES ON SETS

AXIOMS FOR THE INTEGERS

1.7 The Heine-Borel Covering Theorem; open sets, compact sets

1 Algorithm and Proof for Minimum Vertex Coloring

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

T. Background material: Topology

9.5 Equivalence Relations

8.1 Basic notions, facts and techniques

Pick any positive integer. If the integer is even, divide it by 2. If it is odd,

Divisibility Rules and Their Explanations

Recursively Enumerable Languages, Turing Machines, and Decidability

Solutions to First Exam, Math 170, Section 002 Spring 2012

18 Spanning Tree Algorithms

Point-Set Topology 1. TOPOLOGICAL SPACES AND CONTINUOUS FUNCTIONS

Introduction to Sets and Logic (MATH 1190)

Sets. Margaret M. Fleck. 15 September 2010

1KOd17RMoURxjn2 CSE 20 DISCRETE MATH Fall

Kuratowski Notes , Fall 2005, Prof. Peter Shor Revised Fall 2007

Last time. Reasoning about programs. Coming up. Project Final Presentations. This Thursday, Nov 30: 4 th in-class exercise

Reasoning about programs

Math 5801 General Topology and Knot Theory

6c Lecture 3 & 4: April 8 & 10, 2014

Diagonalization. The cardinality of a finite set is easy to grasp: {1,3,4} = 3. But what about infinite sets?

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

On the Structure and Sizes of Infinitely Large Sets of Numbers

The Intersection of Two Sets

Infinity part I. High School Circle I. June 4, 2017

CMPSCI 250: Introduction to Computation. Lecture #1: Things, Sets and Strings David Mix Barrington 22 January 2014

Lecture 5: The Halting Problem. Michael Beeson

Ang aking kontrata: Ako, si, ay nangangakong magsisipag mag-aral hindi lang para sa aking sarili kundi para rin sa aking pamilya, para sa aking

Chapter 1: Number and Operations

Today s Topics. What is a set?

Does this program exist? Limits of computability. Does this program exist? A helper function. For example, if the string program is

How convincing is our Halting Problem proof? Lecture 36: Modeling Computing. Solutions. DrScheme. What is a model? Modeling Computation

Hinged Sets And the Answer to the Continuum Hypothesis

Senior Math Circles November 25, 2009 Graph Theory II

2.1 Sets 2.2 Set Operations

1 Linear programming relaxation

Mathematics Background

Nonstandard Models of True Arithmetic. other models of true arithmetic (the set of sentences true in the standard model) that aren t

Math 302 Introduction to Proofs via Number Theory. Robert Jewett (with small modifications by B. Ćurgus)

Unit 8: Recursion. Dave Abel. April 6th, 2016

Using Cantor s Diagonal Method to Show ζ(2) is Irrational

CSE 20 DISCRETE MATH WINTER

Using Cantor s Diagonal Method to Show ζ(2) is Irrational

CS3102 Theory of Computation Solutions to Selected Problems from Set 1 Department of Computer Science, University of Virginia

Transcription:

Cardinality of Sets MAT Transition to Higher Mathematics Fall 0 MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Outline Sets with Equal Cardinality Countable and Uncountable Sets MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Sets with Equal Cardinality Definition Two sets A and B have the same cardinality, written A = B, if there exists a bijective function f : A B If no such bijective function exists, then the sets have unequal cardinalities, that is, A B Another way to say this is that A = B if there is a one-to-one correspondence between the elements of A and the elements of B For example, to show that the set A = {,,, } and the set B = {,,, } have the same cardinality it is sufficient to construct a bijective function between them MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Sets with Equal Cardinality Consider the following: This definition does not involve the number of elements in the sets It works equally well for finite and infinite sets Any bijection between the sets is sufficient MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Z? True or false: Z is larger than N MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Z? True or false: Z is larger than N The set Z contains all the numbers in N as well as numbers not in N So maybe Z is larger than N MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Z? True or false: Z is larger than N The set Z contains all the numbers in N as well as numbers not in N So maybe Z is larger than N On the other hand, both sets are infinite, so maybe Z is the same size as N MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Z? True or false: Z is larger than N The set Z contains all the numbers in N as well as numbers not in N So maybe Z is larger than N On the other hand, both sets are infinite, so maybe Z is the same size as N This is just the sort of ambiguity we want to avoid, so we appeal to the definition of same cardinality The answer to our question boils down to Can we find a bijection between N and Z? MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Z? A first attempt at constructing a bijection between N and Z might consist of pairing N with the positive integers: N 0 Z 0 This starts well, but soon we realize that we ll never be able to start listing the negative integers or zero MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Z? A first attempt at constructing a bijection between N and Z might consist of pairing N with the positive integers: N 0 Z 0 This starts well, but soon we realize that we ll never be able to start listing the negative integers or zero An approach that does work is to list Z in order of magnitude N 0 Z 0 - - - - - - MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Z? A first attempt at constructing a bijection between N and Z might consist of pairing N with the positive integers: N 0 Z 0 This starts well, but soon we realize that we ll never be able to start listing the negative integers or zero An approach that does work is to list Z in order of magnitude N 0 Z 0 - - - - - - This bijection between N and Z could be written as { (x )/ when x is odd f (x) = x/ when x is even or f (x) = ( ) (n ) x/ MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Z? This is an interesting fact: There are the same number of natural numbers as there are integers Said another way, N = Z Does this mean that all infinite sets have the same cardinality? For example, does N equal Q? MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Q? It turns out the answer is yes, N = Q We just need to find a bijection to show it For the sake of simplicity, we ll illustrate this for the positive rationals; ie, we ll show N = Q + The text shows the general case and it is an obvious extension of what we see here MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Q +? We begin by creating a table in which each column contains all the rational numbers in simplest form with the same numerator We know this table contains all the positive rationals because, no matter which positive rational we think of, it will eventually appear in the list MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Does N = Q +? How shall we construct a bijection between N and Q +? We can t just list Q + row by row since we ll never finish with the first row Instead, we list in ever-increasing backward L-shaped regions, each of which has finite length MAT (Transition to Higher Math) Cardinality of Sets Fall 0 0 /

Does N = Q +? How shall we construct a bijection between N and Q +? We can t just list Q + row by row since we ll never finish with the first row Instead, we list in ever-increasing backward L-shaped regions, each of which has finite length MAT (Transition to Higher Math) Cardinality of Sets Fall 0 0 /

Does N = Q +? How shall we construct a bijection between N and Q +? We can t just list Q + row by row since we ll never finish with the first row Instead, we list in ever-increasing backward L-shaped regions, each of which has finite length MAT (Transition to Higher Math) Cardinality of Sets Fall 0 0 /

Does N = Q +? How shall we construct a bijection between N and Q +? We can t just list Q + row by row since we ll never finish with the first row Instead, we list in ever-increasing backward L-shaped regions, each of which has finite length MAT (Transition to Higher Math) Cardinality of Sets Fall 0 0 /

Does N = Q +? How shall we construct a bijection between N and Q +? We can t just list Q + row by row since we ll never finish with the first row Instead, we list in ever-increasing backward L-shaped regions, each of which has finite length MAT (Transition to Higher Math) Cardinality of Sets Fall 0 0 /

Does N = Q +? How shall we construct a bijection between N and Q +? We can t just list Q + row by row since we ll never finish with the first row Instead, we list in ever-increasing backward L-shaped regions, each of which has finite length MAT (Transition to Higher Math) Cardinality of Sets Fall 0 0 /

Does N = Q +? How shall we construct a bijection between N and Q +? We can t just list Q + row by row since we ll never finish with the first row Instead, we list in ever-increasing backward L-shaped regions, each of which has finite length MAT (Transition to Higher Math) Cardinality of Sets Fall 0 0 /

Does N = Q +? How shall we construct a bijection between N and Q +? We can t just list Q + row by row since we ll never finish with the first row Instead, we list in ever-increasing backward L-shaped regions, each of which has finite length MAT (Transition to Higher Math) Cardinality of Sets Fall 0 0 /

Does N = Q +? How shall we construct a bijection between N and Q +? We can t just list Q + row by row since we ll never finish with the first row Instead, we list in ever-increasing backward L-shaped regions, each of which has finite length MAT (Transition to Higher Math) Cardinality of Sets Fall 0 0 /

Does N = Q +? How shall we construct a bijection between N and Q +? We can t just list Q + row by row since we ll never finish with the first row Instead, we list in ever-increasing backward L-shaped regions, each of which has finite length MAT (Transition to Higher Math) Cardinality of Sets Fall 0 0 /

Does N = Q +? Since we ve found a bijection between N and Q + we know that they have the same cardinality The only change necessary to handle Q is to also list 0 and the negative rationals Typically zero is listed first then the remaining rationals in positive-negative pairs Thus, we find that N = Z = Q even though there are numbers in Q that are not in Z, and numbers in Z that are not in N MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

Countably Infinite Sets Definition Suppose A is a set Then A is countably infinite if N = A The set A is uncountable if A is infinite and N A What sets are uncountable? Why can t we take any infinite set and do with it what we did with Q to count it? MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

R is Uncountable It turns out that there are so many more reals than there are rationals that R is an uncountable set Late in the th century this was proved by Georg Cantor It is a proof by contradiction Proposition The set R is uncountable Proof Assume, for the sake of contradiction, that R is countable so that there is a bijection f : N R Imagine such a function represented in a table Every natural number would be listed, as well as every real number The next slide shows only one representative example for f, but the reasoning holds for any bijection between N and R (continued next slide) MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

R is Uncountable Proof (Continued) n f (n) 0 0 0 0 0 0-0 0 0 0 0 (continued next slide) MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

R is Uncountable Proof (Continued) n f (n) 0 0 0 0 0 0-0 0 0 0 0 Construct a new number between 0 and that differs from f (n) in the n th decimal place: Choose 0 if the digit is odd and if the digit is even In the case here we would have 0000 (continued next slide) MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /

R is Uncountable Proof (Continued) We ve just shown that we can construct a number that is not in the list of all real numbers Since this is a contradiction, we conclude that we must not able able to find a bijection from N to R Therefore, R is uncountable MAT (Transition to Higher Math) Cardinality of Sets Fall 0 /