CSE 20 DISCRETE MATH. Fall

Similar documents
Cardinality revisited

Cardinality. Hebrew alphabet). We write S = ℵ 0 and say that S has cardinality aleph null.

Countability. Jason Filippou UMCP. Jason Filippou UMCP) Countability / 12

Cardinality and Bijections

Finite and Infinite Sets

DVA325 Formal Languages, Automata and Models of Computation (FABER)

1. Functions and set sizes 2. Infinite set sizes. ! Let X,Y be finite sets, f:x!y a function. ! Theorem: If f is injective then X Y.

Final exam. Question Points Score. Total: 150

Cardinality of Accumulation Points of Infinite Sets

Sets. Definition A set is an unordered collection of objects called elements or members of the set.

Sets. Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) August 6, Outline Sets Equality Subset Empty Set Cardinality Power Set

Math 127: Equivalence Relations

Class 8 - Sets (Lecture Notes)

Göttlers Proof of the Collatz Conjecture

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g.,

Section Summary. Permutations Combinations Combinatorial Proofs

SOLUTIONS TO PROBLEM SET 5. Section 9.1

29. Army Housing (a) (b) (c) (d) (e) (f ) Totals Totals (a) (b) (c) (d) (e) (f) Basketball Positions 32. Guard Forward Center

Solution: This is sampling without repetition and order matters. Therefore

It is important that you show your work. The total value of this test is 220 points.

Theory of Probability - Brett Bernstein

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability)

1. The empty set is a proper subset of every set. Not true because the empty set is not a proper subset of itself! is the power set of A.

Sec$on Summary. Permutations Combinations Combinatorial Proofs

SOLUTIONS FOR PROBLEM SET 4

An Aperiodic Tiling from a Dynamical System: An Exposition of An Example of Culik and Kari. S. Eigen J. Navarro V. Prasad

Permutation Groups. Every permutation can be written as a product of disjoint cycles. This factorization is unique up to the order of the factors.

ECS 20 (Spring 2013) Phillip Rogaway Lecture 1

16 Alternating Groups

Pattern Avoidance in Unimodal and V-unimodal Permutations

CLASS NOTES. A mathematical proof is an argument which convinces other people that something is true.

Lecture 2: Sum rule, partition method, difference method, bijection method, product rules

What is counting? (how many ways of doing things) how many possible ways to choose 4 people from 10?

RESTRICTED PERMUTATIONS AND POLYGONS. Ghassan Firro and Toufik Mansour Department of Mathematics, University of Haifa, Haifa, Israel

Sec 5.1 The Basics of Counting

Counting. Chapter 6. With Question/Answer Animations

Counting integral solutions

Classes of permutations avoiding 231 or 321

5 Symmetric and alternating groups

The Real Number System and Pythagorean Theorem Unit 9 Part B

NON-OVERLAPPING PERMUTATION PATTERNS. To Doron Zeilberger, for his Sixtieth Birthday

To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we. The first (and most delicate) case concerns 2

NUMBER THEORY AMIN WITNO

Grade 7/8 Math Circles February 21 st /22 nd, Sets

X = {1, 2,...,n} n 1f 2f 3f... nf

Pre-Test Unit 7: Real Numbers KEY

Lecture 3 Presentations and more Great Groups

Background. Game Theory and Nim. The Game of Nim. Game is Finite 1/27/2011

Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions

REU 2006 Discrete Math Lecture 3

ON SPLITTING UP PILES OF STONES

Rational Points On Elliptic Curves - Solutions. (i) Throughout, we ve been looking at elliptic curves in the general form. y 2 = x 3 + Ax + B

CSE 20: Discrete Mathematics for Computer Science. Prof. Miles Jones. Today s Topics: 3-cent and 5-cent coins. 1. Mathematical Induction Proof

Assignment 2. Due: Monday Oct. 15, :59pm

Introduction to Computational Manifolds and Applications

Discrete Structures for Computer Science

With Question/Answer Animations. Chapter 6

Fermat s little theorem. RSA.

Jong C. Park Computer Science Division, KAIST

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

