Binary Relations: Understanding Reflexivity, Symmetry, and Transitivity, Study notes of Chinese

Binary relations, focusing on their properties of reflexivity, symmetry, and transitivity. Learn about different types of binary relations, their visualization through graphs, and the importance of these properties in categorizing relations.

Typology: Study notes

2021/2022

Uploaded on 09/12/2022

laurinda
laurinda ๐Ÿ‡ฌ๐Ÿ‡ง

4.8

(8)

220 documents

1 / 46

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Binary Relations
Problem Set Two
checkpoint due in the box
up front if you're using
a late period.
Problem Set Two
checkpoint due in the box
up front if you're using
a late period.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e

Partial preview of the text

Download Binary Relations: Understanding Reflexivity, Symmetry, and Transitivity and more Study notes Chinese in PDF only on Docsity!

Binary Relations

Problem Set Two checkpoint due in the box up front if you're using a late period. Problem Set Two checkpoint due in the box up front if you're using a late period.

Studying Relationships

โ— We have just explored the graph as a way of studying relationships between objects. โ— However, graphs are not the only formalism we can use to do this.

Binary Relations

โ— Intuitively speaking: a binary relation over a set A is some relation R where, for every x , y โˆˆ A , the statement xRy is either true or false. โ— Examples: โ— < can be a binary relation over โ„•, โ„ค, โ„, etc. โ— โ†” can be a binary relation over V for any undirected graph G = ( V , E ). โ— (^) โ‰ก โ‚– is a binary relation over โ„ค for any integer k. โ— We'll give a formal definition later today.

Binary Relations and Graphs

โ— (^) We can visualize a binary relation R over a set A as a graph: โ— (^) The nodes are the elements of A. โ— (^) There is an edge from x to y iff xRy. โ— Example: the relation a | b (meaning โ€œ a divides b โ€) over the set {1, 2, 3, 4} looks like this: 1 2 4 3

Binary Relations and Graphs

โ— (^) We can visualize a binary relation R over a set A as a graph: โ— (^) The nodes are the elements of A. โ— (^) There is an edge from x to y iff xRy. โ— Example: the relation a = b over {1, 2, 3, 4} looks like this: 1 2 4 3

Categorizing Relations

โ— Collectively, there are few properties shared by all relations. โ— (^) We often categorize relations into different types to study relations with particular properties. โ— (^) General outline for today: โ— (^) Find certain properties that hold of the relations we've seen so far. โ— (^) Categorize relations based on those properties. โ— (^) See what those properties entail.

An Intuition for Reflexivity

For every x โˆˆ A , the relation xRx holds.

Symmetry

โ— In some relations, the relative order of the objects doesn't matter. โ— Examples: โ— If x = y , then y = x. โ— (^) If u โ†” v , then v โ†” u. โ— (^) If x โ‰ก โ‚– y , then y โ‰ก โ‚– x. โ— These relations are called symmetric. โ— (^) Formally: A binary relation R over a set A is called symmetric iff for all x , y โˆˆ A , if xRy , then yRx.

Transitivity

โ— Many relations can be chained together. โ— Examples: โ— If x = y and y = z , then x = z. โ— If u โ†” v and v โ†” w , then u โ†” w. โ— (^) If x โ‰ก โ‚– y and y โ‰ก โ‚– z , then x โ‰ก โ‚– z. โ— These relations are called transitive. โ— Formally: A binary relation R over a set A is called transitive iff for all x , y , z โˆˆ A , if xRy and yRz , then xRz.

An Intuition for Transitivity

For any x , y , z โˆˆ A, if xRy and yRz , then xRz.

xRy โ‰ก x and y have the same shape.

xRy โ‰ก x and y have the same color.

Closing the Loop

โ— In any graph G = ( V , E ), we saw that the connected component containing a node v โˆˆ V is given by { x โˆˆ V | v โ†” x } โ— What is the equivalence class for some node v โˆˆ V under the relation โ†”? [ v ] โ†” = { x โˆˆ V | v โ†” x } โ— Connected components are just equivalence classes of โ†”!

Why This Matters

โ— Developing the right definition for a connected component was challenging. โ— Proving every node belonged to exactly one equivalence class was challenging. โ— Now that we know about equivalence relations, we get both of these for free! โ— If you arrive at the same concept in two or more ways, it is probably significant!