Similar documents
5 Set Operations, Functions, and Counting

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

6 CARDINALITY OF SETS

INFINITY: CARDINAL NUMBERS

Section 7.5: Cardinality

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

Countability. 1 Motivation. 2 Counting

MATH 3300 Test 1. Name: Student Id:

Cardinality and ordinal numbers

Finite and Infinite Sets

POL502: Foundations. Kosuke Imai Department of Politics, Princeton University. October 10, 2005

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

ABOUT THE CLASS AND NOTES ON SET THEORY

The cardinal comparison of sets

Chapter 1 : The language of mathematics.

Math 4603: Advanced Calculus I, Summer 2016 University of Minnesota Notes on Cardinality of Sets

Algorithms: Lecture 2

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

586 Index. vertex, 369 disjoint, 236 pairwise, 272, 395 disjoint sets, 236 disjunction, 33, 36 distributive laws

CSE 20 DISCRETE MATH. Fall

1.3. The Completeness Axiom.

A Readable Introduction to Real Mathematics

A Short Review of Cardinality

One-to-one functions and onto functions

Mathematics 220 Workshop Cardinality. Some harder problems on cardinality.

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

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

Some. AWESOME Great Theoretical Ideas in Computer Science about Generating Functions Probability

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

Part IA Numbers and Sets

Chapter One. The Real Number System

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

Properties of the Integers

SETS AND FUNCTIONS JOSHUA BALLEW

DO FIVE OUT OF SIX ON EACH SET PROBLEM SET

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

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.

Real Analysis Math 131AH Rudin, Chapter #1. Dominique Abdi

Prof. Ila Varma HW 8 Solutions MATH 109. A B, h(i) := g(i n) if i > n. h : Z + f((i + 1)/2) if i is odd, g(i/2) if i is even.

Topology. Xiaolong Han. Department of Mathematics, California State University, Northridge, CA 91330, USA address:

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

Discrete Mathematics 2007: Lecture 5 Infinite sets

Economics 204 Summer/Fall 2011 Lecture 2 Tuesday July 26, 2011 N Now, on the main diagonal, change all the 0s to 1s and vice versa:

Section 0. Sets and Relations

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

University of Toronto Faculty of Arts and Science Solutions to Final Examination, April 2017 MAT246H1S - Concepts in Abstract Mathematics

Let us first solve the midterm problem 4 before we bring up the related issues.

Some Basic Notations Of Set Theory

Functions and cardinality (solutions) sections A and F TA: Clive Newstead 6 th May 2014

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27

Essential Background for Real Analysis I (MATH 5210)

X = { X f X i A i : (œx, y 0 X)[x /= y œi[ x i /= y i ]]}.

Sets, Models and Proofs. I. Moerdijk and J. van Oosten Department of Mathematics Utrecht University

Handout 2 (Correction of Handout 1 plus continued discussion/hw) Comments and Homework in Chapter 1

0 Logical Background. 0.1 Sets

Extended Essay - Mathematics

2.2 Some Consequences of the Completeness Axiom

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

A Primer on Intuitive Set Theory

Economics 204 Fall 2011 Problem Set 1 Suggested Solutions

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

Introduction to Proofs

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

Chapter 1 The Real Numbers

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

INTRODUCTION TO CARDINAL NUMBERS

Exercises for Unit VI (Infinite constructions in set theory)

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

Sequence convergence, the weak T-axioms, and first countability

Math 455 Some notes on Cardinality and Transfinite Induction

MAT115A-21 COMPLETE LECTURE NOTES

Structure of R. Chapter Algebraic and Order Properties of R

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

Math 105A HW 1 Solutions

Notes on ordinals and cardinals

S15 MA 274: Exam 3 Study Questions

Axioms for Set Theory

MATH 102 INTRODUCTION TO MATHEMATICAL ANALYSIS. 1. Some Fundamentals

Discrete Structures for Computer Science

CITS2211 Discrete Structures (2017) Cardinality and Countability

SOME TRANSFINITE INDUCTION DEDUCTIONS

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

Problem Set 2: Solutions Math 201A: Fall 2016

2. Transience and Recurrence

CHAPTER 8: EXPLORING R

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

Section 0.7. The Axiom of Choice, Order, and Zorn s Lemma

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

Initial Ordinals. Proposition 57 For every ordinal α there is an initial ordinal κ such that κ α and α κ.

Infinite constructions in set theory

Notes on counting. James Aspnes. December 13, 2010

Mathematical Reasoning & Proofs

Important Properties of R

CS103 Handout 08 Spring 2012 April 20, 2012 Problem Set 3

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

THE REAL NUMBERS Chapter #4

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

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

