Symmetric Closure
How can we make a relation symmetric?
Mathematical Definition
is symmetric if .
Matrix Representation
We know that the symmetric closure of a relation is when the matrix and its transpose are equal.
Hence, the shortest way to make a relation symmetric is to fill the matrix with its transpose.
For example, here is how we can make some relation symmetric in matrix form:
Graph Representation
In the graph representation, we make sure that for every edge , there is an edge .
So we make any and all edges bidirectional.
For example, here is how we can make some relation symmetric in graph form:
Once we add the missing edges, the graph will look like this: