EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 10 Cardinality Uncountability of the real numbers.

Slides:



Advertisements
Similar presentations
Is it rational or irrational?
Advertisements

Countability. The cardinality of the set A is equal to the cardinality of a set B if there exists a bijection from A to B cardinality? bijection? injection.
Basic Structures: Functions and Sequences
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 – Discrete Maths Lecture 9
Great Theoretical Ideas in Computer Science.
∞Exploring Infinity ∞ By Christopher Imm Johnson County Community College.
1 Undecidability Andreas Klappenecker [based on slides by Prof. Welch]
Functions f( ) = A B Lecture 15: Nov 4.
CHAPTER 4 Decidability Contents Decidable Languages
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 8 Equivalence relations on sets Function between sets Types of function.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 12 Number theory Mathematical induction Proof by induction Examples.
EE1J2 – Discrete Maths Lecture 5 Analysis of arguments (continued) More example proofs Formalisation of arguments in natural language Proof by contradiction.
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.
Great Theoretical Ideas in Computer Science.
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.
Relation, function 1 Mathematical logic Lesson 5 Relations, mappings, countable and uncountable sets.
Sequences and Summations
1 Lecture 3 (part 3) Functions – Cardinality Reading: Epp Chp 7.6.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Cantor and Countability: A look at measuring infinities How BIG is big? = a Googol 10 googol = a Googolplex = one Tremilliomilliotrecentrecentre.
Mathematical Induction
Functions Section 2.3. Section Summary Definition of a Function. – Domain, Cdomain – Image, Preimage Injection, Surjection, Bijection Inverse Function.
Relations, Functions, and Countability
COMPSCI 102 Introduction to Discrete Mathematics.
Based on Rosen, Discrete Mathematics & Its Applications, 5e Prepared by (c) Michael P. Frank Modified by (c) Haluk Bingöl 1/18 Module.
Aim: How can the word ‘infinite’ define a collection of elements?
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.
Introduction to Real Analysis Dr. Weihu Hong Clayton State University 8/27/2009.
Great Theoretical Ideas in Computer Science.
CSE 20 – Discrete Mathematics Dr. Cynthia Bailey Lee Dr. Shachar Lovett Peer Instruction in Discrete Mathematics by Cynthia Leeis licensed under a Creative.
CompSci 102 Discrete Math for Computer Science February 7, 2012 Prof. Rodger Slides modified from Rosen.
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.
Section 3.2: Sequences and Summations. Def: A sequence is a function from a subset of the set of integers (usually the set of natural numbers) to a set.
CS 285- Discrete Mathematics
CSE 311: Foundations of Computing Fall 2014 Lecture 27: Cardinality.
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.
Sequences Lecture 11. L62 Sequences Sequences are a way of ordering lists of objects. Java arrays are a type of sequence of finite size. Usually, mathematical.
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.
1-1 Copyright © 2013, 2005, 2001 Pearson Education, Inc. Section 2.4, Slide 1 Chapter 2 Sets and Functions.
Great Theoretical Ideas In Computer Science
Cardinality with Applications to Computability
Function Hubert Chan (Chapter 2.1, 2.2) [O1 Abstract Concepts]
The Acceptance Problem for TMs
Discrete Mathematics CS 2610
Function Hubert Chan (Chapter 2.1, 2.2) [O1 Abstract Concepts]
2.4 Sequences and Summations
Counting Sets.
Cardinality of Sets Section 2.5.
Countable or Uncountable…That is the question!
Lecture 7 Functions.
Diagonalization Fact: Many books exist.
Discrete Structures for Computer Science
Countable and Countably Infinite Sets
Lesson 5 Relations, mappings, countable and uncountable sets
ICS 253: Discrete Structures I
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Discrete Mathematics and its Applications
Lesson 5 Relations, mappings, countable and uncountable sets
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Functions Rosen 2.3, 2.5 f( ) = A B Lecture 5: Oct 1, 2.
CS21 Decidability and Tractability
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.
Great Theoretical Ideas in Computer Science
Intro to Theory of Computation
Presentation transcript:

EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 10 Cardinality Uncountability of the real numbers

EE1J2 - Slide 2 Uncountable Sets Recall that a set A is countable if and only if there exists a bijection: f: ℕ  A Equivalently, A is countable if it can be written as a list If A is not countable (i.e. no bijection f: ℕ  A exists) then A is called uncountable

EE1J2 - Slide 3 The Real Numbers ℝ The set of real numbers ℝ contains the set of rational numbers as a subset: ℚ  ℝ Real numbers which are not rational are called irrational. Let ℐ = ℝ- ℚ Examples: Intuitively you might think that there are not many of them – you would be wrong!

EE1J2 - Slide 4 Uncountability of ℝ In fact there are uncountably many irrational numbers To see this we shall show that ℝ is uncountable. Then, since ℝ=ℚ  ℐ, ℐ must be uncountable In this case, | ℝ | > | ℚ |. The cardinality of ℝ is denoted by  1 – pronounced ‘aleph one’

EE1J2 - Slide 5 Cantor’s Proof The uncountability of ℝ was demonstrated by the mathematician George Cantor Cantor’s proof is a proof by contradiction We assume that ℝ is countable, and show that this leads to a contradiction

EE1J2 - Slide 6 Cantor’s Proof So, suppose that ℝ is countable Then there is a bijection f: ℕ  ℝ In particular, f is onto (surjective), so for every real number x  ℝ, there exists n  ℕ such that f(n) = x

EE1J2 - Slide 7 Cantor’s Proof (cont.) Cantor showed how to construct a real number y such that there is no n  ℕ such that f(n) = y This will contradict the fact that f is surjective So, assuming that ℝ is countable leads to a contradiction Therefore ℝ must be uncountable

EE1J2 - Slide 8 Cantor’s construction Suppose ℝ is countable. Then [0,1] is certainly countable Let f: ℕ  [0,1] be a bijection Use f to write [0,1] as a list: f(1) = x 1 f(2) = x 2 f(3) = x 3 …

EE1J2 - Slide 9 Cantor’s construction (contd) Write: kth digit in decimal expansion of x n

EE1J2 - Slide 10 Cantor’s construction (contd) The number y is constructed as follows: Consider the decimal expansion of y For each n, choose the number in the nth position in the decimal expansion of y to be different to the number in the nth position in the decimal expansion of f(n)

EE1J2 - Slide 11 Cantor’s Construction (contd) Write: y = 0.(  d 1 1 )(  d 2 2 )(  d 3 3 )….(  d n n )…..

EE1J2 - Slide 12 Cantor’s Proof (cont.) By construction, y differs from f(n) in at least the nth decimal place for every n This contradicts the assertion that f maps ℕ onto ℝ (i.e that f is a surjection) Note: Some care is needed in the construction of y For example, ‘9’s should not be chosen in the expansion to avoid rounding

EE1J2 - Slide 13 Summary of Lecture 10 Cardinality Uncountability Cantor’s proof of the uncountability of ℝ Definition of  1