While the standard (introductory physics) way of computing the equivalent resistance of nontrivial electrical circuits is based on Kirchhoff's rules, there is a mathematically and conceptually simpler approach, called the method of nodal potentials, whose basic variables are the values of the electric potential at the circuit's nodes. In this paper, we review the method of nodal potentials and illustrate it using the Wheatstone bridge as an example. We then derive a closed-form expression for the equivalent resistance of a generic circuit, which we apply to a few sample circuits. The result unveils a curious interplay between electrical circuits, matrix algebra, and graph theory and its applications to computer science. The paper is written at a level accessible by undergraduate students who are familiar with matrix arithmetic. Additional proofs and technical details are provided in appendices.

1.
G.
Kirchhoff
, “
Über die Auflösung der Gleichungen, auf welche man bei der Untersuchung der linearen Verteilung galvanischer Ströme geführt wird
,”
Ann. Phys. Chem.
148
,
497
508
(
1847
).
English translation by
J. B.
O'Toole
:
G.
Kirchhoff
, “
On the solution of the equations obtained from the investigation of the linear distribution of galvanic currents
,”
IRE Trans. Circuit Theory
5
,
4
7
(
1958
).
2.
R. E.
Aitchison
, “
Resistance between adjacent points of liebman mesh
,”
Am. J. Phys.
32
,
566
(
1964
).
3.
B.
Denardo
,
J.
Earwood
, and
V.
Sazonova
, “
Experiments with electrical resistive networks
,”
Am. J. Phys.
67
,
981
986
(
1999
).
4.
J. E.
Gordon
and
P. R.
Grant
, “
Series RC circuits revisited
,”
Am. J. Phys.
72
,
655
661
(
2004
).
5.
E.
Falcon
and
B.
Castaing
, “
Electrical conductivity in granular media and Branly's coherer: A simple experiment
,”
Am. J. Phys.
73
,
302
307
(
2005
).
6.
L. R.
Mead
, “
Resistance of a square lamina by the method of images
,”
Am. J. Phys.
77
,
259
261
(
2009
).
7.
A. S.
Rosenthal
and
C.
Henderson
, “
Teaching about circuits at the introductory level: An emphasis on potential difference
,”
Am. J. Phys.
74
,
324
328
(
2006
).
8.
R.
Brown
, “
Series and parallel resistors and capacitors
,”
Phys. Teach.
41
,
483
485
(
2003
).
9.
J. D.
Jackson
, “
A curious and useful theorem in two-dimensional electrostatics
,”
Am. J. Phys.
67
,
107
115
(
1999
).
10.
M.
Jeng
, “
Random walks and effective resistances on toroidal and cylindrical grids
,”
Am. J. Phys.
68
,
37
40
(
2000
).
11.
J.
Cserti
, “
Application of the lattice Green's function for calculating the resistance of an infinite network of resistors
,”
Am. J. Phys.
68
,
896
906
(
2000
).
12.
W.
Kook
, “
Combinatorial Green's function of a graph and applications to networks
,”
Adv. Appl. Math.
46
,
417
423
(
2011
).
13.
J. R.
Reitz
and
F. J.
Milford
,
Foundations of Electromagnetic Theory
(
Addison-Wesley
,
Reading, MA
,
1960
).
14.
R.
DeCarlo
and
P.-M.
Lin
,
Linear Circuit Analysis: Time Domain, Phasor, and Laplace Transform Approaches
(
Oxford U.P.
,
New York
,
2001
).
15.
D. A.
Van Baak
, “
Variational alternatives to Kirchhoff's loop theorem in dc circuits
,”
Am. J. Phys.
67
,
36
44
(
1999
).
16.
F. Y.
Wu
, “
Theory of resistor networks: the two-point resistance
,”
J. Phys. A: Math. Gen.
37
,
6653
6673
(
2004
).
17.
D. J.
Klein
and
M.
Randić
, “
Resistance distance
,”
J. Math. Chem.
12
,
81
95
(
1993
).
18.

Here, we assume that all the relevant nodes are electrically connected to the battery and that no circuit node is connected to the battery terminal via an ideal wire, i.e., via an edge of zero resistance.

19.

When I offered this to my students as an optional homework problem with given numerical edge resistances (e.g., 1, 2, 3, 4, and 5 Ω), a typical solution would take a couple of pages.

20.

It could be the case that all conductances but, say, σ1 were equal zero. Then on physical grounds, that would fix V2=V1=E. Mathematically, this can be seen from Eq. (15) by giving σ3 (which would not affect the circuit connectivity or V2 anyway) a small nonzero value. The latter would result in cancellations and V2=E.

21.

Interestingly, the matrix Σ is obtained from the conductance matrix σij via the same procedure as obtaining the Laplacian matrix from the adjacency matrix. Namely, the off-diagonal elements of Σ are simply −σij, whereas each diagonal entry is the sum of the elements of the corresponding row of σij. Such a matrix is sometimes referred to as the weighted Laplacian. Note also that the sum of all elements of Σ equals zero, hence at most n − 1 equations in Eq. (19) are independent.

22.
P.
Doyle
and
L.
Snell
,
Random Walks and Electric Networks
(
Mathematical Assn. of America
,
Washington, D.C.
,
1984
).
23.
B.
Mohar
, “
The Laplacian spectrum of graphs
,” in
Graph Theory, Combinatorics, and Applications
, Vol.
2
, edited by
Y.
Alavi
,
G.
Chartrand
,
O. R.
Oellermann
, and
A. J.
Schwenk
(
Wiley
,
New York
,
1991
), pp.
871
898
.
24.

Along the lines of Ref. 7, this could help to reinforce students' understanding and appreciation of the concept of electric potential.

AAPT members receive access to the American Journal of Physics and The Physics Teacher as a member benefit. To learn more about this member benefit and becoming an AAPT member, visit the Joining AAPT page.