You are on page 1of 11

2

Circuit Analysis:
A Graph-Theoretic Foundation

Krishnaiyan Thulasiraman 2.1 Introduction ........................................................................................ 31


School of Computer Science, 2.2 Basic Concepts and Results..................................................................... 31
University of Oklahoma, 2.2.1 Graphs . 2.2.2 Basic Theorems . 2.2.3 Cuts, Circuits, and Orthogonality .
Norman, Oklahoma, USA 2.2.4 Incidence, Circuit, and Cut Matrices of a Graph
2.3 Graphs and Electrical Networks............................................................... 36
M.N.S. Swamy 2.3.1 Loop and Cutset Transformations
Department of Electrical and
Computer Engineering, 2.4 Loop and Cutset Systems of Equations ..................................................... 38
Concordia University, 2.4.1 Loop Method of Network Analysis . 2.4.2 Cutset Method of Network Analysis
Montreal, Quebec, Canada 2.5 Summary ............................................................................................ 41

2.1 Introduction Graphs permit easy pictorial representations. In a pictorial


representation, each vertex is represented by a dot, and each
The theory of graphs has played a fundamental role in dis- edge is represented by a line joining the dots associated with
covering structural properties of electrical circuits. This should the edge. In directed graphs, an orientation or direction is
not be surprising because graphs, as the reader shall soon see, assigned to each edge. If the edge is associated with the ordered
are good pictorial representations of circuits and capture all pair (vi , vj ), then this edge is oriented from vi to vj . If an edge e
their structural characteristics. This chapter develops most connects vertices vi and vj , then it is denoted by e ¼ (vi , vj ). In
results that form the foundation of graph theoretic study of a directed graph, (vi , vj ) refers to an edge directed from
electrical circuits. A comprehensive treatment of these devel- vi to vj . An undirected graph and a directed graph are shown
opments may be found in Swamy and Thulasiraman (1981). in Figure 2.1. Unless explicitly stated, the term graph may refer
All theorems in this chapter are stated without proofs. to a directed graph or an undirected graph.
The development of graph theory in this chapter is self- The vertices vi and vj associated with an edge are called the
contained except for the definitions of standard and elemen- end vertices of the edge. All edges having the same pair of end
tary results from set theory and matrix theory. vertices are called parallel edges.
In a directed graph, parallel edges refer to edges connecting
the same pair of vertices vi and vj the same way from vi to vj or
2.2 Basic Concepts and Results from vj to vi . For instance, in the graph of Figure 2.1(A), the
edges connecting v1 and v2 are parallel edges. In the directed
2.2.1 Graphs graph of Figure 2.1(B), the edges connecting v3 and v4 are
A graph G ¼ (V , E) consists of two sets: a finite set parallel edges. However, the edges connecting v1 and v2 are not
V ¼ (v1 , v2 , . . . vn ) of elements called vertices and a finite parallel edges because they are not oriented in the same way.
set E ¼ (e1 , e2 , . . . en ) of elements called edges. If the edges If the end vertices of an edge are not distinct, then the edge
of G are identified with ordered pairs of vertices, then G is is called a self-loop. The graph of Figure 2.1(A) has one self
called a directed or an oriented graph; otherwise, it is called loop, and the graph of Figure 2.1(B) has two self-loops. An
an undirected or an unoriented graph. edge is said to be incident on its end vertices. In a directed

Copyright ß 2005 by Academic Press. 31


All rights of reproduction in any form reserved.
32 Krishnaiyan Thulasiraman and M.N.S. Swamy

v1 v2
v1 v2

v5

v3 v4
v3 v4
(A) An Undirected Graph (B) A Directed Graph

FIGURE 2.1 Graphs: Easy Pictorial Representations

graph, the edge (vi , vj ) is said to be incident out of vi and is and (2) in a directed graph with m edges, the sum of the in-
said to be incident into vj . Vertices vi and vj are adjacent if an degrees and the sum of out-degrees are both equal to m.
edge connects vi and vj . The following theorem is known to be the first major result
The number of edges incident on a vertex vi is called the in graph theory.
degree of vi and is denoted by d(vi ). In a directed graph, din (vi ) Theorem 2.2: The number of vertices of odd degree in any
refers to the number of edges incident into the vertex vi , and it graph is even.
is called the in-degree. In a directed graph, dout (vi ) refers to the Consider a graph G ¼ (V 0 , E 0 ). The graph G 0 ¼ (V 0 , E 0 ) is
number of edges incident out of the vertex vi or the out- a subgraph of G if V 0 V and E 0 E. As an example, a graph
degree. If d(vi ) ¼ 0, then vi is said to be an isolated vertex. G and a subgraph of G are shown in Figure 2.2.
If d(vi ) ¼ 1, then vi is said to be a pendant vertex. In a graph G, a path P connecting vertices vi and vj is an
A self-loop at a vertex vi is counted twice while computing alternating sequence of vertices and edges starting at vi and
d(vi ). As an example in the graph of Figure 2.1(A), ending at vj , with all vertices except vi and vj being distinct. In
d(v1 ) ¼ 3, d(v4 ) ¼ 3, and v5 is an isolated vertex. In the a directed graph, a path P connecting vertices vi and vj is
directed graph of Figure 2.1(B), din (v1 ) ¼ 3 and dout (v1 ) ¼ 2. called a directed path from vi to vj if all the edges in P are
Note that in a directed graph, for every vertex vi , oriented in the same direction when traversing P from vi
toward vj .
d(vi ) ¼ din (vi ) þ dout (vi ): If a path starts and ends at the same vertex, it is called a
circuit. In a directed graph, a circuit in which all the edges are
oriented in the same direction is called a directed circuit. It is
often convenient to represent paths and circuits by the se-
2.2.2 Basic Theorems quence of edges representing them.
Theorem 2.1: (1) The sum of the degrees of the vertices of a For example, in the undirected graph of Figure 2.3(A),
graph G is equal to 2 m, where m is the number of edges of G, P: e1 , e2 , e3 , e4 is a path connecting v1 and v5 , and C: e1 ,

V1 V2 V1

V3 V4 V3 V4

V5 V5
(A) Graph G (B) Subgraph of G

FIGURE 2.2 Graphs and Subgraphs


2 Circuit Analysis: A Graph-Theoretic Foundation 33

V2 V1 e3 V2 e1 V3
V1 e1 e2 V3

e6 e7 e8 e9 e3 e8 e4 e6 e9 e2

V6 e5 V5 e4 V4 V6 e5 V5 e7 V4

(A) An Undirected Graph (B) A Directed Graph

FIGURE 2.3 Graphs Showing Paths

