Section 0. Sets and Relations

Similar documents
Chapter 1 : The language of mathematics.

CITS2211 Discrete Structures (2017) Cardinality and Countability

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

Foundations Revision Notes

ABOUT THE CLASS AND NOTES ON SET THEORY

Supplement. Dr. Bob s Modern Algebra Glossary Based on Fraleigh s A First Course on Abstract Algebra, 7th Edition, Sections 0 through IV.

MATH 433 Applied Algebra Lecture 14: Functions. Relations.

Sets and Functions. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Sets and Functions

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

INFINITY: CARDINAL NUMBERS

Introduction to Proofs

0 Sets and Induction. Sets

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

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

Discrete Mathematics. W. Ethan Duckworth. Fall 2017, Loyola University Maryland

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X.

Foundations of Mathematics

SETS AND FUNCTIONS JOSHUA BALLEW

Math Fall 2014 Final Exam Solutions

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

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

MATH 101: ALGEBRA I WORKSHEET, DAY #1. We review the prerequisites for the course in set theory and beginning a first pass on group. 1.

Chapter 1. Sets and Mappings

A Semester Course in Basic Abstract Algebra

Discussion Summary 10/16/2018

Math 105A HW 1 Solutions

Mathematics Review for Business PhD Students

Mathematics Review for Business PhD Students Lecture Notes

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60

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

Definitions. Notations. Injective, Surjective and Bijective. Divides. Cartesian Product. Relations. Equivalence Relations

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

Discrete Mathematics

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

0 Logical Background. 0.1 Sets

Section 4.4 Functions. CS 130 Discrete Structures

Part IA Numbers and Sets

RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

Definition List Modern Algebra, Fall 2011 Anders O.F. Hendrickson

MATH 3300 Test 1. Name: Student Id:

Sets and Functions. (As we will see, in describing a set the order in which elements are listed is irrelevant).

General Notation. Exercises and Problems

INTRODUCTION TO THE GROUP THEORY

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

Scott Taylor 1. EQUIVALENCE RELATIONS. Definition 1.1. Let A be a set. An equivalence relation on A is a relation such that:

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

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

REVIEW FOR THIRD 3200 MIDTERM

Chapter 1. Sets and Numbers

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

CSE 20 DISCRETE MATH. Winter

Chapter 0. Introduction: Prerequisites and Preliminaries

Math 109 HW 9 Solutions

MATH FINAL EXAM REVIEW HINTS

Automata and Languages

Reading 11 : Relations and Functions

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Math 109 September 1, 2016


14 Equivalence Relations

Copyright c 2007 Jason Underdown Some rights reserved. statement. sentential connectives. negation. conjunction. disjunction

2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

Chapter 2 - Basics Structures

