Relations and Equivalence Relations

Similar documents
9 RELATIONS. 9.1 Reflexive, symmetric and transitive relations. MATH Foundations of Pure Mathematics

Relations MATH Relations. Benjamin V.C. Collins, James A. Swenson MATH 2730

Discrete Mathematics with Applications MATH236

MATH 433 Applied Algebra Lecture 14: Functions. Relations.

Chapter 3. Cartesian Products and Relations. 3.1 Cartesian Products

Sets. A set is a collection of objects without repeats. The size or cardinality of a set S is denoted S and is the number of elements in the set.

3. R = = on Z. R, S, A, T.

Lecture 7: Relations

Chapter 1. Sets and Numbers

Foundations of algebra

Relations (3A) Young Won Lim 3/27/18

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

EQUIVALENCE RELATIONS (NOTES FOR STUDENTS) 1. RELATIONS

Chapter 4. Measure Theory. 1. Measure Spaces

Relations. P. Danziger. We may represent a relation by a diagram in which a line is drawn between two elements if they are related.

1.4 Equivalence Relations and Partitions

Real Analysis. Joe Patten August 12, 2018

14 Equivalence Relations

TOPOLOGICAL ASPECTS OF YAO S ROUGH SET

Reading 11 : Relations and Functions

Generating Permutations and Combinations

CSC Discrete Math I, Spring Relations

2. Introduction to commutative rings (continued)

Week 4-5: Generating Permutations and Combinations

Module 2: Language of Mathematics

Report 1 The Axiom of Choice

Set, functions and Euclidean space. Seungjin Han

Notes on Sets, Relations and Functions

Week 4-5: Binary Relations

1. To be a grandfather. Objects of our consideration are people; a person a is associated with a person b if a is a grandfather of b.

Chapter 2 - Relations

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

In mathematics there are endless ways that two entities can be related

Chapter 1. Sets and Mappings

Sets, Logic, Relations, and Functions

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Section 7.2: One-to-One, Onto and Inverse Functions

Preliminaries to the Theory of Computation

Week 4-5: Binary Relations

Relations, Functions, and Sequences

XMA2C011, Annual Examination 2012: Worked Solutions

Relations --- Binary Relations. Debdeep Mukhopadhyay IIT Madras

HL Topic. Sets, relations and groups. (Further Mathematics SL Topic 3) Sets Ordered pairs Functions Binary operations Groups Further groups

Introduction. Foundations of Computing Science. Pallab Dasgupta Professor, Dept. of Computer Sc & Engg INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

Sets and Motivation for Boolean algebra

CHAPTER 1. Preliminaries. 1 Set Theory

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y.

Chapter VI. Relations. Assumptions are the termites of relationships. Henry Winkler

On sets, functions and relations

Chapter 9: Relations Relations

Lecture 4: Constructing the Integers, Rationals and Reals

Section 7.1: Functions Defined on General Sets

Definition: A binary relation R from a set A to a set B is a subset R A B. Example:

Relations Graphical View

Set Basics. P. Danziger

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

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

Discrete Structures (2IT50)

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

Section Summary. Relations and Functions Properties of Relations. Combining Relations

Equivalence Relations and Partitions, Normal Subgroups, Quotient Groups, and Homomorphisms

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Any Wizard of Oz fans? Discrete Math Basics. Outline. Sets. Set Operations. Sets. Dorothy: How does one get to the Emerald City?

Lecture 1. Econ 2001: Introduction to Mathematical Methods (a.k.a. Math Camp) 2015 August 10

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

Math 564 Homework 1. Solutions.

Rough Soft Sets: A novel Approach

Follow links for Class Use and other Permissions. For more information send to:

Relations. Relations. Definition. Let A and B be sets.

CMPSCI 250: Introduction to Computation. Lecture #11: Equivalence Relations David Mix Barrington 27 September 2013

RED. Fall 2016 Student Submitted Sample Questions

The integers. Chapter 3

Discrete Mathematics for M.Sc.CS

Packet #5: Binary Relations. Applied Discrete Mathematics

A BRIEF INTRODUCTION TO ZFC. Contents. 1. Motivation and Russel s Paradox

Boolean Algebras. Chapter 2

Automata and Languages

Section 3.1: Direct Proof and Counterexample 1

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

UMASS AMHERST MATH 300 SP 05, F. HAJIR HOMEWORK 8: (EQUIVALENCE) RELATIONS AND PARTITIONS

More on Finite Automata and Regular Languages. (NTU EE) Regular Languages Fall / 41

