Matrix representation of Graph, Edge Sequence, Walk, Path and Circuit
Matrix Representation of Graphs When G is a simple graph with n vertices V 1 ,V 2 ,V 3 …Vn the matrix A (or A G )=A ij . Where,A ij is called the adjacency matrix of G. Properties of an Adjacency Matrix Since a simple graph has no loops, each diagonal entry of A, viz., A ij= 0, for i=1,2,…n. The adjacency matrix of simple graph is symmetric, viz. A ij= A ji , since both of these entries are 1 when v i , v j are adjacent and both are 0 otherwise. Note : The given any symmetric zero-one matrix A which contains only 0’s on its diagonal there exists a simple graph G whose adjacency matrix is A. deg(v i ) is equal to the number of 1’s in the i th row and i th column. Examples 1.Adjacency Matrix of a Simple Graph 2.Adjacency Matrix of a Weighted Graph 3.Adjacency Matrix of a Directed Graph EDGE SEQUENCE, WALKS, PATHS AND CIRCUITS Edge Sequence An edge is the mathematical term for a line that connects two vertices. Many edges can be forme...