Part V. 17 Introduction: What are measures and why measurable sets. Lebesgue Integration Theory

REVIEW OF ESSENTIAL MATH 346 TOPICS

Transcription:

1 of 8 7/15/2009 3:43 PM Virtual Laboratories > 1. Foundations > 1 2 3 4 5 6 7 8 9 6. Cardinality Definitions and Preliminary Examples Suppose that S is a non-empty collection of sets. We define a relation on S by A B if and only if there exists a one-to-one function f from A onto B (sometimes called a bijection). That is, A and B are in one-to-one correspondence. 1. Show that is an equivalence relation on S. Two sets that are in one-to-one correspondence are said to have the same cardinality. Thus, the equivalence classes under this equivalence relation capture the notion of having the same number of elements. For k N, let N k = {0, 1,..., k 1}. Technically, a set A is finite if A N k for some k N, in which case k is the cardinality of A, and we write #(A) = k. Think of N k as a reference set with k elements; any other set with k elements must be equivalent to this one. Appropriately enough, a set is infinite if it's not finite. We will study the cardinality of finite sets in the next two sections on Counting M easure and Combinatorial Structures. In this section, we will concentrate primarily on infinite sets. 2. Let S be a set. Recall that P(S) denotes the power set of S (the set of all subsets of S), and {0, 1} S denotes the set of functions from S into {0, 1}. Show that P(S) {0, 1} S. The mapping that takes a set A into its indcator function 1(A) is a bijection. A set that is equivalent to the set of natural numbers N is said to be countably infinite. A set that is either finite or countably infinite is said to be countable. Countable sets play a very important role in probability theory, as in many other branches of mathematics. Appropriately enough, a set that is not countable is said to be uncountable. We will soon see that there are such sets. 3. Show that the set of even natural numbers E = {0, 2, 4,...} is countable infinite, and the set of integers Z is countable infinite. A one-to-one mapping from N onto E can be constructed by mapping n to 2 n A one-to-one mapping from N onto Z can be constructed by mapping the even natural numbers one-to-one onto the natural numbers, and the odd natural numbers one-to-one onto the negative integers. 4. Suppose that A is a set with at least two elements, and let S = A N, the set of all functions from N into A. Thus, the elements of S are infinite sequences indexed by N and taking values in A. Show that S is uncountable. The proof is by contradiction, and uses a nice trick known as the diagonalization method:

