Give 5 importance of using relations and digraphs in computer science? Give an example of how a relation is used in computer science. Solution Answer 1. Relations are represented by matrices as well as digraphs. Computer representation of relationship also given. 2. Recursion is one of the parts of relations and digraphs in computer science. 3. Combinatorics and recurrence relations. The concept of permutations, combinations and their relations are discussed. 4. Concept of trees and graphs,Binary trees ,Hamilton graphs used the relations in computer science. 5. Concept of Boolean algebra, lattices, partial order relations. how a relation is used in computer science. Discrete mathematics used are used in computer science include graphs, counting ,probability and matrices. Discrete math methods may be used in designing algorithms and computer systems, as well as in software engineering. .