A Very Practical Series 1 What if we also save a fixed amount (d) every year?

Slides:



Advertisements
Similar presentations
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.
Advertisements

04/23/13 Countability Discrete Structures (CS 173) Derek Hoiem, University of Illinois 1.
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.
Module 5 Topics Proof of the existence of unsolvable problems
Functions f( ) = A B Lecture 15: Nov 4.
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.
1 Lecture 6 Topics –Proof of the existence of unsolvable problems Problems/languages not in REC Proof Technique –There are more problems/languages than.
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.
CS 2210 (22C:019) Discrete Structures Sets and Functions Spring 2015 Sukumar Ghosh.
Great Theoretical Ideas in Computer Science.
Cantor’s Legacy: Infinity And Diagonalization Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2004 Lecture 25Apr 13, 2004Carnegie.
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
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
1 Lecture 3 (part 3) Functions – Cardinality Reading: Epp Chp 7.6.
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.
The Halting Problem – Undecidable Languages Lecture 31 Section 4.2 Wed, Oct 31, 2007.
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.
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”
Basic Structures: Sets, Functions, Sequences, and Sums CSC-2259 Discrete Structures Konstantin Busch - LSU1.
Mathematical Induction
Copyright © 2014 Curt Hill Cardinality of Infinite Sets There be monsters here! At least serious weirdness!
Relations, Functions, and Countability
Donald Byrd rev. 28 November 2012
COMPSCI 102 Introduction to Discrete Mathematics.
Remaining Discussions from Previous Class Please be precise in your writing –Specially because some of the proofs are written in plain English Queue automata.
Based on Rosen, Discrete Mathematics & Its Applications, 5e Prepared by (c) Michael P. Frank Modified by (c) Haluk Bingöl 1/18 Module.
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.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Cardinality with Applications to Computability Lecture 33 Section 7.5 Wed, Apr 12, 2006.
I dare you not to get excited when you read Cantor’s Diagonal Proof: Georg Cantor was the most important mathematician no one has ever heard of. He did.
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
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 2.6 Infinite Sets.
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.
Week 8 - Monday.  What did we talk about last time?  Properties of functions  One-to-one  Onto  Inverses  Cardinality.
22C:19 Discrete Structures Sequence and Sums Fall 2014 Sukumar Ghosh.
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
Discrete Mathematics CS 2610
CS 2210:0001 Discrete Structures Sets and Functions
Cardinality of Sets Section 2.5.
Diagonalization Fact: Many books exist.
Countable and Countably Infinite Sets
Lesson 5 Relations, mappings, countable and uncountable sets
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
Discrete Mathematics CS 2610
Functions Rosen 2.3, 2.5 f( ) = A B Lecture 5: Oct 1, 2.
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.
Presentation transcript:

A Very Practical Series 1 What if we also save a fixed amount (d) every year?

Formulate the Recurrence Relation 2 Let r = interest rate, d = amount saved annually. Let k = 1+r.

Formulate the Recurrence Relation 3 Let r = interest rate, d = amount saved annually. Let k = 1+r.

Infinite Sets and Cardinality 4

Infinite Sets and Cardinality 5 The Schroeder-Bernstein Theorem: If then. (We will use this result w/o proof.) (Bijection)

Infinite Sets and Cardinality 6

Apparent Paradoxes 7

Apparent Paradoxes

Apparent Paradoxes Clearly(?) one-to-one and onto.

Apparent Paradoxes 10

Apparent Paradoxes A proper subset of a finite set has a smaller cardinality than the whole set. A proper subset of an infinite set can have the same cardinality as the whole set. – | Even_Integers | = | Z | = ℵ 0. Hilbert’s “Grand Hotel”. 11

The Rational Numbers are Countable 12 Consider positive rational numbers first

13

14

15

16

17

18

19

20 +

21 +

22 +

23 +

Question Are you convinced by this proof that the set of positive rationals, Q +, is countable? –(A) Yes! That’s really clever! –(B) Hmm... Why is this surprising? –(C) Hmm... What about duplicate values in Grid? –(D) I want to see what to do with negative rational numbers. –(E) I just don’t get it. 24

What about negative rational numbers? Just use a different Grid. The set Q is countable. 25

The Real Numbers are Not Countable Proposition ¬C: R is not countable. Proposition C: R is countable. If R is countable, then (0,1) is countable. Then there is a 1-1 correspondence between Z + and (0,1). Let that correspondence be this table: Every r i ∈ (0,1) must be in this table. 26 1r 1 = 0.d 11 d 12 d 13 d r 2 = 0.d 21 d 22 d 23 d r 3 = 0.d 31 d 32 d 33 d r 4 = 0.d 41 d 42 d 43 d

The Real Numbers are Not Countable Proposition ¬C: R is not countable. Proposition C: R is countable. If R is countable, then (0,1) is countable. Then there is a 1-1 correspondence between Z + and (0,1). Let that correspondence be this table: Every r i ∈ (0,1) must be in this table. 27 1r 1 = 0.d 11 d 12 d 13 d r 2 = 0.d 21 d 22 d 23 d r 3 = 0.d 31 d 32 d 33 d r 4 = 0.d 41 d 42 d 43 d

The Real Numbers are Not Countable Proposition ¬C: R is not countable. Proposition C: R is countable. If R is countable, then (0,1) is countable. Then there is a 1-1 correspondence between Z + and (0,1). Let that correspondence be this table: Every r i ∈ (0,1) must be in this table. 28 1r 1 = 0.d 11 d 12 d 13 d r 2 = 0.d 21 d 22 d 23 d r 3 = 0.d 31 d 32 d 33 d r 4 = 0.d 41 d 42 d 43 d

The Real Numbers are Not Countable Proposition ¬C: R is not countable. Proposition C: R is countable. If R is countable, then (0,1) is countable. Then there is a 1-1 correspondence between Z + and (0,1). Let that correspondence be this table: Every r i ∈ (0,1) must be in this table. 29 1r 1 = 0.d 11 d 12 d 13 d r 2 = 0.d 21 d 22 d 23 d r 3 = 0.d 31 d 32 d 33 d r 4 = 0.d 41 d 42 d 43 d

The Real Numbers are Not Countable Proposition ¬C: R is not countable. Proposition C: R is countable. If R is countable, then (0,1) is countable. Then there is a 1-1 correspondence between Z + and (0,1). Let that correspondence be this table: Every r i ∈ (0,1) must be in this table. 30 1r 1 = 0.d 11 d 12 d 13 d r 2 = 0.d 21 d 22 d 23 d r 3 = 0.d 31 d 32 d 33 d r 4 = 0.d 41 d 42 d 43 d

The Real Numbers are Not Countable Proposition ¬C: R is not countable. Proposition C: R is countable. If R is countable, then (0,1) is countable. Then there is a 1-1 correspondence between Z + and (0,1). Let that correspondence be this table: Every r i ∈ (0,1) must be in this table. 31 1r 1 = 0.d 11 d 12 d 13 d r 2 = 0.d 21 d 22 d 23 d r 3 = 0.d 31 d 32 d 33 d r 4 = 0.d 41 d 42 d 43 d

The Real Numbers are Not Countable Construct a number x = 0. x 1 x 2 x 3 x 4... where each digit x i ≠ d ii, for every i. –Therefore, x ≠ r i, for every i. –So, x is not in the table. Even though x ∈ (0,1). Thus, Proposition C leads to a contradiction. –Therefore, Proposition ¬C is true: The set R is not countable. Q.E.D. –This is a diagonalization proof by contradiction. 32

The Real Numbers are Not Countable Construct a number x = 0. x 1 x 2 x 3 x 4... where each digit x i ≠ d ii, for every i. –Therefore, x ≠ r i, for every i. –So, x is not in the table. Even though x ∈ (0,1). Thus, Proposition C leads to a contradiction. –Therefore, Proposition ¬C is true: The set R is not countable. Q.E.D. –This is a diagonalization proof by contradiction. 33

The Real Numbers are Not Countable Construct a number x = 0. x 1 x 2 x 3 x 4... where each digit x i ≠ d ii, for every i. –Therefore, x ≠ r i, for every i. –So, x is not in the table. Even though x ∈ (0,1). Thus, Proposition C leads to a contradiction. –Therefore, Proposition ¬C is true: The set R is not countable. Q.E.D. –This is a diagonalization proof by contradiction. 34

Question Are you convinced by this proof, that the set R of real numbers is uncountable? –(A)Yes! That’s really clever! –(B)Hmph. Can’t you just add x to the table? –(C)Hmph. Can you write down that table? –(D)Hmph. Why does getting a contradiction from C mean that ¬C must be true? –(E)I just don’t get it. 35