Relations Flashcards
(90 cards)
Make sure to remember that when talking about cartesian planes in 1061, it is not referred with x and y but instead 1st coordinate and 2nd coordinate. 1st coordinate = x and 2nd coordinate = y.
Given a relation R acting on set A
When is R described as reflexive?
R is relexive if and only if ∀ x ∈ A, xRx
Similar to relexive property of functions
The relation is relexive if and only if every element of it is in the form (x,x).
Or it can be said that each element is related to itself
Given a relation R acting on set A
When is R described as symmetrical?
R is symmetrical if and only if ∀ x,y ∈ A, xRy and yRx
Similar to symmetrical property of functions
The relation is symmetrical iff the relation has tuple pairs of the form (x, y) and (y, x).
Or it can be said that if any element is related to another element, then the second element is related to the first
Given a relation R acting on set A
When is R described as transisitive?
R is transisitive if and only if ∀ x,y,z ∈ A, if xRy and yRz then xRz
Similar to transistivity property of functions
The relation is transisitive iff the relation has tuple triplets of the form (x, y), (y, z) and (x, z).
Or it can be said that if one element is related to a second element and the second element is related to a third element, then the first element is related to the second element.
For the transistivity part, basically the statement says nothing about what would happen if the hypothesis isn’t true, which is the situation for this case.
Just revision
Given a set A and a relation R that acts on A
When is R called an equivalence relation?
R is called an equivalence relation iff R is relfexive, symetric and transisitive.
True or false?
All relations acting on partitions of a set are equivalence relations
True. All relations that act on paritions of any set are equivalence relations
Remember that a partition is the set of some subsets who’s union is the whole set. (Or dividing a set into mutally disjoint parts)
Given a set A and a particular element of A, x
Does [x] refer to a set or relation?
[x]=’equivalence class of x’
It refers to a set. Because it means the set of all values of x that is related to an element of A by a relation, R.
Meaning [x] is a set not a relation
Givena particular element x, of the set A and a relation acting on A.
Define what is meant by the equivalence class x
equivalence class of x is also referred to as [x]
[x] is the set of all elements in A such that the element is related to x.
For example, given A={0, 1, 2, 3, 4} and a relation R={(1, 0), (0, 4), (4, 0)}.
[0]={1, 4} because elements 1 and 4 are related to 0
Givena particular element x, of the set A and a relation acting on A.
What is the formal definition of [x]
[x]={∀y∈A | yRx}
“The set of all elements in A such that that element is related to x”