SOME TRANSFINITE INDUCTION DEDUCTIONS

2 Equivalence Relations

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

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

Discrete Structures May 13, (40 points) Define each of the following terms:

Relations, Functions, Binary Relations (Chapter 1, Sections 1.2, 1.3)

Engineering Decisions

Math 2534 Solution to Test 3A Spring 2010

Problem 2: (Section 2.1 Exercise 10) (a.) How many elements are in the power set of the power set of the empty set?

Guide to Proofs on Discrete Structures

Thus, X is connected by Problem 4. Case 3: X = (a, b]. This case is analogous to Case 2. Case 4: X = (a, b). Choose ε < b a

Finite Automata and Regular Languages

Definitions: A binary relation R on a set X is (a) reflexive if x X : xrx; (f) asymmetric if x, x X : [x Rx xr c x ]

Set Theory. CSE 215, Foundations of Computer Science Stony Brook University

Rationality and solutions to nonconvex bargaining problems: rationalizability and Nash solutions 1

Math 300: Final Exam Practice Solutions

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

CHAPTER 1. Relations. 1. Relations and Their Properties. Discussion

Transcription:

Relations and Equivalence Relations In this section, we shall introduce a formal definition for the notion of a relation on a set. This is something we often take for granted in elementary algebra courses, but is a fundamental concept in mathematics i.e. the very notion of a function relies upon the definition of a relation. Following this, we shall discuss special types of relations on sets. 1. Binary Relations and Basic Definitions We start with a formal definition of a relation on a set S. Definition 1.1. A (binary) relation on a set S is a subset R of the Cartesian product S S. If R is a relation and (x, y) R, then we say x is related to y by R or simply xry. Example 1.2. The most familiar of all relations is the relation = (equals) which consists of all the elements (x, x) S S. Example 1.3. Suppose that S = {0, 1, 2, 3} and R =< (less than with standard definition from the integers). Write down all the elements of R. We have { } (0, 1), (0, 2), (0, 3), R = (1, 2), (1, 3), (2, 3) (since it consists of all elements (x, y) with x < y). There are certain special properties a relation can have such as the following: Definition 1.4. Suppose R is a relation on a set S. Then we define the following: We say R is reflexive if xrx for all x S We say that R is symmetric if xry implies yrx for all x, y S We say R is transitive if xry and yrz implies xrz for all x, y, z S We illustrate with some examples. Example 1.5. Show that the relation < (less than) on R is a transitive relation which is not symmetric or reflexive. Suppose x < y and y < z. Then clearly x < z and hence < is transitive. We do not have x < x and if x < y, then it is not the case that y < x, so it follows that it is neither reflexive or symmetric. Example 1.6. Let X = {a, b, c} and let S = P(X). We define a relation R on P(X) as follows: for all A, B S, ARB N(A) N(B) 1

2 Determine whether R is reflexive, symmetric, transitive. We check each property: (i) Reflexive: Clearly this operation is reflexive since N(A) N(A) (ii) Symmetric: This operation is not symmetric. Specifically, take A = o and B = {a}. Then N(A) = 0 N(B) = 1. However, N(B) is not less than or equal to N(A) i.e. to be symmetric, we must have N(B) N(A) whenever N(A) N(B). (iii) Transitive: This operation is transitive. Specifically, if N(A) N(B) and N(B) N(C), then N(A) N(C). 2. Equivalence Relations and Examples A very important type of relation are the so-called equivalence relations defined as follows. Definition 2.1. Suppose that R is a relation on a set S. Then we call R an equivalence relation if R is reflexive, symmetric and transitive. We illustrate how to show a relation is an equivalence relation or how to show it is not an equivalence relation. Example 2.2. Show that the relation D defined on Z by is an equivalence relation. xdy 3 (x 2 y 2 ) We show each of the properties individually. (i) Reflexive: For any x Z, we have x 2 x 2 = 0, and since 3 0, it follows that xdx for all x Z (ii) Symmetric: Suppose xdy. Then 3 (x 2 y 2 ) so x 2 y 2 = 3n for some n Z. It follows that y 2 x 2 = 3( n), and hence 3 (y 2 x 2 ). Consequently ydx, so D is symmetric. (iii) Transitive: Suppose xdy and ydz. Then there exists n, m Z such that x 2 y 2 = 3n and y 2 z 2 = 3m. It follows that x 2 (3m + z 2 ) = 3n or x 2 z 2 = 3m + 3n = 3(n + m) and so xdz i.e. D is transitive. Since D is reflexive, symmetric and transitive, it follows that D is an equivalence relation. Example 2.3. Suppose that X is a non-empty set and let S = P(X). Show that the relation for all A, B S, is not an equivalence relation. ARB N(A) N(B) To show a relation is not an equivalence relation, we simply need to show that it is either not reflexive, symmetric or transitive. However,

