Connected and disconnected graph

1,176 views 13 slides Jan 31, 2022
Slide 1
Slide 1 of 13
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13

About This Presentation

in ths


Slide Content

MIRZA NASIR BAIG BS-Mathematics Fall (2018-22) PIASS COLLEGE KASUR

Connected and disconnected Graph

Definition A graph G is said to be a connected if every pair of vertices in G are connected. Otherwise, G is called a disconnected graph. Two vertices in G are said to be connected if there is at least one path from one vertex to the other. In other words, a graph G is said to be connected if there is at least one path between every two vertices in G and disconnected if G has at least one pair of vertices between which there is no path. A graph is connected if we can reach any vertex from any other vertex by travelling along the edges and disconnected otherwise .

For E xample the graphs in Figure 30(a, b, c, d, e) are connecte d .

whereas the graphs in Figure 31(a, b, c) are disconnected.

A complete graph is always connected, also, a null graph of more than one vertex is disconnected (see Fig. 32). All paths and circuits in a graph G are connected subgraphs of G. Every graph G consists of one or more connected graphs, each such connected graph is a subgraph of G and is called a component of G. A connected graph has only one component and a disconnected graph has two or more components. For example, the graphs in Figure 31(a, b) have two components each.

Matrix Representation of Graphs

Definition The adjacency matrix of the graph G = (V,E) is an n × n matrix D = ( dij ), where n is the number of vertices in G, V = {v1, . . . , vn } and d ij  = number of edges between vi and vj . In particular, dij = 0 if (vi, vj ) is not an edge in G. The matrix D is symmetric, i.e. DT = D.

Example Obviously, an adjacency matrix defines a graph completely up to an isomorphism. The adjacency matrix of a directed graph G is D = ( d ij ), where d ij  = number of arcs that come out of vertex vi and go into vertex vj

The all-vertex incidence matrix of a non-empty and loopless graph G = (V,E) is an n×m matrix A = ( a ij ), where n is the number of vertices in G, m is the number of edges in G and

The all-vertex incidence matrix of a non-empty and loopless directed graph G is A = ( aij ), where

Since every column of an all-vertex incidence matrix contains exactly two non-zero numbers, two ones, we can remove a row and still have enough information to define the graph. The incidence matrix of a graph is obtained by removing a row from the all-vertex incidence matrix. It is not unique because there are n possible rows to remove. The vertex corresponding to the row removed is called the reference vertex. Similarly, every column in the all-vertex incidence matrix of a digraph contains exactly two non-zero numbers, 1 and −1. We can remove a row from the all-vertex incidence matrix and obtain the incidence matrix. Notice that the rows of an all-vertex incidence matrix are linearly dependent because the sum of rows is a zero vector.

The End
Tags