e2 , e3 , e4 , e5 , e6 is a circuit. In the directed graph of Figure 2.2.3 Cuts, Circuits, and Orthogonality
2.3(B) P: e1 , e2 , e7 , e5 is a directed path and C: e1 , e2 , e7 , e6
Introduced here are the notions of a cut and a cutset. This
is a directed circuit. Note that C: e7 , e5 , e4 , e1 , e2 is a
section develops certain results that bring out the dual nature
circuit in this directed graph, although it is not a directed
of circuits and cutsets.
circuit. Similarly, P: e9 , e6 , e3 is a path but not a directed
Consider a connected graph G ¼ (V , E) with n vertices and
path.
m edges. Let V1 and V2 be two mutually disjoint nonempty
A graph is connected if there is a path between every pair
subsets of V such that V ¼ V1 [ V2 . Thus V2 is the comple-
of vertices in the graph; otherwise, the graph is not connected.
ment of V1 in V and vice versa. V1 and V2 are also said to form
For example, the graph in Figure 2.2(A) is a connected graph,
a partition of V. Then the set of all those edges that have one
whereas the graph in Figure 2.2(B) is not a connected graph.
end vertex in V1 and the other in V2 is called a cut of G and is
A tree is a graph that is connected and has no circuits.
denoted by < V1 , V2 >. As an example, a graph and a cut
Consider a connected graph G. A subgraph of G is a spanning
< V1 , V2 > of G are shown in Figure 2.5.
tree of G if the subgraph is a tree and contains all the vertices
The graph G, which results after removing the edges in a cut,
of G. A tree and a spanning tree of the graph of Figure 2.4(A)
will not be connected. A cutset S of a connected graph G is a
are shown in Figures 2.4(B) and (C), respectively. The edges of
minimal set of edges of G, such that removal of S disconnects G.
a spanning tree T are called the branches of T. Given a span-
Thus a cutset is also a cut. Note that the minimality property of a
ning tree of connected graph G, the cospanning tree relative to
cutset implies that no proper subset of a cutset is a cutset.
T is the subgraph of G induced by the edges that are not
Consider a spanning tree T of a connected graph G. Let b
present in T. For example, the cospanning tree relative to the
denote a branch of T. Removal of branch b disconnects T into
spanning tree T of Figure 2.4(C) consists of these edges:
e3 , e6 , e7 . The edges of a cospanning tree are called chords. two trees, T1 and T2 . Let V1 and V2 denote the vertex sets of T1
and T2 , respectively. Note that V1 and V2 together contain all the
It can be easily verified that in a tree, exactly one path
connects any two vertices. It should be noted that a tree is vertices of G. It is possible to verify that the cut < V1 , V2 > is a
minimally connected in the sense that removing any edge from cutset of G and is called the fundamental cutset of G with
the tree will result in a disconnected graph. respect to branch b of T. Thus, for a given graph G and a
Theorem 2.3: A tree on n vertices has n  1 edges. spanning tree T of G, we can construct n  1 fundamental
If a connected graph G has n vertices and m edges, then the cutsets, one for each branch of T. As an example, for the graph
rank r and nullity m of G are defined as follows: shown in Figure 2.5, the fundamental cutsets with respect to the
spanning tree T ¼ [e1 , e2 , e6 , e8 ] are the following:
r(G) ¼ n  1:
Branch e1 : (e1 , e3 , e4 ):
m(G) ¼ m  n þ 1:
Branch e2 : (e2 , e3 , e4 , e5 ):
The concepts of rank and nullity have parallels in other Branch e6 : (e6 , e4 , e5 , e7 ):
branches of mathematics such as matrix theory. Branch e8 : (e8 , e7 ):
Clearly, if G is connected, then any spanning tree of G has
r ¼ n  1 branches and Note that the fundamental cutset with respect to branch b
contains b. Furthermore branch b is not present in any other
m ¼ m  n þ 1 chords: fundamental cutset with respect to T.
34 Krishnaiyan Thulasiraman and M.N.S. Swamy

V1

e1 e5
e3
V2 V3 V2 V3

e2 e2
e4 e4
e6

V4 e7 V5 V4 e7 V5
(A) Graph G (B) A Tree of Graph G

V1

e1 e5

V2 V3

e2
e4

V4 V5
(C) A Spanning Tree of G

FIGURE 2.4 Examples of Tree Graphs

This section next identifies a special class of circuits of a trical network. This section defines these matrices and presents
connected graph G. Again let T be a spanning tree of G. Because some properties of these matrices that are useful in studying
exactly one path exists between any two vertices of T, adding a electrical networks.
chord c to T produces a unique circuit. This circuit is called the
fundamental circuit of G with respect to chord c of T. Note again Incidence Matrix
that the fundamental circuit with respect to chord c contains c, Consider a connected directed graph G with n vertices and m
and that the chord c is not present in any other fundamental edges and with no self-loops. The all-vertex incidence matrix
circuit with respect to T. As an example, the set of fundamental Ac ¼ [aij ] of G has n rows, one for each vertex, and m
circuits with respect to the spanning tree T ¼ (e1 , e2 , e6 , e8 ) of columns, one for each edge. The element aij of Ac is defined
the graph shown in Figure 2.5. is the following: as follows:

Chord e3 : (e3 , e1 , e2 ): 8
< 1, if jth edge is incident out of the ith vertex:
Chord e4 : (e4 , e1 , e2 , e6 ): aij ¼ 1, if jth edge is incident into the ith vertex:
:
Chord e5 : (e5 , e2 , e6 ): 0, if the jth edge is not incident on the ith vertex:
Chord e7 : (e7 , e8 , e6 ):
As an example, a graph and its Ac matrix are shown in
Figure 2.6.
2.2.4 Incidence, Circuit, and Cut Matrices of a
From the definition of Ac it should be clear that each
Graph
column of this matrix has exactly two nonzero entries, one
The incidence, circuit and cut matrices are coefficient matrices þ1 and one 1, and therefore, any row of Ac can be obtained
of Kirchhoff ’s voltage and current laws that describe an elec- from the remaining rows. Thus,
2 Circuit Analysis: A Graph-Theoretic Foundation 35

V1

e1 e3
e1
V2 V3 V1
e2 V2
e2

e4 V3 e5

e5 e6 e8 e8

V4 V5
e7

V4 e7 V5
V1 V2
(A) Graph G (B) Cut <V1, V2> of G

FIGURE 2.5 A Graph and a Cut

e1 e2 e3 e4 e5 e6 e7

v1 1 0 0 0 0 1 −1
v2 −1 1 0 0 0 0 0
v3 0 −1 1 0 1 0 0
v4 0 0 −1 −1 0 −1 0
v5 0 0 0 1 −1 0 1

v1 e7 v5

e1
e6

v2 e4
e2 e5

v3 e3 v4

FIGURE 2.6 A Directed Graph

rank(Ac )  n  1: The cut matrix Qc ¼ [qij ] of G has m columns, one for each
edge and has one row for each cut. The element qij is defined as
An (n  1) rowed submatrix of Ac is referred to as an inci- follows:
dence matrix of G. The vertex that corresponds to the row that
is not in Ac is called the reference vertex of A. 8
>
> 1 if the jth edge is in the ith cut and its
>
>
>
> orientation agrees with the cut orientation:
Cut Matrix <
qij ¼ 1 if the jth edge is in the ith cut and its
Consider a cut (Va , Vb ) in a connected directed graph G with >
>
>
> orientation does not agree with cut orientation:
n vertices and m edges. Recall that < Va , Vb > consists of all >
>
:
those edges connecting vertices in Va to Vb . This cut may be 0 if the jth edge is not in the ith cut:
assigned an orientation from Va to Vb or from Vb to Va .
Suppose the orientation of (Va , Vb ) is from Va to Vb . Then Each row of Qc is called the cut vector. The edges incident on a
the orientation of an edge (vi , vj ) is said to agree with the cut vertex form a cut. Hence, the matrix Ac is a submatrix of Qc .
orientation if vi 2 Va , and vj 2 Vb . Next, another important submatrix of Qc is identified.
36 Krishnaiyan Thulasiraman and M.N.S. Swamy

Recall that each branch of a spanning tree T of connected mental circuit to agree with the orientation of the defining
graph G defines a fundamental cutset. The submatrix of Qc chord. The result is writing Bf as:
corresponding to the n  1 fundamental cutsets defined by T
is called the fundamental cutset matrix Qf of G with respect Bf ¼ [U jBft ],
to T.
Let b1 , b2 , . . . , bn1 denote the branches of T. Assume that where U is the unit matrix of order m  n þ 1, and its columns
the orientation of a fundamental cutset is chosen to agree with correspond to the chords of T.
that of the defining branch. Arrange the rows and the columns As an example, the fundamental circuit matrix of the
of Qf so that the ith column corresponds to the fundamental graph shown in Figure 2.6 with respect to the tree
cutset defined by bi. Then the matrix Qf can be displayed in a T ¼ (e1 , e2 , e5 , e6 ) is given here.
convenient form as follows:
e3 e4 e7 e1 e2 e5 e6
Qf ¼ [U jQfc ], 2 3
e3 1 0 0 1 1 0 1
Bf ¼ e4 4 0 1 0 1 1 1 1 5
where U is the unit matrix of order n  1, and its columns
e7 0 0 1 1 1 1 0
correspond to the branches of T. As an example, the funda-
mental cutset matrix of the graph in Figure 2.6 with respect to
It is clear from this example that the rank of Bf is m  n þ 1.
the spanning tree T ¼ (e1 , e2 , e5 , e6 ) is:
Hence,
2 3
e1 e2 e5 e6 e3 e4 e7
61 rank(Bc )  m  n þ 1:
6 0 0 0 1 1 1 7
7
Qf ¼ 6
60 1 0 0 1 1 1 7
7
40 The following results constitute the foundation of the graph-
0 1 0 0 1 1 5
theoretic application to electrical circuit analysis.
0 0 0 1 1 1 0
Theorem 2.4 (orthogonality relationship): (1) A circuit and
a cutset in a connected graph have an even number of common
It is clear that the rank of Qf is n  1. Hence,
edges; and (2) if a circuit and a cutset in a directed graph have
rank(Qc )  n  1: 2k common edges, then k of these edges have the same relative
orientation in the circuit and the cutset, and the remaining k
Circuit Matrix edges have one orientation in the circuit and the opposite
orientation in the cutset.
Consider a circuit C in a connected directed graph G with n
Theorem 2.5: If the columns of the circuit matrix Bc and the
vertices and m edges. This circuit can be traversed in one of two
columns of the cut matrix Qc are arranged in the same edge
directions, clockwise or counterclockwise. The direction chosen
order, then
for traversing C is called the orientation of C. If an edge
e ¼ (vi , vj ) directed from vi to vj is in C, and if vi appears
before vj in traversing C in the direction specified by the orien- Bc Qct ¼ 0:
tation of C, then the orientation agrees with the orientation of e.
The circuit matrix Bc ¼ [bij ] of G has m columns, one for Theorem 2.6:
each edge, and has one row for each circuit in G. The element
bij is defined as follows: rank(Bc ) ¼ m  n þ 1:
8 rank(Qc ) ¼ n  1:
>
> 1 if the jth edge is in the ith circuit and its
>
>
>
> orientation agrees with the circuit orientation: Note that it follows from the above theorem that the rank of
<
bij ¼ 1 if the jth edge is in the ith circuit and its the circuit matrix is equal to the nullity of the graph, and the
>
>
>
> orientation does not agree with circuit orientation: rank of the cut matrix is equal to the rank of the graph. This
>
>
: result, in fact, motivated the definitions of the rank and nullity
0 if the jth edge is not in the ith circuit:
of a graph.
The submatrix of Bc corresponding to the fundamental circuits
defined by the chords of a spanning tree T is called fundamen-
tal circuit matrix Bf of G with respect to the spanning tree T. 2.3 Graphs and Electrical Networks
Let c1 , c2 , c3 , . . . , cmnþ1 denote the chords of T. Arrange
the columns and the rows of Bf so that the ith row corresponds An electrical network is an interconnection of electrical net-
to the fundamental circuit defined by the chord ci and the ith work elements, such as resistances, capacitances, inductances,
column corresponds to the chord ci . Then orient the funda- voltage, and current sources. Each network element is associ-
2 Circuit Analysis: A Graph-Theoretic Foundation 37

i(t)

+
v (t)

FIGURE 2.7 A Network Element with Reference Convention

6 6

a 1 b 2 c
a b c
1 2
5 4
+
3
5 4

d d
(A) An Electrical Network N (B) Directed Graph Representation of N

FIGURE 2.8 Graph Examples of KVL and KCL Equations

ated with two variables: the voltage variable v(t) and the Ac Ie ¼ 0:
current variable i(t). Reference directions are also assigned Bc Ve ¼ 0:
to the network elements as shown in Figure 2.7 so that i(t) is
positive whenever the current is in the direction of the arrow
Ac and Bc are, respectively, the incidence and circuit matrices of
and so that v(t) is positive whenever the voltage drop in the
the directed graph representing N, Ie , and Ve , respectively, and
network element is in the direction of the arrow. Replacing these are the column vectors of element currents and voltages in
each element and its associated reference direction by a N. Because each row in the cut matrix Qc can be expressed as a
directed edge results in the directed graph representing the linear combination of the rows of the matrix, in the above Ac
network. For example, a simple electrical network and the can be replaced by Qc . Thus, the result is as follows:
corresponding directed graph are shown in Figure 2.8.
The physical relationship between the current and voltage KCL: Qc Ie ¼ 0:
variables of network elements is specified by Ohm’s law. For
voltage and current sources, the voltage and current variables KVL: Bc Ve ¼ 0:
are required to have specified values. The linear dependence
among the voltage variables in the network and the linear Hence, KCL can also be stated as: the algebraic sum of the
dependence among the current variables are governed by currents in any cut of N is equal to zero.
Kirchhoff ’s voltage and current laws: If a network N has n vertices and m elements and its graph is
Kirchhoff ’s voltage law (KVL): The algebraic sum of the connected, then there are only (n  1) linearly independent
voltages around any circuit is equal to zero. cuts and only (m  n þ 1) linearly independent circuits. Thus,
Kirchhoff ’s current law (KCL): The algebraic sum of the in writing KVL and KCL equations, only Bf and Qf , respec-
currents flowing out of a node is equal to zero. tively, need to be used. Thus, we have
As examples, the KVL equation for the circuit 1, 3, 5 and the
KCL equation for vertex b in the graph of Figure 2.8 are the KCL: Qf Ie ¼ 0
following: KVL: Bf Ve ¼ 0

Circuit 1, 3, 5: V1 þ V3 þ V5 ¼ 0 Note that KCL and KVL equations depend only on the way
Vertex b: I1 þ I2 þ I3 ¼ 0 network elements are interconnected and not on the nature of
the network elements. Thus, several results in electrical net-
It can be easily seen that KVL and KCL equations for an work theory are essentially graph-theoretic in nature. Some of
electrical network N can be conveniently written as: those results of interest in electrical network analysis are pre-
38 Krishnaiyan Thulasiraman and M.N.S. Swamy

sented in the remainder of this chapter. Note that for these variables in this case. It is assumed that the electrical network
results, a network N and its directed graph representation are N is connected and that N consists of only resistances, (R),
both denoted by N. capacitances (C), inductances (L), including mutual induct-
ances, and independent voltage and current sources. It is also
assumed that all initial inductor currents and initial capacitor
2.3.1 Loop and Cutset Transformations
voltages have been replaced by appropriate sources. Further,
Let T be a spanning tree of an electrical network. Let Ic and Vt the voltage and current variables are all Laplace transforms of
be the column vectors of chord currents and branch currents the complex frequency variable s. In N, there can be no circuit
with respect to T. consisting of only independent voltage sources, for if such a
circuit of sources were present, then by KVL, there would be a
1. Loop transformation:
linear relationship among the corresponding voltages; this
would violate the independence of the voltage sources. For
Ie ¼ Bft Ic :
the same reason, in N, there can be no cutset consisting of
only independent current sources. Hence, there exists in N a
2. Cutset transformation: spanning tree containing all the voltage sources but not current
sources. Such a tree is the starting point for the development of
Ve ¼ Qft Vt : both the loop and cutset systems of equations.
Let T be a spanning tree of the given network such that T
If, in the cutset transformation, Qf is replaced by the incidence contains all the voltage sources but no current sources. Parti-
matrix A, then we get the node transformation given below: tion the element voltage vector Ve and the element current
vector Ie as follows:
Ve ¼ At Vn ,
2 3 2 3
V1 I1
where the elements in the vector Vn can be interpreted as the Ve ¼ 4 V2 5 and Ie ¼ 4 I2 5
voltages of the nodes with respect to the reference node r. V3 I3
(Note: The matrix A does not contain the row corresponding
to the node r). The subscripts 1, 2, and 3 refer to the vectors corresponding to
The above transformations have been extensively employed the current sources, RLC elements, and voltage sources, re-
in developing different methods of network analysis. Two of spectively. Let Bf be the fundamental circuit matrix of N, and
these methods are described in the following section. let Q f be the fundamental cutset matrix of N with respect to T.
The KVL and the KCL equations can then be written as
follows:
2.4 Loop and Cutset Systems of Equations 2 323
U B12 B13 V1
As observed earlier, the problem of network analysis is to KVL: Bf Ve ¼ 4 54 V2 5 ¼ 0:
determine the voltages and currents associated with the ele- 0 B22 B23 V3
ments of an electrical network. These voltages and currents can 2 32 3
be determined from Kirchhoff ’s equations and the element Q11 Q12 0 I1
voltage–current (v–i) relations given by Ohm’s law. However, KCL: Qf Ie ¼ 4 54 I2 5 ¼ 0:
these equations involve a large number of variables. As can Q21 Q22 U I3
be seen from the loop and cutset transformations, not all
these variables are independent. Furthermore, in place of
KCL equations, the loop transformation can be used, which
2.4.1 Loop Method of Network Analysis
involves only chord currents as variables. Similarly, KVL
equations can be replaced by the cutset transformation that Step 1: Solve the following for the vector Il . Note that Il is the
involves only branch voltage variables. Taking advantage of vector of currents in the nonsource chords of T.
these transformations enables the establishment of different
sytems of network equations known as the loop and cutset Zl Il ¼ B23 V3  B22 Z2 B12 I1 , (2:1)
systems.
In deriving the loop system, the loop transformation is used where Z2 is the impedance matrix of RLC elements and
in place of KCL in this case, the loop variables (chord currents)
serve as independent variables. In deriving the cutset system, Z1 ¼ B22 Z2 B22 :
the cutset transformation is used in place of KVL, and the
cutset variables (tree branch voltages) serve as the independent Equation 2.1 is called the loop system of equations.
2 Circuit Analysis: A Graph-Theoretic Foundation 39

Step 2: Calculate I2 using: Then

I2 ¼ B12 I1 þ B22 Il : (2:2) I2 ¼ Y2 Y2 : (2:8)

Then Step 3: Determine V1 and I3 using the following:

V2 ¼ Z2 I2 : (2:3) V1 ¼ Q21 Vb þ Q21V3 (2:9)

Step 3: Determine V1 and I3 using the following: I3 ¼ Q21 I1  Q22 I2 : (2:10)

V1 ¼ B12V2  B13V3 : (2:4) Note that I1 and V3 have specified values because they corres-
pond to current and voltage sources.
I3 ¼ B13 I1 þ B23 Il : (2:5) This completes the cutset method of network analysis.
The following discussion illustrates the loop and cutset
Note that I1 and V3 have specified values because they corres- methods of analysis on the network shown in Figure 2.9(A).
pond to current and voltage sources, respectively. The graph of the network is shown in Figure 2.9(B).
The chosen spanning tree T consists of edges 4, 5 and 6.
Note that T contains the voltage source and has no current
2.4.2 Cutset Method of Network Analysis source. The fundamental circuit and the fundamental cutset
Step 1: Solve the following for the vector Vb. Note that Vb is matrices with respect to T are given below in the required
the vector of voltages in the nonsource branches of T. partioned form:

Yb Vb ¼ Q11 I1  Q12 Y2 Q22Vb , (2:6)


1 2 3 4 5 6
where Y2 is the admittance matrix of RLC elements and 2 3
1 0 0 1 1 1
Bf ¼ 4 1 1 0 1 0 1 5
Yb ¼ Q12 Y2 Q12 0 0 1 1 1 0

Equation 2.6 is called the cutset system of equations. 1 2 3 4 5 6


2 3
Step 2: Calculate V2 using: 1 1 1 1 0 0
Qf ¼ 4 1 0 1 0 1 05
V2 ¼ Q12 Vb þ Q22V3 : (2:7) 1 1 0 0 0 1

3

1Ω 1Ω
4 5

+
6 2 1
1 u (t)

2 u (t)

(A) Network (B) Graph

FIGURE 2.9 A Network and Its Graph


40 Krishnaiyan Thulasiraman and M.N.S. Swamy
 
From these matrices results the following: i2 7
Il ¼ ¼ 1=11
i3 5
B12 ¼ [0 0  1  1]
B13 ¼ [1] Using equation 2.2 results in:

1 0 1 0 2 3 2 3
B22 ¼ i2 7
0 1 1 1 6 i3 7 6 5 7
 I2 ¼ 6 7 6 7
1 4 i4 5 ¼ 1=114 1 5
B23 ¼
0 i5 6

1
Q11 ¼ Then using V2 ¼ Z2 I2 yields:
0
 2 3 2 3
1 1 1 0
Q12 ¼ v2 21
0 1 0 1 6 v3 7 6 5 7
V2 ¼ 6 7 6
4 v4 5 ¼ 1=114 1 5
7
Q21 ¼ [  1]
Q22 ¼ [1 0 0 0]: v5 6

The following also results: Finally, equations 2.4 and 2.5 yield the following:

2 3 V1 ¼ [v1 ] ¼ 27=11:
3 0 0 0
60 07 I3 ¼ [i6 ] ¼ 4=11
6 1 0 7
Z2 ¼ 6 7
40 0 1 05
0 0 0 1 Cutset Method
2 3
1=3 0 0 0 Edges 4 and 5 are the nonsource branches. So,
6 0 1 0 07
6 7 
Y2 ¼ 6 7
4 0 0 1 05 v4
Vb ¼
0 0 0 1 v5
n6 ¼ 2 V
and substituting
i1 ¼ 1A

7=3 1
Yb ¼
1 2
Loop Method
Edges 2 and 3 are nonsource chords. So, in equation 2.6 yields the following cutset system of equa-
 tions:
i
Il ¼ 2   
i3 7=3 1 v4 1=3
Yb Vb ¼ ¼
1 2 v5 1
and substituting
Solving for Vb yields:
t
Zl ¼ B22 Z2 B22
  
4 1 v 1
¼ Vb ¼ 4 ¼ 1=11
1 3 v5 6

in equation 2.1 yields the following loop system of equations: From equation 2.7, the result is:
   2 3 2 3
4 1 i2 3 v2 21
¼ 6 v3 7 6 5 7
1 3 i3 2 V2 ¼ 6 7 6
4 v4 5 ¼ 1=114 1 5
7

Solving for i2 and i3 yields: v5 6


2 Circuit Analysis: A Graph-Theoretic Foundation 41

Then using I2 ¼ Y2 V2 yields: V1 ¼ At11Vn ,


2 3 2 3
i2 7 where Vn is the column vector of node voltages. So the result
6 i3 7 6 5 7
I2 ¼ 6 7 6
4 i4 5 ¼ 1=114 1 5
7 from the KCL equations is the following:

i5 6 (A11 Y1 At11 )Vn ¼ A12 I2 :


Finally, using equations 2.9 and 2.10, the end results are: The above equations are called node equations. The matrix
A11 Y1 At11 is called the node admittance matrix of N.
V1 ¼ [v1 ] ¼ 27=11
I3 ¼ [i6 ] ¼ 4=11
2.5 Summary
This completes the illustration of the loop and cutset methods
of circuit analysis. This chapter has presented an introduction to certain basic
results in graph theory and their application in the analysis of
Node Equations electrical circuits. For a more comprehensive treatment of
Suppose a network N has no independent voltage sources. A other developments in circuit theory that are primarily of a
convenient description of N with the node voltages as inde- graph-theoretic nature, refer to works by Swamy and Thula-
pendent variables can be obtained as follows. siraman (1981) and Chen (1972). A publication by Seshu and
Let A be the incidence matrix of N with vertex vr as refer- Reed (1961) is an early work that first discussed many of the
ence. Let A be partitioned as A ¼ [A11 , A12 ], where the fundamental results presented in this chapter. A review by
columns of A11 and A12 correspond, respectively, to the RLC Watandabe and Shinoda (1999) is the most recent reference
elements and current sources. If I1 and I2 denote the column summarizing the graph theoretic contributions from Japanese
vectors of RLC element currents and current source currents, circuit theory researchers.
then KCL equations for N become:

A11 I1 ¼ A12 I2 : References


Chen, W.K. (1972). Applied graph theory. Amsterdam: North-Holland.
By Ohm’s law: Seshu, S., and Reed M.B. (1961). Linear graphs and electrical networks.
Reading, MA: Addison-Wesley.
I1 ¼ Y1 V1 , Swamy, M.N.S., and Thulasiraman, K. (1981). Graphs, networks, and
algorithms. New York: Wiley Interscience.
where V1 is the column vector of voltages of RLC elements and Watanabe, H., and Shinoda, S. (1999). Soul of circuit theory: A review
Y1 is the corresponding admittance matrix. Furthermore, by on research activities of graphs and circuits in Japan. IEEE Trans-
the node transformation yields: actions on Circuits and Systems 45, 83–94.

You might also like