Professional Documents
Culture Documents
Elements of Graph Theory
Elements of Graph Theory
2 3 4
(2) (5) (2) (5) (2) (5)
6) (1) 3/ (6) (1) (6)
node. In Fig. 6.1, branches (2), (3), and (5) are incident at node 3.
6.3. INCIDENCE MATRIX
A graph is completely defined by specifying which branches are incident at which nodes
and with what orientations. This information is given in a matrix form, referred to as the incidence
matrix. The complete incidence matris, denoted by [A,l. of graph having n number of nodes and b
108
Elements of Graph Theory and Network Applications 109
matrix. The complete incidence matrix, denoted by [A,]. of a graph havingn number of nodes and
b number of branches is a rectangular matrix of order n xb. The elements a, of this matrix have
the following values
a 1, if branch (j) is incident at node i and is oriented away from node i,
= - 1, if branch ( ) is incident at node i and is oriented towards node i,
The complete incidence matrix [A] of the graph of Fig. 6.1 (c) is shown below
Nodes Branches
-10
0 1 -1
-10
[A =
0 1
-1
Therefore, the number of all possible trees of the graph of Fig. 6.1 (c) is
01
1 0 -1 0 0 -1||
|-1 0
det -1 101 0 0 1 0
0 -1 1 0 1 0|| 0
110 Fundamentals of Electric Circuit Theory
3 -I -11
= det-1 3 -1 =3x8+1x(-4)-1x4 = 16.
-1 -1 3
6.4. TIE-SET MATRIX
Let us choose a tree of a graph. The links placed one at a time, form loops which are called
fundamental circuits or fcircuits. A set of branches forming a loop is called a tie-set. The
orientation of the link coincides with the chosen direction of the associated loop current, i.e., the
fcircuit current. If b is the number of branches and n is the number of nodes in a graph, the
number of f-circuits will be equal to the number of links, i.e., b, = b -n + 1.
The tie-set matrix [B] is a rectangular matrix having b number of columns and b, number
ofrows. Its elements b, have the following values;
b 1, if branch () is in loop j and their orientations are the same
- 1 , if branch (i) is in loop j and orientations differ.
0, if branch (G) is not in loop j. (4)
Let the chosen tree of the graph of Fig. 6.1 (c) be as shown
in Fig. 6.2, the twigs being shown by solid lines. Here b = 66 2e
and n = 4, so that the number of links, shown by dashed lines,
is b, = 6 -4 + l =3. The current orientations of the fcircuits
are shown by curved arrows in Fig. 6.2. The f-circuits are
numbered according to the associated links. Thus, the f-circuit 6)
formed by link (1) in Fig. 6.2 is designated fcircuit 1: The
branches constituting f-circuit 1, taken in sequence with the
link first, are (1), (2), and (3). We write Fig. 6.2. Tree and f-circuits
Scircuit 1 : [1, 2, 3] of the graph of Fig. 6.1 (c).
f-circuits Branches
1 0 0]
1 0 -1
4
s o 10
0
which gives
-Is + l is ls, and i, =ls =
b
byv, =0 (i=1, 2, , b)
jl
where b the elements of the tie-set matrix [B], b being the
are
Fig. 6.3. Branch having a
number of branches. The set of b, KVL equations can be written voltage source.
in matrix form
B]v] = 0 ..6.2)
where
in branchj having impedance Z, and carrying current i, (see
If there is a voltage source v,
Fig. 6.3), then
1 , 2, .., b)
In matrix form
Z 0 0 [i1|
V2 0 Z2 0
V
mutual coupling between the branches, as may be
The Z-matrix is diagonal. If there is
this matrix is no longer diagonal and we write
brought about by mutual inductances,
Z1 Z12 Z Vs
Z21 Z2 .Z2b
... Zpb
or, in compact form
.6.3)
and (6.3), obtain
Using Eqs. (6.2) we
1)
number of rows. Its elements 9 are defined as follows
1 , if branch G) is in f-cutset i and the orientation of branch (j)coincides
with the orientation of f-cutsett i.
1, if branch (j) is in f-cutset i and the orientation of branch
= -
For the f-cutset 1, the entry in [Q1 for the twig (1) in Fig. 6.4 is
+1, since the orientation
of the f-cutset 1 coincides with the orientation of twig 1. The for
entry branch (3) is 1 as the -
orientation of branch (3) is opposite to that of the fcutset 1, i.e., twig (1): branch (3) goes into
Elements of Graph Theory and Network Applications 113
the surface C while twig (1) goes out of the surface C. Similarly, the other entries in 1Q] can be
explained.
The cutset matrix [Q] allows us to determine the branch voltages from the twig voltages. If
v is the branch voltage matrix. [V,] is the twig voltage matrix, and 1Q1 is the transpose of
the f-cutset matrix [Q]. then
.(6.5)
For the tree of Fig. 6.4, Eq. (6.5) can be written as
0 0
V
0 0
-1 -1 0
V'4 -1 0 -1
V
-1 -1-1
0
This gives
V= Vi. V2 = V2, V'z = - V, - V2» V, = - V, - V, Vs = - V - Vs - Vs» and v, = V
Kirchhoff's current law (KCL) equations can be written using the cutset matrix [Q1. If i, is
the current in branch k, then the KCL equation for a node is Ei, = 0; the summation is taken
over all the branches incident at the node. Taking one node as the reference or the datum node,
there are (n - 1) number of KCL equations, one for each of the other nodes.
yij = 1, 2, .. b
where v, is the branch voltage.
Fig. 6.5. Branch with input
In matrix form
current source.
li,) = va] v , ] - i,]
(6.7)
where the matrix ly,] may be diagonal when there is no mutual inductance; otherwise it is not
diagonal.
Using Eqs. (6.6) and (6.7) we get
1Q1 lil = 0 = Q1 y,l y,l - lQ1 1
...(6.8)
This isthe KCL equation in matrix form and represents a set of (n - ) number of node pair
equations. These equations can be solved for the tree branch voltages. The matrix y] [Qly,l =
Q1is called the node-pair-admittance matrix. For a passive reciprocal network, [y,] is symmetrical.
Note. The KCL equations can also be wrilten in terms of the reduced incidence
matrix [A
With one node as the reference, the branch
voltage matrix [v,] can be written in terms of the
node voltage matrix [V,] as
l = 1A]' IV,
..6.9)
114 Fundamentals of Electric Circuit Theory
=
[A] y»l [A]" [V,] 6.11)
which may be solved for the node voltages. The matrix
b) = [A] b,) [A]"
is called the node-admitiance matrix. For a passive reciprocal network, the matrix y,] is symmetrical
Equation (6.11) represents a set of (n - 1) number of equations, called the node equations.
R Ra R R2
-
(a) (b)
Fig. 6.6. (a) A network with unaccompanied sources, (6) conversion of the unaccompanied
sources into accompanied ones.
or B] v]=0 =[B] |Z,1 li,l-[B] [»]+(B] (Z,] Fig. 6.7. A general branch.
where Eq. (6.2) has been used. Also using Eq. (6.1) we have
B] (Z,] [B1 ] = [B] [v,]- [B] [Z,] liJ
(6.131
or Z =
[B] »] -[B] (Z,) i,]
Elements of Graph Theory and Network Applications 115
KVL
where [Z,= [B] [Z,) [B]' is the loop-impedance matrix. Equation (6.13) is the generalised
equation.
Writing y, = 1/Z, we obtain from Eq. (6.12)
Nodes Branches
3 - 1 0
4 +1 +1 0 0 0
First draw the 4 nodes (Fig. 6.8). Consider branch (1). It is obvious
from the complete incidence matrix that this branch leaves from node
4 and ends at node 3. Hence connect nodes 4 and 3 by a line with the (1) 5)
arrowhead pointing towards node 3, and call it branch (1) [Fig. 6.8].
Similarly, other oriented branches are drawn to obtain the graph.
2. How many trees are possible for the graph of the network of
Fig. 6.9? Draw the trees. (2) 3)
Ans. To draw the graph, sources are replaced by their internal
(4)
impedances and the network elements are replaced by lines. As the 1
Fig. 6.8
116 Fundamentals of Electric Circuit Theory
internal impedance of an ideal voltage source is zero, the voltage source v is replaced by a shorn
circuit. As the internal impedance of an ideal current source is infinite, the current source i is
replaced by an open circuit. There are three nodes and four branches, so that the graph of the
network is as shown in Fig. 6.10.
The complete incidence matrix is:
Nodes Branches
[A]= L 0 10
-1 1
0.
2 (2)
www.
(3)
(1)
1
Fig. 6.9 Fig. 6.10
The number of possible trees is
1 0 -1 1 [1 -1]
det {[A][A}} =det -1 0
-1 1 0 o
0
= det 3 =6-1=5.
1
Fig. 6.11
3. For the network of Fig. 6.12, write the tie-set matrix and determine the KVL equations.
Calculate the loop currents.
Ans. The oriented graph with a possible tree is shown in Fig. 6.13, the twigs being shown
as solid lines and the links as dashed lines.
The tie-set matrix is
Elements of Graph Theory and Network Applications 117
fcircuits Branches
1) (2 (4) (5) (6)
0 1
2 [B] = 0 0 0
3
(1)
/ 2Q D
B
w (5) (6)
B 3)
Fig. 6.12 Fig.6.13
10 0 07
Here [B]Iv,]=|0 1 0 -10-1
001 0 -11
i0 0 0 0 0
0 1 0 0 0 0
[io 0 1
o 0 10 00
B]1Z,]=| 0 10 -10 -1
00 0 2 0 0
0 01 0 -1 o 00 0 2 0
0 0 0 0 0 2
2 2 0
0 0
=01 0-2 0 -2
O01 0-2 2
0 0
I0 0 2 2 0
00
[B] 1Z,] |B =| 0 1 0 -2 0 -2
2 o
0 01 0 -2 2 1 0 -1
0 -1
5-2-2
2 5 -2
-2-2 5
118 undamentals of Electric Circuit Theory
The matrix form of the KVL cquations is
5-2-21|
A =A,and I, =A
4. For the network of 6.14 give the fundamental cutset matrix and hence find the KCL
Fig.
equation.
6.15. The twigs are shown as solid
Ans. A tree of the network of Fig. 6.14 is shown in Fig.
lines and the links as dashed lines.
(2
ww
3)4
A 20 (1)
4)
Fig. 6.15
Fig. 6.14
shown by dotted lines so that the fundamental cutsets are written as:
The cuts are
fcutset 1 : [1, 2]
fcutset 3: [3, 2, 4]
The f-cutset matrix is
Branches
f-cutsets
1) (2) (3 (4)
0
3 0
IQi,J=10I>,11or iv,
I 0 0 |0
Here
0
Elements of Graph Theory and Network Applications 119
2 0 0 o1
QLy o -1 J|o 0 2 0
0 0
0 -I 2 1
o
So the KCL matrix equation is
5. Obtain the incidence matrix of the graph of the network of Fig. 6.16. Use it to obtain the
node admittance matrix. Establish the KCL equation in the matrix form and hence find the
voltage at the node 2. [cf Grad. IETE 1986]
(4)
23
ww
1U
(4)
Nodes Branches
4 L -
0
1
The nodeadmittance matrix is given by y,) = [A] [v,] [A}', where y,] is the branch admittance
1
0
0
0
matrix.
Here 0 0 0 0 0
0 20 0 0 0
-10 0 -1 1 0
0 0 c 0 0 0
A]y,l=|0 0 0 -1 -1
00 0 20 0
00 -1
0 0 0 010
0 0 0 0 0
120 Fundamentals of Electric Círcuit Theory
- 0 0-21 0
0 2 0 0-1 -1
0 0-oo 201
Therefore.
-10 0
-0 0-2
0 0 -1
y,]=[A][v,][A} =|0 2 000-1 -1
-1 0
00-o 20 1
1 -1 0
0 -1
-I -2
-1 4 -1
-2 -1 oo
-1 2 0 0-2 1 0
or -1 4 1 HE 2 0 0 -1 -1
0
-2 -1 0 0 -oo 20
0
oo
or -1+4V2-2 0
Hence
- 1+4V2-2 = 0 or V2 3/4 volt.
6. Draw the oriented graph of the network of Fig. 6.18. Obtain the tie-set matrix and write the
network equations on KVL basis.
2 2
ww-
M=2H
2H 3H (1)(2) (3) (1 (3)
(D (2) (3)3F
2 2
(a) (b)
Fig. 6.18 Fig. 6.19
Elements of Graph Theory and Network Applications 121
Ans. The oriented graph of the given network is shown in Fig. 6.19 (a). A tree is shown in
Fig. 6.19 (6), the twig being shown in solid line. The links are shown by dashed lines. The tie-set
matrix is shown below:
f-circuit Branches
(1) 2) (3)
0
3
LB] =
L -1
The branch impedance matrix is :
2 0
Z,l=|0 2s 2s
0 2s 3s+1/3s
Note that here the mutual inductance* is positive so that the elements Zs and Z32 in [Z,] are
each equal to 2s. The loop impedance matrix is:
0
2s 25
1Z]=[B]|Z,]IBT= 0 s+1/3s
_2+25
s+1/3s
The KVL equation in matrix form is
[Z][]=[B][V,]
2+2s 1070
s+1/3s L .
o
(2+25)
(s+1/3s)/, ww
7. In the circuit of Fig. 6.20 determine the fundamental 4 2 0.5 A
cutset matrix by taking a suitable tree and calculate the
22
voltage v.
Ans. The voltage and current sources of Fig. 6.20 are v 4Q
2
converted into accompanied sources as shown in
Fig. 6.21 (a). The oriented graph is shown in Fig. 6.21 (6).
Fig. 6.20
(1) wQ
2
(2) ww- 1). (1).
22
V +
4 (4)
(2
3
a) (b) (C)
Fig. 6.21
*For a discussion of mutual inductance, see chapter 8.
122
Fundamentals of Electric Circuit
Theory
A suitable tree is drawn in Fig. 6.21 (c), the twigs being shown solid lines and the links
as
as
dashed lines. The cuts are shown by dotted circles, so that
the f-cutset matrix is as follows
f-cutset Branches
(1) (2) 3) 4)
1Q= 0 0 - 1
2 0
00 0
y]=|
o 0 0
Iy,=[Q][y.ItQ¥
1 01 .
00
-401
-1
o
or
Hence Y
HIH: - I or V, =v
So,
v-14V,-|v--v
8. For the network of Fig. 6.22, draw the oriented graph and for a suitable tree obtain the f
cutset matrix. Determine the node-pair equations and solve for the voltage
Elements of Graph Theory and Network Applications 123
(2)
(1)
ww- www.
(1) 2)
2 Q 2 24) (1
2V 320
(2) ) 2
(a) (b)
Fig. 6.22 Fig. 6.23
f-cutset Branches
LOlly,1tQ IV,]=[Q1li,1-[0l[y,ll»,
Here o0.v.1=
ooo
0 2
-2
Hence the set of node pair equations are given by
o
and
-+V -2
Solving for v yields V
9
QUESTIONS
1. Define the following terms:
(a) Undirected graph, (b) directed graph. (c) rank of a graph, (d) incidence matrix. (e) f-circuits, and
(f) cutsets.
2. The branch and the loop currents of a network are related by i = l1, i = +ls - ls, i =1 -1s, i
= - 1 + , is = Is, and i, = ls. Here the small letters represent the branch currents and the capital
letters represent the loop currents. Draw the oriented graph of the network.
Fundamentals of Electric Circuit Theory
124
matrix of a network is
3. The fundamental cutset
Branches
(2) (3) (4) (5) (6) 7)
()
0 0
- 1 0
0
0 0
1 0
0
2 1V
19
2v w-
5. For the circuit of Fig. 6.25 draw the oriented graph and obtain the tieset matrix. Use this matrix too
[Ans. 0.91 A]
calculate the current i.
6. For the network of Fig. 6.26 draw the oriented graph and determine the fundamental cutset matrix.
Use this matrix to calculate the voltage Vo» Assume that the excitation frequency
is = I rad/s.
[Ans. 0.323 L43.3° V]
7. Draw the oriented graph of the network of Fig. 6.27. Determine the incidence matrix and use it to
52
ww 10 S 10 2
M-
1H
2V 10Q
2H 2H 10 10
2V
5- 5Q
z5Q
Z5Q v, 4
V
Fig. 6.28