ADJACENCY MATRICES:
Suppose G(V,E) is a simple graph with n vertices v1,v2,….,vn. The adjacency matrix or sometimes called connection matrix of the graph G(V,E), denoted by A(G) is a matrix (aij)n x n (with respect to the particular ordering of vertices) such that,
aij=1, if there is an edge between i th and j th vertices
Example:
INCIDENCE MATRICES:
Let G(V,E) be an undirected graph (without parallel edges and loops) with n vertices v1,v2,….,vn and m edges e1,e2,….em then the incidence matrix with respect to this ordering of V and E is the n x m matrix B=(bij)n x m where
bij=1, when the edge ej is incident on vi
=0, otherwise
in which exams,these type of qstns may come?
ReplyDelete