






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







(x,y 1 ), (x,y 2 ) ϵ F → y 1 =y 2 A function F is a set of ordered pairs with a unique second element for every first element: Example: R = { (x,y) | x is a friend of y } A relation R doesn't have this restriction. A relation is a set of ordered pairs Every function is a relation, but not vice-versa. Relations Docsity.com
General relations: A relation R on sets S, T is a subset of S x T = { (s,t) | s ϵ S, t ϵ T } A relation on a single set S is a subset of S x S. In this class, we'll be concerned with relations on a single set S. General relations Docsity.com
A relation R on a set S is reflexive if (x,x) ϵ R whenever x ϵ S. A relation R is irreflexive (or strict) if (x,x) is not in R for all x ϵ S. "x has same brand of shoes as y" is reflexive. Reflexiveness Docsity.com
A relationship R is transitive if (x,y) ϵ R and (y,z) ϵ R → (x,z) ϵ R if color(x)==color(y) and color(y)==color(z), then color(x)==color(z). Example: R = people wearing the same color of shirt. Example: R = { (x,y) | x < y } If x<y and y<z, then x<z. Example: R = implications between statements. If x→y and y→z then x→z. Transitivity Docsity.com
R = { (george, frank), (frank, sue), (harry, frank), (joe, frank), (frank, joe) } An example Docsity.com
A,B; B,C; A,C A,B B,A B,C C,B A B A,B; A,A; B,B A Graph and graph properties Docsity.com
An equivalence relation R is a reflexive , symmetric , and transitive relation where (x,y) ϵ R whenever x is equivalent (in some way) to y Example: people wearing the same brand of shoes, people with the same exam score, etc. Equivalence relations Docsity.com