Relations

Binary relation

Binary relation

For sets and , a (binary) relation from to is any subset $R$ of the [[Cartesian product of sets|Cartesian product]] $A \times B$ or otherwise a set consisting of some ordered pairs.

We use notation to denote that , and say that is -related to . If , then we right .

Link to original

For example, let be the set of people, and be the set of Among Us crewmates. Define a relation by taking

If I am suspicious of Red but think Blue is a crewmate, then

This can also be written as

Relations on a set

Relation on a set

A relation from a set $A$ to $A$ itself is called a relation on .

It can also be said that:

  • a relation on a set is a subset of
  • a relation on a set is a set consisting some ordered pairs of elements from
Link to original

For example, let be the set of all people in the class.

Will is 180cm tall and likes Jill who is 165cm. But Jill does not like Will. Hence, , , and .

Relations on the set of integers

  • ‘smaller than’:
    • is smaller than , so or more commonly
    • is not smaller than so or more commonly
  • ‘smaller than or equal to’:
  • ‘divisibility’: