A simple cycle of a particular length is a useful invariant that can be used to show that two graphs are not isomorphic.
Counting paths between vertices:
Let πΊ be a graph with adjacency matrix π¨ with respect to the ordering v1β,v2β,..,vnβ of the vertices of the graph (with directed or undirected edges, with multiple edges and loops allowed).
The number of different paths of length r from v1β to vjβ , where r is a positive integer, equals the (i,j)th entry of Artheorem
the matrix power to r, then we have the number of possible ways of going from one node to the other
A connected component of graph πΊ = (π, πΈ) is a maximal connected subgraph; that is, it is a subgraph π» β πΊ that is connected, and any larger subgraph π»β (satisfying π»β β π», π» β π»β β πΊ) must be disconnected.
We may similarly define a strongly connected component of a directed graph as a maximal strongly connected subgraph???