Set Theory Set Theory Relations Relations Functions Functions

Total Page:16

File Type:pdf, Size:1020Kb

Set Theory Set Theory Relations Relations Functions Functions Outline Outline Set Theory Set Theory Relations Relations Functions Functions 1 Set Theory Basic Concepts Mathematical Logic Operations on Sets Practical Class: Set Theory Operation Properties 2 Relations Chiara Ghidini Properties FBK-IRST, Trento, Italy Equivalence Relation 2014/2015 3 Functions Properties Chiara Ghidini Mathematical Logic Chiara Ghidini Mathematical Logic Outline Outline Basic Concepts Basic Concepts Set Theory Set Theory Operations on Sets Operations on Sets Relations Relations Operation Properties Operation Properties Functions Functions Sets: Basic Concepts Describing Sets The concept of set is considered a primitive concept in math In set theory there are several description methods: A set is a collection of elements whose description must be Listing: the set is described listing all its elements unambiguous and unique: it must be possible to decide Example: A = fa; e; i; o; ug. whether an element belongs to the set or not. Abstraction: the set is described through a property of its Examples: elements the students in this classroom Example: A = fx j x is a vowel of the Latin alphabet g. the points in a straight line Eulero-Venn Diagrams: graphical representation that supports the cards in a playing pack the formal description are all sets, while students that hates math amusing books are not sets. Chiara Ghidini Mathematical Logic Chiara Ghidini Mathematical Logic Outline Outline Basic Concepts Basic Concepts Set Theory Set Theory Operations on Sets Operations on Sets Relations Relations Operation Properties Operation Properties Functions Functions Sets: Basic Concepts (2) Power set Empty Set: ;, is the set containing no elements; We define the power set of a set A, denoted with P(A), as the set containing all the subsets of A. Membership: a 2 A, element a belongs to the set A; Non membership: a 2= A, element a doesn't belong to the set Example: if A = fa; b; cg, then A; P(A) = f;; fag; fbg; fcg; fa; bg; fa; cg; fb; cg; fa; b; cg; g Equality: A = B, iff the sets A and B contain the same If A has n elements, then its power set P(A) contains 2n elements; elements. inequality: A 6= B, iff it is not the case that A = B; Exercise: prove it!!! Subset: A ⊆ B, iff all elements in A belong to B too; Proper subset: A ⊂ B, iff A ⊆ B and A 6= B. Chiara Ghidini Mathematical Logic Chiara Ghidini Mathematical Logic Outline Outline Basic Concepts Basic Concepts Set Theory Set Theory Operations on Sets Operations on Sets Relations Relations Operation Properties Operation Properties Functions Functions Operations on Sets Operations on Sets (2) Union: given two sets A and B we define the union of A and Difference: given two sets A and B we define the difference of B as the set containing the elements belonging to A or to B A and B as the set containing all the elements which are or to both of them, and we denote it with A [ B. members of A, but not members of B, and denote it with Example: if A = fa; b; cg, B = fa; d; eg then A − B. A [ B = fa; b; c; d; eg Example: if A = fa; b; cg, B = fa; d; eg then A − B = fb; cg Intersection: given two sets A and B we define the intersection of A and B as the set containing the elements Complement: given a universal set U and a set A, where that belongs both to A and B, and we denote it with A \ B. A ⊆ U, we define the complement of A in U ,denoted with A Example: if A = fa; b; cg, B = fa; d; eg then (or CU A), as the set containing all the elements in U not A \ B = fag belonging to A. Example: if U is the set of natural numbers and A is the set of even numbers (0 included), then the complement of A in U is the set of odd numbers. Chiara Ghidini Mathematical Logic Chiara Ghidini Mathematical Logic Outline Outline Basic Concepts Basic Concepts Set Theory Set Theory Operations on Sets Operations on Sets Relations Relations Operation Properties Operation Properties Functions Functions Sets: Examples Sets: Exercises Examples: Exercises: Given A = fa; e; i; o; fugg and B = fi; o; ug, consider the Given A = ft; zg and B = fv; z; tg consider the following following statements: statements: 1 B 2 A NO! 1 A 2 B 2 A ⊂ B 2 (B − fi; og) 2 A OK 3 z 2 A \ B 3 fag [ fig ⊂ A OK 4 v ⊂ B 5 fvg ⊂ B 4 fug ⊂ A NO! 6 v 2 A − B 5 ffugg ⊂ A OK Given A = fa; b; c; dg and B = fc; d; f g 6 B − A = ; NO! B − A = fug find a set X s.t. A [ B = B [ X ; is this set unique? there exists a set Y s.t. A [ Y = B ? 7 i 2 A \ B OK 8 fi; og = A \ B OK Chiara Ghidini Mathematical Logic Chiara Ghidini Mathematical Logic Outline Outline Basic Concepts Basic Concepts Set Theory Set Theory Operations on Sets Operations on Sets Relations Relations Operation Properties Operation Properties Functions Functions Sets: Exercises (2) Sets: Operation Properties Exercises: A \ A = A, Given A = f0; 2; 4; 6; 8; 10g, B = f0; 1; 2; 3; 4; 5; 6g and A [ A = A C = f4; 5; 6; 7; 8; 9; 10g, compute: A \ B = B \ A, A \ B \ C, A [ (B \ C), A − (B − C) (A [ B) \ C,(A − B) − C, A \ (B − C) A [ B = B [ A (commutative) Describe 3 sets A; B; C s.t. A \ (B [ C) 6= (A \ B) [ C A \; = ;, A [; = A (A \ B) \ C = A \ (B \ C), (A [ B) [ C = A [ (B [ C)(associative) Chiara Ghidini Mathematical Logic Chiara Ghidini Mathematical Logic Outline Outline Basic Concepts Basic Concepts Set Theory Set Theory Operations on Sets Operations on Sets Relations Relations Operation Properties Operation Properties Functions Functions Sets: Operation Properties(2) Cartesian Product A \ (B [ C) = (A \ B) [ (A \ C), Given two sets A and B, we define the Cartesian product of A A [ (B \ C) = (A [ B) \ (A [ C) and B as the set of ordered couples (a; b) where a 2 A and (distributive) b 2 B; formally, A × B = f(a; b): a 2 A and b 2 Bg A \ B = A [ B, A [ B = A \ B (De Morgan laws) Notice that: A × B 6= B × A Exercise: Prove the validity of all the properties. Chiara Ghidini Mathematical Logic Chiara Ghidini Mathematical Logic Outline Outline Basic Concepts Set Theory Set Theory Properties Operations on Sets Relations Relations Equivalence Relation Operation Properties Functions Functions Cartesian Product (2) Relations Examples: A relation R from the set A to the set B is a subset of the given A = f1; 2; 3g and B = fa; bg, then Cartesian product of A and B: R ⊆ A × B; if (x; y) 2 R, then A × B = f(1; a); (1; b); (2; a); (2; b); (3; a); (3; b)g and we will write xRy for 'x is R-related to y'. B × A = f(a; 1); (a; 2); (a; 3); (b; 1); (b; 2); (b; 3)g. Cartesian coordinates of the points in a plane are an example A binary relation on a set A is a subset R ⊆ A × A of the Cartesian product < × < Examples: The Cartesian product can be computed on any number n of given A = f1; 2; 3; 4g, B = fa; b; d; e; r; tg and aRb iff in the sets A1; A2 :::; An, A1 × A2 × ::: × An is the set of ordered Italian name of a there is the letter b, then R = f(2; d); (2; e); (3; e); (3; r); (3; t); (4; a); (4; r); (4; t)g n-tuple (x1;:::; xn) where xi 2 Ai for each i = 1 ::: n. given A = f3; 5; 7g, B = f2; 4; 6; 8; 10; 12g and aRb iff a is a divisor of b, then R = f(3; 6); (3; 12); (5; 10)g Exercise: in prev example, let aRb iff a + b is an even number R = ? Chiara Ghidini Mathematical Logic Chiara Ghidini Mathematical Logic Outline Outline Set Theory Properties Set Theory Properties Relations Equivalence Relation Relations Equivalence Relation Functions Functions Relations (2) Relation properties Given a relation R from A to B, Let R be a binary relation on A. R is the domain of R is the set Dom(R) = fa 2 A j there exists a reflexive iff aRa for all a 2 A; b 2 B; aRbg the co-domain of R is the set Cod(R) = fb 2 B j there exists symmetric iff aRb implies bRa for all a; b 2 A; an a 2 A; aRbg transitive iff aRb and bRc imply aRc for all a; b; c 2 A; Let R be a relation from A to B. The inverse relation of R is anti-symmetric iff aRb and bRa imply a = b for all a; b 2 A; the relation R−1 ⊆ B × A where R−1 = f(b; a) j (a; b) 2 Rg Chiara Ghidini Mathematical Logic Chiara Ghidini Mathematical Logic Outline Outline Set Theory Properties Set Theory Properties Relations Equivalence Relation Relations Equivalence Relation Functions Functions Equivalence Relation Set Partition Let R be a binary relation on a set A. R is an equivalence Let A be a set, a partition of A is a family F of non-empty relation iff it satisfies all the following properties: subsets of A s.t.: reflexive the subsets are pairwise disjoint symmetric the union of all the subsets is the set A transitive Notice that: each element of A belongs to exactly one subset an equivalence relation is usually denoted with ∼ or ≡ in F .
Recommended publications
  • Filtering Germs: Groupoids Associated to Inverse Semigroups
    FILTERING GERMS: GROUPOIDS ASSOCIATED TO INVERSE SEMIGROUPS BECKY ARMSTRONG, LISA ORLOFF CLARK, ASTRID AN HUEF, MALCOLM JONES, AND YING-FEN LIN Abstract. We investigate various groupoids associated to an arbitrary inverse semigroup with zero. We show that the groupoid of filters with respect to the natural partial order is isomorphic to the groupoid of germs arising from the standard action of the inverse semigroup on the space of idempotent filters. We also investigate the restriction of this isomorphism to the groupoid of tight filters and to the groupoid of ultrafilters. 1. Introduction An inverse semigroup is a set S endowed with an associative binary operation such that for each a 2 S, there is a unique a∗ 2 S, called the inverse of a, satisfying aa∗a = a and a∗aa∗ = a∗: The study of ´etalegroupoids associated to inverse semigroups was initiated by Renault [Ren80, Remark III.2.4]. We consider two well known groupoid constructions: the filter approach and the germ approach, and we show that the two approaches yield isomorphic groupoids. Every inverse semigroup has a natural partial order, and a filter is a nonempty down-directed up-set with respect to this order. The filter approach to groupoid construction first appeared in [Len08], and was later simplified in [LMS13]. Work in this area is ongoing; see for instance, [Bic21, BC20, Cas20]. Every inverse semigroup acts on the filters of its subsemigroup of idempotents. The groupoid of germs associated to an inverse semigroup encodes this action. Paterson pioneered the germ approach in [Pat99] with the introduction of the universal groupoid of an inverse semigroup.
    [Show full text]
  • Relations on Semigroups
    International Journal for Research in Engineering Application & Management (IJREAM) ISSN : 2454-9150 Vol-04, Issue-09, Dec 2018 Relations on Semigroups 1D.D.Padma Priya, 2G.Shobhalatha, 3U.Nagireddy, 4R.Bhuvana Vijaya 1 Sr.Assistant Professor, Department of Mathematics, New Horizon College Of Engineering, Bangalore, India, Research scholar, Department of Mathematics, JNTUA- Anantapuram [email protected] 2Professor, Department of Mathematics, SKU-Anantapuram, India, [email protected] 3Assistant Professor, Rayalaseema University, Kurnool, India, [email protected] 4Associate Professor, Department of Mathematics, JNTUA- Anantapuram, India, [email protected] Abstract: Equivalence relations play a vital role in the study of quotient structures of different algebraic structures. Semigroups being one of the algebraic structures are sets with associative binary operation defined on them. Semigroup theory is one of such subject to determine and analyze equivalence relations in the sense that it could be easily understood. This paper contains the quotient structures of semigroups by extending equivalence relations as congruences. We define different types of relations on the semigroups and prove they are equivalence, partial order, congruence or weakly separative congruence relations. Keywords: Semigroup, binary relation, Equivalence and congruence relations. I. INTRODUCTION [1,2,3 and 4] Algebraic structures play a prominent role in mathematics with wide range of applications in science and engineering. A semigroup
    [Show full text]
  • Data Monoids∗
    Data Monoids∗ Mikolaj Bojańczyk1 1 University of Warsaw Abstract We develop an algebraic theory for languages of data words. We prove that, under certain conditions, a language of data words is definable in first-order logic if and only if its syntactic monoid is aperiodic. 1998 ACM Subject Classification F.4.3 Formal Languages Keywords and phrases Monoid, Data Words, Nominal Set, First-Order Logic Digital Object Identifier 10.4230/LIPIcs.STACS.2011.105 1 Introduction This paper is an attempt to combine two fields. The first field is the algebraic theory of regular languages. In this theory, a regular lan- guage is represented by its syntactic monoid, which is a finite monoid. It turns out that many important properties of the language are reflected in the structure of its syntactic monoid. One particularly beautiful result is the Schützenberger-McNaughton-Papert theorem, which describes the expressive power of first-order logic. Let L ⊆ A∗ be a regular language. Then L is definable in first-order logic if and only if its syntactic monoid ML is aperiodic. For instance, the language “words where there exists a position with label a” is defined by the first-order logic formula (this example does not even use the order on positions <, which is also allowed in general) ∃x. a(x). The syntactic monoid of this language is isomorphic to {0, 1} with multiplication, where 0 corresponds to the words that satisfy the formula, and 1 to the words that do not. Clearly, this monoid does not contain any non-trivial group. There are many results similar to theorem above, each one providing a connection between seemingly unrelated concepts of logic and algebra, see e.g.
    [Show full text]
  • Monoids (I = 1, 2) We Can Define 1  C 2000 M
    Geometria Superiore Reference Cards Push out (Sommes amalgam´ees). Given a diagram i : P ! Qi Monoids (i = 1; 2) we can define 1 c 2000 M. Cailotto, Permissions on last. v0.0 u −!2 Send comments and corrections to [email protected] Q1 ⊕P Q2 := coker P −! Q1 ⊕ Q2 u1 The category of Monoids. 1 and it is a standard fact that the natural arrows ji : Qi ! A monoid (M; ·; 1) (commutative with unit) is a set M with a Q1 ⊕P Q2 define a cocartesian square: u1 composition law · : M × M ! M and an element 1 2 M such P −−−! Q1 that: the composition is associative: (a · b) · c = a · (b · c) (for ? ? all a; b; c 2 M), commutative: a · b = b · a (for all a; b 2 M), u2 y y j1 and 1 is a neutral element for the composition: 1 · a = a (for Q2 −! Q1 ⊕P Q2 : all a 2 M). j2 ' ' More explicitly we have Q1 ⊕P Q2 = (Q1 ⊕ Q2)=R with R the A morphism (M; ·; 1M ) −!(N; ·; 1N ) of monoids is a map M ! N smallest equivalence relation stable under product (in Q1 ⊕P of sets commuting with · and 1: '(ab) = '(a)'(b) for all Q2) and making (u1(p); 1) ∼R (1; u2(p)) for all p 2 P . a; b 2 M and '(1 ) = 1 . Thus we have defined the cat- M N In general it is not easy to understand the relation involved in egory Mon of monoids. the description of Q1 ⊕P Q2, but in the case in which one of f1g is a monoid, initial and final object of the category Mon.
    [Show full text]
  • Geometric Equivalence Relations on Modules 0
    Journal of Pure and Applied Algebra 22 (1981) 165-177 165 North-Holland Publishing Company GEOMETRIC EQUIVALENCE RELATIONS ON MODULES Kent MORRISON Department of Mathematics, California Polytechnic State University, San Luir Obispo, CA 93407. USA Communicated by H. Bass Received June 1980 0. Introduction In [4] Gersten developed the notion of homotopy for ring homomorphisms. A simple homotopy of two ring homomorphisms f,g : A +B can be viewed as a deformation over the parameter space Spec Z[t]. This is a homomorphism A+B[t] which restricts to f when t = 0 and to g when t = 1. Two homomorphisms f and g are homotopic if there is a chain of homomorphisms starting with f and ending with g such that each term is simple homotopic to the next. Let A be a k-algebra and k a field. Consider the finite dimensional representations of A and require that a simple homotopy of representations be given by a deformation over Speck[t] = A:. Using direct sum we can make the homotopy classes of representations into an abelian monoid. Now it is more useful to use any nonsingular, rational affine curve as well as A: for the parameter space of a homotopy. (This becomes apparent when A is commutative; see Section 1.3.) The abelian monoid of homotopy classes is denoted by N(A) and its associated group by R(A). Two modules (representations) whose classes in R(A) are the same are said to be ‘rationally equivalent’. In Section 1.3 we show that when A is commutative R(A) is isomorphic to the Chow group of O-cycles of SpecA modulo rational equivalence.
    [Show full text]
  • Section 4.1 Relations
    Binary Relations (Donny, Mary) (cousins, brother and sister, or whatever) Section 4.1 Relations - to distinguish certain ordered pairs of objects from other ordered pairs because the components of the distinguished pairs satisfy some relationship that the components of the other pairs do not. 1 2 The Cartesian product of a set S with itself, S x S or S2, is the set e.g. Let S = {1, 2, 4}. of all ordered pairs of elements of S. On the set S x S = {(1, 1), (1, 2), (1, 4), (2, 1), (2, 2), Let S = {1, 2, 3}; then (2, 4), (4, 1), (4, 2), (4, 4)} S x S = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2) , (3, 3)} For relationship of equality, then (1, 1), (2, 2), (3, 3) would be the A binary relation can be defined by: distinguished elements of S x S, that is, the only ordered pairs whose components are equal. x y x = y 1. Describing the relation x y if and only if x = y/2 x y x < y/2 For relationship of one number being less than another, we Thus (1, 2) and (2, 4) satisfy . would choose (1, 2), (1, 3), and (2, 3) as the distinguished ordered pairs of S x S. x y x < y 2. Specifying a subset of S x S {(1, 2), (2, 4)} is the set of ordered pairs satisfying The notation x y indicates that the ordered pair (x, y) satisfies a relation .
    [Show full text]
  • Semigroups of Transformations Preserving an Equivalence Relation and a Cross-Section
    CORE Metadata, citation and similar papers at core.ac.uk Provided by Repositório Aberto da Universidade Aberta Semigroups of Transformations Preserving an Equivalence Relation and a Cross-Section Jo˜ao Ara´ujo Universidade Aberta, R. Escola Polit´ecnica, 147 1269-001 Lisboa, Portugal & Centro de Algebra,´ Universidade de Lisboa 1649-003 Lisboa, Portugal, [email protected] Janusz Konieczny Department of Mathematics, Mary Washington College Fredericksburg, VA 22401, USA, [email protected] Abstract For a set X, an equivalence relation ρ on X, and a cross-section R of the partition X/ρ induced by ρ, consider the semigroup T (X,ρ,R) consisting of all mappings a from X to X such that a preserves both ρ (if (x, y) ∈ ρ then (xa, ya) ∈ ρ)and R (if r ∈ R then ra ∈ R). The semigroup T (X,ρ,R) is the centralizer of the idempotent transformation with kernel ρ and image R. We determine the structure of T (X,ρ,R) in terms of Green’s relations, describe the regular elements of T (X,ρ,R), and determine the following classes of the semigroups T (X,ρ,R): regular, abundant, inverse, and completely regular. 2000 Mathematics Subject Classification:20M20. 1Introduction Let X be an arbitrary nonempty set. The semigroup T (X)offulltransformationsonX consists of the mappings from X to X with composition as the semigroup operation. Let ρ be an equivalence relation on X and let R be a cross-section of the partition X/ρ induced by ρ.ConsiderthefollowingsubsetofT (X): T (X,ρ,R)={a ∈ T (X):Ra ⊆ R and (x, y) ∈ ρ ⇒ (xa, ya) ∈ ρ}.
    [Show full text]
  • Math 127: Equivalence Relations
    Math 127: Equivalence Relations Mary Radcliffe 1 Equivalence Relations Relations can take many forms in mathematics. In these notes, we focus especially on equivalence relations, but there are many other types of relations (such as order relations) that exist. Definition 1. Let X; Y be sets. A relation R = R(x; y) is a logical formula for which x takes the range of X and y takes the range of Y , sometimes called a relation from X to Y . If R(x; y) is true, we say that x is related to y by R, and we write xRy to indicate that x is related to y by R. Example 1. Let f : X ! Y be a function. We can define a relation R by R(x; y) ≡ (f(x) = y). Example 2. Let X = Y = Z. We can define a relation R by R(a; b) ≡ ajb. There are many other examples at hand, such as ordering on R, multiples in Z, coprimality relationships, etc. The definition we have here is simply that a relation gives some way to connect two elements to each other, that can either be true or false. Of course, that's not a very useful thing, so let's add some conditions to make the relation carry more meaning. For this, we shall focus on relations from X to X, also called relations on X. There are several properties that will be interesting in considering relations: Definition 2. Let X be a set, and let ∼ be a relation on X. • We say that ∼ is reflexive if x ∼ x 8x 2 X.
    [Show full text]
  • 2E Numbers and Sets What Is an Equivalence Relation on a Set X?
    2E Numbers and Sets What is an equivalence relation on a set X? If ∼ is an equivalence relation on X, what is an equivalence class of ∼? Prove that the equivalence classes of ∼ form a partition of X. A relation R on a set X is a subset of X × X. We write xRy for (x,y) ∈ R. Say R is an equivalence relation if it is reflexive (xRx for all x), symmetric (xRy iff yRx) and transitive (if xRy and yRz then xRz). An equivalence class of ∼ is a subset of X of the form [x]= {y ∈ X : y ∼ x} for some x ∈ X. Claim: The equivalence classes of ∼ partition X. Proof: By reflexivity they cover X (x ∈ [x] for all x ∈ X). For x1 and x2 in X we need to show that [x1] and [x2] are disjoint or equal, so suppose there exists x ∈ [x1] ∩ [x2]. Then x ∼ x1 and x ∼ x2 so for all y ∈ [x1] we have (using symmetry) y ∼ x1 ∼ x ∼ x2. Transitivity gives y ∼ x2 so y ∈ [x2] and hence [x1] ⊂ [x2]. Similarly [5] [x2] ⊂ [x1] so [x1] = [x2], and we’re done. Let ∼ be the relation on the positive integers defined by x ∼ y if either x divides y or y divides x. Is ∼ an equivalence relation? Justify your answer. [2] No. We have 2 ∼ 1 and 1 ∼ 3 but 2 ≁ 3, so ∼ is not transitive. Write down an equivalence relation on the positive integers that has exactly four equivalence classes, of which two are infinite and two are finite. Consider the partition {1, 2, 3,..
    [Show full text]
  • Defining Functions on Equivalence Classes
    Defining Functions on Equivalence Classes LAWRENCE C. PAULSON University of Cambridge A quotient construction defines an abstract type from a concrete type, using an equivalence relation to identify elements of the concrete type that are to be regarded as indistinguishable. The elements of a quotient type are equivalence classes: sets of equivalent concrete values. Simple techniques are presented for defining and reasoning about quotient constructions, based on a general lemma library concerning functions that operate on equivalence classes. The techniques are applied to a definition of the integers from the natural numbers, and then to the definition of a recursive datatype satisfying equational constraints. Categories and Subject Descriptors: F.4.1 [Mathematical Logic]: Mechanical theorem proving; G2.0 [Discrete Mathematics]: General General Terms: Theory; Verification Additional Key Words and Phrases: equivalence classes, quotients, theorem proving 1. INTRODUCTION Equivalence classes and quotient constructions are familiar to every student of discrete mathematics. They are frequently used for defining abstract objects. A typical example from the λ-calculus is α-equivalence, which identifies terms that differ only by the names of bound variables. Strictly speaking, we represent a term by the set of all terms that can be obtained from it by renaming variables. In order to define a function on terms, we must show that the result is independent of the choice of variable names. Here we see the drawbacks of using equivalence classes: individuals are represented by sets and function definitions carry a proof obligation. Users of theorem proving tools are naturally inclined to prefer concrete methods whenever possible. With their backgrounds in computer science, they will see func- tions as algorithms and seek to find canonical representations of elements.
    [Show full text]
  • 3. Equivalence Relations 3.1. Definition of an Equivalence Relations. Definition 3.1.1. a Relation R on a Set a Is an Equivalenc
    3. EQUIVALENCE RELATIONS 33 3. Equivalence Relations 3.1. Definition of an Equivalence Relations. Definition 3.1.1. A relation R on a set A is an equivalence relation if and only if R is • reflexive, • symmetric, and • transitive. Discussion Section 3.1 recalls the definition of an equivalence relation. In general an equiv- alence relation results when we wish to “identify” two elements of a set that share a common attribute. The definition is motivated by observing that any process of “identification” must behave somewhat like the equality relation, and the equality relation satisfies the reflexive (x = x for all x), symmetric (x = y implies y = x), and transitive (x = y and y = z implies x = z) properties. 3.2. Example. Example 3.2.1. Let R be the relation on the set R real numbers defined by xRy iff x − y is an integer. Prove that R is an equivalence relation on R. Proof. I. Reflexive: Suppose x ∈ R. Then x − x = 0, which is an integer. Thus, xRx. II. Symmetric: Suppose x, y ∈ R and xRy. Then x − y is an integer. Since y − x = −(x − y), y − x is also an integer. Thus, yRx. III. Suppose x, y ∈ R, xRy and yRz. Then x − y and y − z are integers. Thus, the sum (x − y) + (y − z) = x − z is also an integer, and so xRz. Thus, R is an equivalence relation on R. Discussion Example 3.2.2. Let R be the relation on the set of real numbers R in Example 1. Prove that if xRx0 and yRy0, then (x + y)R(x0 + y0).
    [Show full text]
  • Draw a Directed Graph for Each Relation in Example 2.53(C) and Example 2.56(B)
    MATH 052: INTRODUCTION TO PROOFS HOMEWORK #20 Problem 2.9.11(a). Draw a directed graph for each relation in Example 2.53(c) and Example 2.56(b). Solution. The directed graphs are shown on the next page. Problem 2.9.11(b)(c)(d). For each of the following, describe a property of G(R) associated with the condition on R. (b) R is symmetric. (c) R is reflexive. (d) R is transitive. Solution. For (b), R is symmetric if and only if any time there is an edge from one vertex to another, there should be the opposite edge in the other direction. For (c), R is reflexive if and only if there is a \self-loop" from a vertex to itself for all vertices. For (d), R is transitive if and only if there is an edge from vertices v to w and an edge from w to x then there is an edge directly from v to x. For example, inExample 2.53(c), R1 is not transitive but R2 is. Problem 2.9.17. Let ∼ be an equivalence relation on the set f1; 2; 3g (a) Suppose ∼ has exactly three ordered pairs. List them explicitly. (b) Is it possible that ∼ has exactly four ordered pairs? Explain. (c) What is the maximum possible number of ordered pairs in ∼? When ∼ is chosen with this maximum number of ordered pairs, what is the corresponding partition into equivalence classes? Solution. For (a), since an equivalence relation is reflexive, it must contain the subset f(1; 1); (2; 2); (3; 3g; if ∼ only has three elements, then this must be equality.
    [Show full text]