2 of 8 7/15/2009 3:43 PM Suppose that S is countably infinite (it's clearly not finite), so that the elements of S can be enumerated: S = { f 0, f 1, f 2,...} Now construct a new function g that differs from every function in the list. Specifically, suppose that a and b are distinct elements of A. Define g : N A by g(n) = b if f n (n) = a and g(n) = a if f n (n) a Show that g f n for each n N, which contradicts the fact that S is the set of all functions from N into A. S ubsets of Infinite S ets Surely a set must be as least as large as any of its subsets, in terms of cardinality. On the other hand, it might also seem that the set of even natural numbers is only half the size of the set of all natural numbers, and that the set of integers is twice the size of the set of natural numbers. However, by a Exercise 3, the three sets have exactly the same size, in terms of cardinality. In this subsection, we will explore some interesting and somewhat paradoxical results that relate to subsets of infinite sets. Along the way, we will see that the countable infinity is the smallest of the infinities. 5. Suppose that S is an infinite set. Show that S has a countable infinite subset. Select a 0 S. It's possible to do this since S is nonempty. Inductively, having chosen {a 0, a 1,..., a k 1 } S, select a k S {a 0, a 1,..., a k 1 }. Again, it's possible to do this since S is not finite. Manifestly, {a 0, a 1, a 2,...} is a countably infinite subset of S. 6. Show that a set S is infinite if and only if S is equivalent to a proper subset of S If S is finite, then S is not equivalent to a proper subset by the pigeonhole principle If S is infinite, then S has countably infinite subset {a 0, a 1, a 2,...} by the previous exercise. Show that S is equivalent to S {a 1, a 3, a 5,...}. Construct the bijection as follows: Map {a 0, a 1, a 2,...} one-to-one onto {a 0, a 2, a 4,...}. This can be done in essentially the same way that the natural numbers were mapped one-to-one onto the even natural numbers in Exercise 3. For every other element x S {a 0, a 2, a 4,...}, map x to x. When S was infinite in the previous exercise, not only did we map S one-to-one onto a proper subset, we actually threw away a countably infinite subset and still maintained equivalence. Similarly, we can add a countably infinite set to an infinite set S without changing the cardinality S. 7. Show that if S is an infinite set and B is a countable set, then S S B Consider the most extreme case where B is countably infinite and disjoint from S. S has a countably infinite subset A = {a 0, a 1, a 2,...}, and B = {b 0, b 1, b 2,...}. Construct the

3 of 8 7/15/2009 3:43 PM bijection as follows: M ap the even order terms of A one-to-one onto A, and map the odd order terms of A one-to-one onto B. For every element x S A, map x to x In particular, if S is uncountable and B is countable then S B and S B have the same cardinality as S, and in particular are uncountable. In terms of the dichotomies finite-infinite and countable-uncountable, a set is indeed at least as large as a subset. First we need a preliminary result. 8. Show that if S is countably infinite and A is an infinite subset of S, then A is countably infinite. Since S is countably, it can be enumerated: S = {x 0, x 1, x 2,...} Let n i be the i th smallest index such that x ni A Argue that A = {x n0, x n1, x n2,...} and hence is countably infinite. 9. Suppose that A B. Prove the following results. If B is finite then A is finite. If A is infinite then B is infinite. If B is countable then A is countable. If A is uncountable then B is uncountable. Hint: Note that (b) is the contrapositive of (a), and (d) is the contrapositive of (c). Comparisons by one-to-one and onto functions We will look deeper at the general question of when one set is at least as big than another, in the sense of cardinality. Not surprisingly, this will eventually lead to a partial order on the cardinality equivalence classes First note that if there exists a function that maps a set A one-to-one into a set B, then, in a sense, there is a copy of A contained in B. Hence B should be at least as large as A.

4 of 8 7/15/2009 3:43 PM 10. Suppose that f : A B is one-to-one. Show that If B is finite then A is finite. If A is infinite then B is infinite. If B is countable then A is countable. If A is uncountable then B is uncountable. Hint: Note that f maps A one-to-one onto f (A), and f (A) B. Now use the Exercise 9. On the other hand, if there exists a function that maps a set A onto a set B, then, in a sense, there is a copy of B contained in A. Hence A should be at least as large as B. 11. Suppose that f : A B is onto. Show that If A is finite then B is finite. If B is infinite then A is infinite. If A is countable then B is countable. If B is uncountable then A is uncountable. Hint: For each y B, select a specific x A with f (x) = y (if you are persnickety, y ou may need to invoke the axiom of choice). Let C be the set of chosen points. Argue that f maps C one-to-one onto B, and C A. Now use the Exercise 10. The previous exercise also could be proved from the one before, since if there exists a function f mapping A onto B, then there exists a function g mapping B one-to-one into A. This duality is proven in the discussion of the axiom of choice. A simple and useful corollary of the previous two theorems is that if B is a given countably infinite set, then a set A is countable if and only if there exists a one-to-one function f from A into B, if and only if there exists a function g from B onto A. 12. Show that if A i is a countable set for each i in a countable index set I, then i I A i is countable. Consider the most extreme case in which the index set I is countably infinite. There exists a function f i that maps N onto A i for each i N. Let M = {2 i 3 j : (i N) and (j N)}. Note that M is countably infinite. Define f : M i I A i by f (2 i 3 j ) = f i (j). Show that f is well-defined and is onto. 13. Show that if A and B are countable then A B is countable. There exists a function f that maps N onto A, and there exists a function g that maps N onto B. Again, let M = {2 i 3 j : (i N) and (j N)}. Note that M is countably infinite.

5 of 8 7/15/2009 3:43 PM Define h : M A B by h(2 i 3 j ) = ( f (i), g(j)). Show that h is well-defined and is onto. The last result could also be proven from the one before, by noting that A B = a A {a} B Both proofs work because the set M is essentially a copy of N N, embedded inside of N. The last theorem generalizes to the statement that a finite product of countable sets is still countable. But, from Exercise 4, a product of infinitely many sets (with at least 2 elements each) will be uncountable. 14. Show that the set of rational numbers Q is countably infinite. The sets Z and N + are countably infinite. The set Z N + is countably infinite. The function f : Z N + Q given by f (m, n) = m n is onto. A real number is algebraic if it is the root of a polynomial function (of degree 1 or more) with integer coefficients. Rational numbers are algebraic, as are rational roots of rational numbers (when defined). Moreover, the algebraic numbers are closed under addition, multiplication, and division. A real number is transcendental if it's not algebrai The numbers e and π are transcendental, but we don't know very many other transcendental numbers by name. However, as we will see, most (in the sense of cardinality) real numbers are transcendental. 15. Show that the set of algebraic numbers is countably infinite. Let Z 0 = Z {0} and let Z n = Z n 1 Z 0 for n N +. The set Z n is countably infinite for each n. Let C = n =1 Z n. Think of C as the set of coefficients; C is countably infinite. Let P denote the set of polynomials of degree 1 or more, with integer coefficients. The function (a 0, a 1,..., a n ) a 0 + a 1 x + + a n x n maps C onto P. A polynomial of degree n in P has at most n roots, by the fundamental theorem of algebr Now let's look at some uncountable sets.

6 of 8 7/15/2009 3:43 PM 16. Show that the interval [ 0, 10) is uncountable. Let S denote the set of all functions from N into {0, 1, 2,..., 9}, thought of as infinite sequences. The set S is uncountable. Let N denote the set of all sequences in S that eventually end in all 9's. The set N is countably infinite. The set D = S N has the same cardinality as S, and in particular is uncountable. The mapping f that takes a sequence in D and returns the corresponding decimal expansion f (x) = x 0.x 1 x 2 x 3... is a bijection from D onto [ 0, 10). 17. Show that the following sets have the same cardinality, and in particular all are uncountable: e. R, the set of real numbers. Any interval I of R, as long as the interval is not empty or a single point. R Q, the set of irrational numbers. R, the set of transcendental numbers. P(N), the power set of N. Hints: You can find a linear function that maps an interval one-to-one onto another interval, as long as the two intervals are of the same type--that is, both bounded or unbounded, and both with the same type of closure. A closed (or half-closed) interval differs from its open counterpart by two (or one) points. The natural log function maps the interval ( 0, ) one-to-one onto R. The tangent function maps the interval π 2 π 2 (, ) one-to-one onto R. The irrational numbers can be obtained from the real numbers by removing the rational numbers (a countably infinite set), and similarly, the transcendental numbers can be obtained from the real numbers by removing the algebraic numbers (again a countably infinite set). The Cardinality Partial Order Suppose that S is a nonempty collection of sets. We define the relation on S by A B if and only if there exists a one-to-one function f from A into B, if and only if there exists a function g from B onto A. In light of the previous subsection, A B should capture the notion that B is at least as big as A, in the sense of cardinality. 18. Show that is reflexive and transitive. Thus, we can use the construction in the section on on Equivalence Relations to first define an equivalence relation on S, and then extend to a true partial order on the collection of equivalence classes. The only question that remains is whether the equivalence relation we obtain in this way is the same as the one that we have been using in our study of cardinality. Rephrased, the question is this: If there exists a one-to-one function from A into B and a one-to-one function from B into A, does there necessarily exist a one-to-one function from A onto B? Fortunately, the answer is yes; the result is known as the S chröder-bernstein Theorem, named for Ernst Schröder and Sergi Bernstein.

7 of 8 7/15/2009 3:43 PM 19. Show that if A B and B A then A B. e. f. Set inclusion is a partial order on P(A) (the power set of A) with the property that every subcollection of P(A) has a supremum (namely the union of the subcollection). Suppose that f maps A one-to-one into B and g maps B one-to-one into A. Define the function h : P(A) P(A) by h(u) = A g(b f (U)) for U A. Show that h is increasing: if U V then h(u) h(v) Use the fixed point theorem for partially ordered sets to conclude that there exists U A. such that h(u) = U. Conclude that g(b f (U)) = A U. Now define F : A B by F(x) = f (x) if x U and F(x) = g 1 (x) if x A U. Show that F is one-to-one and onto. We will write A B if A B, but A and B are not equivalent. That is, there exists a one-to-one function from A into B, but there does not exist a function from A onto B. Note that would have its usual meaning if applied to the equivalence classes. That is, [A] [B] if and only if [A] [B] but [A] [B]. Intuitively, of course, A B means that B is strictly larger than A, in the sense of cardinality. 20. Show that A B in each of the following cases: A and B are finite and #(A) < #(B) A is finite and B is countably infinite. A is countably infinte and B is uncountable. We close our discussion with the observation that for any set, there is always a larger set. 21. Let S be a set. Show that S P(S). First, it's trivial to map S one-to-one into P(S); just map x to {x}. Suppose that f maps S onto P(S) and let R = {x S : x f (x)}. Since f is onto, there exists t S with f (t) = R. Show that t f (t) if and only if t f (t). The proof that a set cannot be mapped onto its power set is similar to the Russell paradox, named for Bertrand Russell. The continuum hypothesis is the statement that there is no set of real numbers whose cardinality is between between that of N and R. The continuum hypothesis actually started out as the continuum conjecture, until it was shown to be consistent with the usual axioms of the real number system (by Kurt Gödel in 1940), and independet of those axioms (by Paul Cohen in 1963).

8 of 8 7/15/2009 3:43 PM Virtual Laboratories > 1. Foundations > 1 2 3 4 5 6 7 8 9 Contents Applets Data Sets Biographies External Resources Key words Feedback