A graph is called connected if given any two vertices , there is a path from to .
The following graph ( Assume that there is a edge from to .) is a connected graph. Because any two points that you select there is path from one to another. later on we will find an easy way using matrices to decide whether a given graph is connect or not.
The graph shown below ( Figure 9 ) is not a connected graph.
The graph shown above is not a connected graph, because there is no path from to . Also there is no path from to .
Definition
If there is a path from to ( from a point to itself ), the path is called a loop.
In the following graph there is loop from to itself.
Also the same loop may be considered as the path which is again forms a loop.
Exercise:
In the following graph find all the loops.