we already considered this example and show that it was not a symmetric relation. Specifically, take A = o and B = {a} where a S (we are assuming S is non-empty). Then N(A) = 0 N(B) = 1. However, N(B) is not less than or equal to N(A) i.e. to be symmetric, we must have N(B) N(A) whenever N(A) N(B). Thus this relation is not an equivalence relation. 3. Equivalence Classes and Partitions of Sets An important application of equivalence relations is that they can be used to construct partitions of sets. To do this, we need the following definition. Definition 3.1. Suppose R is an equivalence relation on S. Then for any a S, we define the equivalence class of a to be the set of all elements of S which are related to a by R. Symbolically, we write We illustrate with an example. [a] = {x S arx} Example 3.2. Let S = {1, 2, 3,..., 19, 20} and define an equivalence relation R on S by xry 4 (x y) Determine the equivalence classes of R. In order to determine equivalence classes, we simply need to group the elements together according to which ones are equivalent to each other. We start with 1 and move onward: [1] = {1, 5, 9, 13, 17} [2] = {2, 6, 10, 14, 18} [3] = {3, 7, 11, 15, 19} [4] = {4, 8, 12, 16, 20} Notice that any other equivalence class we construct will be the same as one of these e.g [1] = [5]. Thus we have found all the different equivalence classes of R. Notice that the equivalence classes in the last example split up the set S into 4 mutually disjoint sets whose union was S. In particular, the equivalence classes formed a partition of S. This is in fact always true, and is a consequence of the following more general theorem. Theorem 3.3. Suppose that S is a set. Then: (i) Suppose R is an equivalence relation of S. Then the classes of R form a partition of S. 3

4 (ii) Suppose that P = {S 1,...,S k... } is a partition of the set S. Then we can define an equivalence relation on S by xry x, y S i for some i i.e. two elements are equivalent if they are in the same set. Moreover, this correspondence between equivalence relations and partitions is a one-to-one correspondence i.e. the number of equivalence relations on a set is equal to the number of partitions of that set. Proof. Suppose that R is an equivalence relation on S and let S 1, S 2,... denote the equivalence classes of S. In order to show that they form a partition, we need to show that they are mutually disjoint and the union of all is S. To show that S i = S it suffices to show that every s S lies in at least one of these sets. However, since R is an equivalence relation, given any s s, srs, so s [s] i.e. s will always be a member of its own equivalence class. Thus every element of S appears in at least one equivalence class. To show they are disjoint, we shall show that if y [x], then [y] = [x]. Suppose that y [x]. Then we have xry, and hence yrx since R is symmetric. Now if z [x], then we have xrz, and it follows that yrz (by transitivity), and hence z [y]. In particular, [x] [y]. Using an identical argument, we can show [y] [x] and thus [x] = [y]. Hence the set of equivalence classes of R form a partition of S. Now suppose that S 1,... are a partition of S and let R be the relation defined by xry x, y S i We shall show this is an equivalence relation. Clearly it is reflexive since xrx i.e x lies in the same subset as itself. Next, if xry, then x, y S i for some fixed i, so y, x S i for some fixed i, and hence yrx, so R is symmetric. FInally, if xry and yrz, then x, y, z S i for some fixed i. In particular, x, z S i and hence xrz, so R is transitive. It follows that R is an equivalence relation. Clearly this construction define a one-to-one correspondence. We finish with a couple of examples. Example 3.4. Determine the total number of equivalence relations on a set with three elements. Since there is a one-to-one correspondence between partitions of sets and equivalence relations, it suffices to count the number of partitions of a set with three elements. Let S = {a, b, c}. Then the possible partitions are: {S},

{{a}, {b, c}}, {{b}, {a, c}}, {{c}, {a, b}}, {{a}, {b}, {c}}. In particular, there are five different partitions on S and hence five different equivalence relations which can be imposed on S. Homework (i) From the book, pages 592-594 (Section 10.2): Questions: 12, 13, 25, 26, 30, 37 (ii) From the book, pages 608-610 (Section 10.3): Questions: 3, 7, 8, 12, 17, 23, 5