SlideShare a Scribd company logo
Created by ,
1. Pathik De
2. Subhajit Pal
3. Biswanath Nag
4. Rounak Biswas
A seminar performed by RPSBR , conducted by Sanchita
ma’am .
 Graph is a set of some dots (known as Vertex ) and some line
which connect those dots (knows as Edge)
 The basic need of graph a better understanding , broader
meaning and easy to grab complexity
 So we use Graphs to visually illustrate relationships in the data
 This need further complicated
 Graph stands as backbone of many real world problem
 Such as network flow problem
Situation comes where we need a better way out to convert
the graphical notation into digital or algorithmic format
This need creates the area of this topic . { MATRIX
REPRESENTAION OF GRAPH } .
The mechanism of this representation should be effective ,
efficient and easy to use
Because we are all face a problem of limited resources
The general idea is that the visual graph can’t be used in a
system for work
The increasing no of complexity can not anymore operable
with pen and paper manner
The demand of graph in various sector
Various operation performed on the graph
Want a efficient output quickly
As matrix is widely used in mechanical manipulations
Also it has efficient to define operation with various
operators
Various previously solved properties also helps a lot
Most important , Matrix is convenient for defining graph
So this chapter is all about
 Formation of matrix
 Different kind of observation on that matrix
Some general properties should be kept in mind .
Followings are the terms that we will carry out in the
whole presentation
So its good to remember those things :
1) Incidence
2) Adjacent
3) Degree
4) Walk ,Path , Circuit
5) Fundamental Circuit
6) Cut set
7) Spanning tree
8) Rank and Nullity
9) Ring Sum operation
10) Isomorphism
 Each edge has two end points / vertex (Self loop
contains one).
 For ex , E1 as two end points {A,B} . There A and
B are called INCIDENT with respect to E1 edge
.
A B
C D
E1
E2
E3
E4
E5
E6
 Two end points of an edge are called ADJACENT to each other
 For ex , node A and D are said to adjacent
 The total count of incident , is known as DEGREE of a graph (Self loop
counts 2 )
 For ex , Degree(A) = 3 and Degree(B)=4
 IN A GRAPH , WE USE :
 V- VERTEX SET ; E – EDGE
SET
While traversing a graph , walk is
An alternating sequence of vertex and edge ;
 Edge repetition is not allowed
For ex , A-E2-C-E4-D-E5-A-E1-B
Path is a type of open walk
 Vertex repetition is not allowed
For ex , A-E2-C-E4-D
Circuit is a kind of closed walk
 Node repetition is allowed for only start node
For ex , A-E2-C-E4-D-E5-A
A B
C D
E1
E2
E3
E4
E5
E6
 In a connected graph G , Spanning tree is a subgraph
 Which contains all vertices of G
 Gives a minimal edge connected subgraph
 Edges of the spanning tree , called Branch
 Others are known as Chord .
 For ex , G” is a spanning tree .
 Brunch = n-1 = 4-1=3
 Chord = e-n+1= 6-4+1 = 3
 Chords equipped a interesting property
A B
C D
E1
E2
E3
E4
E5
E6
A B
C D
E3
E4
E1
G
G”
With a given Spanning tree and its chord .
 A circuit formed ,introducing every single chord .
 Those circuits are known as Fundamental circuits .
 For ex , Spanning tree of the graph is -
E4
E5
E6
E3
E2
E1
E7
E1
G
G”
 Now G” is spanning tree of G
 In G :– v = 5 , e =7
 In G”: – v = 5 ,
 Brunch = 4 & Chord = 3
 Chords are { E3 , E6 , E2 }
E4
E5
E6
E3
E2
E1
E7
E1
Fundamental Circuits :
E3
E2
E6
Original
Graph
Spannin
g tree
 Those two term comes from general
observations
 The no of component ‘k’ never cross ‘n’
 So , n ≥ 𝑘
 Rank = n-k
 Another , The no of edge ‘e’ is never
less than ‘n’
 So e ≥ n = e ≥ n - k
 Here , Nullity = e – n + k
 For ex , for the above graph ‘G’
 Rank = 4-2=2
 Nullity = 4-4+2 = 2
 Think , For connected Graph
 Rank = Branch and Nullity = Chord
 So , Total edge = Rank + Nullity
A B
C D
E1
E2
E3
E4
G
E
F
It’s a set which contains edge , such that
Whose removal make the graph disconnected
Also point that the set must be minimal
So, no further sub-set obtain from the cut set
In the ex , set {E1 , E5 , E6 , E3} is a cut set ,
Observed that no proper subset is Cut set .
A
D
E
C
B
E1
E2
E3
E4
E5
E6
E7
E8
 Drawing of the graph is not fix
 So , there are multiple view of a single graph
 Need rules for detect two same graph
 If match found , two are called Isomorphic
 Two graphs are isomorphism , if
 No of edge in both graph same
 No of vertex same
 Adjacency relation holds
 For ex , Following two are isomorphic in nature .
 A graph operation act as follows :
 Let G1 G2 be two graph , with {V1,E1} , {V2,E2} respectively
 Then G3 = Ring_Sum(G1,G2) ,As
 V3 = V1 ∪ V2
 E3 = Either in E1 or in E2 , but not in both
 For ex ,
A
B
A
E
D
C
B
D F
C
E1 E2
E3 E4
E5
E2E1
A
B C
D
E
FG1 G2
G3
m
 With a given graph G , Adjacency or connection matrix is a n by n
symmetric binary matrix .
 Consider graph has no parallel edge and self loop , because those
are not carry redundant information .
 Then each element of the graph define as ,
 Xi,j = 1 if ith and jth vertex are end point of an edge .
 Else = 0
A
D
E
C
B
0 1 0 1 1
1 0 1 0 1
0 1 0 1 0
1 0 1 0 1
1 1 0 1 0
A
B
C
D
E
A B C D
E
 All entity in principal diagonal is 0 , iff the graph has no self
loop
A
D
E
C
B
0 1 0 1 1
1 0 1 0 1
0 1 0 1 0
1 0 1 0 1
1 1 0 1 0
A
B
C
D
E
A B C D
E
 A graph with no parallel edge and self loop
 In its adjacent matrix , degree of a vertex define by no of 1 in row or
column .
A
D
E
C
B
0 1 0 1 1
1 0 1 0 1
0 1 0 1 0
1 0 1 0 1
1 1 0 1 0
A
B
C
D
E
A B C D
E
Degree of A - 3
 Permutation of any two row and equivalent column gives us Two
isomorphic graph
0 1 1 0
1 0 1 0
1 1 0 1
0 0 1 0
A B C D
A
B
C
D
0 0 1 1
1 0 1 0
1 1 0 1
0 0 1 0
A B C D
A
B
C
D
A
DC
B
0 0 1 1
1 0 1 0
1 1 0 1
0 0 1 0
A B C D
A
B
C
D
0 0 1 1
0 0 1 0
1 1 0 1
1 0 1 0
A B C D
A
B
C
D
A
DC
B
Both are
Isomorphic
 Let G be a disconnected graph
 g1 and g2 be two component
 The adjacency matrix A partitioned as follows :
X(G) =
X(g1)
X(g2)0
0
 Where X(g1) and X(g2) are adjacent matrix of component g1 and g2
respectively
A
G
FE
CD
B
0 1 0 1 0 0 0
1 0 1 0 0 0 0
0 1 0 1 0 0 0
1 0 1 0 0 0 0
0 0 0 0 0 1 1
0 0 0 0 1 0 1
0 0 0 0 1 0 1
A
B
C
D
E
F
G
A B C D E F G
&
Change in character : (Part 2 …)
Let G be a graph with n vertices and e edges. And there is no self-loop.
The incidence matrix A (G) is an v × e matrix= [a i j ]
Whose n rows correspond to the v vertices and e columns correspond to the e
edges
The Matrix element , a i j =1 ,if edge e j is incident on vertices vi
=0 , otherwise
Incidence Matrix
v1
v3
v5v2
v6
v4
e1
e2
e6
e4
e3
e5
G
e1 e2 e3 e4 e5 e6
V1
V2
V3
V4
V5
V6
1 0 0 1 0
0
0 0 0 0 0 0
1 1 0 0 1 1
0 1 1 0 0 0
0 0 1 1 0 0
0 0 0 0 1 1
A(G)
OBSERVATIONS :-
1. Since every edge is incident on exactly two vertices, each column of A has
exactly Two 1’s.
v1
v3
v5
v2
v6
v4
e1
e2
e6
e4
e3
e5
G
e1 e2 e3 e4 e5 e6
V1
V2
V3
V4
V5
V6
1 0 0 1 0
0
0 0 0 0 0 0
1 1 0 0 1 1
0 1 1 0 0 0
0 0 1 1 0 0
0 0 0 0 1 1
A(G)
2. The number of 1’s in each row equals the degree of the
corresponding vertex
v1
v3
v5
v2
v6
v4
e1
e2
e6
e4
e3
e5
G
e1 e2 e3 e4 e5 e6
V1
V2
V3
V4
V5
V6
1 0 0 1 0
0
0 0 0 0 0 0
1 1 0 0 1 1
0 1 1 0 0 0
0 0 1 1 0 0
0 0 0 0 1 1
A(G)
2
3. A row with all zeros represents an isolated vertex.
v1
v3
v5v2
v6
v4
e1
e2
e6
e4
e3
e5
G
e1 e2 e3 e4 e5 e6
1 0 0 1 0
0
0 0 0 0 0 0
1 1 0 0 1 1
0 1 1 0 0 0
0 0 1 1 0 0
0 0 0 0 1 1
V1
V2
V3
V4
V5
V6
4. Parallel edges in a graph produce identical columns in its incidence matrix.
v1
v3
v5v2
v6
v4
e1
e2
e6
e4
e3
G
e1 e2 e3 e4 e5 e6
1 0 0 1 0
0
0 0 0 0 0 0
1 1 0 0 1 1
0 1 1 0 0 0
0 0 1 1 0 0
0 0 0 0 1 1
A(G)
e5
5. If a graph is disconnected and consists of two components
g1and g2 the incidence matrix A(G) of graph G can be written
in a block diagonal form as
A(G)
A(g1)
0
0
A(g2)
Where A(g1) and A(g2) are the incidence matrices of components g1 and g2. This
observation results the fact that no edge in g1 incident on vertices of g2 ,and vice versa
Obviously this remarks is also true for a disconnected graph with any number of
components.
Take an example to understand this property
g1
g2
v1
v3
v2
e3
e2
e1
e4
V4 V5
e1 e2 e3 e4 e5
V1
V2
V3
V4
V5
1 0 1 0 0
1 1 0 0 0
0 1 1 0 0
0 0 0 1 1
0 0 0 1 1
A(G)
A(g1)
0
0
A(g2)
G
No edge in g1 incident on vertices
of g2 and vice versa .
6.Permutation of any two rows or columns in an incidence matrix simply
corresponds to relabelling the vertices and edges of the same graph
v1
v3
v2
e3
e2
e1
e1 e2 e3
V1
V2
V3
1 0
1
1 1 0
0 1
1
e1 e2 e3
V3
V2
V1
0 1 1
1 1 0
1 0 1
Path Matrix
A path matrix is defined for a specific pair of vertices in a graph ,say (x , y)
And is written as P(x ,y).
And The rows in P(x,y) correspond the different paths between vertices x & y and
columns correspond to the edges in G.
The path matrix for (x,y) vertices is P(x,y)=[pij ]
Pij = 1 if jth edge lies in ith path
= 0 , otherwise.
v1
v3
v2
v4
e1
e2
e4
e3
G = e5
e1 e2 e3 e4 e5
1 1 1 0 0
0
0 0 0 0
1
0 0 1 1
0
P(v1 ,v3 ) =
v1 v2
e1
v3
e2
v1
v3
e5
v1
v3v4
e4
e3
1
2
3
2
3
OBSERVATIONS
1. A column of all zeros corresponds to an edge that does not lie in any path between
x and y.
v1
v3
v2
v4
e1
e2
e4
e3
e5
v5 e1 e2 e3 e4 e5
e6
1 1 1 0 0 0
0
0 0 0 0 1
0
0 0 1 1 0
0
P(v1 ,v3 )
2
3
e6
2. A column of all ones corresponds to an edge that lies in every path between x
and y.
v1
v3
v2
v4
e1
e2
e4
e3
e5
v5
e1 e2 e3 e4 e5 e6
1 1 1 0 0 0
1
0 0 0 0 1
1
0 0 1 1 0
1
P(v5 ,v3 )
2
3
e6
3. There is no row with all zeros.
v1
v3
v2
v4
e1
e2
e4
e3
e5
v5
e1 e2 e3 e4 e5 e6
1 1 1 0 0 0
1
0 0 0 0 1
1
0 0 1 1 0
1
P(v5 ,v3 )
2
3
e6
There is no edge in that path. But it
is not possible to make path without
any edge
4. The ring sum of any two rows in P(x, y) corresponds to a circuit
v1
v3
v2
v4
e1
e2
e4
e3
e5
v5
e1 e2 e3 e4 e5 e6
1 1 1 0 0 0
1
0 0 0 0 1
1
0 0 1 1 0
1
P(v5 ,v3 )
2
3
e6
1 3
v1
v3
v2
v4
e1
e2
e4
e3
e1
1
e2
1
e3
1
e4
1
e5
0
e6
0
Journey of life is a Circuit , two path to archive the
Goal . Choose wisely . ( Part 3 begins …)
Like adjacency or incident matrix , it is an another way
of representing a graph.
It is a circuit x edge matrix .From this matrix we can
identify which edge is belonged to which circuit of a graph
Formal defination:- Let q be the total number of circuits of graph
G(V,E) and the number of edges in G is e . Then the circuit matrix
of the graph G , B(G) =[bi j ] is a q x e matrix defined as
follows
bi j =1 , if ith circuit includes jth edge , and
=0 ,otherwise
e1
e2
e3
e4
e5
e6
circuit matrix
e4 e6e1 e2 e3 e5
(e1 e2 e3 )
0 0 1 1 1 1
(e1 e2 e4 e5 e6 )
( e3 e4 e5 e6 )
1 1 1 0 0 0
1 1 0 1 1
1
e1
e2
e3 e3
e4
e5
e6
e1
e2
e4
e5
e6
G(V,E) (e1 e2 e3 )
( e3 e4 e5 e6 )
(e1 e2 e4 e5 e6 )
B(G) (Circuit matrix of G )
OBSERVATIONS
Circuit matrix
1. A column of all zeros corresponds to a non-circuit edge (i.e., a n edge that
does not belong to any circuit).
e1
e2
e3
e4
e6
G(V,E)
e4 e6e1 e2 e3 e7e5
(e1 e2 e3 )
0 0 1 1 1 1
0
(e1 e2 e4 e5 e6 )
( e3 e4 e5 e6 )
1 1 1 0 0 0
0
1 1 0 1 1 1
0
B(G) (Circuit matrix of G )
e5
e7
circuit
matrix
2.Unlike the incidence matrix, a circuit matrix is capable of representing a
self-loop-the corresponding row will have a single 1.
e1
e2
e3
e4
e5
e6
G 1(V,E)
e4 e6e1 e2 e3 e5
(e1 e2 e3 )
0 0 1 1 1 1
(e1 e2 e4 e5 e6 )
( e3 e4 e5 e6 )
1 1 1 0 0 0
1 1 0 1 1
1
B(G)
e1
e2
e3
e4
e5
e6
G(V,E)
e7
e4 e6e1 e2 e3 e7
e5
(e1 e2 e3 )
0 0 1 1 1 1
0
(e1 e2 e4 e5 e6 )
( e3 e4 e5 e6 )
1 1 1 0 0 0
0
1 1 0 1 1 1
0
B(G1 )
(e7 ) 0 0 0 0 0 0
1
circuit
matrix
4. The number of 1's in a row is equal to the number of edges in the
corresponding circuit.
e1
e2
e3
e4
e5
e6
G(V,E)
e4 e6e1 e2 e3 e5
(e1 e2 e3 )
0 0 1 1 1
1
( e3 e4 e5 e6 )
1 1 1 0 0 0
1
B(G) (Circuit matrix of G )
( e1e2 e4 e5
e6) 0 11 11
circuit
matrix
4. If graph G is separable (or disconnected) and consists of two blocks (or
components) g1 and g2 , then circuit matrix B(G) can be written in a block-
diagonal form as
where B(g1) and B(g2) are the circuit matrices of g1 and g2.
This observation results from the fact that the circuits in g1 have no edges belonging to g2
and vice versa.
Take an example to understand this property in better way
e1
e2
e3
e4
e5
e6
g1
e7
e8
e9
e10
e11
g2
e4 e6e1 e2 e3 e5
(e1 e2 e3 )
0 0 1 1 1 1 0 0 0 0
0
(e1 e2 e4 e5 e6 )
( e3 e4 e5 e6 )
1 1 1 0 0 0 0 0 0 0
0
1 1 0 1 1 1 0 0 0 0
0
e7 e8 e9 e10 e11
(e7 e8 e9 e10 )
( e8 e9 e11 )
(e7 e10 e11 )
0 0 0 0 0 0 1 1 1 1
0
0 0 0 0 0 0 0 1 1 0
1
0 0 0 0 0 0 1 0 0 1
1
B(G)
G
e4 e6e1 e2 e3 e5
(e1 e2 e3 )
0 0 1 1 1 1 0 0 0 0
0
( e3 e4 e5 e6 )
1 1 0 1 1 1 0 0 0 0
0
e7 e8 e9 e10 e11
( e8 e9 e11 )
(e7 e10 e11 )
0 0 0 0 0 0 1 1 1 1
0
0 0 0 0 0 0
0 0 0 0 0 0 1 0 0 1
1
1 1 1 0 0 0 0 0 0 0
0
(e1 e2 e4 e5 e6 )
0 1 1 0
1
B(g1)
0
0
B(g2)
The circuits in g1 have no edges belonging to g2
and vice versa.
(e7 e8 e9 e10 )
5. Permutation of any rows or columns in circuit matrix simply corresponds to
relabeling the circuits and edges
e4 e6e1 e2 e3 e5
(e1 e2 e3 )
0 0 1 1 1 1
(e1 e2 e4 e5 e6 )
( e3 e4 e5 e6 )
1 1 1 0 0 0
1 1 0 1 1
1
e4 e6e1 e5 e3 e2
(e1 e2 e3 )
0 1 1 1 0 1
(e1 e2 e4 e5 e6 )
( e3 e4 e5 e6 )
1 0 1 0 1 0
1 1 0 1 1
1
circuit matrix
Relationship between Incident matrix (A) and circuit
matrix (B) of a self-loop free graph G
● Let A and B be ,respectively ,the circuit matrix and the incident matrix (of a self-loop free
graph) whose columns are arranged using same order of edges. Then every row of A orthogonal
to every row of B ; That is
A . BT = B . AT = 0 (mod 2)
e1
e2
e3
e4
e5
e6
G(V,E)
e1 e2 e3 e4 e5 e6
V1
V2
V3
V4
V5
1 1 0 0 0 0
0 1 1 1 0 0
0 0 0 1 1 0
0 0 0 0 1 1
1 0 1 0 O
1
V1
V2
V3
V4 V5
e4 e6e1 e2 e3 e5
(e1 e2 e3 )
0 0 1 1 1 1( e3 e4 e5 e6 )
1 1 1 0 0 0
1 1 0 1 1 1
B(G) (Circuit matrix of G )
(e1 e2 e4 e5 e6 )
A(G)( Incidence matrix of G)
1 1 0 0 0 0
0 1 1 1 0 0
0 0 0 1 1 0
0 0 0 0 1 1
1 0 1 0 O
1
A
.
1 0 1
1 0 1
0 1 1
1 1 0
1 1 0
1 1 0
2 0 2
2 2
2
2 2 0
2 2
0
2 2 2
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
(mod 2)
BT
Now, if we know only the fundamental circuits of a graph ,then we
easily find out all other non –fundamental circuits by applying ring
sums( i.e. linear combinations) of those fundamental circuits .
Rank of a matrix:- Rank of a matrix in defined as the order of largest
square matrix whose determinate is not zero
Fundamental circuit matrix (Bf):- A sub-matrix (of a circuit matrix ,B) in which all rows
correspond to a set of all fundamental circuits.
● It is a (e-n+k)(fundamental circuit or chord) by e matrix as total chord is (e-n+k) and each
chord make a fundamental circuit.
●As in matrix B, permutations of rows (and/or of columns) of Bf do not affect
circuit matrix
Cont…
G
e1
e2
e3
e4
e5
e6
e
7
e1
e3e5
e6
e
7
e2
e4
e4
e6e1 e2 e3 e7e5
v1
v3
v4
v2
v5
(e1 e2 e4 e7 )
(e3 e4 e7 )
(e5 e6 e7)
1 1 0 1 0 0
1
0 0 1 1 0 0
1
0 0 0 0 1 1
1
circuit matrix
Rank of a matrix is defined as the order of largest square sub-
matrix whose determinate is not zero.
circuit matrix
Rearrange rows and columns of Bf:-
●Arrange the columns in Bf such that all the (e -n + 1) chords correspond to
the first
(e - n + 1) columns.
●Furthermore, Rearrange the rows such that the first row corresponds to
the fundamental circuit made by the chord in the first column, the second
row to the fundamental circuit made by the second, and so on.
e1
e3e5
e6
e
7
e2
e4
e4
e6e1 e2 e3 e7
e5
v1
v3
v4 v2
v5
(e1 e2 e4 e7 )
(e3 e4 e7 )
(e5 e6 e7 )
1 1 0 1 0 0
1
0 0 1 1 0 0
1
0 0 0 0 1 1
1
e1 e5e2 e3 e6 e7
e4
(e3 e4 e7 )
(e5 e6 e7 )
1 0 0 1 1 0
1
0 1 0 0 1 0
1
0 0 1 0 0 1
1
(e1 e2 e4 e7 )
[ Bf ]
circuit matrix
circuit matrix
We can write matrix Bf (arranged) can be written as, Bf = [Iµ Bt ]
● Iµ is an identity matrix of order µ = e - n +1 ,
● Bt is the remaining µ by (n - I) sub-matrix, corresponding to the
branches of the spanning tree.
e1 e5e2 e3 e6 e7e4
(e3 e4 e7 )
(e5 e6 e7 ) 0 0 1 0 0 1
1
0 1 0 0 1 0
1
1 0 0 1 1 0
1
(e1 e2 e4 e7 )
Bf =[ Iµ Bt ]
Here Iµ is the largest square(3 x 3) sub-matrix .
Iµ is an identity matrix whose determinate is always 1 t.e. non-zero
Rank of Bf is 3
● the rank of Bf= µ = e - n + I.
● Since Bf is a sub-matrix of the circuit matrix
B, then , rank of Circuit matrix(B) ≥ e - n + I.
Calculate the cut set of friends . Place them in your
heart and others ; leave in past |( Chapter 4 begins …
)
 Let G be a graph with m edges and q cut-sets. The cut-set matrix C =
