Directed Graphs (Digraphs)

A directed graph consists of nodes or vertices connected by directed edges or arcs. Let R is relation from set A to set B defined as (a,b) ? R, then in directed graph-it is represented as edge(an arrow from a to b) between (a,b). 

Properties

  1. A relation R is reflexive if there is a loop at every node of a directed graph.
  2. A relation R is irreflexive if there is no loop at any node of directed graphs.
  3. A relation R is symmetric if, for every edge between distinct nodes, an edge is always present in the opposite direction.
  4. A relation R is asymmetric if there are never two edges in opposite directions between distinct nodes.
  5. A relation R is transitive if there is an edge from a to b and b to c, then there is always an edge from a to c.

Example:

The directed graph of relation R = {(a,a),(a,b),(b,b),(b,c),(c,c),(c,b),(c,a)} is represented as:

Since, there is loop at every node, it is reflexive but it is neither symmetric nor antisymmetric as there is an edge from a to b but no opposite edge from b to a and also directed edge from b to c in both directions. R is not transitive as there is an edge from a to b and b to c but no edge from a to c. 

Representation of Relation in Graphs and Matrices

Representation of Relations in Graphs and Matrices: Understanding how to represent relations in graphs and matrices is fundamental in engineering mathematics. These representations are not only crucial for theoretical understanding but also have significant practical applications in various fields of engineering, computer science, and data analysis. This article will explore different ways to represent relations using graphs and matrices, their properties, and applications in engineering.

Similar Reads

What is a Relation?

A relation is a connection or association between elements of two sets. In mathematical terms, if we have two sets A and B, a relation R from A to B is a subset of the Cartesian product A x B....

Representation of Relation in Graphs

Graphs provide a visual way to represent relations. There are different types of graphs used for this purpose, including directed graphs (digraphs) and undirected graphs. Here’s a detailed look at these representations:...

Directed Graphs (Digraphs)

A directed graph consists of nodes or vertices connected by directed edges or arcs. Let R is relation from set A to set B defined as (a,b) ? R, then in directed graph-it is represented as edge(an arrow from a to b) between (a,b)....

Undirected Graphs

In an undirected graph, edges have no direction. This type of representation is used when the relation is symmetric, meaning if a is related to b, then b is also related to a....

Types of Relation in Graphs and Matrices

1. Combining Relation:...

Representation of Relation in Graphs and Matrices

Matrices provide an algebraic way to represent relations. The relation matrix is a two-dimensional array where the rows represent elements of set A and the columns represent elements of set B. If there is a relation between ai ∈ A and bj ∈ B, then the entry mij in the matrix is 1; otherwise, it is 0....

Applications in Engineering

Relations and their representations are widely used in engineering for various purposes:...

Conclusion – Representation of Relation in Graphs and Matrices

Understanding the representation of relations in graphs and matrices is crucial for various fields of engineering and computer science. These representations provide a clear and structured way to visualize and analyze connections between elements, aiding in the development of efficient solutions to complex problems....

FAQs on Representation of Relation in Graphs and Matrices

What is the difference between a directed and undirected graph?...