Abstract


Real-world Implication

Commonly used in Database, the columns are the different sets, the Cartesian Product of the columns are all the potential relation aka all the rows that can be stored inside the database. Each row is a actual Order n-tuples inside the relation

Domain

  • Basically the Set of elements of the left hand Set that is involved in the Relation

Co-domain

  • The whole Set at the right hand side

Range

  • Basically the Set of elements of the right hand set that is involved in the Relation

Binary Relation

  • Let , we say

N-ary Relation

  • A Relation involving 2 Set is called binary relation, also known as 2-ary
  • Ternary is 3-ary
  • Quaternary is 4-ary

Inversion of Relation

Arrow Diagram

  • Visualize Relation
  • Usually used when there is more than one Set involve in the relation

Theorem


Theorem 8.3.4

Terminologies


Transitive Closure of Relation

  • The Relation obtained by adding the least number of Ordered Pair to ensure Transitive
  • Represented with
  • Following 3 properties:
    1. is transitive
    2. , where is any other transitive relation that contains