[ci j]q×m of G is a (0,1)-matrix with
1 , if ith cut set contains jth edge
0 , else
Ci,j=
a b c d
f e c7
c5
e1
e2
c6
c1
e8
c8
e6
e5
e7 e3
e4
c4 c3
c2
C(G1)=
c1
c2
c3
c4
c5
c6
c7
c8
e1 e2 e3 e4 e5 e6 e7 e8
0 0 0 0 0 0 0 1
1 1 0 0 0 0 0 0
0 0 1 0 1 0 0 0
0 0 0 0 1 1 1 0
0 0 1 0 0 1 1 0
0 0 0 1 0 1 0
00 0 1 1 0 0 1 0
0 0 0 1 1 0 1 0
 The permutation of rows or columns corresponds simply renaming of
the cut-sets and edges respectively.
c1
c2
c3
c4
c5
c6
c7
c8
e1 e2 e3 e4 e5 e6 e7 e8
0 0 0 0 0 0 0 1
1 1 0 0 0 0 0 0
0 0 1 0 1 0 0 0
0 0 0 0 1 1 1 0
0 0 1 0 0 1 1 0
0 0 0 1 0 1 0
00 0 1 1 0 0 1 0
0 0 0 1 1 0 1 0
C(G1)=
a b c d
f e c7
c5
e1
e2
c6
c1
e8
c8
e6
e5
e7 e3
e4
c4 c3
c2
 Column with all zeros corresponds to an edge forming a self-loop.
a b c d
f e c7
c5
e1
e2
c6
c1
e8
c8
e6
e5
e7 e3
e4
c2e9
C(G1)=
c1
c2
c3
c4
c5
c6
c7
c8
e1 e2 e3 e4 e5 e6 e7 e8
0 0 0 0 0 0 0 1
1 1 0 0 0 0 0 0
0 0 1 0 1 0 0 0
0 0 0 0 1 1 1 0
0 0 1 0 0 1 1 0
0 0 0 1 0 1 0
00 0 1 1 0 0 1 0
0 0 0 1 1 0 1 0
e9
0
0
0
0
0
0
0
0
 Parallel edges form identical columns in the cut-set matrix.
a b c d
f e c7
c5
e1
e2
c6
c1
e8
c8
e6
e5
e7 e3
e4
c4 c3
C(G1)=
c1
c2
c3
c4
c5
c6
c7
c8
e1 e2 e3 e4 e5 e6 e7 e8
0 0 0 0 0 0 0 1
1 1 0 0 0 0 0 0
0 0 1 0 1 0 0 0
0 0 0 0 1 1 1 0
0 0 1 0 0 1 1 0
0 0 0 1 0 1 0
00 0 1 1 0 0 1 0
0 0 0 1 1 0 1 0
 In non separable graph
 Since every set of edges incident on a vertex is a cut-set
 Therefore every row of incidence matrix A(G) is included as a row in
