Representation of Relations in Discrete Mathematics