Definitions of Sets Set Notation Membership Examples of Common

Total Page:16

File Type:pdf, Size:1020Kb

Definitions of Sets Set Notation Membership Examples of Common Definitions of sets CSCI 1900 Discrete Structures •A set is any well-defined collection of objects • The elements or members of a set are the Sets and Subsets objects contained in the set Reading: Kolman, Section 1.1 • Well-defined means that it is possible to decide if a given object belongs to the collection or not. CSCI 1900 – Discrete Structures Sets and Subsets – Page 1 CSCI 1900 – Discrete Structures Sets and Subsets – Page 2 Set notation Membership • Enumeration of sets are represented with • ∈ -- “is an element of” (Note that it is a list of elements in curly brackets – shaped like an “E” as in element) example: {1, 2, 3} • ∉ -- “is not an element of” • Set labels are uppercase letters in italics – • Example: If A = {1, 3, 5, 7}, then 1 ∈ A, but example: A, B, C 2 ∉ A. • Element labels are lowercase letters – example: a, b, c • ∅ is the label for the empty set, i.e., ∅ = { } CSCI 1900 – Discrete Structures Sets and Subsets – Page 3 CSCI 1900 – Discrete Structures Sets and Subsets – Page 4 Specifying sets with their Examples of Common Sets properties: A set can be represented or defined by the •Z+ = {x | x is a positive integer} rules classifying whether an object • N = {x | x is a positive integer or zero} belongs to a collection or not. •Z = {x | x is an integer} A = {a | a is __________} The above notation translates to “the set A •Q = {x | x is a rational number} is comprised of elements a where a Q consists of the numbers that can be satisfies _________.” written a/b, where a and b are integers and b ≠ 0. •R = {x | x is a real number} CSCI 1900 – Discrete Structures Sets and Subsets – Page 5 CSCI 1900 – Discrete Structures Sets and Subsets – Page 6 1 Examples of sets used in Subsets programming • If every element of A is also an element of • unsigned int B, that is, if whenever x ∈ A, then x ∈ B, •int we say that A is a subset of B or that A is • float contained in B. • enum • A is a subset of B if for every x, x ∈ A means that x ∈ B. CSCI 1900 – Discrete Structures Sets and Subsets – Page 7 CSCI 1900 – Discrete Structures Sets and Subsets – Page 8 Subset Notation Subset Examples • ⊆ -- “is contained in” (Note that it is • vowels ⊆ alphabet shaped like a “C” as in contained in) • letters that spell “see” ⊆ letters that spell “yes” ⊆ -- “is not contained in” • letters that spell “yes” ⊆ letters that spell “easy” • “Is not contained in” does not mean that • letters that spell “say” ⊆ letters that spell “easy” there aren’t some elements that can be in • positive integers ⊆ integers both sets. It just means that not all of the • odd integers ⊆ integers elements of A are in B • integers ⊆ floating point values (real numbers) CSCI 1900 – Discrete Structures Sets and Subsets – Page 9 CSCI 1900 – Discrete Structures Sets and Subsets – Page 10 Venn Diagrams Venn Diagram Examples • A ⊆ B • Named after British logician John Venn B • Graphical depiction of the relationship of A sets. • Does not represent the individual elements of the sets, rather it implies their existence • A ⊆ B A B B or A CSCI 1900 – Discrete Structures Sets and Subsets – Page 11 CSCI 1900 – Discrete Structures Sets and Subsets – Page 12 2 More Venn Diagram Examples Theorems on Sets a ∈ A, b ∈ B, and c ∈ A and c ∈ B •A ⊆ B and B ⊆ C implies A ⊆ C • Example: –A = {x | letters that spell “see”} = {e, s} A B –B = {x | letters that spell “yes”} = {e, s, y} c a b –C = {x | letters that spell “easy”} = {a, e, s, y} CSCI 1900 – Discrete Structures Sets and Subsets – Page 13 CSCI 1900 – Discrete Structures Sets and Subsets – Page 14 Theorems on Sets (continued) Theorems on Sets (continued) • If A ⊆ B and B ⊆ C, then A ⊆ C. • If A is any set, then A ⊆ A. That is, every • If A ⊆ B and C ⊆ B, that doesn’t mean we set is a subset of itself. can say anything at all about the • Since ∅ contains no elements, then every relationship between A and C. It could be element of ∅ is contained in every set. any of the following three cases: Therefore, if A is any set, the statement ∅⊆A is always true. B A C B A CCB A • If A ⊆ B and B ⊆ A, then A = B CSCI 1900 – Discrete Structures Sets and Subsets – Page 15 CSCI 1900 – Discrete Structures Sets and Subsets – Page 16 Universal Set Universal Set (continued) • There must be some all-encompassing • It’s desirable for the all-encompassing set group of elements from which the to make sense. elements of each set are considered to be • Example: Although it is true that students members of or not. enrolled in this class can be taken from the universal set of all mammals that roam the • For example, to create the set of integers, earth, it makes more sense for the we must take elements from the universal universal set to be people enrolled at set of all numbers. ETSU or at least limit the universal set to humans. CSCI 1900 – Discrete Structures Sets and Subsets – Page 17 CSCI 1900 – Discrete Structures Sets and Subsets – Page 18 3 Universal Set (continued) Final set of terms • The Universal Set U is the set containing all • Finite – A set A is called finite if it has n objects for which the discussion is meaningful. distinct elements, where n ∈ N. (e.g., examining whether a sock is an integer is • n is called the cardinality of A and is a meaningless exercise.) denoted by |A|, e.g., n = |A| • Any set is a subset of the universal set from • Infinite – A set that is not finite is called which it derives its meaning infinite. • In Venn diagrams, the universal set is denoted • The power set of A is the set of all with a rectangle. U subsets of A including ∅ and is denoted A P(A) CSCI 1900 – Discrete Structures Sets and Subsets – Page 19 CSCI 1900 – Discrete Structures Sets and Subsets – Page 20 4.
Recommended publications
  • Sets, Functions
    Sets 1 Sets Informally: A set is a collection of (mathematical) objects, with the collection treated as a single mathematical object. Examples: • real numbers, • complex numbers, C • integers, • All students in our class Defining Sets Sets can be defined directly: e.g. {1,2,4,8,16,32,…}, {CSC1130,CSC2110,…} Order, number of occurence are not important. e.g. {A,B,C} = {C,B,A} = {A,A,B,C,B} A set can be an element of another set. {1,{2},{3,{4}}} Defining Sets by Predicates The set of elements, x, in A such that P(x) is true. {}x APx| ( ) The set of prime numbers: Commonly Used Sets • N = {0, 1, 2, 3, …}, the set of natural numbers • Z = {…, -2, -1, 0, 1, 2, …}, the set of integers • Z+ = {1, 2, 3, …}, the set of positive integers • Q = {p/q | p Z, q Z, and q ≠ 0}, the set of rational numbers • R, the set of real numbers Special Sets • Empty Set (null set): a set that has no elements, denoted by ф or {}. • Example: The set of all positive integers that are greater than their squares is an empty set. • Singleton set: a set with one element • Compare: ф and {ф} – Ф: an empty set. Think of this as an empty folder – {ф}: a set with one element. The element is an empty set. Think of this as an folder with an empty folder in it. Venn Diagrams • Represent sets graphically • The universal set U, which contains all the objects under consideration, is represented by a rectangle.
    [Show full text]
  • The Universal Finite Set 3
    THE UNIVERSAL FINITE SET JOEL DAVID HAMKINS AND W. HUGH WOODIN Abstract. We define a certain finite set in set theory { x | ϕ(x) } and prove that it exhibits a universal extension property: it can be any desired particular finite set in the right set-theoretic universe and it can become successively any desired larger finite set in top-extensions of that universe. Specifically, ZFC proves the set is finite; the definition ϕ has complexity Σ2, so that any affirmative instance of it ϕ(x) is verified in any sufficiently large rank-initial segment of the universe Vθ ; the set is empty in any transitive model and others; and if ϕ defines the set y in some countable model M of ZFC and y ⊆ z for some finite set z in M, then there is a top-extension of M to a model N in which ϕ defines the new set z. Thus, the set shows that no model of set theory can realize a maximal Σ2 theory with its natural number parameters, although this is possible without parameters. Using the universal finite set, we prove that the validities of top-extensional set-theoretic potentialism, the modal principles valid in the Kripke model of all countable models of set theory, each accessing its top-extensions, are precisely the assertions of S4. Furthermore, if ZFC is consistent, then there are models of ZFC realizing the top-extensional maximality principle. 1. Introduction The second author [Woo11] established the universal algorithm phenomenon, showing that there is a Turing machine program with a certain universal top- extension property in models of arithmetic.
    [Show full text]
  • Formal Construction of a Set Theory in Coq
    Saarland University Faculty of Natural Sciences and Technology I Department of Computer Science Masters Thesis Formal Construction of a Set Theory in Coq submitted by Jonas Kaiser on November 23, 2012 Supervisor Prof. Dr. Gert Smolka Advisor Dr. Chad E. Brown Reviewers Prof. Dr. Gert Smolka Dr. Chad E. Brown Eidesstattliche Erklarung¨ Ich erklare¨ hiermit an Eides Statt, dass ich die vorliegende Arbeit selbststandig¨ verfasst und keine anderen als die angegebenen Quellen und Hilfsmittel verwendet habe. Statement in Lieu of an Oath I hereby confirm that I have written this thesis on my own and that I have not used any other media or materials than the ones referred to in this thesis. Einverstandniserkl¨ arung¨ Ich bin damit einverstanden, dass meine (bestandene) Arbeit in beiden Versionen in die Bibliothek der Informatik aufgenommen und damit vero¨ffentlicht wird. Declaration of Consent I agree to make both versions of my thesis (with a passing grade) accessible to the public by having them added to the library of the Computer Science Department. Saarbrucken,¨ (Datum/Date) (Unterschrift/Signature) iii Acknowledgements First of all I would like to express my sincerest gratitude towards my advisor, Chad Brown, who supported me throughout this work. His extensive knowledge and insights opened my eyes to the beauty of axiomatic set theory and foundational mathematics. We spent many hours discussing the minute details of the various constructions and he taught me the importance of mathematical rigour. Equally important was the support of my supervisor, Prof. Smolka, who first introduced me to the topic and was there whenever a question arose.
    [Show full text]
  • Chapter I Set Theory
    Chapter I Set Theory There is surely a piece of divinity in us, something that was before the elements, and owes no homage unto the sun. Sir Thomas Browne One of the benefits of mathematics comes from its ability to express a lot of information in very few symbols. Take a moment to consider the expression d sin( θ). dθ It encapsulates a large amount of information. The notation sin( θ) represents, for a right triangle with angle θ, the ratio of the opposite side to the hypotenuse. The differential operator d/dθ represents a limit, corresponding to a tangent line, and so forth. Similarly, sets are a convenient way to express a large amount of information. They give us a language we will find convenient in which to do mathematics. This is no accident, as much of modern mathematics can be expressed in terms of sets. 1 2 CHAPTER I. SET THEORY 1 Sets, subsets, and set operations 1.A What is a set? A set is simply a collection of objects. The objects in the set are called the elements . We often write down a set by listing its elements. For instance, the set S = 1, 2, 3 has three elements. Those elements are 1, 2, and 3. There is a special symbol,{ }, that we use to express the idea that an element belongs to a set. For instance, we∈ write 1 S to mean that “1 is an element of S.” For∈ the set S = 1, 2, 3 , we have 1 S, 2 S, and 3 S.
    [Show full text]
  • Equivalents to the Axiom of Choice and Their Uses A
    EQUIVALENTS TO THE AXIOM OF CHOICE AND THEIR USES A Thesis Presented to The Faculty of the Department of Mathematics California State University, Los Angeles In Partial Fulfillment of the Requirements for the Degree Master of Science in Mathematics By James Szufu Yang c 2015 James Szufu Yang ALL RIGHTS RESERVED ii The thesis of James Szufu Yang is approved. Mike Krebs, Ph.D. Kristin Webster, Ph.D. Michael Hoffman, Ph.D., Committee Chair Grant Fraser, Ph.D., Department Chair California State University, Los Angeles June 2015 iii ABSTRACT Equivalents to the Axiom of Choice and Their Uses By James Szufu Yang In set theory, the Axiom of Choice (AC) was formulated in 1904 by Ernst Zermelo. It is an addition to the older Zermelo-Fraenkel (ZF) set theory. We call it Zermelo-Fraenkel set theory with the Axiom of Choice and abbreviate it as ZFC. This paper starts with an introduction to the foundations of ZFC set the- ory, which includes the Zermelo-Fraenkel axioms, partially ordered sets (posets), the Cartesian product, the Axiom of Choice, and their related proofs. It then intro- duces several equivalent forms of the Axiom of Choice and proves that they are all equivalent. In the end, equivalents to the Axiom of Choice are used to prove a few fundamental theorems in set theory, linear analysis, and abstract algebra. This paper is concluded by a brief review of the work in it, followed by a few points of interest for further study in mathematics and/or set theory. iv ACKNOWLEDGMENTS Between the two department requirements to complete a master's degree in mathematics − the comprehensive exams and a thesis, I really wanted to experience doing a research and writing a serious academic paper.
    [Show full text]
  • Sets and Functions
    Unit SF Sets and Functions Section 1: Sets The basic concepts of sets and functions are topics covered in high school math courses and are thus familiar to most university students. We take the intuitive point of view that sets are unordered collections of objects. We first recall some standard terminology and notation associated with sets. When we speak about sets, we usually have a “universal set” U in mind, to which the various sets of our discourse belong. Definition 1 (Set notation) A set is an unordered collection of distinct objects. We use the notation x ∈ S to mean “x is an element of S” and x∈ / S to mean “x is not an element of S.” Given two subsets (subcollections) of U, X and Y , we say “X is a subset of Y ,” written X ⊆ Y , if x ∈ X implies that x ∈ Y . Alternatively, we may say that “Y is a superset of X.” X ⊆ Y and Y ⊇ X mean the same thing. We say that two subsets X and Y of U are equal if X ⊆ Y and Y ⊆ X. We use braces to designate sets when we wish to specify or describe them in terms of their elements: A = {a, b, c}, B = {2, 4, 6,...}. A set with k elements is called a k-set or set with cardinality k. The cardinality of a set A is denoted by |A|. Since a set is an unordered collection of distinct objects, the following all describe the same 3-element set {a, b, c} = {b, a, c} = {c, b, a} = {a, b, b, c, b}.
    [Show full text]
  • Naïve Set Theory Basic Definitions Naïve Set Theory Is the Non-Axiomatic Treatment of Set Theory
    Naïve Set Theory Basic Definitions Naïve set theory is the non-axiomatic treatment of set theory. In the axiomatic treatment, which we will only allude to at times, a set is an undefined term. For us however, a set will be thought of as a collection of some (possibly none) objects. These objects are called the members (or elements) of the set. We use the symbol "∈" to indicate membership in a set. Thus, if A is a set and x is one of its members, we write x ∈ A and say "x is an element of A" or "x is in A" or "x is a member of A". Note that "∈" is not the same as the Greek letter "ε" epsilon. Basic Definitions Sets can be described notationally in many ways, but always using the set brackets "{" and "}". If possible, one can just list the elements of the set: A = {1,3, oranges, lions, an old wad of gum} or give an indication of the elements: ℕ = {1,2,3, ... } ℤ = {..., -2,-1,0,1,2, ...} or (most frequently in mathematics) using set-builder notation: S = {x ∈ ℝ | 1 < x ≤ 7 } or {x ∈ ℝ : 1 < x ≤ 7 } which is read as "S is the set of real numbers x, such that x is greater than 1 and less than or equal to 7". In some areas of mathematics sets may be denoted by special notations. For instance, in analysis S would be written (1,7]. Basic Definitions Note that sets do not contain repeated elements. An element is either in or not in a set, never "in the set 5 times" for instance.
    [Show full text]
  • Bijections and Infinities 1 Key Ideas
    INTRODUCTION TO MATHEMATICAL REASONING Worksheet 6 Bijections and Infinities 1 Key Ideas This week we are going to focus on the notion of bijection. This is a way we have to compare two different sets, and say that they have \the same number of elements". Of course, when sets are finite everything goes smoothly, but when they are not... things get spiced up! But let us start, as usual, with some definitions. Definition 1. A bijection between a set X and a set Y consists of matching elements of X with elements of Y in such a way that every element of X has a unique match, and every element of Y has a unique match. Example 1. Let X = f1; 2; 3g and Y = fa; b; cg. An example of a bijection between X and Y consists of matching 1 with a, 2 with b and 3 with c. A NOT example would match 1 and 2 with a and 3 with c. In this case, two things fail: a has two partners, and b has no partner. Note: if you are familiar with these concepts, you may have recognized a bijection as a function between X and Y which is both injective (1:1) and surjective (onto). We will revisit the notion of bijection in this language in a few weeks. For now, we content ourselves of a slightly lower level approach. However, you may be a little unhappy with the use of the word \matching" in a mathematical definition. Here is a more formal definition for the same concept.
    [Show full text]
  • Axioms of Set Theory and Equivalents of Axiom of Choice Farighon Abdul Rahim Boise State University, [email protected]
    Boise State University ScholarWorks Mathematics Undergraduate Theses Department of Mathematics 5-2014 Axioms of Set Theory and Equivalents of Axiom of Choice Farighon Abdul Rahim Boise State University, [email protected] Follow this and additional works at: http://scholarworks.boisestate.edu/ math_undergraduate_theses Part of the Set Theory Commons Recommended Citation Rahim, Farighon Abdul, "Axioms of Set Theory and Equivalents of Axiom of Choice" (2014). Mathematics Undergraduate Theses. Paper 1. Axioms of Set Theory and Equivalents of Axiom of Choice Farighon Abdul Rahim Advisor: Samuel Coskey Boise State University May 2014 1 Introduction Sets are all around us. A bag of potato chips, for instance, is a set containing certain number of individual chip’s that are its elements. University is another example of a set with students as its elements. By elements, we mean members. But sets should not be confused as to what they really are. A daughter of a blacksmith is an element of a set that contains her mother, father, and her siblings. Then this set is an element of a set that contains all the other families that live in the nearby town. So a set itself can be an element of a bigger set. In mathematics, axiom is defined to be a rule or a statement that is accepted to be true regardless of having to prove it. In a sense, axioms are self evident. In set theory, we deal with sets. Each time we state an axiom, we will do so by considering sets. Example of the set containing the blacksmith family might make it seem as if sets are finite.
    [Show full text]
  • Set Notation and Concepts
    Appendix Set Notation and Concepts “In mathematics you don’t understand things. You just get used to them.” John von Neumann (1903–1957) This appendix is primarily a brief run-through of basic concepts from set theory, but it also in Sect. A.4 mentions set equations, which are not always covered when introducing set theory. A.1 Basic Concepts and Notation A set is a collection of items. You can write a set by listing its elements (the items it contains) inside curly braces. For example, the set that contains the numbers 1, 2 and 3 can be written as {1, 2, 3}. The order of elements do not matter in a set, so the same set can be written as {2, 1, 3}, {2, 3, 1} or using any permutation of the elements. The number of occurrences also does not matter, so we could also write the set as {2, 1, 2, 3, 1, 1} or in an infinity of other ways. All of these describe the same set. We will normally write sets without repetition, but the fact that repetitions do not matter is important to understand the operations on sets. We will typically use uppercase letters to denote sets and lowercase letters to denote elements in a set, so we could write M ={2, 1, 3} and x = 2 as an element of M. The empty set can be written either as an empty list of elements ({})orusing the special symbol ∅. The latter is more common in mathematical texts. A.1.1 Operations and Predicates We will often need to check if an element belongs to a set or select an element from a set.
    [Show full text]
  • Church's Set Theory with a Universal
    Church’s Set Theory with a Universal Set Thomas Forster Contents 1 Rieger-Bernays permutation models 2 2 Church-Oswald models 6 2.1 Applications of the technique . 9 2.1.1 Models of NF2 ........................ 9 2.1.2 An elementary example . 11 2.1.3 P-extending models of Zermelo to models of NFO . 14 2.1.4 Church’s Model . 17 2.2 Wellfounded sets in CO-structures . 20 3 Open problems 26 3.1 The Axioms of Sumset and Power set . 26 3.2 Natural strengthenings of theorem 22 . 26 3.3 Axiomatisability . 27 3.4 Constructive CO constructions . 27 3.5 Schr¨oder-Bernstein . 28 3.6 Mitchell’s set theory . 29 3.7 Extensional quotients? . 29 Abstract A detailed and fairly elementary introduction is given to the techniques used by Church to prove the consistency of his set theory with a universal set by constructing models of it from models of ZF. The construction is explained and some general facts about it proved. Introduction In 1974 Alonzo Church and Urs Oswald simultaneously and independently lit upon a refinement of Rieger-Bernays permutation models which enabled them to give elementary proofs of consistency for some set theories with a universal set. My own interest began much later, when I made the aquaintance of Flash Sheridan, a former student of Church’s who was then writing an Oxford D.Phil. 1 thesis on Church’s work in this area. I am greatly endebted to Flash for kindling my interest in this engaging bywater, and for showing me some relevant and (even now) unpublished material.
    [Show full text]
  • Consistent Set Theories with Universal Set
    IV CONSISTENT SET THEORIES WITH UNIVERSAL SET On occasion of the 1971 Berkeley symposium celebrating Alfred Tarski’s achievements in logic and algebra Alonzo Church, who otherwise did not work much in set theory, presented a new system of set theory (Church 1974). Church saw the two basic assumptions of post-naïve set theories in a restriction of comprehension to a form of separation (as in ZFC) and in a limitation of size (as in NBG). Similar to the criticism levelled against Limitation of Size in chapter II above Church regarded Limitation of Size as ad hoc (against the antinomies) and ‘never well supported’ as it proclaims a stopping point of further structures although classes are introduced (in NBG and MK) as collections, which can be quantified over. Church’s set theory – let us call it “CST” here – follows ZFC in its idea of separation, but allows for collections that are ‘large’ in a way that even the larger transfinite sets of ZFC are not. CST does not introduce classes, but introduces a distinction within the area of sets. It allows even for U = {x | x=x}. CST distinguishes between ‘low sets’, which have a 1:1-relation to a well- founded set, ‘high sets’, which are (absolute) complements of low sets and ‘intermediate’ sets which are neither. These labels pertain to the cardinality of sets. High sets are in 1:1-correspondence to the universal set U, low sets never. Because of the CST version of the Axiom of Choice for a set x which is not low every ordinal has a 1:1-relation to some subset of x.
    [Show full text]