The Tilings of Deficient Squares by Ribbon L-Tetrominoes Are Diagonally Cracked

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Congruence properties of the binary partition function

arxiv: v1 [math.co] 24 Nov 2018

More Great Ideas in Theoretical Computer Science. Lecture 1: Sorting Pancakes

CS1802 Week 6: Sets Operations, Product Sum Rule Pigeon Hole Principle (Ch )

On first and second countable spaces and the axiom of choice

Non-overlapping permutation patterns

Walking on Numbers and a Self-Referential Formula

#A3 INTEGERS 17 (2017) A NEW CONSTRAINT ON PERFECT CUBOIDS. Thomas A. Plick

Permutation Groups. Definition and Notation

Restricted Permutations Related to Fibonacci Numbers and k-generalized Fibonacci Numbers

6. Find an inverse of a modulo m for each of these pairs of relatively prime integers using the method

HOMEWORK ASSIGNMENT 5

Section II.9. Orbits, Cycles, and the Alternating Groups

Arithmetic Properties of Combinatorial Quantities

CITS2211 Discrete Structures Turing Machines

Reading 14 : Counting

Homogeneous permutations

Outline. Sets of Gluing Data. Constructing Manifolds. Lecture 3 - February 3, PM

Beyond Infinity? Joel Feinstein. School of Mathematical Sciences University of Nottingham

MATH 433 Applied Algebra Lecture 12: Sign of a permutation (continued). Abstract groups.

SETS OBJECTIVES EXPECTED BACKGROUND KNOWLEDGE 1.1 SOME STANDARD NOTATIONS. Sets. MODULE - I Sets, Relations and Functions

QUOTIENT AND PSEUDO-OPEN IMAGES OF SEPARABLE METRIC SPACES

CS1802 Week 6: Sets Operations, Product Sum Rule Pigeon Hole Principle (Ch )

A REMARK ON A PAPER OF LUCA AND WALSH 1. Zhao-Jun Li Department of Mathematics, Anhui Normal University, Wuhu, China. Min Tang 2.

Practice Midterm 2 Solutions

Algorithms and Data Structures: Network Flows. 24th & 28th Oct, 2014

Combinatorics in the group of parity alternating permutations

and problem sheet 7

Topics to be covered

Minimal generating sets of Weierstrass semigroups of certain m-tuples on the norm-trace function field

An aperiodic tiling using a dynamical system and Beatty sequences

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability

Senior Math Circles February 10, 2010 Game Theory II

Minimal tilings of a unit square

arxiv: v3 [math.co] 4 Dec 2018 MICHAEL CORY

Game Theory and Algorithms Lecture 19: Nim & Impartial Combinatorial Games

ELEMENTS OF NUMBER THEORY & CONGRUENCES. Lagrange, Legendre and Gauss. Mth Mathematicst

MA/CSSE 473 Day 9. The algorithm (modified) N 1

Transcription:

CSE 20 DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/

Today's learning goals Define and compute the cardinality of a set. Use functions to compare the sizes of sets. Classify sets by cardinality into: Finite sets, countable sets, uncountable sets. Explain the central idea in Cantor's diagonalization argument.

Cardinality Rosen Section 2.5 For all sets, we define A = B if and only if there is a bijection between them. 1 2 3 4 5 a b c d e

Cardinality Rosen Defn 3 p. 171 Finite sets A = n for some nonnegative int n Countably infinite sets A = Z + (informally, can be listed out) Uncountable sets Infinite but not in bijection with Z +

Lemmas how would you prove each one? If A and B are countable sets, then A U B is countable. Theorem 1, p. 174 If A and B are countable sets, then A x B is countable. If A is finite, then A* is countable. If A is a subset of B, to show that A = B, it's enough to give a 1-1 function from B to A or an onto function from A to B. Exercise 22, p. 176 If A is a subset of a countable set, then it's countable. Exercise 16, p. 176 If A is a superset of an uncountable set, then it's uncountable. Exercise 15, p. 176