Chapter Summary. Sets (2.1) Set Operations (2.2) Functions (2.3) Sequences and Summations (2.4) Cardinality of Sets (2.5) Matrices (2.

Solutions to Homework Set 1

FOUNDATIONS & PROOF LECTURE NOTES by Dr Lynne Walling

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

Contents Propositional Logic: Proofs from Axioms and Inference Rules

Finite and Infinite Sets

Algorithms: Lecture 2

CSE 20 DISCRETE MATH. Fall

Math.3336: Discrete Mathematics. Cardinality of Sets

Mathematics Course 111: Algebra I Part I: Algebraic Structures, Sets and Permutations

Some Basic Notations Of Set Theory

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

MATH 2200 Final LC Review

Zermelo-Fraenkel Set Theory

Relations, Functions, and Sequences

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

Discrete Mathematics. Benny George K. September 22, 2011

CSCE 222 Discrete Structures for Computing

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

The cardinal comparison of sets

CSE 20 DISCRETE MATH. Fall

Sets, Functions and Relations

MATH 2200 Final Review

A Short Review of Cardinality

Discrete Mathematics 2007: Lecture 5 Infinite sets

CSE 1400 Applied Discrete Mathematics Proofs

Part V. Chapter 19. Congruence of integers

Notes on counting. James Aspnes. December 13, 2010

Chapter 6 Cardinal Numbers and Cardinal Arithmetic

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.

6 CARDINALITY OF SETS

Notes on Sets, Relations and Functions

5 Set Operations, Functions, and Counting

HANDOUT AND SET THEORY. Ariyadi Wijaya

Transcription:

0. Sets and Relations 1 Section 0. Sets and Relations NOTE. Mathematics is the study of ideas, not of numbers!!! The idea from modern algebra which is the focus of most of this class is that of a group (this class could easily be called group theory). We will often use numbers to give examples of groups, but the topics covered by modern algebra are the abstract ideas of groups, rings, and fields. Note. As commented in the text on page 1, it is impossible to define all objects in mathematics. This is because we can only define new objects in terms of old objects at some point we must have foundational objects which are known to us through intuition. One such object is a set of elements. Note/Definition. A set is a collection of objects called elements. The elements of a set appear in no particular order. Also, an object is either in a set or not it does not appear in a set a repeated number of times, for example. Therefore, we would write the set with elements 5,3,2+3,2, and 5 2 as any one of the following: {5,3,2}, {5,2,3}, {3,5,2}, {3,2,5}, {2,5,3}, or {2,3,5}. Notation. If a is an element of set S then we write a S. If S is the set with no elements, we write S =, the empty set or null set.

0. Sets and Relations 2 Definition 0.1. A set B is a subset of set A, denoted B A or A B, if every element b B is also an element of A. If B is a subset of A and A B (that is, A and B are different sets), then we write B A (or B A) or A B (or A B). Note. Vacuously, for any set B, B Note. We can show two sets A and B are equal, A = B, by showing (1) A B and (2) B A. Definition 0.2. If A is any set, then A itself is the improper subset of set A. All other subset of A are proper subsets. The set is the trivial subset of A. Note. In axiomatic set theory, we need to have a universal set. All sets we discuss are then subsets of this known universal set. Subsets of the universal set can then be defined using a characterizing property. For example, we can let the universal set be the set of natural numbers N = {1, 2, 3,...} and define set A as S = {x N x 2 100} = {1,2,3,4,5,6,7,8, 9,10}.

0. Sets and Relations 3 Notation. Several sets of numbers which we are interested in include: 1. The Natural Numbers N = {1,2,3,...}, 2. The Whole Numbers W = {0,1,2,3,...}, 3. The Integers Z = {..., 3, 2, 1,0, 1,2, 3,...} (the letter Z is used for the German zahlen for number ), 4. The Rational Numbers Q = {p/q p,q Z,q 0}, 5. The Real Numbers R, and 6. The Complex Numbers C = {a + ib a,b R,i = 1}. Note. Some subsets of the above sets of real numbers are important. In particular, we have: The positive integers, rationals, and reals, denoted Z +, Q +, and R +, respectively. The nonzero integers, nonzero rationals, nonzero reals, and nonzero complex numbers, denoted Z, Q, R, and C, respectively. Notice. We have Z Q R C and Z Q R C Definition 0.4. Let A and B be sets. The set A B = {(a,b) a A,b B} is the Cartesian Product of A and B.

0. Sets and Relations 4 Example. If A = {1,2,3} and B = {a,b} then A B = {(1,a),(2,a),(3,a),(1,b),(2,b),(3,b)}. Definition 0.7. A relation between sets A and B is a subset R of A B. If (a,b) R we say a is related to b, denoted a R b. Example. Let A = {1,2,3} and B = {a,b}. Suppose R = {(1,a),(2,a),(3,b)}. Then we have 1 R a, 2 R a, and 3 R b. Definition 0.10. A function φ mapping set X into set Y is a relation between X and Y such that each x X appears as the first member of exactly one ordered pair (x,y) φ. We may also call a function a map or mapping of X into Y. We write φ : X Y and for (x,y) φ we write φ(x) = y. The domain of φ is the set X and the codomain of φ is Y. The range of φ is the set φ[x] = {φ(x) x X}. Note. We use square brackets when applying a function to a set. The idea of a codomain is to tell the type of object which φ gives out. For example, if we treat multiplication of a column vector of dimension n be an m n matrix, then we get an m dimensional vector. So the codomain is R m (though the range may be a proper subset of R m ).

0. Sets and Relations 5 Definition 0.12. A function φ : X Y is one to one (or an injection) if φ(x 1 ) = φ(x 2 ) implies x 1 = x 2. The function φ is onto Y (or a surjection) if the range of φ is Y. A function that is both one to one and onto is called a one-to-one correspondence (or a bijection) between the domain and codomain. Exercise 0.12. Let A = {1, 2, 3} and B = {2, 4, 6} Which of these are functions? If a function, which is one to one and which is onto B? (a) {(1,4),(2,4),(3,6)} A function. (b) {(1,6),(1,2),(1,4)} Not a function. (c) {(2,2),(1,6),(3,4)} A function, one to one and onto B. Definition 0.13. Two sets X and Y have the same cardinality if there exists a one to one function mapping X onto Y (that is, if there is a one-to-one correspondence between X and Y ). Note. The idea of the cardinality of a set is that the cardinality (or more precisely, the cardinal number ) represents the size of the set. If the set is finite we can simply define the cardinality as the number of elements in the set. However, surprisingly there are different levels of infinity! The smallest level of infinity is the cardinality of N and is denoted ℵ 0 ( aleph nought ). We denote the cardinality of set A as A and we have ℵ 0 = N = Z = Q R = C. A set of cardinality ℵ 0 is called countable. So R is not countable and the real

0. Sets and Relations 6 numbers form an infinite set that is larger than the infinite set N. The details of these ideas are due to Georg Cantor in the late 19th century. These topics are studied in Analysis 1 (MATH 4217/5217). Definition 0.16. A partition of a set S is a collection of nonempty subsets of S such that every element of S is in exactly one of the subsets. Note. Sets A and B are disjoint if A B =. So the nonempty subsets of S which partition S (called the cells of the partition) are disjoint. Example. We can define a partition of Z as follows. Define A 0 = {x Z 3 divides x}, A 1 = {x Z 3 divides x + 2}, and A 2 = {x Z 3 divides x + 1}. Then A 0,A 1, and A 2 are the cells of a partitioning of Z. We have A 0 = {..., 6, 3,0,3,6,...}, A 1 = {..., 5, 2,1,4, 7,...}, and A 2 = {..., 4, 1,2,5, 8,...}. Definition 0.18. An equivalence relation R on a set S is a relation on S such that for all x,y,z S, we have (1) R is reflexive: x R x, (2) R is symmetric: If x R y then y R x, and (3) R is transitive: If x R y and y R z, then x R z.

0. Sets and Relations 7 Example 0.20. Let n N Then for any z Z, there are unique integers q and r such that z = nq + r and 0 r < n. This is the Division Algorithm for Z and is explained in more detail in Section I.6 (see page 60). For such z and n, the number r is the remainder which results when z is divided by n. For a given n N, there are n possible remainders which result as z ranges over all values in Z (namely, the remainders are 0,1,2,...,n 1). All a Z which yield a given value of r make up a residue class modulo n of Z. In the previous example, A 0 is the residue class modulo 3 associated with remainder 0 modulo 3, A 1 is associated with reminder 1 modulo 3, and A 2 is associated with remainder 2 modulo 3. If two elements a,b Z occur in the same residue class modulo n, then we say a is congruent to b modulo n, denoted a = b (mod n). For example, all even integers are congruent modulo 2 and all odd integers are congruent modulo 2. In fact, congruence modulo n (for given n) is an equivalence relation on Z. Addition modulo n leads to consideration of the set of n equivalence classes on Z denoted Z n = {0,1,2,...,n 1}. Theorem 0.22. Equivalence Relations and Partitions. Let S be a nonempty set and let be an equivalence relation on S. Then yields a partition of S into equivalence classes where for each a S we define a = {x S x a}. Also, each partition of S gives rise to an equivalence relation on S where a b if and only if a and b are in the same cell of the partition. Note. The concept of using an equivalence relation to partition a set is a common one. In particular, we will use it in the proof of Lagrange s Theorem in Section I.10.

0. Sets and Relations 8 Note. You should recall the properties of logic and truth tables from your Mathematical Reasoning class (MATH 2800). Here, we use the symbol to mean negation when placed over a symbol (so p is not p ): p q p q p q p q p q p q p q q p T T T T T F F F F T T F F T F F T F T F F T F T T T F F T T F F F F T T T T T T Notice that (p q) = ( p q), (p q) = ( p q), and (p q) = ( q p). Here, by equality, we mean that the same truth values for p and q yield the same truth values on both sides of the equations. Note. It is often useful to swap a statement for its contrapositive. For example, a function φ is one to one if (φ(x 1 ) = φ(x 2 )) (x 1 = x 2 ). The contrapositive of this definition is (x 1 x 2 ) (φ(x 1 ) φ(x 2 )). So a function is one to one when different input values for a function imply different output values. This is why we can test the graph of y = f(x) in the Cartesian plane for one-to-one-ness with the horizontal line test. Revised: 1/22/2013