the cut-set matrix C(G).
 So C(G) contains A(G)
 For non separable graph
 The incidence matrix of each block is contained in the cut-set
matrix.
 Ex. In the graph the incidence matrix of the block {e3,e4,e5,e6,e7} is
4X5 submatrix of C, left after deleting row c1,c2,c5,c8 and columns
e1,e2,e8.
a b c d
f e c7
c5
e1
e2
c6
c1
e8
c8
e6
e5
e7 e3
e4
c4 c3
c2
C(G1)=
c1
c2
c3
c4
c5
c6
c7
c8
e1 e2 e3 e4 e5 e6 e7 e8
0 0 0 0 0 0 0 1
1 1 0 0 0 0 0 0
0 0 1 0 1 0 0 0
0 0 0 0 1 1 1 0
0 0 1 0 0 1 1 0
0 0 0 1 0 1 0
00 0 1 1 0 0 1 0
0 0 0 1 1 0 1 0
 Since the number of edges common to a cut set and circuit is always
even ,each row in C is orthogonal to every row is B, provided the
edge in both B and C are arranged in same order. In other words
B.CT=C.BT=0 (mod 2)
 From the last observation we can conclude that -
 The rank C(G)>= rank A(G)
 Therefore for connected graph of n vertices
 Rank C(G) >= n−1. ------------------(1)
So, applying Sylvester’s theorem to equation (1) we get
rank B+ rank C <=e
Now for a connected graph
Rank B=e-n+1 .
Rank C <= n−1. ----------------------------(2)
 Combining equation (1) and (2)
 We get rank C=n-1
Sylvester Theorem
If A and B are matrices of order k×m and n×p respectively,
then nullity AB ≤ nullity A+ nullity B
 The rank of the cut set matrix is equal to the rank of the incidence
matrix A(G), which equals the rank of graph G.
 Soln..As if circuit matrix, the cut set matrix generally has many
redundant(or linearly dependent) rows, therefore we can define Cf
(fundamental cut set matrix).
 So Cf is n-1 by e sub matrix of C such that each row correspondent to
the set of fundamental cut set of some spanning tree.
so Cf = [Cc|In-1 ]
 Bf=[Iμ| Bf]
 Cf=[Cc|In-1]
Where t denotes the sub matrix corresponding to the branches of a
spanning tree.
And subscript c denote the sub matrix corresponding to the chords.
b c d a e f g h
1 0 0 1 0 0 0 0
0 1 0 0 1 0 0 0
0 0 1 0 0 1 0 0
0 1 1 0 0 0 1 0
0 0 0 0 0 0 0 1
Cf=
h e
a
b
f g
d
c
 Similarly we can partition the fundamental incidence matrix Af into two
sub matrices.
 Af=[Ac|At] where At consist of n-1 columns of branches and Ac with rest of
the sub matrix i.e. e-n+1 number of chords.
 Since the columns in Af and Bf are arranged in the same order, the
equation
 ABT =BAT = 0(mod 2) gives Af BT
f equivalent to 0(mod 2),
Iµ
 OR AC ⁞ At … is equivalent to 0(mod 2)
BT
f
 Ac +AtBT
f is equivalent to 0(mod 2).
 Since At is non singular, A−1
t exists. Now, multiplying both sides of
equation by A−1
t , we get
 A−1
t Ac +A−1
t AtBT
t is equivalent to 0(mod 2),
 or A−1
t Ac +BT
t is equivalent to 0(mod 2).
 Therefore, A−1
t Ac = −BT
t .
 Since in mod 2 arithmetic −1 = 1,
 BT
t = A−1
t Ac.
Af
0 0 1 0 0 1 0 0
0 0 0 0 1 1 1 1
0 0 0 0 0 0 0 1
1 1 0 1 1 0 0 0
0 1 1 0 0 0 1 0
Ac
At
1 0 0 0 0
0 1 0 1 0
0 0 1 1 0Bt
1 0 0
0 1 0
0 0 1
0 1 1
0 0 0
At
-1Ac= Hence At
-1Ac=Bt
T
 Now as the columns in Bf and Cf are arranged in the same order,
therefore
 (in mod 2 arithmetic) Cf . Bt
f is equivalent to 0(mod 2) in mod 2
arithmetic gives
 Cf .BT
f= 0. (as −1 = 1 in mod 2 arithmetic).
 Hence, Cc = A−1
t Ac
 We make the following observations from the above relations.
 1. If A or Af is given, we can construct Bf and Cf starting from an arbitrary
spanning tree and its sub matrix At in Af .
 2. If either Bf or Cf is given, we can construct the other. Therefore, since
Bf determines a graph within 2-isomorphism, so does Cf .
 3. If either Bf and Cf is given, then Af in general cannot be determined
completely.
Everything comes to earth with a lifespan . Choice is your’s ,
live it or waste it . If you waste , Please don’t blame God in
the END Game .
We are describe the following topic :
1. Need of a graph
2. Need of computer processing
3. Presentation of a graph with various properties
4. Observe their characteristics
Our topic is collected from the book
 “ GRAPH THEORY – BY NARSINGH DEO ”
“Matrix representation of Graph” – chapter 7 .
Beside of that book majority of our idea and concept comes
through Internet , links are as follows :
 math.com
 youtube.com
 wikipedia.org
 cs.cmu.edu
 nptel.ac.in
 quora.com
 cs.xu.edu
 "We can always find something to be thankful for, and there may be
reasons why we ought to be thankful for even those dispensations
which appear dark and frowning." - Albert Barnes
শুভ
শারদীযা

More Related Content

What's hot

Graph theory presentation
Graph theory presentationGraph theory presentation
Graph theory presentation
Aliul Kadir Akib
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
Ehsan Hamzei
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
nszakir
 
Graph in data structure
Graph in data structureGraph in data structure
Graph in data structure
Abrish06
 
Graph theory
Graph theoryGraph theory
Graph theory
Jeane Paguio
 
Graph data structure and algorithms
Graph data structure and algorithmsGraph data structure and algorithms
Graph data structure and algorithms
Anandhasilambarasan D
 
Hasse diagram
Hasse diagramHasse diagram
Hasse diagram
shresthadnes
 
Sub matrices - Circuit Matrix
Sub matrices - Circuit MatrixSub matrices - Circuit Matrix
Sub matrices - Circuit Matrix
AditiAgrawal588151
 
Graph Theory,Graph Terminologies,Planar Graph & Graph Colouring
Graph Theory,Graph Terminologies,Planar Graph & Graph ColouringGraph Theory,Graph Terminologies,Planar Graph & Graph Colouring
Graph Theory,Graph Terminologies,Planar Graph & Graph Colouring
Saurabh Kaushik
 
Asymptotic notations
Asymptotic notationsAsymptotic notations
Asymptotic notations
Nikhil Sharma
 
Introduction to Graph Theory
Introduction to Graph TheoryIntroduction to Graph Theory
Introduction to Graph Theory
Premsankar Chakkingal
 
introduction to graph theory
introduction to graph theoryintroduction to graph theory
introduction to graph theory
Chuckie Balbuena
 
graph theory
graph theorygraph theory
graph theory
Shashank Singh
 
Applications of graph theory
                      Applications of graph theory                      Applications of graph theory
Applications of graph theory
NilaNila16
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
Rashmi Bhat
 
Interesting applications of graph theory
Interesting applications of graph theoryInteresting applications of graph theory
Interesting applications of graph theory
Tech_MX
 
Applications of graphs
Applications of graphsApplications of graphs
Applications of graphs
Tech_MX
 
Context free grammar
Context free grammar Context free grammar
Context free grammar
Mohammad Ilyas Malik
 
Graph theory introduction - Samy
Graph theory  introduction - SamyGraph theory  introduction - Samy
Graph theory introduction - Samy
Mark Arokiasamy
 
Matrices in computer applications
Matrices in computer applicationsMatrices in computer applications
Matrices in computer applications
Rayyan777
 

What's hot (20)

Graph theory presentation
Graph theory presentationGraph theory presentation
Graph theory presentation
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Graph in data structure
Graph in data structureGraph in data structure
Graph in data structure
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Graph data structure and algorithms
Graph data structure and algorithmsGraph data structure and algorithms
Graph data structure and algorithms
 
Hasse diagram
Hasse diagramHasse diagram
Hasse diagram
 
Sub matrices - Circuit Matrix
Sub matrices - Circuit MatrixSub matrices - Circuit Matrix
Sub matrices - Circuit Matrix
 