Cardinality Rosen p. 172 Countable sets A is finite or A = Z + (informally, can be listed out) Examples: and also - the set of odd positive integers Example 1 - the set of all integers Example 3 - the set of positive rationals Example 4 - the set of negative rationals - the set of rationals - the set of nonnegative integers - the set of all bit strings {0,1}*

Cardinality Rosen p. 172 Countable sets A is finite or A = Z + (informally, can be listed out) Examples: and also - the set of odd positive integers Example 1 - the set of all integers Example 3 - the set of positive rationals Example 4 - the set of negative rationals - the set of rationals - the set of nonnegative integers - the set of all bit strings {0,1}* Proof strategies? - List out all and only set elements (with or without duplication) - Give a one-to-one function from A to (a subset of) a set known to be countable

There is an uncountable set! Rosen example 5, page 173-174 Cantor's diagonalization argument Theorem: For every set A,

There is an uncountable set! Rosen example 5, page 173-174 Cantor's diagonalization argument Theorem: For every set A, An example to see what is necessary. Consider A = {a,b,c}. What would we need to prove that A = P(A)?

There is an uncountable set! Rosen example 5, page 173-174 Cantor's diagonalization argument Theorem: For every set A, Proof: (Proof by contradiction) Assume towards a contradiction that means there is a bijection.. By definition, that x f f(x) = X A

There is an uncountable set! Rosen example 5, page 173-174 Cantor's diagonalization argument Consider the subset D of A defined by, for each a in A: x f f(x) = X D A

There is an uncountable set! Rosen example 5, page 173-174 Cantor's diagonalization argument Consider the subset D of A defined by, for each a in A: Define d to be the pre-image of D in A under f f(d) = D Is d in D? If yes, then by definition of D, a contradiction! Else, by definition of D, so a contradiction!

Cardinality Rosen p. 172 Uncountable sets Infinite but not in bijection with Z + Examples: the power set of any countably infinite set and also - the set of real numbers Example 5 - (0,1) Example 6 (++) - (0,1] Example 6 (++) Exercises 33, 34

Why the real numbers? (0,1) If this little interval is already uncountable, then R is definitely uncountable! 0.5 = 0.10000 0.1 = 0.00011 0. b 1 b 2 b 3 b 4. binary expansion of number

Why the real numbers? (0,1) If this little interval is already uncountable, then R is definitely uncountable! "Looks like" a power set of a countably infinite set? 0. b 1 b 2 b 3 b 4. binary expansion of number maps to { x x is a positive integer and b x is 1} Conclude: (0,1) = power set of Z +

Diagonalization Example 5 Rosen p. 173 Theorem: The set (0,1) is uncountable Proof: (Proof by contradiction) Assume towards a contradiction that (0,1) is countable. By definition, that means there is a bijection which lists all real numbers in this interval.

Diagonalization Example 5 Rosen p. 173 Theorem: The set (0,1) is uncountable Proof: (Proof by contradiction) Assume towards a contradiction that (0,1) is countable. By definition, that means there is a bijection which lists all real numbers in this interval. f(1) = r 1 = 0. b 11 b 12 b 13 b 14 f(2) = r 2 = 0. b 21 b 22 b 23 b 24 f(3) = r 3 = 0. b 31 b 32 b 33 b 34 f(4) = r 4 = 0. b 41 b 42 b 43 b 44 We're going to find a number d that is not in this list.

Diagonalization Example 5 Rosen p. 173 Theorem: The set (0,1) is uncountable Proof: (Proof by contradiction) Assume towards a contradiction that (0,1) is countable. By definition, that means there is a bijection which lists all real numbers in this interval. f(1) = r 1 = 0. b 11 b 12 b 13 b 14 f(2) = r 2 = 0. b 21 b 22 b 23 b 24 f(3) = r 3 = 0. b 31 b 32 b 33 b 34 f(4) = r 4 = 0. b 41 b 42 b 43 b 44 We're going to find a number d that is not in this list. d = 0. b 1 b 2 b 3 b 4 where b i = 1- b ii. By this definition: d can't equal any f(i). So: f is not onto!

What about the irrational numbers? Claim: The set of irrational numbers is / isn't countable. Proof: