Homework #3: 1.4.1, a & b, 1.5.1, 1.5.3, 1.5.6, 1.5.7, 1.5.8, Prove that the set of all real numbers is uncountable.

Similar documents
Mathematics 220 Workshop Cardinality. Some harder problems on cardinality.

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

Discrete Mathematics 2007: Lecture 5 Infinite sets

CSE 311: Foundations of Computing. Lecture 26: Cardinality

Math 300: Final Exam Practice Solutions

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27

6 CARDINALITY OF SETS

CSE 105 THEORY OF COMPUTATION

Harvard CS 121 and CSCI E-207 Lecture 6: Regular Languages and Countability

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality

In N we can do addition, but in order to do subtraction we need to extend N to the integers

In N we can do addition, but in order to do subtraction we need to extend N to the integers

Finite and Infinite Sets

CSE 311: Foundations of Computing I Autumn 2014 Practice Final: Section X. Closed book, closed notes, no cell phones, no calculators.

Assignment #2 COMP 3200 Spring 2012 Prof. Stucki

CSE 105 THEORY OF COMPUTATION

Finite Automata. Mahesh Viswanathan

CSE 311: Foundations of Computing. Lecture 26: Cardinality, Uncomputability

MATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017

A Short Review of Cardinality

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009

Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

One-to-one functions and onto functions

Selected problems from past exams

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

Proving languages to be nonregular

CSE 311: Foundations of Computing. Lecture 26: More on Limits of FSMs, Cardinality

LINEAR ORDERS, DISCRETE, DENSE, AND CONTINUOUS

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

CS 361 Meeting 26 11/10/17

QUESTION ONE (15 points each for 75 points total) For each of the following sets, say if the set is:

CITS2211 Discrete Structures (2017) Cardinality and Countability

1 Partitions and Equivalence Relations

CS 455/555: Mathematical preliminaries

Notes on ordinals and cardinals

Announcements. CS243: Discrete Structures. Sequences, Summations, and Cardinality of Infinite Sets. More on Midterm. Midterm.

MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION. Chapter 2: Countability and Cantor Sets

Theory of Computation

Completeness in the Monadic Predicate Calculus. We have a system of eight rules of proof. Let's list them:

Computational Theory

SETS AND FUNCTIONS JOSHUA BALLEW

Section 7.5: Cardinality

CS 341 Homework 16 Languages that Are and Are Not Context-Free

MATH 521, WEEK 2: Rational and Real Numbers, Ordered Sets, Countable Sets

Countable and uncountable sets. Matrices.

Principles of Real Analysis I Fall I. The Real Number System

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION

Solution. 1 Solutions of Homework 1. 2 Homework 2. Sangchul Lee. February 19, Problem 1.2

Lecture Notes: The Halting Problem; Reductions

Welcome to CS103! Two Handouts Today: Course Overview Introduction to Set Theory The Limits of Computation

Cardinality of sets. Cardinality of sets

Algebra 8.6 Simple Equations


Math 455 Some notes on Cardinality and Transfinite Induction

Formal Languages, Automata and Models of Computation

Part IA Numbers and Sets

5 Set Operations, Functions, and Counting

A non-turing-recognizable language

Countability. 1 Motivation. 2 Counting

E = {x 0 < x < 1}. Z f(x) dx <.

Lecture 6: The Pigeonhole Principle and Probability Spaces

LECTURE 22: COUNTABLE AND UNCOUNTABLE SETS

1.4 Cardinality. Tom Lewis. Fall Term Tom Lewis () 1.4 Cardinality Fall Term / 9

Economics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017

ECS 120 Lesson 18 Decidable Problems, the Halting Problem

Discrete Structures for Computer Science

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School

2 Generating Functions

Algorithms: Lecture 2

Math.3336: Discrete Mathematics. Cardinality of Sets

CSE 322, Fall 2010 Nonregular Languages

Countable and uncountable sets. Matrices.

S15 MA 274: Exam 3 Study Questions

CSE 105 THEORY OF COMPUTATION

Turing Machines Part III

MA/CSSE 474 Theory of Computation. Your Questions? Previous class days' material Reading Assignments

CS 125 Section #10 (Un)decidability and Probability November 1, 2016

Chapter 20. Countability The rationals and the reals. This chapter covers infinite sets and countability.

Math /Foundations of Algebra/Fall 2017 Foundations of the Foundations: Proofs

Great Theoretical Ideas in Computer Science. Lecture 5: Cantor s Legacy

MA/CSSE 474 Theory of Computation

2 Exercises 1. The following represent graphs of functions from the real numbers R to R. Decide which are one-to-one, which are onto, which are neithe

Decidability (What, stuff is unsolvable?)

I will post Homework 1 soon, probably over the weekend, due Friday, September 30.

Math 105A HW 1 Solutions

MITOCW ocw f99-lec05_300k

Theorems. Theorem 1.11: Greatest-Lower-Bound Property. Theorem 1.20: The Archimedean property of. Theorem 1.21: -th Root of Real Numbers

CS Lecture 28 P, NP, and NP-Completeness. Fall 2008

MAT115A-21 COMPLETE LECTURE NOTES

Today. Wrapup of Polynomials...and modular arithmetic. Coutability and Uncountability.

Axioms for Set Theory

Warm-Up Problem. Please fill out your Teaching Evaluation Survey! Please comment on the warm-up problems if you haven t filled in your survey yet.

Section 2.5 : The Completeness Axiom in R

Functions If (x, y 1 ), (x, y 2 ) S, then y 1 = y 2

Part IA Numbers and Sets

Stat 451: Solutions to Assignment #1

1 Reals are Uncountable

NOTE: You have 2 hours, please plan your time. Problems are not ordered by difficulty.

Functions. Definition 1 Let A and B be sets. A relation between A and B is any subset of A B.

MATH 3300 Test 1. Name: Student Id:

Transcription:

Lecture 3 Homework #3: 1.4.1, 1.4.2 a & b, 1.5.1, 1.5.3, 1.5.6, 1.5.7, 1.5.8, Prove that the set of all real numbers is uncountable. Note that this lecture will likely run over but the net one is very short, putting us eactly on track again. Today: Review of proof techniques: 1) Dovetailing 2) Mathematical Induction 3) Pigeonhole Principle 4) Diagonalization But first some definitions: Finite Sets: size = number of elements; called cardinality; denoted A for the set A Definition: 2 sets A and B are equinumerous if there is a bijection f:a B. A set is finite if it is equinumerous with {0,1,2,3,..., n}, n N. N = {0,1,2,3,..., n}. A set is countably infinite if it is equinumerous with N. {i.e., if there's a way to systematically list the elements of the set} A set is countable if it is finite or countably infinite. A set of tools for showing a set to be countably infinite:

Give an eplicit bijection between A and some countably infinite set. (N is most "natural") Suggest a way in which it can be enumerated as {a 0, a 1, } Recall that an (infinite) subset of a countably infinite set is countable. Recall that the union of a countable number of countably infinite sets is countable. Eample. Say that A, B, and C are countably infinite sets. Show that A B C is also countably infinite. We can write A = {a 0, a 1,...} B = {b 0, b 1,...} C = {c 0, c 1,...} and their union can be listed as {a 0, b 0, c 0, a 1, b 1, c 1,...} the Again: the intuition is that if you can list the elements, then set is countable. But you want to be sure that in your itemization, you're really including everything (and not skipping something). So you need a systematic way of being sure each element is listed: Dovetailing A a0 a1 a2 B b0 b1 b2 C c0 c1 c2 An actual bijection g: N A B C is g(n) = a m, m=(n / 3), when (n % 3 = 0) b m, m=(n / 3), when (n % 3 = 1)

c m, m=(n / 3), when (n % 3 = 2) Note: when will dovetailing be a useful tool in this course? toward the end of the course. Another eample. (illustrating that the union of a countably infinite collection of countably infinite sets is countable) Show that N N is countable. N N = ({0} N, {1} N, {2} N,...) can't visit them in quite the same way as last time, so: (2,0) (2,1) (2,2) (1,0) (1,1) (1,2) (0,0) (0,1) (0,2) if m is the vertical coordinate and n is the horizontal coordinate, then the pair (m,n) is visited kth, where k = 1/2[(m+n) 2 +3m+n] i.e., f(m,n)= 1/2[(m+n) 2 +3m+n] is a bijection from N N to N Principle of Mathematical Induction Let A be a set of natural numbers such that 1) 0 A and 2) for each n, if {0,1,..., n} A, then (n+1) A. Then A = N Used to prove: For all natural numbers n, P is true. Eample. Show by induction that 0 3 +1 3 +2 3 +... + n 3 = (0+1+2+... +n) 2 Basis. Let n = 0; 0 3 = (0) 2 = 0

I.H. Assume that for some n 0, 0 3 +1 3 +2 3 +... + m 3 = (0+1+2+... +m) 2, m n Induction Step Show 0 3 +1 3 +2 3 +... + (n+1) 3 = (0+1+2+... +n+n+1) 2 0 3 +1 3 +2 3 +... + (n+1) 3 = (0+1+2+... +n) 2 + (n+1) 3 = ((n)(n+1)/2) 2 + (n+1) 2 (n+1) = ((n 2 +n)/2) 2 + n(n+1) 2 + (n+1) 2 = (n 4 + 2n 3 + n 2) /4 + 4/4(n)(n+1) 2 + 4/4(n+1) 2 = (n 4 + 6n 3 +13n 2 + 12n + 4)/4 = (n 2 + 3n + 2) 2 /4 = ((n+1)(n+2)/2) 2 = (0 + 1 + 2 +... + n + n+1) 2 Note the types of problems on which induction might be used: 1) proofs of correctness and time compleity. 2) induction on length of the string; induction on the length of a computation. The Pigeonhole Principle If A and B are finite sets and A > B, then there is no 1-1 function from A to B. [try to pair off elements of A with elements of B; "pigeons" and "pigeonholes"; but you have an etra pigeon.] Note that we won't use this too often - but it is occassionally useful. (for instance for the intuition of why there must be cycles in derivations of certain lengths for regular grammars - Pumping Lemma.)

The Diagonalization Principle The intuition is as follows: we're going to systematically organize/itemize/list things. then we'll show that there's a way of creating a legitimate item that should be itemized, but that doesn't actually fit anywhere in the listing. The principle: let R be a binary relation on a set A, and let D (the "diagonal" set for R) be {a: a A and (a,a) R} For each a A, let Ra = (b: b A and (a,b) R} Then D is distinct from each Ra. Look at it pictorially: Let A = {a, b, c, d} and let the following table give a relation R: A A. a b c d a Ra b Rb c Rc d Rd Now look at the diagonal:,,, _ and flip it: _, _, _, This is not the same as any other row. The same idea can be used for infinite sets.

Eample. Show that [0,1) is uncountable. Assume the contrary, i.e., that [0,1) is countable. Then the elements can be itemized as follows: etc. 1 = 0. a 11 a 12 a 13... 2 = 0. a 21 a 22 a 23... 3 = 0. a 31 a 32 a 33... Where each i is the decimal epansion of a number between 0 and 1. Now corrupt each digit along the diagonal - i.e., let d 11 be some n {1,.., 8} a 11 let d 22 be some n {1,..., 8} a 22 etc. but then 0. d 11 d 22... isn't enumerated!