Graph Theory,Graph Terminologies,Planar Graph & Graph Colouring
Graph Theory,Graph Terminologies,Planar Graph & Graph ColouringGraph Theory,Graph Terminologies,Planar Graph & Graph Colouring
Graph Theory,Graph Terminologies,Planar Graph & Graph Colouring
 
Asymptotic notations
Asymptotic notationsAsymptotic notations
Asymptotic notations
 
Introduction to Graph Theory
Introduction to Graph TheoryIntroduction to Graph Theory
Introduction to Graph Theory
 
introduction to graph theory
introduction to graph theoryintroduction to graph theory
introduction to graph theory
 
graph theory
graph theorygraph theory
graph theory
 
Applications of graph theory
                      Applications of graph theory                      Applications of graph theory
Applications of graph theory
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
 
Interesting applications of graph theory
Interesting applications of graph theoryInteresting applications of graph theory
Interesting applications of graph theory
 
Applications of graphs
Applications of graphsApplications of graphs
Applications of graphs
 
Context free grammar
Context free grammar Context free grammar
Context free grammar
 
Graph theory introduction - Samy
Graph theory  introduction - SamyGraph theory  introduction - Samy
Graph theory introduction - Samy
 
Matrices in computer applications
Matrices in computer applicationsMatrices in computer applications
Matrices in computer applications
 

Similar to Matrix representation of graph

Graphs
GraphsGraphs
Graphs
amudha arul
 
Elements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptxElements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptx
miki304759
 
09_DS_MCA_Graphs.pdf
09_DS_MCA_Graphs.pdf09_DS_MCA_Graphs.pdf
09_DS_MCA_Graphs.pdf
Prasanna David
 
Ppt of graph theory
Ppt of graph theoryPpt of graph theory
Ppt of graph theory
ArvindBorge
 
graph.pptx
graph.pptxgraph.pptx
graph.pptx
DEEPAK948083
 
graph_theory_1-11.pdf___________________
graph_theory_1-11.pdf___________________graph_theory_1-11.pdf___________________
graph_theory_1-11.pdf___________________
ssuser1989da
 
Cs6702 2marks rejinpaul
Cs6702 2marks rejinpaulCs6702 2marks rejinpaul
Cs6702 2marks rejinpaul
stalinjothi
 
Cs6702 GCC
Cs6702 GCCCs6702 GCC
Cs6702 GCC
stalinjothi
 
Unit 2: All
Unit 2: AllUnit 2: All
Unit 2: All
Hector Zenil
 
Graph representation
Graph representationGraph representation
Graph representation
DEEPIKA T
 
Graph-theory.ppt
Graph-theory.pptGraph-theory.ppt
Graph-theory.ppt
AlpaSinghRajput1
 
Graph.ppt
Graph.pptGraph.ppt
Graph.ppt
AlpaSinghRajput1
 
Dsa.PPT
Dsa.PPTDsa.PPT
Dsa.PPT
boltkat
 
chapter6.PPT
chapter6.PPTchapter6.PPT
chapter6.PPT
krish448427
 
Graph
GraphGraph
Graph in Data Structure
Graph in Data StructureGraph in Data Structure
Graph in Data Structure
Prof Ansari
 
CS-102 Data Structure lectures on Graphs
CS-102 Data Structure lectures on GraphsCS-102 Data Structure lectures on Graphs
CS-102 Data Structure lectures on Graphs
ssuser034ce1
 
CS-102 Data Structure lectures on Graphs
CS-102 Data Structure lectures on GraphsCS-102 Data Structure lectures on Graphs
CS-102 Data Structure lectures on Graphs
ssuser034ce1
 
Graph theory concepts complex networks presents-rouhollah nabati
Graph theory concepts   complex networks presents-rouhollah nabatiGraph theory concepts   complex networks presents-rouhollah nabati
Graph theory concepts complex networks presents-rouhollah nabati
nabati
 
Chap 6 Graph.ppt
Chap 6 Graph.pptChap 6 Graph.ppt
Chap 6 Graph.ppt
shashankbhadouria4
 

Similar to Matrix representation of graph (20)

Graphs
GraphsGraphs
Graphs
 
Elements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptxElements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptx
 
09_DS_MCA_Graphs.pdf
09_DS_MCA_Graphs.pdf09_DS_MCA_Graphs.pdf
09_DS_MCA_Graphs.pdf
 
Ppt of graph theory
Ppt of graph theoryPpt of graph theory
Ppt of graph theory
 
graph.pptx
graph.pptxgraph.pptx
graph.pptx
 
graph_theory_1-11.pdf___________________
graph_theory_1-11.pdf___________________graph_theory_1-11.pdf___________________
graph_theory_1-11.pdf___________________
 
Cs6702 2marks rejinpaul
Cs6702 2marks rejinpaulCs6702 2marks rejinpaul
Cs6702 2marks rejinpaul
 
Cs6702 GCC
Cs6702 GCCCs6702 GCC
Cs6702 GCC
 
Unit 2: All
Unit 2: AllUnit 2: All
Unit 2: All
 
Graph representation
Graph representationGraph representation
Graph representation
 
Graph-theory.ppt
Graph-theory.pptGraph-theory.ppt
Graph-theory.ppt
 
Graph.ppt
Graph.pptGraph.ppt
Graph.ppt
 
Dsa.PPT
Dsa.PPTDsa.PPT
Dsa.PPT
 
chapter6.PPT
chapter6.PPTchapter6.PPT
chapter6.PPT
 
Graph
GraphGraph
Graph
 
Graph in Data Structure
Graph in Data StructureGraph in Data Structure
Graph in Data Structure
 
CS-102 Data Structure lectures on Graphs
CS-102 Data Structure lectures on GraphsCS-102 Data Structure lectures on Graphs
CS-102 Data Structure lectures on Graphs
 
CS-102 Data Structure lectures on Graphs
CS-102 Data Structure lectures on GraphsCS-102 Data Structure lectures on Graphs
CS-102 Data Structure lectures on Graphs
 
Graph theory concepts complex networks presents-rouhollah nabati
Graph theory concepts   complex networks presents-rouhollah nabatiGraph theory concepts   complex networks presents-rouhollah nabati
Graph theory concepts complex networks presents-rouhollah nabati
 
Chap 6 Graph.ppt
Chap 6 Graph.pptChap 6 Graph.ppt
Chap 6 Graph.ppt
 

Recently uploaded

RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
NelTorrente
 

Recently uploaded (20)

RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...
 

