Equivalence Relations. Fractions vs. Rationals Question: Are 1/2, 2/4, 3/6, 4/8, 5/10, … the same or different? Answer: They are different symbols that.

Slides:



Advertisements
Similar presentations
Reflexive example: AB = AB Symmetric example: AB = BA
Advertisements

Section 7.5: Equivalence Relations Def: A relation R on a set A is called an equivalence relation if it is reflexive, symmetric, and transitive. Ex: Let.
Equivalence Relations
Basic Properties of Relations
Discrete Mathematics Lecture # 16 Inverse of Relations.
8.4 Closures of Relations. Intro Consider the following example (telephone line, bus route,…) abc d Is R, defined above on the set A={a, b, c, d}, transitive?
GOAL 1 COMPARING TYPES OF PROOFS EXAMPLE 1 Vocabulary two-column proof paragraph proof flow proof 3.2 PROOF AND PERPENDICULAR LINES Be sure you identify.
1 Section 7.1 Relations and their properties. 2 Binary relation A binary relation is a set of ordered pairs that expresses a relationship between elements.
3-4 Algebra Properties Used in Geometry The properties of operations of real numbers that you used in arithmetic and algebra can be applied in geometry.
4.5 Segment and Angle Proofs
Relations Chapter 9.
Equivalence Relations MSU CSE 260. Outline Introduction Equivalence Relations –Definition, Examples Equivalence Classes –Definition Equivalence Classes.
Basic Concepts of Algebra
Mathematical Properties Algebra I. Associative Property of Addition and Multiplication The associative property means that you will get the same result.
Math 3121 Abstract Algebra I Section 0: Sets. The axiomatic approach to Mathematics The notion of definition - from the text: "It is impossible to define.
Ordered Sets. Relations. Equivalence Relations 1.
Lagrange's Theorem. The most important single theorem in group theory. It helps answer: –How large is the symmetry group of a volleyball? A soccer ball?
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
Digraphs and Relations Warm Up. The Divisibility Relation Let “|” be the binary relation on N×N such that a|b (“a divides b”) iff there is an n ∈ N such.
Properties and Mental Computation p. 80. Math talk What are some math properties that we use? Why do you think we have them? Do you ever use them?
Relations and their Properties
Sets, Relations, and Lattices
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
Network and Computer Security (CS 475) Modular Arithmetic
Discrete Mathematics Lecture # 15 Types of Relations (contd.)
Rosen 1.6, 1.7. Basic Definitions Set - Collection of objects, usually denoted by capital letter Member, element - Object in a set, usually denoted by.
1.2 Field Axioms (Properties) Notes on a Handout.
Chapter 8 Equivalence Relations Let A and B be two sets. A relation R from A to B is a subset of AXB. That is, R is a set of ordered pairs, where the first.
1 CS 140 Discrete Mathematics Combinatorics And Review Notes.
SECTION 9 Orbits, Cycles, and the Alternating Groups Given a set A, a relation in A is defined by : For a, b  A, let a  b if and only if b =  n (a)
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
RelationsCSCE 235, Spring Introduction A relation between elements of two sets is a subset of their Cartesian products (set of all ordered pairs.
Properties of Real Numbers  N: Natural (1,2,3, …)  W: Whole (0,1,2,3,…)  Z: Integers (… -2,-1,0,1,2,…)  Q: Rationals (m/n; m,n integers)  I: Irrational.
ORDERED SETS. RELATIONS COSC-1321 Discrete Structures 1.
1 Set Theory Second Part. 2 Disjoint Set let A and B be a set. the two sets are called disjoint if their intersection is an empty set. Intersection of.
Binary Relations Definition: A binary relation R from a set A to a set B is a subset R ⊆ A × B. Example: Let A = { 0, 1,2 } and B = {a,b} {( 0, a), (
Advanced Digital Designs Jung H. Kim. Chapter 1. Sets, Relations, and Lattices.
“It is impossible to define every concept.” For example a “set” can not be defined. But Here are a list of things we shall simply assume about sets. A.
Section 9.1. Section Summary Relations and Functions Properties of Relations Reflexive Relations Symmetric and Antisymmetric Relations Transitive Relations.
2.5 Algebra Reasoning. Addition Property: if a=b, then a+c = b+c Addition Property: if a=b, then a+c = b+c Subtraction Property: if a=b, then a-c = b-c.
PROPERTIES. ADDITIVE IDENTITY PROPERTY BOOK DEFINITION:FOR ANY NUMBER A, A + 0 = A OWN DEFINITION: THIS PROPERTY SAYS THAT WHEN YOU ADD 0 TO ANY NUMBER.
Equivalence Relations and Classes
Relations Chapter 9 Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
The Relation Induced by a Partition
Relations and Their Properties
Equivalence Relations
HMWK: p. 100, #s 17 – 23 odd, 24 – 28 all Game Plan: Warm-up:
2.4 Objective: The student will be able to:
PROPERTIES.
Cartesian product Given two sets A, B we define their Cartesian product is the set of all the pairs whose first element is in A and second in B. Note that.
Chapter 2 Sets and Functions.
Real Numbers, Algebra, and Problem Solving
Applied Symbolic Computation (CS 300) Modular Arithmetic
2. Definition of congruent segments AB = CD 2.
8.5 Equivalence Relations
Applied Symbolic Computation (CS 300) Modular Arithmetic
Applied Symbolic Computation (CS 300) Modular Arithmetic
Algorithmic Number Theory and Cryptography (CS 303) Modular Arithmetic
4.5 Equivalence Relations
Lesson 3.1 Real Numbers pp
9.5 Equivalence Relations
Applied Symbolic Computation (CS 300) Modular Arithmetic
Applied Symbolic Computation (CS 300) Modular Arithmetic
Equivalence Relations
Equivalence Relations
Applied Symbolic Computation (CS 300) Modular Arithmetic
Properties of Numbers Lesson 1-3.
Basics of Relations.
Foundations of Discrete Mathematics
Properties of Real Numbers
Presentation transcript:

Equivalence Relations

Fractions vs. Rationals Question: Are 1/2, 2/4, 3/6, 4/8, 5/10, … the same or different? Answer: They are different symbols that stand for the same rational number. When algebraists have a set of objects and wish to think of more than one of them as the same object, they define an equivalence relation.

Familiar Equivalence Relations From arithmetic: Equals (=) From logic: If and only if ( )

In this session we will: Carefully define the notion of an equivalence relation Show how an equivalence relation gives rise to equivalence classes Give an important example of an equivalence relation and its classes.

Definition An equivalence relation on a set S is a set R of ordered pairs of elements of S such that Reflexive Symmetric Transitive

Properties of Equivalence Relations a Reflexive ab Symmetric abc Transitive

Notation Given a relation R, we usually write a R b instead of For example: x = 1 instead of instead of

Properties Revisited ~ is an equivalence relation on S if ~ is: Reflexive: a~a for all a in S Symmetric: a~b implies b~a for all a, b in S Transitive: a~b and b~c implies a~c for all a,b,c in S

Is equality an equivalence relation on the integers? a = a for all a in Z a = b implies b = a for all a,b in Z a = b and b = c implies a = c for all a,b,c, in Z. = is reflexive, symmetric, and transitive So = is an equivalence relation on Z!

Is ≤ an equivalence relation on the integers? 1 ≤ 2, but 2 ≤ 1, so ≤ is not symmetric Hence, ≤ is not an equivalence relation on Z. (Note that ≤ is reflexive and transitive.)

Say a ~ b if 2 | a – b Choose any integer a. 2 | 0 = a – a, so a ~ a for all a. (~ is reflexive) Choose any integers a, b with a ~ b. 2 | a–b so a–b = 2n for some integer n. Then b–a = 2(–n), and 2 | b–a. Hence b ~ a. (~ is symmetric)

a ~ b if 2 | a – b (Con't) Choose any integers a, b, c with a~b and b~c. Now 2 | a–b and 2 | b–c means that there exist integers m and n such that a–b = 2m and b–c = 2n. a–c = a–b + b–c = 2m + 2n = 2(m + n) So 2 | a–c. Hence a~c. ~ is transitive. Since ~ is reflexive, symmetric, and transitive ~ is an equivalence relation on the integers.

Equivalence Classes Let ~ be given by a ~ b if 2 | a–b. Let [n] be the set of all integers related to n [0] = { …-4, -2, 0, 2, 4 …} [1] = { …-3, -1, 1, 3, 5 …} There are many different names for these equivalence classes, but only two distinct equivalence classes. Even Odd

Theorem 0.6 (paraphrased) Every equivalence relation R on a set S partitions S into disjoint equivalence classes. Conversely, every partition of S defines an equivalence relation on S whose equivalence classes are precisely the sets of the partition.

Example 14 (my version) Let S = {(a,b) | a,b are integers, b≠0} Define (a,b) ~ (c,d) if ad–bc = 0 Show ~ is an equivalence relation. For (a,b) in S, ab–ba = 0, so (a,b)~(a,b). Hence ~ is reflexive. (a,b)~(c,d) implies ad–bc = 0 so cb–da = 0 which implies (c,d)~(a,b) Hence ~ is symmetric.

Example 14 (con't) Suppose (a,b)~(c,d) and (c,d)~(e,f), where b,d, and f are not zero. Then ad–bc = 0 and cf–de = 0. It follows that (ad–bc)f + b(cf–de) = 0 So 0 = adf – bcf + bcf – bde = d(af – be) Since d ≠ 0, af–be = 0 Hence (a,e) ~ (f,b), and ~ is transitive. Since ~ is reflexive, symmetric, and transitive, ~ is an equivalence relation.

The equivalence classes of ~ [(1,2)] = [(2,4)] = [(3,6)] = [(4,8)] = … [(3,4)] = [(6,8)] = [(9,12)] = … Replace commas by slashes and drop the parentheses to get: 1/2 = 2/4 = 3/6 = 4/8 = … 3/4 = 6/8 = 9/12 = … Each rational number is an equivalence class of ~ on the set of fractions!