Matrix representation of graph

  • 1. Created by , 1. Pathik De 2. Subhajit Pal 3. Biswanath Nag 4. Rounak Biswas
  • 2. A seminar performed by RPSBR , conducted by Sanchita ma’am .
  • 3.  Graph is a set of some dots (known as Vertex ) and some line which connect those dots (knows as Edge)  The basic need of graph a better understanding , broader meaning and easy to grab complexity  So we use Graphs to visually illustrate relationships in the data  This need further complicated  Graph stands as backbone of many real world problem  Such as network flow problem
  • 4. Situation comes where we need a better way out to convert the graphical notation into digital or algorithmic format This need creates the area of this topic . { MATRIX REPRESENTAION OF GRAPH } . The mechanism of this representation should be effective , efficient and easy to use Because we are all face a problem of limited resources
  • 5. The general idea is that the visual graph can’t be used in a system for work The increasing no of complexity can not anymore operable with pen and paper manner The demand of graph in various sector Various operation performed on the graph Want a efficient output quickly
  • 6. As matrix is widely used in mechanical manipulations Also it has efficient to define operation with various operators Various previously solved properties also helps a lot Most important , Matrix is convenient for defining graph So this chapter is all about  Formation of matrix  Different kind of observation on that matrix
  • 7. Some general properties should be kept in mind . Followings are the terms that we will carry out in the whole presentation So its good to remember those things : 1) Incidence 2) Adjacent 3) Degree 4) Walk ,Path , Circuit 5) Fundamental Circuit 6) Cut set 7) Spanning tree 8) Rank and Nullity 9) Ring Sum operation 10) Isomorphism
  • 8.  Each edge has two end points / vertex (Self loop contains one).  For ex , E1 as two end points {A,B} . There A and B are called INCIDENT with respect to E1 edge . A B C D E1 E2 E3 E4 E5 E6  Two end points of an edge are called ADJACENT to each other  For ex , node A and D are said to adjacent  The total count of incident , is known as DEGREE of a graph (Self loop counts 2 )  For ex , Degree(A) = 3 and Degree(B)=4  IN A GRAPH , WE USE :  V- VERTEX SET ; E – EDGE SET
  • 9. While traversing a graph , walk is An alternating sequence of vertex and edge ;  Edge repetition is not allowed For ex , A-E2-C-E4-D-E5-A-E1-B Path is a type of open walk  Vertex repetition is not allowed For ex , A-E2-C-E4-D Circuit is a kind of closed walk  Node repetition is allowed for only start node For ex , A-E2-C-E4-D-E5-A A B C D E1 E2 E3 E4 E5 E6
  • 10.  In a connected graph G , Spanning tree is a subgraph  Which contains all vertices of G  Gives a minimal edge connected subgraph  Edges of the spanning tree , called Branch  Others are known as Chord .  For ex , G” is a spanning tree .  Brunch = n-1 = 4-1=3  Chord = e-n+1= 6-4+1 = 3  Chords equipped a interesting property A B C D E1 E2 E3 E4 E5 E6 A B C D E3 E4 E1 G G”
  • 11. With a given Spanning tree and its chord .  A circuit formed ,introducing every single chord .  Those circuits are known as Fundamental circuits .  For ex , Spanning tree of the graph is - E4 E5 E6 E3 E2 E1 E7 E1 G G”  Now G” is spanning tree of G  In G :– v = 5 , e =7  In G”: – v = 5 ,  Brunch = 4 & Chord = 3  Chords are { E3 , E6 , E2 }
  • 13.  Those two term comes from general observations  The no of component ‘k’ never cross ‘n’  So , n ≥ 𝑘  Rank = n-k  Another , The no of edge ‘e’ is never less than ‘n’  So e ≥ n = e ≥ n - k  Here , Nullity = e – n + k  For ex , for the above graph ‘G’  Rank = 4-2=2  Nullity = 4-4+2 = 2  Think , For connected Graph  Rank = Branch and Nullity = Chord  So , Total edge = Rank + Nullity A B C D E1 E2 E3 E4 G E F
  • 14. It’s a set which contains edge , such that Whose removal make the graph disconnected Also point that the set must be minimal So, no further sub-set obtain from the cut set In the ex , set {E1 , E5 , E6 , E3} is a cut set , Observed that no proper subset is Cut set . A D E C B E1 E2 E3 E4 E5 E6 E7 E8
  • 15.  Drawing of the graph is not fix  So , there are multiple view of a single graph  Need rules for detect two same graph  If match found , two are called Isomorphic  Two graphs are isomorphism , if  No of edge in both graph same  No of vertex same  Adjacency relation holds  For ex , Following two are isomorphic in nature .
  • 16.  A graph operation act as follows :  Let G1 G2 be two graph , with {V1,E1} , {V2,E2} respectively  Then G3 = Ring_Sum(G1,G2) ,As  V3 = V1 ∪ V2  E3 = Either in E1 or in E2 , but not in both  For ex , A B A E D C B D F C E1 E2 E3 E4 E5 E2E1 A B C D E FG1 G2 G3 m
  • 17.
  • 18.  With a given graph G , Adjacency or connection matrix is a n by n symmetric binary matrix .  Consider graph has no parallel edge and self loop , because those are not carry redundant information .  Then each element of the graph define as ,  Xi,j = 1 if ith and jth vertex are end point of an edge .  Else = 0
  • 19. A D E C B 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 A B C D E A B C D E
  • 20.  All entity in principal diagonal is 0 , iff the graph has no self loop A D E C B 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 A B C D E A B C D E
  • 21.  A graph with no parallel edge and self loop  In its adjacent matrix , degree of a vertex define by no of 1 in row or column . A D E C B 0 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 1 0 1 0 A B C D E A B C D E Degree of A - 3
  • 22.  Permutation of any two row and equivalent column gives us Two isomorphic graph 0 1 1 0 1 0 1 0 1 1 0 1 0 0 1 0 A B C D A B C D 0 0 1 1 1 0 1 0 1 1 0 1 0 0 1 0 A B C D A B C D A DC B
  • 23. 0 0 1 1 1 0 1 0 1 1 0 1 0 0 1 0 A B C D A B C D 0 0 1 1 0 0 1 0 1 1 0 1 1 0 1 0 A B C D A B C D A DC B
  • 25.  Let G be a disconnected graph  g1 and g2 be two component  The adjacency matrix A partitioned as follows : X(G) = X(g1) X(g2)0 0  Where X(g1) and X(g2) are adjacent matrix of component g1 and g2 respectively
  • 26. A G FE CD B 0 1 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 1 0 0 0 0 1 0 1 A B C D E F G A B C D E F G
  • 27. & Change in character : (Part 2 …)
  • 28. Let G be a graph with n vertices and e edges. And there is no self-loop. The incidence matrix A (G) is an v × e matrix= [a i j ] Whose n rows correspond to the v vertices and e columns correspond to the e edges The Matrix element , a i j =1 ,if edge e j is incident on vertices vi =0 , otherwise Incidence Matrix
  • 29. v1 v3 v5v2 v6 v4 e1 e2 e6 e4 e3 e5 G e1 e2 e3 e4 e5 e6 V1 V2 V3 V4 V5 V6 1 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 A(G)
  • 30. OBSERVATIONS :- 1. Since every edge is incident on exactly two vertices, each column of A has exactly Two 1’s. v1 v3 v5 v2 v6 v4 e1 e2 e6 e4 e3 e5 G e1 e2 e3 e4 e5 e6 V1 V2 V3 V4 V5 V6 1 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 A(G)
  • 31. 2. The number of 1’s in each row equals the degree of the corresponding vertex v1 v3 v5 v2 v6 v4 e1 e2 e6 e4 e3 e5 G e1 e2 e3 e4 e5 e6 V1 V2 V3 V4 V5 V6 1 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 A(G) 2
  • 32. 3. A row with all zeros represents an isolated vertex. v1 v3 v5v2 v6 v4 e1 e2 e6 e4 e3 e5 G e1 e2 e3 e4 e5 e6 1 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 V1 V2 V3 V4 V5 V6
  • 33. 4. Parallel edges in a graph produce identical columns in its incidence matrix. v1 v3 v5v2 v6 v4 e1 e2 e6 e4 e3 G e1 e2 e3 e4 e5 e6 1 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 1 1 0 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 A(G) e5
  • 34. 5. If a graph is disconnected and consists of two components g1and g2 the incidence matrix A(G) of graph G can be written in a block diagonal form as A(G) A(g1) 0 0 A(g2) Where A(g1) and A(g2) are the incidence matrices of components g1 and g2. This observation results the fact that no edge in g1 incident on vertices of g2 ,and vice versa Obviously this remarks is also true for a disconnected graph with any number of components. Take an example to understand this property
  • 35. g1 g2 v1 v3 v2 e3 e2 e1 e4 V4 V5 e1 e2 e3 e4 e5 V1 V2 V3 V4 V5 1 0 1 0 0 1 1 0 0 0 0 1 1 0 0 0 0 0 1 1 0 0 0 1 1 A(G) A(g1) 0 0 A(g2) G No edge in g1 incident on vertices of g2 and vice versa .
  • 36. 6.Permutation of any two rows or columns in an incidence matrix simply corresponds to relabelling the vertices and edges of the same graph v1 v3 v2 e3 e2 e1 e1 e2 e3 V1 V2 V3 1 0 1 1 1 0 0 1 1 e1 e2 e3 V3 V2 V1 0 1 1 1 1 0 1 0 1
  • 37. Path Matrix A path matrix is defined for a specific pair of vertices in a graph ,say (x , y) And is written as P(x ,y). And The rows in P(x,y) correspond the different paths between vertices x & y and columns correspond to the edges in G. The path matrix for (x,y) vertices is P(x,y)=[pij ] Pij = 1 if jth edge lies in ith path = 0 , otherwise.
  • 38. v1 v3 v2 v4 e1 e2 e4 e3 G = e5 e1 e2 e3 e4 e5 1 1 1 0 0 0 0 0 0 0 1 0 0 1 1 0 P(v1 ,v3 ) = v1 v2 e1 v3 e2 v1 v3 e5 v1 v3v4 e4 e3 1 2 3 2 3
  • 39. OBSERVATIONS 1. A column of all zeros corresponds to an edge that does not lie in any path between x and y. v1 v3 v2 v4 e1 e2 e4 e3 e5 v5 e1 e2 e3 e4 e5 e6 1 1 1 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 P(v1 ,v3 ) 2 3 e6
  • 40. 2. A column of all ones corresponds to an edge that lies in every path between x and y. v1 v3 v2 v4 e1 e2 e4 e3 e5 v5 e1 e2 e3 e4 e5 e6 1 1 1 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 1 P(v5 ,v3 ) 2 3 e6
  • 41. 3. There is no row with all zeros. v1 v3 v2 v4 e1 e2 e4 e3 e5 v5 e1 e2 e3 e4 e5 e6 1 1 1 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 1 P(v5 ,v3 ) 2 3 e6 There is no edge in that path. But it is not possible to make path without any edge
  • 42. 4. The ring sum of any two rows in P(x, y) corresponds to a circuit v1 v3 v2 v4 e1 e2 e4 e3 e5 v5 e1 e2 e3 e4 e5 e6 1 1 1 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 1 P(v5 ,v3 ) 2 3 e6 1 3 v1 v3 v2 v4 e1 e2 e4 e3 e1 1 e2 1 e3 1 e4 1 e5 0 e6 0
  • 43. Journey of life is a Circuit , two path to archive the Goal . Choose wisely . ( Part 3 begins …)
  • 44. Like adjacency or incident matrix , it is an another way of representing a graph. It is a circuit x edge matrix .From this matrix we can identify which edge is belonged to which circuit of a graph Formal defination:- Let q be the total number of circuits of graph G(V,E) and the number of edges in G is e . Then the circuit matrix of the graph G , B(G) =[bi j ] is a q x e matrix defined as follows bi j =1 , if ith circuit includes jth edge , and =0 ,otherwise
  • 45. e1 e2 e3 e4 e5 e6 circuit matrix e4 e6e1 e2 e3 e5 (e1 e2 e3 ) 0 0 1 1 1 1 (e1 e2 e4 e5 e6 ) ( e3 e4 e5 e6 ) 1 1 1 0 0 0 1 1 0 1 1 1 e1 e2 e3 e3 e4 e5 e6 e1 e2 e4 e5 e6 G(V,E) (e1 e2 e3 ) ( e3 e4 e5 e6 ) (e1 e2 e4 e5 e6 ) B(G) (Circuit matrix of G )
  • 46. OBSERVATIONS Circuit matrix 1. A column of all zeros corresponds to a non-circuit edge (i.e., a n edge that does not belong to any circuit). e1 e2 e3 e4 e6 G(V,E) e4 e6e1 e2 e3 e7e5 (e1 e2 e3 ) 0 0 1 1 1 1 0 (e1 e2 e4 e5 e6 ) ( e3 e4 e5 e6 ) 1 1 1 0 0 0 0 1 1 0 1 1 1 0 B(G) (Circuit matrix of G ) e5 e7
  • 47. circuit matrix 2.Unlike the incidence matrix, a circuit matrix is capable of representing a self-loop-the corresponding row will have a single 1. e1 e2 e3 e4 e5 e6 G 1(V,E) e4 e6e1 e2 e3 e5 (e1 e2 e3 ) 0 0 1 1 1 1 (e1 e2 e4 e5 e6 ) ( e3 e4 e5 e6 ) 1 1 1 0 0 0 1 1 0 1 1 1 B(G) e1 e2 e3 e4 e5 e6 G(V,E) e7 e4 e6e1 e2 e3 e7 e5 (e1 e2 e3 ) 0 0 1 1 1 1 0 (e1 e2 e4 e5 e6 ) ( e3 e4 e5 e6 ) 1 1 1 0 0 0 0 1 1 0 1 1 1 0 B(G1 ) (e7 ) 0 0 0 0 0 0 1
  • 48. circuit matrix 4. The number of 1's in a row is equal to the number of edges in the corresponding circuit. e1 e2 e3 e4 e5 e6 G(V,E) e4 e6e1 e2 e3 e5 (e1 e2 e3 ) 0 0 1 1 1 1 ( e3 e4 e5 e6 ) 1 1 1 0 0 0 1 B(G) (Circuit matrix of G ) ( e1e2 e4 e5 e6) 0 11 11
  • 49. circuit matrix 4. If graph G is separable (or disconnected) and consists of two blocks (or components) g1 and g2 , then circuit matrix B(G) can be written in a block- diagonal form as where B(g1) and B(g2) are the circuit matrices of g1 and g2. This observation results from the fact that the circuits in g1 have no edges belonging to g2 and vice versa. Take an example to understand this property in better way
  • 50. e1 e2 e3 e4 e5 e6 g1 e7 e8 e9 e10 e11 g2 e4 e6e1 e2 e3 e5 (e1 e2 e3 ) 0 0 1 1 1 1 0 0 0 0 0 (e1 e2 e4 e5 e6 ) ( e3 e4 e5 e6 ) 1 1 1 0 0 0 0 0 0 0 0 1 1 0 1 1 1 0 0 0 0 0 e7 e8 e9 e10 e11 (e7 e8 e9 e10 ) ( e8 e9 e11 ) (e7 e10 e11 ) 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 1 0 0 1 1 B(G) G
  • 51. e4 e6e1 e2 e3 e5 (e1 e2 e3 ) 0 0 1 1 1 1 0 0 0 0 0 ( e3 e4 e5 e6 ) 1 1 0 1 1 1 0 0 0 0 0 e7 e8 e9 e10 e11 ( e8 e9 e11 ) (e7 e10 e11 ) 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 (e1 e2 e4 e5 e6 ) 0 1 1 0 1 B(g1) 0 0 B(g2) The circuits in g1 have no edges belonging to g2 and vice versa. (e7 e8 e9 e10 )
  • 52. 5. Permutation of any rows or columns in circuit matrix simply corresponds to relabeling the circuits and edges e4 e6e1 e2 e3 e5 (e1 e2 e3 ) 0 0 1 1 1 1 (e1 e2 e4 e5 e6 ) ( e3 e4 e5 e6 ) 1 1 1 0 0 0 1 1 0 1 1 1 e4 e6e1 e5 e3 e2 (e1 e2 e3 ) 0 1 1 1 0 1 (e1 e2 e4 e5 e6 ) ( e3 e4 e5 e6 ) 1 0 1 0 1 0 1 1 0 1 1 1
  • 53. circuit matrix Relationship between Incident matrix (A) and circuit matrix (B) of a self-loop free graph G ● Let A and B be ,respectively ,the circuit matrix and the incident matrix (of a self-loop free graph) whose columns are arranged using same order of edges. Then every row of A orthogonal to every row of B ; That is A . BT = B . AT = 0 (mod 2) e1 e2 e3 e4 e5 e6 G(V,E) e1 e2 e3 e4 e5 e6 V1 V2 V3 V4 V5 1 1 0 0 0 0 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1 0 1 0 O 1 V1 V2 V3 V4 V5 e4 e6e1 e2 e3 e5 (e1 e2 e3 ) 0 0 1 1 1 1( e3 e4 e5 e6 ) 1 1 1 0 0 0 1 1 0 1 1 1 B(G) (Circuit matrix of G ) (e1 e2 e4 e5 e6 ) A(G)( Incidence matrix of G)
  • 54. 1 1 0 0 0 0 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 1 0 1 0 O 1 A . 1 0 1 1 0 1 0 1 1 1 1 0 1 1 0 1 1 0 2 0 2 2 2 2 2 2 0 2 2 0 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (mod 2) BT
  • 55. Now, if we know only the fundamental circuits of a graph ,then we easily find out all other non –fundamental circuits by applying ring sums( i.e. linear combinations) of those fundamental circuits . Rank of a matrix:- Rank of a matrix in defined as the order of largest square matrix whose determinate is not zero Fundamental circuit matrix (Bf):- A sub-matrix (of a circuit matrix ,B) in which all rows correspond to a set of all fundamental circuits. ● It is a (e-n+k)(fundamental circuit or chord) by e matrix as total chord is (e-n+k) and each chord make a fundamental circuit. ●As in matrix B, permutations of rows (and/or of columns) of Bf do not affect
  • 57. e1 e3e5 e6 e 7 e2 e4 e4 e6e1 e2 e3 e7e5 v1 v3 v4 v2 v5 (e1 e2 e4 e7 ) (e3 e4 e7 ) (e5 e6 e7) 1 1 0 1 0 0 1 0 0 1 1 0 0 1 0 0 0 0 1 1 1 circuit matrix Rank of a matrix is defined as the order of largest square sub- matrix whose determinate is not zero.
  • 58. circuit matrix Rearrange rows and columns of Bf:- ●Arrange the columns in Bf such that all the (e -n + 1) chords correspond to the first (e - n + 1) columns. ●Furthermore, Rearrange the rows such that the first row corresponds to the fundamental circuit made by the chord in the first column, the second row to the fundamental circuit made by the second, and so on.
  • 59. e1 e3e5 e6 e 7 e2 e4 e4 e6e1 e2 e3 e7 e5 v1 v3 v4 v2 v5 (e1 e2 e4 e7 ) (e3 e4 e7 ) (e5 e6 e7 ) 1 1 0 1 0 0 1 0 0 1 1 0 0 1 0 0 0 0 1 1 1 e1 e5e2 e3 e6 e7 e4 (e3 e4 e7 ) (e5 e6 e7 ) 1 0 0 1 1 0 1 0 1 0 0 1 0 1 0 0 1 0 0 1 1 (e1 e2 e4 e7 ) [ Bf ] circuit matrix
  • 60. circuit matrix We can write matrix Bf (arranged) can be written as, Bf = [Iµ Bt ] ● Iµ is an identity matrix of order µ = e - n +1 , ● Bt is the remaining µ by (n - I) sub-matrix, corresponding to the branches of the spanning tree. e1 e5e2 e3 e6 e7e4 (e3 e4 e7 ) (e5 e6 e7 ) 0 0 1 0 0 1 1 0 1 0 0 1 0 1 1 0 0 1 1 0 1 (e1 e2 e4 e7 ) Bf =[ Iµ Bt ] Here Iµ is the largest square(3 x 3) sub-matrix . Iµ is an identity matrix whose determinate is always 1 t.e. non-zero Rank of Bf is 3 ● the rank of Bf= µ = e - n + I. ● Since Bf is a sub-matrix of the circuit matrix B, then , rank of Circuit matrix(B) ≥ e - n + I.
  • 61. Calculate the cut set of friends . Place them in your heart and others ; leave in past |( Chapter 4 begins … )
  • 62.  Let G be a graph with m edges and q cut-sets. The cut-set matrix C = [ci j]q×m of G is a (0,1)-matrix with 1 , if ith cut set contains jth edge 0 , else Ci,j=
  • 63. a b c d f e c7 c5 e1 e2 c6 c1 e8 c8 e6 e5 e7 e3 e4 c4 c3 c2 C(G1)= c1 c2 c3 c4 c5 c6 c7 c8 e1 e2 e3 e4 e5 e6 e7 e8 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 1 1 0 0 0 0 1 0 1 0 00 0 1 1 0 0 1 0 0 0 0 1 1 0 1 0
  • 64.  The permutation of rows or columns corresponds simply renaming of the cut-sets and edges respectively. c1 c2 c3 c4 c5 c6 c7 c8 e1 e2 e3 e4 e5 e6 e7 e8 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 1 1 0 0 0 0 1 0 1 0 00 0 1 1 0 0 1 0 0 0 0 1 1 0 1 0 C(G1)= a b c d f e c7 c5 e1 e2 c6 c1 e8 c8 e6 e5 e7 e3 e4 c4 c3 c2
  • 65.  Column with all zeros corresponds to an edge forming a self-loop. a b c d f e c7 c5 e1 e2 c6 c1 e8 c8 e6 e5 e7 e3 e4 c2e9 C(G1)= c1 c2 c3 c4 c5 c6 c7 c8 e1 e2 e3 e4 e5 e6 e7 e8 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 1 1 0 0 0 0 1 0 1 0 00 0 1 1 0 0 1 0 0 0 0 1 1 0 1 0 e9 0 0 0 0 0 0 0 0
  • 66.  Parallel edges form identical columns in the cut-set matrix. a b c d f e c7 c5 e1 e2 c6 c1 e8 c8 e6 e5 e7 e3 e4 c4 c3 C(G1)= c1 c2 c3 c4 c5 c6 c7 c8 e1 e2 e3 e4 e5 e6 e7 e8 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 1 1 0 0 0 0 1 0 1 0 00 0 1 1 0 0 1 0 0 0 0 1 1 0 1 0
  • 67.  In non separable graph  Since every set of edges incident on a vertex is a cut-set  Therefore every row of incidence matrix A(G) is included as a row in the cut-set matrix C(G).  So C(G) contains A(G)
  • 68.  For non separable graph  The incidence matrix of each block is contained in the cut-set matrix.  Ex. In the graph the incidence matrix of the block {e3,e4,e5,e6,e7} is 4X5 submatrix of C, left after deleting row c1,c2,c5,c8 and columns e1,e2,e8. a b c d f e c7 c5 e1 e2 c6 c1 e8 c8 e6 e5 e7 e3 e4 c4 c3 c2 C(G1)= c1 c2 c3 c4 c5 c6 c7 c8 e1 e2 e3 e4 e5 e6 e7 e8 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 1 1 0 0 0 1 0 0 1 1 0 0 0 0 1 0 1 0 00 0 1 1 0 0 1 0 0 0 0 1 1 0 1 0
  • 69.  Since the number of edges common to a cut set and circuit is always even ,each row in C is orthogonal to every row is B, provided the edge in both B and C are arranged in same order. In other words B.CT=C.BT=0 (mod 2)
  • 70.  From the last observation we can conclude that -  The rank C(G)>= rank A(G)  Therefore for connected graph of n vertices  Rank C(G) >= n−1. ------------------(1)
  • 71. So, applying Sylvester’s theorem to equation (1) we get rank B+ rank C <=e Now for a connected graph Rank B=e-n+1 . Rank C <= n−1. ----------------------------(2)  Combining equation (1) and (2)  We get rank C=n-1 Sylvester Theorem If A and B are matrices of order k×m and n×p respectively, then nullity AB ≤ nullity A+ nullity B
  • 72.  The rank of the cut set matrix is equal to the rank of the incidence matrix A(G), which equals the rank of graph G.  Soln..As if circuit matrix, the cut set matrix generally has many redundant(or linearly dependent) rows, therefore we can define Cf (fundamental cut set matrix).  So Cf is n-1 by e sub matrix of C such that each row correspondent to the set of fundamental cut set of some spanning tree. so Cf = [Cc|In-1 ]
  • 73.  Bf=[Iμ| Bf]  Cf=[Cc|In-1] Where t denotes the sub matrix corresponding to the branches of a spanning tree. And subscript c denote the sub matrix corresponding to the chords. b c d a e f g h 1 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 1 Cf= h e a b f g d c
  • 74.  Similarly we can partition the fundamental incidence matrix Af into two sub matrices.  Af=[Ac|At] where At consist of n-1 columns of branches and Ac with rest of the sub matrix i.e. e-n+1 number of chords.  Since the columns in Af and Bf are arranged in the same order, the equation  ABT =BAT = 0(mod 2) gives Af BT f equivalent to 0(mod 2), Iµ  OR AC ⁞ At … is equivalent to 0(mod 2) BT f  Ac +AtBT f is equivalent to 0(mod 2).
  • 75.  Since At is non singular, A−1 t exists. Now, multiplying both sides of equation by A−1 t , we get  A−1 t Ac +A−1 t AtBT t is equivalent to 0(mod 2),  or A−1 t Ac +BT t is equivalent to 0(mod 2).  Therefore, A−1 t Ac = −BT t .  Since in mod 2 arithmetic −1 = 1,  BT t = A−1 t Ac. Af 0 0 1 0 0 1 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 1 1 1 0 1 1 0 0 0 0 1 1 0 0 0 1 0 Ac At 1 0 0 0 0 0 1 0 1 0 0 0 1 1 0Bt 1 0 0 0 1 0 0 0 1 0 1 1 0 0 0 At -1Ac= Hence At -1Ac=Bt T
  • 76.  Now as the columns in Bf and Cf are arranged in the same order, therefore  (in mod 2 arithmetic) Cf . Bt f is equivalent to 0(mod 2) in mod 2 arithmetic gives  Cf .BT f= 0. (as −1 = 1 in mod 2 arithmetic).  Hence, Cc = A−1 t Ac
  • 77.  We make the following observations from the above relations.  1. If A or Af is given, we can construct Bf and Cf starting from an arbitrary spanning tree and its sub matrix At in Af .  2. If either Bf or Cf is given, we can construct the other. Therefore, since Bf determines a graph within 2-isomorphism, so does Cf .  3. If either Bf and Cf is given, then Af in general cannot be determined completely.
  • 78. Everything comes to earth with a lifespan . Choice is your’s , live it or waste it . If you waste , Please don’t blame God in the END Game .
  • 79. We are describe the following topic : 1. Need of a graph 2. Need of computer processing 3. Presentation of a graph with various properties 4. Observe their characteristics
  • 80. Our topic is collected from the book  “ GRAPH THEORY – BY NARSINGH DEO ” “Matrix representation of Graph” – chapter 7 .
  • 81. Beside of that book majority of our idea and concept comes through Internet , links are as follows :  math.com  youtube.com  wikipedia.org  cs.cmu.edu  nptel.ac.in  quora.com  cs.xu.edu
  • 82.  "We can always find something to be thankful for, and there may be reasons why we ought to be thankful for even those dispensations which appear dark and frowning." - Albert Barnes