DoyleSnell Random Walks and Electrict Networks
DoyleSnell Random Walks and Electrict Networks
Acknowledgement
This work is derived from the book Random Walks and Electric Net-
works, originally published in 1984 by the Mathematical Association of
America in their Carus Monographs series. We are grateful to the MAA
for permitting this work to be freely redistributed under the terms of
the GNU Free Documentation License.
∗
Copyright (C) 1999, 2000, 2006 Peter G. Doyle and J. Laurie Snell. Derived
from their Carus Monograph, Copyright (C) 1984 The Mathematical Association
of America. Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, as published by the Free
Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no
Back-Cover Texts.
1
Preface
Probability theory, like much of mathematics, is indebted to physics as
a source of problems and intuition for solving these problems. Unfor-
tunately, the level of abstraction of current mathematics often makes it
difficult for anyone but an expert to appreciate this fact. In this work
we will look at the interplay of physics and mathematics in terms of an
example where the mathematics involved is at the college level. The
example is the relation between elementary electric network theory and
random walks.
Central to the work will be Polya’s beautiful theorem that a random
walker on an infinite street network in d-dimensional space is bound to
return to the starting point when d = 2, but has a positive probability
of escaping to infinity without returning to the starting point when
d ≥ 3. Our goal will be to interpret this theorem as a statement about
electric networks, and then to prove the theorem using techniques from
classical electrical theory. The techniques referred to go back to Lord
Rayleigh, who introduced them in connection with an investigation of
musical instruments. The analog of Polya’s theorem in this connection
is that wind instruments are possible in our three-dimensional world,
but are not possible in Flatland (Abbott [1]).
The connection between random walks and electric networks has
been recognized for some time (see Kakutani [12], Kemeny, Snell, and
Knapp [14], and Kelly [13]). As for Rayleigh’s method, the authors
first learned it from Peter’s father Bill Doyle, who used it to explain a
mysterious comment in Feller ([5], p. 425, Problem 14). This comment
suggested that a random walk in two dimensions remains recurrent
when some of the streets are blocked, and while this is ticklish to prove
probabilistically, it is an easy consequence of Rayleigh’s method. The
first person to apply Rayleigh’s method to random walks seems to have
been Nash-Williams [24]. Earlier, Royden [30] had applied Rayleigh’s
method to an equivalent problem. However, the true importance of
Rayleigh’s method for probability theory is only now becoming appre-
ciated. See, for example, Griffeath and Liggett [9], Lyons [20], and
Kesten [16].
Here’s the plan of the work: In Section 1 we will restrict ourselves
to the study of random walks on finite networks. Here we will establish
the connection between the electrical concepts of current and voltage
and corresponding descriptive quantities of random walks regarded as
finite state Markov chains. In Section 2 we will consider random walks
2
on infinite networks. Polya’s theorem will be proved using Rayleigh’s
method, and the proof will be compared with the classical proof using
probabilistic methods. We will then discuss walks on more general
infinite graphs, and use Rayleigh’s method to derive certain extensions
of Polya’s theorem. Certain of the results in Section 2 were obtained
by Peter Doyle in work on his Ph.D. thesis.
To read this work, you should have a knowledge of the basic concepts
of probability theory as well as a little electric network theory and
linear algebra. An elementary introduction to finite Markov chains as
presented by Kemeny, Snell, and Thompson [15] would be helpful.
The work of Snell was carried out while enjoying the hospitality of
Churchill College and the Cambridge Statistical Laboratory supported
by an NSF Faculty Development Fellowship. He thanks Professors
Kendall and Whittle for making this such an enjoyable and rewarding
visit. Peter Doyle thanks his father for teaching him how to think like a
physicist. We both thank Peter Ney for assigning the problem in Feller
that started all this, David Griffeath for suggesting the example to be
used in our first proof that 3-dimensional random walk is recurrent
(Section 2.2.9), and Reese Prosser for keeping us going by his friendly
and helpful hectoring. Special thanks are due Marie Slack, our secre-
tary extraordinaire, for typing the original and the excessive number of
revisions one is led to by computer formatting.
3
Figure 1: ♣
The problem we pose is to find the probability p(x) that the man,
starting at corner x, will reach home before reaching the bar. In looking
at this problem, we will not be so much concerned with the particular
form of the solution, which turns out to be p(x) = x/5, as with its
general properties, which we will eventually describe by saying “p(x) is
the unique solution to a certain Dirichlet problem.”
(a) p(0) = 0.
(b) p(N ) = 1.
Properties (a) and (b) follow from our convention that 0 and N are
traps; if the walker reaches one of these positions, he stops there; in
the game interpretation, the game ends when one player has all of the
4
pennies. Property (c) states that, for an interior point, the probability
p(x) of reaching home from x is the average of the probabilities p(x − 1)
and p(x + 1) of reaching home from the points that the walker may
go to from x. We can derive (c) from the following basic fact about
probability:
Basic Fact. Let E be any event, and F and G be events such that
one and only one of the events F or G will occur. Then
In this case, let E be the event “the walker ends at the bar”, F
the event “the first step is to the left”, and G the event “the first
step is to the right”. Then, if the walker starts at x, P(E) = p(x),
P(F ) = P(G) = 21 , P(E given F ) = p(x−1), P(E given G) = p(x+1),
and (c) follows.
Figure 2: ♣
5
by a resistance of magnitude R, then the current ixy that flows from x
to y is equal to
v(x) − v(y)
ixy = .
R
Thus for x = 1, 2, . . . , N − 1,
v(x + 1) + v(x − 1)
v(x) =
2
for x = 1, 2, . . . , N − 1. Therefore, v(x) also satisfies property (c).
We have seen that p(x) and v(x) both satisfy properties (a), (b),
and (c) of Section 1.1.3. This raises the question: are p(x) and v(x)
equal? For this simple example, we can easily find v(x) using Ohm’s
Law, find p(x) using elementary probability, and see that they are the
same. However, we want to illustrate a principle that will work for very
general circuits. So instead we shall prove that these two functions are
the same by showing that there is only one function that satisfies these
properties, and we shall prove this by a method that will apply to more
general situations than points connected together in a straight line.
Exercise 1.1.2 Assume that our walker has a tendency to drift in one
direction: more specifically, assume that each step is to the right with
probability p or to the left with probability q = 1 − p. Show that
properties (a), (b), and (c) of Section 1.1.3 should be replaced by
(a) p(0) = 0.
(b) p(N ) = 1.
6
Exercise 1.1.3 In our electric network problem, assume that the re-
sistors are not necessarily equal. Let Rx be the resistance between x
and x + 1. Show that
1 1
Rx−1 Rx
v(x) = 1 1 v(x − 1) + 1 1 v(x + 1).
Rx−1
+ Rx Rx−1
+ Rx
7
same argument implies that f (x − 2) = M ; continuing in this way, we
eventually conclude that f (0) = M . That same argument works for
the minimum value m. ♦
Uniqueness Principle. If f (x) and g(x) are harmonic functions
on S such that f (x) = g(x) on B, then f (x) = g(x) for all x.
Proof. Let h(x) = f (x) − g(x). Then if x is any interior point,
h(x − 1) + h(x + 1) f (x − 1) + f (x + 1) g(x − 1) + g(x + 1)
= − ,
2 2 2
and h is harmonic. But h(x) = 0 for x in B, and hence, by the Max-
imum Principle, the maximum and mininium values of h are 0. Thus
h(x) = 0 for all x, and f (x) = g(x) for all x. ♦
Thus we finally prove that p(x) = v(x); but what does v(x) equal?
The Uniqueness Principle shows us a way to find a concrete answer:
just guess. For if we can find any harmonic function f (x) having the
right boundary values, the Uniqueness Principle guarantees that
p(x) = v(x) = f (x).
The simplest function to try for f (x) would be a linear function; this
leads to the solution f (x) = x/N . Note that f (0) = 0 and f (N ) = 1
and
f (x − 1) + f (x + 1) x−1+x+1 x
= = = f (x).
2 2N N
Therefore f (x) = p(x) = v(x) = x/N .
As another application of the Uniqueness Principle, we prove that
our walker will eventually reach 0 or N . Choose a starting point x with
0 < x < N . Let h(x) be the probability that the walker never reaches
the boundary B = {0, N }. Then
1 1
h(x) = h(x + 1) + h(x − 1)
2 2
and h is harmonic. Also h(0) = h(N ) = 0; thus, by the Maximum
Principle, h(x) = 0 for all x.
Exercise 1.1.4 Show that you can choose A and B so that the func-
tion f (x) = A(q/p)x + B satisfies the modified properties (a), (b) and
(c) of Exercise 1.1.2. Does this show that f (x) = p(x)?
8
(a) m(0) = 0.
(b) m(N ) = 0.
(c) m(x) = 21 m(x + 1) + 21 m(x − 1) + 1.
Exercise 1.1.6 Show that the conditions in Exercise 1.1.5 have a unique
solution. Hint: show that if m and m̄ are two solutions, then f = m− m̄
is harmonic with f (0) = f (N ) = 0 and hence f (x) = 0 for all x.
Exercise 1.1.7 Show that you can choose A, B, and C such that
f (x) = A + Bx + Cx2 satisfies all the conditions of Exercise 1.1.5. Does
this show that f (x) = m(x) for this choice of A, B, and C?
Exercise 1.1.8 Find the expected duration of the walk down Madison
Avenue as a function of the walker’s starting point (1, 2, 3, or 4).
If we could be sure that a fair game remains fair to the end of the
game, then we could conclude that Peter’s expected final fortune is
equal to his starting fortune x, i.e., x = p(x) · N . This would give
p(x) = x/N and we would have found the probability that Peter wins
using the fact that a fair game remains fair to the end. Note that the
time the game ends is a random time, namely, the time that the walk
first reaches 0 or N for the first time. Thus the question is, is the
fairness of a game preserved when we stop at a random time?
9
Unfortunately, this is not always the case. To begin with, if Peter
somehow has knowledge of what the future holds in store for him, he
can decide to quit when he gets to the end of a winning streak. But
even if we restrict ourselves to stopping rules where the decision to
stop or continue is independent of future events, fairness may not be
preserved. For example, assume that Peter is allowed to go into debt
and can play as long as he wants to. He starts with 0 pennies and
decides to play until his fortune is 1 and then quit. We shall see that
a random walk on the set of all integers, starting at 0, will reach the
point 1 if we wait long enough. Hence, Peter will end up one penny
ahead by this system of stopping.
However, there are certain conditions under which we can guarantee
that a fair game remains fair when stopped at a random time. For our
purposes, the following standard result of martingale theory will do:
Martingale Stopping Theorem. A fair game that is stopped at
a random time will remain fair to the end of the game if it is assumed
that there is a finite amount of money in the world and a player must
stop if he wins all this money or goes into debt by this amount.
This theorem would justify the above argument to obtain p(x) =
x/N .
Let’s step back and see how this martingale argument worked. We
began with a harmonic function, the function f (x) = x, and inter-
preted it as the player’s fortune in a fair game. We then considered the
player’s expected final fortune in this game. This was another harmonic
function having the same boundary values and we appealed to the Mar-
tingale Stopping Theorem to argue that this function must be the same
as the original function. This allowed us to write down an expression
for the probability of winning, which was what we were looking for.
Lurking behind this argument is a general principle: If we are given
boundary values of a function, we can come up with a harmonic function
having these boundary values by assigning to each point the player’s
expected final fortune in a game where the player starts from the given
point and carries out a random walk until he reaches a boundary point,
where he receives the specified payoff. Furthermore, the Martingale
Stopping Theorern allows us to conclude that there can be no other
harmonic function with these boundary values. Thus martingale theory
allows us to establish existence and uniqueness of solutions to a Dirich-
let problem. All this isn’t very exciting for the cases we’ve been con-
sidering, but the nice thing is that the same arguments carry through
to the more general situations that we will be considering later on.
10
The study of martingales was originated by Levy [19] and Ville
[34]. Kakutani [12] showed the connection between random walks and
harmonic functions. Doob [4] developed martingale stopping theorems
and showed how to exploit the preservation of fairness to solve a wide
variety of problems in probability theory. An informal discussion of
martingales may be found in Snell [32].
Exercise 1.1.9 Consider a random walk with a drift; that is, there is
a probability p 6= 21 of going one step to the right and a probability
q = 1 − p of going one step to the left. (See Exercise 1.1.2.) Let
w(x) = (q/p)x ; show that, if you interpret w(x) as your fortune when
you are at x, the resulting game is fair. Then use the Martingale
Stopping Theorem to argue that
11
1.2 Random walks in two dimensions
1.2.1 An example
We turn now to the more complicated problem of a random walk on a
two-dimensional array. In Figure 3 we illustrate such a walk. The large
Figure 3: ♣
12
Figure 4: ♣
f (a + 1, b) + f (a − 1, b) + f (a, b + 1) + f (a, b − 1)
f (a, b) = .
4
Note that there is no restriction on the values of f at the boundary
points.
We would like to prove that p(x) = v(x) as we did in the one-
dimensional case. That p(x) is harmonic follows again by considering
all four possible first steps; that v(x) is harmonic follows again by
Kirchhoff’s Laws since the current coming into x = (a, b) is
13
Thus p(x) and v(x) are harmonic functions with the same boundary
values. To show from this that they are the same, we must extend the
Uniqueness Principle to two dimensions.
We first prove the Maximum Principle. If M is the maximum value
of f and if f (P ) = M for P an interior point, then since f (P ) is the
average of the values of f at its neighbors, these values must all equal
M also. By working our way due south, say, repeating this argument at
every step, we eventually reach a boundary point Q for which we can
conclude that f (Q) = M . Thus a harmonic function always attains
its maximum (or minimum) on the boundary; this is the Maximum
Principle. The proof of the Uniqueness Principle goes through as before
since again the difference of two harmonic functions is harmonic.
The fair game argument, using the Martingale Stopping Theorem,
holds equally well and again gives an alternative proof of the existence
and uniqueness to the solution of the Dirichlet problem.
14
point first reached. Thus to find f (x), we can start many random walks
at x and find the average final winnings for these walks. By the law of
averages (the law of large numbers in probability theory), the estimate
that we obtain this way will approach the true expected final winning
f (x).
Here are some estimates obtained this way by starting 10,000 ran-
dom walks from each of the interior points and, for each x, estimating
f (x) by the average winning of the random walkers who started at this
point.
1 1
1.824 .785 1
1 .876 .503 .317 0
1 0 0
This method is a colorful way to solve the problem, but quite inef-
ficient. We can use probability theory to estimate how inefficient it is.
We consider the case with boundary values I or 0 as in our example.
In this case, the expected final winning is just the probability that the
walk ends up at a boundary point with value 1. For each point x, as-
sume that we carry out n random walks; we regard each random walk
to be an experiment and interpret the outcome of the ith experiment
to be a “success” if the walker ends at a boundary point with a 1 and
a “failure” otherwise. Let p = p(x) be the unknown probability for
success for a walker starting at x and q = 1 − p. How many walks
should we carry out to get a reasonable estimate for p? We estimate p
to be the fraction p̄ of the walkers that end at a 1.
We are in the position of a pollster who wishes to estimate the
proportion p of people in the country who favor candidate A over B.
The pollster chooses a random sample of n people and estimates p
as the proportion p̄ of voters in his sample who favor A. (This is a
gross oversimplification of what a pollster does, of course.) To estimate
the number n required, we can use the central limit theorem. This
theorem states that, if Sn , is the number of successes in n independent
experiments, each having probability p for success, then for any k > 0
!
Sn − np
P −k < √ < k ≈ A(k),
npq
where A(k) is the area under the normal curve between −k and k.
For k = 2 this area is approximately .95; what does this say about
15
p̄ = Sn /n? Doing a little rearranging, we see that
p̄ − p
P −2 < q pq < 2 ≈ .95
n
or √ √ !
pq pq
P −2 < p̄ − p < 2 ≈ .95.
n n
√
Since pq ≤ 21 ,
!
1 1 >
P − √ < p̄ − p < √ ≈ .95.
n n
Exercise 1.2.3 You play a game in which you start a random walk
at the center in the grid shown in Figure 5. When the walk reaches
Figure 5: ♣
16
the boundary, you receive a payment of +1 or −1 as indicated at the
boundary points. You wish to simulate this game to see if it is a
favorable game to play; how many simulations would you need to be
reasonably certain of the value of this game to an accuracy of .01?
Carry out such a simulation and see if you feel that it is a favorable
game.
17
Figure 6: ♣
18
Figure 7: ♣
19
interior point is the average of the values at its neighbors. Begin with
any function having the specified boundary values, pick an interior
point, and see what is happening there. In general, the value of the
function at the point we are looking at will not be equal to the average
of the values at its neighbors. So adjust the value of the function to be
equal to the average of the values at its neighbors. Now run through
the rest of the interior points, repeating this process. When you have
adjusted the values at all of the interior points, the function that re-
sults will not be harmonic, because most of the time after adjusting the
value at a point to be the average value at its neighbors, we afterwards
came along and adjusted the values at one or more of those neighbors,
thus destroying the harmony. However, the function that results after
running through all the interior points, if not harmonic, is more nearly
harmonic than the function we started with; if we keep repeating this
averaging process, running through all of the interior points again and
again, the function will approximate more and more closely the solution
to our Dirichlet problem.
We do not yet have the tools to prove that this method works for
a general initial guess; this will have to wait until later (see Exercise
1.3.12). We will start with a special choice of initial values for which
we can prove that the method works (see Exercise 1.2.5).
We start with all interior points 0 and keep the boundary points
fixed.
1 1
1 0 0 1
1 0 0 0 0
1 0 0
After one iteration we have:
1 1
1 .547 .648 1
1 .75 .188 .047 0
1 0 0
Note that we go from left to right moving up each column replacing
each value by the average of the four neighboring values. The compu-
tations for this first iteration are
.75 = (1/4)(1 + 1 + 1 + 0)
.1875 = (1/4)(.75 + 0 + 0 + 0)
.5469 = (1/4)(.1875 + 1 + 1 + 0)
20
.0469 = (1/4)(.1875 + 0 + 0 + 0)
.64844 = (1/4)(.0469 + .5769 + 1 + 1)
We have printed the results to three decimal places. We continue the
iteration until we obtain the same results to three decimal places. This
occurs at iterations 8 and 9. Here’s what we get:
1 1
1 .823 .787 1
1 .876 .506 .323 0
1 0 0
We see that we obtain the same result to three places after only nine
iterations and this took only a fraction of a second of computing time.
We shall see that these results are correct to three place accuracy. Our
Monte Carlo method took several seconds of computing time and did
not even give three place accuracy.
The classical reference for the method of relaxations as a means
of finding approximate solutions to continuous problems is Courant,
Friedrichs, and Lewy [3]. For more information on the relationship
between the original Dirichlet problem and the discrete analog, see
Hersh and Griego [10].
xa + x c + 2
xb =
4
xd + 3
xc =
4
xa + x c + x e
xd =
4
xb + x d
xe = .
4
We can rewrite these equations in matrix form as
1 −1/4 0 −1/4 0 xa 1/2
−1/4 1 0 0 −1/4 xb 1/2
0 0 1 −1/4 0 xc = 3/4 .
−1/4 0 −1/4 1 −1/4 xd 0
0 −1/4 0 −1/4 1 xe 0
We can write this in symbols as
Ax = u.
Since we know there is a unique solution, A must have an inverse and
x = A−1 u.
22
Carrying out this calculation we find
.823
.787
.876 .
Calculated x =
.506
.323
Here, for comparison, are the approximate solutions found earlier:
.824
.785
Monte Carlo x = .876 .
.503
.317
.823
.787
Relaxed x = .876 .
.506
.323
We see that our Monte Carlo approximations were fairly good in that
no error of the simulation is greater than .01, and our relaxed approx-
imations were very good indeed, in that the error does not show up at
all.
Exercise 1.2.7 Solve the discrete Dirichlet problem for the graph shown
in Figure 10. The interior points are a, b, c, d. (Hint: See Exercise
1.2.2.)
Exercise 1.2.8 Find the exact value, for each possible starting point,
for the game described in Exercise 1.2.3. Is the game favorable starting
in the center?
23
Figure 9: ♣
Figure 10: ♣
24
A finite Markov chain is a special type of chance process that may
be described informally as follows: we have a set S = {s1 , s2 , . . . , sr }
of states and a chance process that moves around through these states.
When the process is in state si , it moves with probability Pij to the
state sj . The transition probabilities Pij are represented by an r-by-r
matrix P called the transition matrix. To specify the chance process
completely we must give, in addition to the transition matrix, a method
for starting the process. We do this by specifying a specific state in
which the process starts.
According to Kemeny, Snell, and Thompson [15], in the Land of
Oz, there are three kinds of weather: rain, nice, and snow. There are
never two nice days in a row. When it rains or snows, half the time it
is the same the next day. If the weather changes, the chances are equal
for a change to each of the other two types of weather. We regard the
weather in the Land of Oz as a Markov chain with transition matrix:
R N S
R 1/2 1/4 1/4
P = N
1/2 0 1/2 .
S 1/4 1/4 1/2
When we start in a particular state, it is natural to ask for the
probability that the process is in each of the possible states after a
specific number of steps. In the study of Markov chains, it is shown
that this information is provided by the powers of the transition matrix.
Specifically, if Pn is the matrix P raised to the nth power, the entries
Pijn represent the probability that the chain, started in state si , will,
after n steps, be in state sj . For example, the fourth power of the
transition matrix P for the weather in the Land of Oz is
R N S
R .402 .199 .398
P4 = N .398 .203 .398 .
25
of being in a state after a large number of steps is independent of the
starting state.
As a second example, we consider a random walk in one dimension.
Let us assume that the walk is stopped when it reaches either state 0
or 4. (We could use 5 instead of 4, as before, but we want to keep the
matrices small.) We can regard this random walk as a Markov chain
with states 0, 1, 2, 3, 4 and transition matrix given by
0 1 2 3 4
0 1 0 0 0 0
1 1/2 0 1/2 0 0
P = 2 0 1/2 0 1/2 0 .
3 0
0 1/2 0 1/2
4 0 0 0 0 1
The states 0 and 4 are traps or absorbing states. These are states
that, once entered, cannot be left. A Markov chain is called absorbing
if it has at least one absorbing state and if, from any state, it is possible
(not necessarily in one step) to reach at least one absorbing state. Our
Markov chain has this property and so is an absorbing Markov chain.
The states of an absorbing chain that are not traps are called non-
absorbing.
When an absorbing Markov chain is started in a non-absorbing
state, it will eventually end up in an absorbing state. For non-absorbing
state si and absorbing state sj , we denote by Bij the probability that
the chain starting in si will end up in state sj . We denote by B the
matrix with entries Bij . This matrix will have as many rows as non-
absorbing states and as many columns as there are absorbing states.
For our random walk example, the entries Bx,4 will give the probability
that our random walker, starting at x, will reach 4 before reaching 0.
Thus, if we can find the matrix B by Markov chain techniques, we will
have a way to solve the Dirichlet problem.
We shall show, in fact, that the Dirichlet problem has a natural
generalization in the context of absorbing Markov chains and can be
solved by Markov chain methods.
Assume now that P is an absorbing Markov chain and that there are
u absorbing states and v non-absorbing states. We reorder the states
so that the absorbing states come first and the non-absorbing states
come last. Then our transition matrix has the canonical form:
I 0
P= .
R Q
26
Here I is a u-by-u identity matrix; 0 is a matrix of dimension u-by-v
with all entries 0.
For our random walk example this canonical form is:
0 4 1 2 3
0 1 0 0 0 0
4 0 1 0 0 0
1 1/2 0 0 1/2 0 .
2 0
0 1/2 0 1/2
3 0 1/2 0 1/2 0
− 21
1 0
1
I − Q = −2 1 − 12
0 − 21 1
1 2 3
3 1
1 2
1 2
N = (I − Q)−1 = 21 2 1
3 12 1 3
2
27
3 1
2
1 2
1 3
t = N1 =
1 2 11 = 4
1 3
2
1 2
1 3
0 4
3 1 1 3 1
2
1 2 2
0 1 4 4
1 1
B = NR = 1 2 10 0 = 2 .
2 2
1 3 1 1 3
2
1 2
0 2
3 4 4
Thus, starting in state 3, the probability is 3/4 of reaching 4 before
0; this is in agreement with our previous results. From t we see that
the expected duration of the game, when we start in state 2, is 4.
For an absorbing chain P, the nth power Pn of the transition prob-
abilities will approach a matrix P∞ of the form
I 0
P ∞
= .
B 0
We now give our Markov chain version of the Dirichlet problem. We
interpret the absorbing states as boundary states and the non-absorbing
states as interior states. Let B be the set of boundary states and D the
set of interior states. Let f be a function with domain the state space
of a Markov chain P such that for i in D
X
f (i) = Pij f (j).
j
28
and
fD = BfB .
We again see that the values of a harmonic function are determined
by the values of the function at the boundary points.
Since the entries Bij of B represent the probability, starting in i,
that the process ends at j, our last equation states that if you play a
game in which your fortune is fj when you are in state j, then your
expected final fortune is equal to your initial fortune; that is, fairness
is preserved. As remarked above, from Markov chain theory B = NR
where N = (I − Q)−1 . Thus
fD = (I − Q)−1 RfB .
(To make the correspondence between this solution and the solution of
Section 1.2.5, put A = I − Q and u = RfB .)
A general discussion of absorbing Markov chains may be found in
Kemeny, Snell, and Thompson [15].
Exercise 1.2.9 Consider the game played on the grid in Figure 11.
You start at an interior point and move randomly until a boundary
Figure 11: ♣
point is reached and obtain the payment indicated at this point. Using
Markov chain methods find, for each starting state, the expected value
of the game. Find also the expected duration of the game.
29
1.3 Random walks on more general networks
1.3.1 General resistor networks and reversible Markov chains
Our networks so far have been very special networks with unit resistors.
We will now introduce general resistor networks, and consider what it
means to carry out a random walk on such a network.
A graph is a finite collection of points (also called vertices or nodes)
with certain pairs of points connected by edges (also called branches).
The graph is connected if it is possible to go between any two points
by moving along the edges. (See Figure 12.)
Figure 12: ♣
a b c d
1 1
a 0 0
2 2
1 2
b0 0 3 3
c 14 1
0 1
4 2
d 15 2
5
2
5
0
30
Figure 13: ♣
Figure 14: ♣
31
Figure 15: ♣
32
In addition to being ergodic, Markov chains associated with net-
works have another property called reversibility. An ergodic chain is
said to be reversible if wx Pxy = wy Pyx for all x, y. That this is true for
our network chains follows from the fact that
Cxy Cyx
Cx Pxy = Cx = Cxy = Cyx = Cy = Cy Pyx .
Cx Cy
Thus, dividing the first and last term by C, we have wx Pxy = wy Pyx .
To see the meaning of reversibility, we start our Markov chain with
initial probabilities w (in equilibrium) and observe a few states, for
example
a c b d.
The probability that this sequence occurs is
2 1 1 2 1
wa Pac Pcb Pbd = · · · = .
14 2 4 3 84
The probability that the reversed sequence
d b c a
occurs is
5 2 1 1 1
wd Pdb Pbc Pca = · · · = .
14 5 3 4 84
Thus the two sequences have the same probability of occurring.
In general, when a reversible Markov chain is started in equilibrium,
probabilities for sequences in the correct order of time are the same as
those with time reversed. Thus, from data, we would never be able to
tell the direction of time.
If P is any reversible ergodic chain, then P is the transition ma-
trix for a random walk on an electric network; we have only to define
Cxy = wx Pxy . Note, however, if Pxx 6= 0 the resulting network will
need a conductance from x to x (see Exercise 1.3.4). Thus reversibility
characterizes those ergodic chains that arise from electrical networks.
This has to do with the fact that the physical laws that govern the
behavior of steady electric currents are invariant under time-reversal
(see Onsager [25]).
When all the conductances of a network are equal, the associated
random walk on the graph G of the network has the property that, from
each point, there is an equal probability of moving to each of the points
connected to this point by an edge. We shall refer to this random walk
33
as simple random walk on G. Most of the examples we have considered
so far are simple random walks. Our first example of a random walk
on Madison Avenue corresponds to simple random walk on the graph
with points 0, 1, 2, . . . , N and edges the streets connecting these points.
Our walks on two dimensional graphs were also simple random walks.
Exercise 1.3.5 For the Ehrenfest urn model, there are two urns that
together contain N balls. Each second, one of the N balls is chosen at
random and moved to the other urn. We form a Markov chain with
states the number of balls in one of the urns. For N = 4, the resulting
transition matrix is
0 1 2 3 4
0 0 1 0 0 0
1 3
1 0 0 0
4 1
4
1
P = 20 2
0 2
0.
3 1
30 0 4
0 4
4 0 0 0 1 0
1 4 6 4 1
Show that the fixed vector w is the binomial distribution w = ( 16 , 16 , 16 , 16 , 16 ).
Determine the electric network associated with this chain.
34
1.3.2 Voltages for general networks; probabilistic interpreta-
tion
We assume that we have a network of resistors assigned to the edges of
a connected graph. We choose two points a and b and put a one-volt
battery across these points establishing a voltage va = 1 and vb = 0,
as illustrated in Figure 16. We are interested in finding the volt-
Figure 16: ♣
ages vx and the currents ixy in the circuit and in giving a probabilistic
interpretation to these quantities.
We begin with the probabilistic interpretation of voltage. It will
come as no surprise that we will interpret the voltage as a hitting prob-
ability, observing that both functions are harmonic and that they have
the same boundary values.
By Ohm’s Law, the currents through the resistors are determined
by the voltages by
vx − v y
ixy = = (Vx − vy )Cxy .
Rxy
Note that ixy = −iyx . Kirchhoff’s Current Law requires that the total
current flowing into any point other than a or b is 0. That is, for x 6= a, b
X
ixy = 0.
y
35
This will be true if X
(vx − vy )Cxy = 0
y
or X X
vx Cxy = Cxy vy .
y y
Thus Kirchhoff’s Current Law requires that our voltages have the prop-
erty that
X Cxy X
vx = vy = Pxy vy
y Cx y
va = ha = 1
and
vb = hb = 0.
Thus if we modify P by making a and b absorbing states, we obtain
an absorbing Markov chain P̄ and v and h are both solutions to the
Dirichlet problem for the Markov chain with the same boundary values.
Hence v = h.
For our example, the transition probabilities P̄xy are shown in Figure
17. The function vx is harmonic for P̄ with boundary values va =
1, vb = 0.
To sum up, we have the following:
Intrepretation of Voltage. When a unit voltage is applied be-
tween a and b, making va = 1 and vb = 0, the voltage vx at any point x
represents the probability that a walker starting from x will return to
a before reaching b.
In this probabilistic interpretation of voltage, we have assumed a
unit voltage, but we could have assumed an arbitrary voltage va be-
tween a and b. Then the hitting probability hx would be replaced by
an expected value in a game where the player starts at x and is paid
va if a is reached before b and 0 otherwise.
Let’s use this interpretation of voltage to find the voltages for our
example. Referring back to Figure 17, we see that
va = 1
36
Figure 17: ♣
vb = 0
1 1
vc = + vd
4 2
1 2
vd = + vc .
5 5
7
Solving these equations yields vc = 16 and vd = 38 . From these
7
voltages we obtain the current ixy . For example icd = ( 16 − 38 ) · 2 = 81 .
The resulting voltages and currents are shown in Figure 18. The
7
voltage at c is 16 and so this is also the probability, starting at c, of
reaching a before b.
37
Figure 18: ♣
38
leaving at a, but realism is not what we’re after.) To determine the
current ixy along the branch from x to y, we consider that in the course
of its peregrinations the point may pass once or several times along the
branch from x to y, and in the opposite direction from y to x. We may
now hypothesize that the current ixy is proportional to the expected net
number of movements along the edge from x to y, where movements
from y back to x are counted as negative. This hypothesis is correct,
as we will now show.
The walker begins at a and walks until he reaches b; note that if
he returns to a before reaching b, he keeps on going. Let ux be the
expected number of visits to state x before reaching b. Then ub = 0
and, for x 6= a, b, X
ux = uy Pyx .
y
Now ux Pxy is the expected number of times our walker will go from x
to y and uy Pyx is the expected number of times he will go from y to
x. Thus the current ixy is the expected value for the net number of
times the walker passes along the edge from x to y. Note that for any
particular walk this net value will be an integer, but the expected value
will not.
39
As we have already noted, the currents ixy here are not those of our
original electrical problem, where we apply a 1-volt battery, but they
are proportional to those original currents. To determine the constant
of proportionality, we note the following characteristic property of the
new currents ixy : The total current flowing into the network at a (and
out at b) is 1. In symbols,
X
iay = 1.
y
this to the currents in our example yields the unit current flow shown
in Figure 19.
Figure 19: ♣
40
the circuit when a I-volt battery is applied between a and b. This
quantity, called the effective resistance between a and b, is discussed in
detail in Section 1.3.4.
To sum up, we have the following:
Interpretation of Current. When a unit current flows into a
and out of b, the current ixy flowing through the branch connecting x to
y is equal to the expected net number of times that a walker, starting
at a and walking until he reaches b, will move along the branch from x
to y. These currents are proportional to the currents that arise when a
unit voltage is applied between a and b, the constant of proportionality
being the effective resistance of the network.
We have seen that we can estimate the voltages by simulation. We
can now do the same for the currents. We have to estimate the expected
value for the net number of crossings of xy. To do this, we start a large
number of walks at a and, for each one, record the net number of
crossings of each edge and then average these as an estimate for the
expected value. Carrying out 10,000 such walks yielded the results
shown in Figure 20.
Figure 20: ♣
41
that the total current flowing into a is 1, out of b is 1, and into any
other point it is 0. This is no accident; the explanation is that the
history of each walk would have these properties, and these properties
are not destroyed by averaging.
into the circuit from the outside source. The amount of current that
flows depends upon the overall resistance in the circuit. We define
the effective resistance Reff between a and b by Reff = va /ia . The
reciprocal quantity Ceff = 1/Reff = ia /va is the effective conductance.
If the voltage between a and b is multiplied by a constant, then the
currents are multiplied by the same constant, so Reff depends only on
the ratio of va to ia .
Let us calculate Reff for our example. When a unit voltage was im-
posed, we obtained the currents shown in Figure 18. The total current
flowing into the circuit is ia = 9/16+10/16 = 19/16. Thus the effective
resistance is
va 1 16
Reff = = 19 = .
ia 16
19
We can interpret the effective conductance probabilistically as an
escape probability. When va = 1, the effective conductance equals the
total current ia flowing into a. This current is
X X Cay X
ia = (va − vy )Cay = (va − vy ) Ca = Ca (1 − Pay vy ) = Ca pesc
y y Ca y
42
where pesc is the probability, starting at a, that the walk reaches b
before returning to a. Thus
Ceff = Ca pesc
and
Ceff
pesc = .
Ca
In our example Ca = 2 and we found that ia = 19/16. Thus
19
pesc = .
32
In calculating effective resistances, we shall use two important facts
about electric networks. First, if two resistors are connected in series,
they may be replaced by a single resistor whose resistance is the sum of
the two resistances. (See Figure 21.) Secondly, two resistors in parallel
Figure 21: ♣
43
Figure 22: ♣
Figure 23: ♣
44
Figure 24: ♣
Exercise 1.3.7 A bug walks randomly on the unit cube (see Figure
26). If the bug starts at a, what is the probability that it reaches food
at b before returning to a?
Exercise 1.3.9 Consider the ladder network shown in Figure 27. Show
that if Rn is the effective resistance of a ladder with n rungs then R1 = 2
and
2 + 2Rn
Rn+1 = .
2 + Rn
45
Figure 25: ♣
46
Figure 26: ♣
Figure 27: ♣
47
√
Use this to show that limn→∞ Rn = 2.
Figure 28: ♣
48
a quantity called energy dissipation. When a current ixy flows through
a resistor, the energy dissipated is
i2xy Rxy ;
this is the product of the current ixy and the voltage vxy = ixy Rxy . The
total energy dissipation in the circuit is
1X 2
E= i Rxy .
2 x,y xy
The factor 1/2 is necessary in this formulation since each edge is counted
twice in this sum. For our example, we see from Figure 18 that
2 2 2 2 2
9 10 7 2 1 12 1 19
E= ·1+ ·1+ ·1+ · + · = .
16 16 16 16 2 16 2 16
If a source (battery) establishes voltages va and vb at a and b, then
the energy supplied is (va − vb )ia where ia = x iax . By conservation
P
(b) y jxy = 0 if x 6= a, b
P
49
Conservation of Energy. Let w be any function defined on the
points of the graph and j a flow from a to b. Then
1X
(wa − wb )ja = (wx − wy )jxy .
2 x,y
Proof.
X X X X X
(wx − wy )jxy = (wx jxy ) − (wy jxy )
x,y x y y x
X X X X
= wa jay + wb jby − wa jxa − wb jxb
y y x x
= wa ja + wb jb − wa (−ja ) − wb (−jb )
= 2(wa − wb )ja .
Thus
1X
(wa − wb )ja = (wx − wy )jxy
2 x,y
as was to be proven. ♦
If we now impose a voltage va between a and b with vb = 0, we
obtain voltages vx and currents ixy . The currents i give a flow from a
to b and so by the previous result, we conclude that
1X 1X 2
v a ia = (vx − vy )ixy = i Rxy .
2 x,y 2 x,y xy
Recall that Reff = va /ia . Thus in terms of resistances we can write this
as
1X 2
i2xy Reff = i Rxy .
2 x,y xy
If we adjust va so that ia = 1, we call the resulting flow the unit
current flow from a to b. The unit current flow from a to b is a particular
example of a unit flow from a to b, which we define to be any flow ixy
from a to b for which ia = −ib = 1. The formula above shows that the
energy dissipated by the unit current flow is just Reff . According to a
basic result called Thomson’s Principle, this value is smaller than the
energy dissipated by any other unit flow from a to b. Before proving
this principle, let us watch it in action in the example worked out above.
Recall that, for this example, we found the true values and some
approximate values for the unit current flow; these were shown in Figure
20. The energy dissipation for the true currents is
16
E = Reff = = .8421053.
19
50
Our approximate currents also form a unit flow and, for these, the
energy dissipation is
1 1
Ē = (.4754)2 ·1+(.5246)2 ·1+(.3672)2·1+(.1082)2 · +(.6328)2 · = .8421177.
2 2
We note that Ē is greater than E, though just barely.
Thomson’s Principle. (Thomson [33]). If i is the unit flow
from a to b determined by Kirchhoff’s Laws, then the energy dissipation
1 P 2 1 P 2
2 x,y ixy Rxy minimizes the energy dissipation 2 x,y jxy Rxy among all
unit flows j from a to b.
Proof. Let j be any unit flow from a to b and let dxy = jxy − ixy .
Then d is a flow from a to b with da = x dax = 1 − 1 = 0.
P
2
(ixy + dxy )2 Rxy
X X
jxy Rxy =
x,y x,y
51
initial guess. Show that when we replace the value at a point by the
average of the neighboring points the energy dissipation, as expressed in
Exercise 1.3.11, can only decrease. Use this to prove that the relaxation
method converges to a solution of the Dirichlet problem for an arbitrary
initial guess.
Figure 29: ♣
52
reaches a corner of this street. The modified graph will be as in Figure
30. We want to show that the probability of escaping to b from a is
Figure 30: ♣
decreased.
Consider this problem in terms of our network. Blocking a street
corresponds to replacing a unit resistor by an infinite resistor. This
should have the effect of increasing the effective resistance Reff of the
circuit between a and b. If so, when we put a unit voltage between a
and b less current will flow into the circuit and
ia 1
pesc = =
4 4Reff
will decrease.
Thus we need only show that when we increase the resistance in one
part of a circuit, the effective resistance increases. This fact, known as
Rayleigh’s Monotonicity Law, is almost self-evident. Indeed, the father
of electromagnetic theory, James Clerk Maxwell, regarded this to be
the case. In his Treatise on Electricity and Magnetism ([21], p. 427),
he wrote
53
of the portion is increased, and diminished if that of the
portion is diminished. This principle may be regarded as
self-evident . . . .
Rayleigh’s Monotonicity Law. If the resistances of a circuit
are increased, the effective resistance Reff between any two points can
only increase. If they are decreased, it can only decrease.
Proof. Let i be the unit current flow from a to b with the resistors
Rxy . Let j be the unit current flow from a to b with the resistors R̄xy
with R̄xy ≥ Rxy . Then
1X 2 1X 2
R̄eff = jxy R̄xy ≥ j Rxy .
2 x,y 2 x,y xy
Thus R̄eff ≥ Reff . The proof for the case of decreasing resistances is
the same.
Exercise 1.4.1 Consider a graph G and let Rxy and R̄xy be two differ-
ent assignments of resistances to the edges of G. Let R̂xy = R̄xy + Rxy .
Let Reff , R̄eff , and R̂eff be the effective resistances when R, R̄, and R̂,
respectively, are used. Prove that
Exercise 1.4.2 Show that the effective resistance of the circuit in Fig-
ure 31 is greater than or equal to the effective resistance of the circuit
in Figure 32. Use this to show the following inequality for Rij ≥ 0:
1 1 1
1 1 ≥ 1 1 + 1 1 .
R11 +R12
+ R21 +R22 R11
+ R21 R12
+ R22
See the note by Lehman [18] for a proof of the general Minkowski
inequality by this method.
54
Figure 31: ♣
Figure 32: ♣
55
Figure 33: ♣
replied, ‘I knew the answer but I have forgotten it.” Maxwell’s response
to the class was, “Gentlemen, you have just witnessed the greatest
tragedy in the history of science. The one person who knew what
electricity is has forgotten it.”
To say that our intuition about the Monotonicity Law is only as
solid as our understanding of electricity is not really a valid argument,
of course, because in saying that this law is self-evident we are secretly
depending on the analogy between electricity and the flow of water (see
Feynman [6], Vol. 2, Chapter 12). We just can’t believe that if a water
main gets clogged the total rate of flow out of the local reservoir is
going to increase. But as soon as we admit this, some pedant will ask
if we’re talking about flows with low Reynolds number, or what, and
we’ll have to admit that we don’t understand water any better than we
understand electricity.
Whatever our feelings about electricity or the flow of water, it seems
desirable to have an explanation of the Monotonicity Law in terms of
our random walker. We now give such an explanation.
We begin by collecting some notation and results from previous
sections. As usual, we have a network of conductances (streets) and a
walker who moves from point x to point y with probability
Cxy
Pxy =
Cx
where Cxy is the conductance from x to y and Cx = y Cxy . We choose
P
two preferred points a and b. The walker starts at a and walks until
he reaches b or returns to a. We denote by vx the probability that the
walker, starting at a, reaches a before b. Then va = 1, vb = 0, and the
56
function vx is harmonic at all points x 6= a, b. We denote by pesc the
probability that the walker, starting at a, reaches b before returning to
a. Then X
pesc = 1 − pax vx .
x
Figure 34: ♣
new edge a “bridge” to distinguish it from the other edges. Note that
the graph with the bridge added will have more than one edge between
57
r and s (unless there was no edge between r and s in the original
graph), and this will complicate any expression that involves summing
over edges. Everything we have said or will say holds for graphs with
“multiple edges” as well as for graphs without them. So far, we have
chosen to keep our expressions simple by assuming that an edge is
determined by its endpoints. The trade-off is that in the manipulations
below, whenever we write a sum over edges we will have to add an extra
term to account for the bridge.
Why should adding the bridge increase the escape probability? The
first thing you think is, “Of course, it opens up new possibilities of
escaping!” The next instant you think, “Wait a minute, it also opens
up new possibilities of returning to the starting point. What ensures
that the first effect will outweigh the second?” As we shall see, the
proper reply is, “Because the walker will cross the bridge more often in
the good direction than in the bad direction.” To turn this blithe reply
into a real explanation will require a little work, however.
To begin to make sense of the notion that the bridge gets used more
often in the good direction than the bad, we will make a preliminary
argument that applies to any edge of any graph. Let G be any graph,
and let rs be any edge with endpoints not a or b. vr > vs . Since the
walker has a better chance to escape from s than from r, this means
that to cross this edge in the good direction is to go from r to s We
shall show that the walker will cross the edge from r to s more often
on the average than from s to r.
Let ux be the expected number of times the walker is at x and uxy
the expected number of times he crosses the edge xy from x to y before
he reaches b or returns to a. The calculation carried out in Section
1.3.3 shows that ux /Cx is harmonic for x 6= a, b with ua /Ca = 1/Ca
and bb /Cb = 0. But the function vx /Ca also has these properties, so by
the Uniqueness Principle
ux vx
= .
Cx Ca
Now
Crs Crs
urs = ur Prs = ur = vr
Cr Ca
and
Csr Csr
usr = us Psr = us = vs .
Cs Ca
Since Crs = Csr , and since by assumption vr ≥ vs , this means that
urs ≥ usr . Therefore, we see that any edge leads the walker more often
to the more favorable of the points of the edge.
58
Now let’s go back and think about the graph with the bridge. The
above discussion shows that the bridge helps in the sense that, on the
average, the bridge is crossed more often in the direction that improves
the chance of escaping. While this fact is suggestive, it doesn’t tell us
that we are more likely to escape than if the bridge weren’t there; it
only tells us what goes on once the bridge is in place. What we need is
to make a “before and after” comparison.
Recall that we are denoting the conductance of the bridge by . To
distinguish the quantities pertaining to the walks with and without the
bridge, we will put () superscripts on quantities that refer to the walk
()
with the bridge, so that, e.g., pesc denotes the escape probability with
the bridge.
Now let d() denote the expected net number of times the walker
crosses from r to s. As above, we have
ur() u()
!
() s
d = ur() − us() = − .
Cr + Cs + Cr + Cs +
Claim.
()
pesc = pesc + (vr − vs )d() .
Why. Every time you use the bridge to go from r to s, you improve
your chances of escaping by
(1 − vs ) − (1 − vr ) = vr − vs
assuming that you would continue your walk without using the bridge.
To get the probability of escaping with the bridge, you take the prob-
ability of escaping without the bridge, and correct it by adding in the
change attributable to the bridge, which is the difference in the origi-
nal escape probabilities at the ends of the bridge, multiplied by the net
number of times you expect to cross the bridge. ♥
Proof. Suppose you’re playing a game where you walk around the
graph with the bridge, and your fortune when you’re at x is vx , which
is the probability that you would return to a before reaching b if the
bridge weren’t there. You start at a, and walk until you reach b or
return to a.
This is not a fair game. Your initial fortune is 1 since you start at
a and va = 1. Your expected final fortune is
() () ()
1 · (1 − pesc ) + 0 · pesc = 1 − pesc .
59
The amount you expect to lose by participating in the game is
()
pesc .
Now if your fortune were given by vx() instead of vx , the game would
be fair after this first step. However, the function vx is not harmonic
for the walk with the bridge; it fails to be harmonic at r and s. Every
time you step away from r, you expect to lose an amount
!
X Crs
vr − vx + vs = (vr − vs ) .
x Cr + Cr + Cr +
Similarly, every time you step away from s you expect to lose an amount
(vs − vr ) .
Cs +
The total amount you expect to lose by participating in the game
is:
Equating this with our first expression for the expected cost of playing
the game yields the formula we were trying to prove.
According to the formula just established,
ur() us()
!
()
pesc − pesc = (vr − vs ) − .
Cr + Cs +
60
For small , we will have
ur() us() ur us vr vs
− ≈ − = − ,
Cr + Cs + Cr Cs Ca Ca
so for small
()
pesc − pesc ≈ (vr − vs )2.
Ca
This approximation allows us to conclude that
()
pesc ≥ pesc ≥ 0
for small . But this is enough to establish the monotonicity law, since
any finite change in can be realized by making an infinite chain of
graphs each of which is obtained from the one before by adding a bridge
of infinitesimal conductance.
To recapitulate, the difference in the escape probabilities with and
without the bridge is obtained by taking the difference between the
original escape probabilities at the ends of the bridge, and multiplying
by the expected net number of crossings of the bridge. This quantity
is positive because the walker tends to cross the bridge more often in
the good direction than in the bad direction.
in terms of quantities that refer only to the walk without the bridge.
61
(a) Let Nxy denote the expected number of times in state y for a
walker who starts at x and walks around the graph without the bridge
until he reaches a or b. It is a fact that
ur() = ur + ur() (Nsr + 1 − Nrr ) + us() (Nrr − Nsr ).
Cr + Cs +
Explain in words why this formula is true.
(b) This equation for ur() can be rewritten as follows:
Cr
ur() = ur + d() (Nsr − Nrr ).
Cr +
Prove this formula. (Hint: Consider a game where your fortune at x is
Nxr , and where you start from a and walk on the graph with the bridge
until you reach b or return to a.)
(c) Write down the corresponding formula for us() , and use this
formula to get an expression for d() in terms of quantities that refer to
the walk without the bridge.
()
(d) Use the expression for d() to express pesc − pesc in terms of
quantities that refer to the walk without the bridge, and verify that
the value of your expression is ≥ 0 for ≥ 0.
() .
P̂ss = Cs +
Pss =0
Csr
P̂sr = CS +
()
Psr = CCsrs +
+
62
We make states a and b into absorbing states. Let N̂ and N() be
the fundamental matrices for the absorbing chains obtained from P̂ and
P() respectively. Then N̂ = (I − Q̂)−1 and N() = (I − Q() )−1 where
Q̂ and Q() differ only for the four components involving only r and s.
That is,
r s
!
() r − Cr + Cr +
Q = Q̂ + = Q̂ + hk
s Cs +
− Cs+
where h is the column vector with only components r and s non-zero
!
r Cr +
h=
s − Cs+
r s
k= −1 1 .
N() = N̂ + c(N̂h)(kN̂).
63
Recall that the absorption probabilities for state b are given by
X
Bxb = Nxy Pyb .
y
()
Since Pxb = P̂xb ,
!
() N̂xr N̂xs
Bxb = B̂xb + c − (B̂sb − B̂rb ).
Cr + Cs +
()
Since Pax = P̂ax ,
!
() ûr ûs
pesc = p̂esc + c − (B̂sb − B̂rb )
Cr + Cs +
where ûx is the expected number of times that the ergodic chain P̂ ,
started at state a, is in state x before returning to a reaching b for
the first time. The absorption probability Bxa is the quantity vx intro-
duced in the previous section. As shown there, reversibility allows us
to conclude that
ûx B̂xa B̂xa
= =
Ĉx Ĉa Ca
so that
() c
pesc = pesc + (B̂sb − B̂rb )2
Ca
and this shows that the Monotonicity Law is true.
The change from P to P̂ was merely to make the calculations easier.
As we have remarked, the escape probabilities are the same for the two
chains as are the absorption probabilities Bib . Thus we can remove the
hats and write the same formula.
() c
pesc = pesc + (Bsb − Brb )2 .
Ca
The only quantity in this final expression that seems to depend upon
quantities from P̂ is c. In Exercise 1.4.11 you are asked to show that c
can also be expressed in terms of the fundamental matrix N obtained
from the original P.
N̄ = (A − hk)−1
64
exists if and only if kNh 6= 1 and, if so,
(Nh)(kN)
N̄ = N + .
1 − kNh
Exercise 1.4.11 Show that c can be expressed in terms of the funda-
mental matrix N of the original Markov chain P by
1
c= Nrr Nsr Nss Nrs .
1+ Cr
− Cr
+ Cs
− Cs
Figure 35: ♣
65
These connecting segments, which represent the edges of our graph,
each have unit length and run parallel to one of the coordinate axes of
Rd . We will denote this d-dimensional lattice by Zd . We will denote
the origin (0, 0, . . . , 0) by 0.
Now let a point walk around at random on this lattice. As usual,
by walking at random we mean that, upon reaching any vertex of the
graph, the probability of choosing any one of the 2d edges leading out
1
of that vertex is 2d . We will call this random walk simple random walk
in d dimensions.
When d = 1, our lattice is just an infinite line divided into segments
of length one. We may think of the vertices of this graph as represent-
ing the fortune of a gambler betting on heads or tails in a fair coin
tossing game. Simple random walk in one dimension then represents
the vicissitudes of his or her fortune, either increasing or decreasing by
one unit after each round of the game.
When d = 2, our lattice looks like an infinite network of streets and
avenues, which is why we describe the random motion of the wandering
point as a “walk”.
When d = 3, the lattice looks like an infinite “jungle gym”, so per-
haps in this case we ought to talk about a “random climb”, but we will
not do so. It is worth noting that when d = 3, the wanderings of our
point could be regarded as an approximate representation of the ran-
dom path of a molecule diffusing in an infinite cubical crystal. Figure
36 shows a simulation of a simple random walk in three dimensions.
66
Figure 36: ♣
67
2.1.3 Polya’s original question
The definition of recurrence that we have given differs from Polya’s
original definition. Polya defined a walk to be recurrent if, with prob-
ability one, it will pass through every single point of the lattice in the
course of its wanderings. In our definition, we require only that the
point return to its starting point. So we have to ask ourselves, “Can
the random walk be recurrent in our sense and fail to be recurrent in
Polya’s sense?”
The answer to this question is, “No, the two definitions of recurrence
are equivalent.” Why? Because if the point must return once to its
starting point, then it must return there again and again, and each
time it starts away from the origin, it has a certain non-zero probability
of hitting a specified target vertex before returning to the origin. And
anyone can get a bull’s-eye if he or she is allowed an infinite number of
darts, so eventually the point will hit the target vertex.
Exercise 2.1.1 Write out a rigorous version of the argument just given.
Exercise 2.1.2 Show that Polya’s theorem implies that if two random
walkers start at 0 and wander independently, then in one and two
dimensions they will eventually meet again, but in three dimensions
there is positive probability that they won’t.
Exercise 2.1.3 Show that Polya’s theorem implies that a random walker
in three dimensions will eventually hit the line defined by x = 2, z = 0.
68
2.1.5 The escape probability as a limit of escape probabilities
for finite graphs
We can determine the type of an infinite lattice from properties of
bigger and bigger finite graphs that sit inside it. The simplest way to
go about this is to look at the lattice analog of balls (solid spheres) in
space. These are defined as follows: Let r be an integer—this will be the
radius of the ball. Let G(r) be the graph gotten from Zd by throwing out
vertices whose distance from the origin is > r. By “distance from the
origin” we mean here not the usual Euclidean distance, but the distance
“in the lattice”; that is, the length of the shortest path along the edges
of the lattice between the two points. Let ∂G(r) be the “sphere” of
radius r about the origin, i.e., those points that are exactly r units
from the origin. In two dimensions, ∂G(r) looks like a square. (See
Figure 37.) In three dimensions, it looks like an octahedron.
Figure 37: ♣
69
(r)
and pesc = limr→∞ pesc is the escape probability for the infinite graph.
If this limit is 0, the infinite walk is recurrent. If it is greater than 0,
the walk is transient.
Figure 38: ♣
(r) i(r)
pesc = ,
2d
where d is the dimension of the lattice. (Remember that we have to
divide by the number of branches coming out of the starting point.)
Since the voltage being applied is 1, i(r) is just the effective conductance
70
between 0 and ∂G(r) , i.e.,
1
i(r) = (r)
.
Reff
(r)
where Reff is the effective resistance from 0 to ∂G(r) . Thus
(r) 1
pesc = (r)
.
2dReff
Define Reff , the effective resistance from the origin to infinity, to be
(r)
Reff = lim Reff .
r→∞
(r)
This limit exists since Reff is an increasing function of r. Then
1
pesc = .
2dReff
Of course Reff may be infinite; in fact, this will be the case if and only
if pesc = 0. Thus the walk is recurrent if and only if the resistance to
infinity is infinite, which makes sense.
Figure 39: ♣
71
2.1.7 One Dimension is easy, but what about higher dimen-
sions?
We now know that simple random walk on a graph is recurrent if and
only if a corresponding network of 1-ohm resistors has infinite resistance
“out to infinity”. Since an infinite line of resistors obviously has infinite
resistance, it follows that simple random walk on the 1-dimensional
lattice is recurrent, as stated by Polya’s theorem.
Figure 40: ♣
0
0 .091 0
0 .182 .364 .182 0
0 .091 .364 1 .364 .091 0 .
0 .182 .364 .182 0
0 .091 0
0
The voltages at points of ∂G(1) are equal, but the voltages at points of
∂G(2) are not. This means that the resistance from 0 to ∂G(3) cannot
be written simply as the sum of the resistances from 0 to ∂G(1) , ∂G(1)
to ∂G(2) , and ∂G(2) to ∂G(3) . This is in marked contrast to the case of
a continuous resistive medium to be discussed in Section 2.1.8.
(3) (3)
Exercise 2.1.4 Using the voltages given for G(3) , find Reff and pesc .
72
Exercise 2.1.5 Consider a one-dimensional infinite network with re-
sistors Rn = 1/2n from n to n + 1 for n = . . . , −2, −1, 0, 1, 2, . . .. De-
scribe the associated random walk and determine whether the walk is
recurrent or transient.
73
Figure 41: ♣
of the original network must also be infinite. Thus the walk is recurrent
when d = 2.
To take care of the case d = 3, we will modify the 3-dimensional
network by cutting out certain of the resistors so as to get a new network
whose resistance is readily seen to be finite. As cutting can only increase
the resistance of the network, the resistance of the original network must
also be finite. Thus the walk is transient when d = 3.
The method of applying shorting and cutting to get lower and up-
per bounds for the resistance of a resistive medium was introduced
by Lord Rayleigh. (Rayleigh [29]; see also Maxwell [21], Jeans [11],
PoIya and Szego [28]). We will refer to Rayleigh’s techniques collec-
tively as Rayleigh’s short-cut method. This does not do Rayleigh justice,
for Rayleigh’s method is a whole bag of tricks that goes beyond mere
shorting and cutting—but who can resist a pun?
Rayleigh’s method was apparently first applied to random walks
by C. St. J. A. Nash-Williams [24], who used the shorting method to
establish recurrence for random walks on the 2-dimensional lattice.
74
2.2 Rayleigh’s short-cut method
2.2.1 Shorting and cutting
In its simplest form, Rayleigh’s method involves modifying the network
whose resistance we are interested in so as to get a simpler network. We
consider two kinds of modifications, shorting and cutting. Cutting in-
volves nothing more than clipping some of the branches of the network,
or what is the same, simply deleting them from the network. Shorting
involves connecting a given set of nodes together with perfectly con-
ducting wires, so that current can pass freely between them. In the
resulting network, the nodes that were shorted together behave as if
they were a single node.
Figure 42: ♣
75
Cutting Law. Cutting certain branches can only increase the
effective resistance between two given nodes.
These laws are both equivalent to Rayleigh’s Monotonicity Law,
which was introduced in Section 1.4.1 (see Exercise 2.2.1):
Monotonicity Law. The effective resistance between two given
nodes is monotonic in the branch resistances.
Rayleigh’s idea was to use the Shorting Law and the Cutting Law
above to get lower and upper bounds for the resistance of a network.
In Section 2.2.3 we apply this method to solve the recurrence problem
for simple random walk in dimensions 2 and 3.
Exercise 2.2.1 Show that the Shorting Law and the Cutting Law are
both equivalent to the Monotonicity Law.
Figure 43: ♣
76
Figure 44: ♣
Figure 45: ♣
∞
X 1
= ∞.
n=0 8n + 4
Exercise 2.2.2 Using the shorting technique, give an upper bound for
(3)
pesc , and compare this with the exact value obtained in Exercise 2.1.4.
77
“finite”. We want to cut out enough edges so that the effective resis-
tance of what is left is easy to calculate, while leaving behind enough
edges so that the result of the calculation is finite.
Figure 46: ♣
78
Figure 47: ♣
Figure 48: ♣
79
In the resulting circuit, all branch points of the same generation are
at the same voltage (by symmetry). Nothing happens when you short
together nodes that are at the same potential. Thus shorting together
branch points of the same generation will not affect the distribution of
currents in the branches. In particular, this modification will not affect
the current through the battery, and we conclude that
1 1
Rn = = .
current in original circuit current in modified circuit
For n = 3, the modified circuit is shown in Figure 49. This picture
Figure 49: ♣
shows that
1 1 1 1
R3 = + + = 1 − 3.
2 4 8 2
More generally,
1 1 1 1
Rn = + + . . . + n = 1 − n.
2 4 2 2
Letting n → ∞, we get
1
R∞ = lim Rn = lim 1 − = 1.
n→∞ n→∞ 2n
Figure 50 shows another closely related tree, the tree homogeneous
of degree three: Note that all nodes of this tree are similar—there is no
intrinsic way to distinguish one from another. This tree is obviously
a close relative of the full binary tree. Its resistance to infinity is 2/3.
80
Figure 50: ♣
Exercise 2.2.3 (a) Show, using the self-similarity of the full binary
tree, that the resistance R∞ to infinity satisfies the equation
R∞ + 1
R∞ =
2
and conclude that either R∞ = 1 or R∞ = ∞.
(b) Again using the self-similarity of the tree, show that
Rn + 1
Rn+1 =
2
where Rn denotes the resistance out to the set of the nth-generation
branch points. Conclude that
R∞ = lim Rn = 1.
n→∞
81
trees, the number of nodes in a “ball” of radius r grows exponentially
with r, whereas in a d-dimensional lattice, it grows like r, i.e., much
slower. (See Figure 51.) There is simply no room for these trees in
any finite-dimensional lattice.
82
Figure 51: ♣
83
Figure 52: ♣
84
Figure 53: ♣
85
Figure 54: ♣
86
Figure 55: ♣
87
Figure 56: ♣
88
To construct this picture, we start from the origin and draw 2 rays,
one going north, one going east. Whenever a ray intersects the line
x + y = 2n − 1 for some n, it splits into 2 rays, one going north, and one
going east. The sequence of pictures in Figure 57 shows successively
larger portions of the graph, along with the corresponding portions of
NT2 .
Figure 57: ♣
89
other. This could have been avoided by allowing the rays to “bounce”
instead of passing through each other, at the expense of embedding
not NT2 but a close relative—see Exercise 2.2.7. However, because the
points of each identified pair are at the same distance from the root of
NT2 , when we put a battery between the root and the nth level they
will be at the same potential. Hence, the current flow is not affected
by these identifications, so the identifications have no effect on Reff .
For our purposes, then, we have done just as well as if we had actually
embedded NT2 .
To construct the analogous picture in three dimensions, we start
three rays off from the origin going north, east, and up. Whenever a
ray intersects the plane x + y + z = 2n − 1 for some n, it splits into three
rays, going north, east, and up. This process is illustrated in Figure
58. Surprisingly, the subgraph of the 3-dimensional lattice obtained
in this way is not NT3 ! Rather, it represents an attempt to embed
the tree shown in Figure 59. We call this tree NT2.5849... because it
is 2.5849 . . .-dimensional in the sense that when you double the radius
of a ball, the number of points in the ball gets multiplied roughly by 6
and
6 = 2log2 6 = 22.5849... .
Again, certain pairs of points of NT2.5849... have been allowed to corre-
spond to the same point in the lattice, but once again the intersections
have no effect on Reff .
So we haven’t come up with our embedded NT3 yet. But why
bother? The resistance of NT2.5849... out to infinity is
1 2 4 1 2 2 1 1
+ + +... = 1 + + ( )2 + . . . = 2 = 1.
3 9 27 3 3 3 31− 3
Exercise 2.2.5 This exercise deals with the escape probability pesc
for simple random walk in 3 dimensions. The idea is to turn upper
and lower bounds for the resistance of the lattice into bounds for pesc .
Bounds are the best we can ask for using our method. The determina-
tion of the exact value will be discussed in Section 2.3.5. It is roughly
.66.
(a) Use a shorting argument to get an upper bound for pesc .
(b) We have seen that the resistance of the 3-dimensional lattice is
at most one ohm. Show that the corresponding lower bound for pesc is
90
91
Figure 59: ♣
92
1/6 Show that this lower bound can be increased to 1/3 with no extra
effort.
Exercise 2.2.6 Prove that simple random walk in any dimension d >
3 is transient.
Exercise 2.2.7 Show how the not-quite embeddings of NT2 and NT2.5849...
can be altered to yield honest-to-goodness embeddings of “stretched-
out” versions of these trees, obtained by replacing each edge of the tree
by three edges in series. (Hint: “bounce”.)
93
2.3 The classical proofs of Polya’s Theorem
2.3.1 Recurrence is equivalent to an infinite expected num-
ber of returns
For the time being, all of our random walks will be simple. Let u be
the probability that a random walker, starting at the origin, will return
to the origin. The probability that the walker will be there exactly k
times (counting the initial time) is uk (1−u). Thus, if m is the expected
number of times at the origin,
1
∞kuk−1 (1 − u) =
X
m= .
k=1
1−u
94
2.3.2 Simple random walk in one dimension
Consider a random walker in one dimension, started at 0. To return
to 0, the walker must take the same number of steps to the right as
to the left; hence, only even times are possible. Let us compute u2n .
Any path that returns in 2n steps has probability 1/2n . The number
of possible paths equals the number of ways that we can choose the n
times to go right from the 2n possible times. Thus
!
2n 1
u2n = .
n 22n
Thus √
(2n!) 1 2π · 2ne−2n (2n)2n 1
u2n = 2n
∼ √ =√ .
n!n! 2 ( 2πne n ) 2
−n n 2 2n πn
Therefore,
X X 1
u2n ∼ √ =∞
n n πn
and a simple random walk in one dimension is recurrent.
Recall that this case was trivial by the resistor argument.
95
Exercise 2.3.5 Let us regard a simple random walk in one dimension
as the fortune of a player in a penny matching game where the players
have unlimited credit. Show that the result is a martingale (see Section
1.1.6). Show that you can describe a stopping system that guarantees
that you make money.
96
2.3.4 Simple random walk in three dimensions
For a walker in three dimensions to return, the walker must take an
equal number of steps back and forth in each of the three different
directions. Thus we have
1 X (2n)!
u2n = 2n
6 j,k j!j!k!k!(n − j − k)!(n − j − k)!
where bn/3c denotes the greatest integer ≤ n/3. The last sum is 1 since
it is the sum of all probabilities for the outcomes of putting n balls into
three boxes. Thus
!
1 2n 1 n!
u2n ≤ j k .
22n n 3 n n !3
3
97
and a simple random walk in three dimensions is recurrent.
While this is a complex calculation, the resistor argument was also
complicated in this case. We will try to make amends for this presently.
n
Exercise 2.3.7 Prove that j,k,n−j−k is largest when j, k, and n−j −k
are as close as possible to n/3.
p(a, b, c; n)
1
= ·
(2π)3
n
π π π cos x + cos y + cos z
Z Z Z
cos(xa) cos(yb) cos(zc)dxdydz.
−π −π −π 3
98
Of course, we can just verify that this formula satisfies our equations
once someone has suggested it. Having this formula, we put a = b =
c = 0 and sum over n to obtain the expected number of returns as
3 π π π 1
Z Z Z
m= dxdydz.
(2π)3 −π −π −π 3 − (cos x + cos y + cos z)
This integral was first evaluated by Watson [35] in terms of elliptic
integrals, which are tabulated. A simpler result was obtained by Glasser
and Zucker [8] who evaluated this integral in terms of gamma functions.
Using this result, we get
√
6 1 5 7 11
m= 3
Γ Γ Γ Γ = 1.516386059137 . . . ,
32π 24 24 24 24
where Z ∞
Γ(x) = e−t tx−1 dt
0
u = .340537329544 . . . .
99
Figure 60: ♣
Assume that we have two independent walkers, one moving with step
size √12 randomly along the x̄ axis and the other moving with the same
step size along the ȳ axis. Then, if we plot their positions using the
x, y axes, the four possible outcomes for the first step would agree with
those given in the second column of the table above. The probabilities
for each of the four pairs of outcomes would also be (1/2) · (1/2) = 1/4.
Thus, we cannot distinguish a simple random walk in two dimensions
from two independent
√ walkers along the x̄ and ȳ axes making steps of
magnitude 1/ 2. Since the probability of return does not depend upon
the magnitude of the steps, the probability that our two independent
walkers are at (0, 0) at time 2n is equal to the product of the prob-
abilities that each separately is at 0 at time 2n, namely (1/22n ) 2n n
.
Therefore, the probability
that the standard walk will be at (0, 0) at
2n 2n 2
time 2n is ((1/2 ) n ) as observed earlier.
100
This does not agree with our result for a simple random walk in three
dimensions. Hence, the same trick cannot work. However, it is interest-
ing to consider a random walk which is the result of three independent
walkers. Let (i, j, k) be the position of three independent random walk-
ers. The next position is one of the eight possibilities (i ± 1, j ± 1, k ± 1)
Thus we may regard their progress as a random walk on the lattice
points in three dimensions. If we center a cube of side 2 at (i, j, k),
then the walk moves with equal probabilities to each of the eight cor-
ners of the cube. It is easier to show that this random walk is transient
(using classical methods) than it is for simple random walk. This is be-
cause we can again use the one-dimension calculation. The probability
u2n for return at time 2n is
! !3 !3
2n 1 1
u2n = ∼ √ .
n 22n πn
Thus 3/2
X X 1
m= u2n ∼ <∞
n n πn
and the walk is transient.
The fact that this three independent walkers model and simple ran-
dom walk are of the same type suggests that when two random walks
are “really about the same”, they should either both be transient or
both be recurrent. As we will soon see, this is indeed the case. Thus we
may infer the transience of simple random walk in 3 dimensions from
the transience of the three independent walkers model without going
through the involved calculation of Section 2.3.4.
101
where Cx = y Cxy . When all the conductances are equal, we obtain
P
a random walk that moves along each edge with the same probability:
In agreement with our previous terminology, we call this walk simple
random walk on G.
We have now a quite general class of infinite-state Markov chains.
As in the case of finite networks, the chains are reversible Markov
chains: That is, there is a positive vector w such that wx Pxy = wy Pyx .
As in the finite case, we can take wx = Cx , since Cx Pxy = Cxy = Cyx =
Cy Pyx .
102
Theorem. If (G, C) and (G, C̄) are networks, and if there exist
constants u, v with 0 < u ≤ v < ∞ such that
for all x and y, then random walk on (G, C̄) is of the same type as
random walk on (G, C).
Proof. Let Uxy = uCxy and Vxy = vCxy . Then (G, U) ≤ (G, C̄) ≤
(G, V). But the random walks for (G, U) and (G, V) are the same as
random walk on (G, C). Thus random walk for (G, C̄) is of the same
type as random walk on (G, C). ♦
Corollary. Let (G, C) be a network. If for every edge xy of G
we have 0 < u < Cxy < v < ∞ for some constants u and v, then the
random walk on (G, C) has the same type as simple random walk on
G.
103
Figure 61: ♣
104
We show how this theorem can be used. We say that a graph G
can be embedded in a graph G if the points x of G can be made to
correspond in a one-to-one fashion to points x̄ of G in such a way that
if xy is an edge in G, then x̄ȳ is an edge in G.
Theorem. If simple random walk on G is transient, and if G can
be embedded in a k-fuzz Gk of G then simple random walk on G is
also transient. Simple random walk on G and G are of the same type
if each graph can be embedded in a k-fuzz of the other graph.
Proof. Assume that simple random walk on G is transient and that
G can be embedded in a k-fuzz Gk of G. Since Reff for G is finite and G
can be embedded in Gk , Reff for Gk is finite. By our previous theorem,
the same is true for G and simple random walk on G is transient.
If we can embed G in Gk and G in Gk , then the random walk on G
is transient if and only if the random walk on G is. ♦
Figure 62: ♣
105
Note that we make no requirement about being able to draw the
edges of G so they don’t intersect.
Theorem. If a graph can be drawn in Rd in a civilized manner,
then it can be embedded in a k-fuzz of the lattice Zd .
Proof. We carry out the proof for the case d = 2. Assume that G
can be drawn in a civilized manner in R2 . We want to show that G
can be embedded in a k-fuzz of Z2 . We have been thinking of Z2 as
being drawn in R2 with perpendicular lines and adjacent points a unit
distance apart on these lines, but this embedding is only one particular
way of representing Z2 . To emphasize this, let’s talk about L2 instead
of Z2 . Figure 63 shows another way of drawing L2 in R2 . From a
Figure 63: ♣
106
Figure 64: ♣
107
Figure 65: ♣
Figure 66: ♣
108
Figure 67: ♣
The SC (simple cubic) lattice is just Z3 . The walker moves each time
to a new point by adding a random choice from the six vectors
For the BCC (body-centered cubic) lattice, the choice is one of the eight
vectors
(±1, ±1, ±1).
This was the walk that resulted from three independent one-dimensional
walkers. For the FCC (face-centered cubic) lattice, the random choice
is made from the twelve vectors
For a discussion of exact calculations for these three lattices, see Mon-
troll and West [23]
As we have seen, once the transience of any one of these three walks
is established, no calculations are necessary to determine that the other
walks are transient also. Thus we have yet another way of establishing
Polya’s theorem in three dimensions: Simply verify transience of the
109
walk on the BCC lattice via the simple three-independent-walkers com-
putation, and infer that walk on the SC lattice is also transient since
the BCC lattice can be embedded in a k-fuzz of it.
Exercise 2.4.5 When we first set out to prove Polya’s theorem for
d = 3, our idea was to embed NT3 in Z3 . As it turned out, what
we ended up embedding was not NT3 but NT2.5849... , and we didn’t
quite embed it at that. We tried to improve the situation by finding
(in Exercise 2.2.7) an honest-to-goodness embedding of a relative of
NT2.5849... , but NT3 was still left completely out in the cold. Now,
however, we are in a position to embed NT3 , if not in Z3 then at least
in a k-fuzz of it. All we need to do is to draw NT3 in R3 in a civilized
manner. Describe how to do this, and thereby give one more proof of
Polya’s theorem for d = 3.
110
(b) y jxy = 0 if x 6= 0.
P
infinity. Again in analogy with the finite case, we call 21 x,y jxy
2
Rxy the
P
(r) 1 X (r) 2 1X 2 1X 2
Reff = (ixy ) Rxy ≤ jxy Rxy ≤ j Rxy = E,
2 G(r) 2 G(r) 2 x,y xy
where indicates the sum over all pairs x, y such that xy is an edge
P
G(r)
of G(r) .
111
curious, the flow described here was constructed as a side effect of an
unsuccessful attempt to derive the isoperimetric inequality (see Polya
[27]) from the “max-flow min-cut” theorem (Ford and Fulkerson [7]).
The idea is to find a flow in the positive orthant having the property
that the same amount flows through all points at the same distance
from 0.
Again, it is easiest to show the construction for the two-dimensional
case. Let G denote the part of Z2 lying in the first quadrant. The graph
G(4) is shown in Figure 68.
Figure 68: ♣
We choose our flow so that it always goes away from 0. Into each
point that is not on either axis there are two flows, one vertical and
one horizontal. We want the sum of the corresponding values of jxy to
be the same for all points the same distance from 0. These conditions
completely determine the flow. The flow out of the point (x, y) with
x + y = n is as shown in Figure 69. The values for the currents out to
the fourth level are shown in Figure 70. In general, the flow out of a
point (x, y) with x + y = n is
x+1 y+1 1
+ =
(n + 2)(n + 1) (n + 2)(n + 1) n+1
112
Figure 69: ♣
Figure 70: ♣
113
Thus the net flow at (x, y) is 0. The flow out of 0 is (1/2) + (1/2) = 1.
For this two-dimensional flow, the energy dissipation is infinite, as it
would have to be. For three dimensions, the uniform flow is defined as
follows: Out of (x, y, z) with x + y + z = n we have the flow indicated
in Figure 71. The total flow out of (x, y, z) is then
Figure 71: ♣
114
2.4.8 The end
We have come to the end of our labors, and it seems fitting to look
back and try to say what it is we have learned.
To begin with, we have seen how phrasing certain mathematical
questions in physical terms allows us to draw on a large body of physical
lore, in the form of established methods and ways of thought, and
thereby often leads us to the answers to those questions.
In particular, we have seen the utility of considerations involving
energy. In took hundreds of years for the concept of energy to emerge
and take its rightful place in physical theory, but it is now recognized
as perhaps the most fundamental concept in all of physics. By phrasing
our probabilistic problems in physical terms, we were naturally led to
considerations of energy, and these considerations showed us the way
through the difficulties of our problems.
As for Polya’s theorem and the type problem in general, we have
picked up a bag of tricks, known collectively as “Rayleigh’s short-cut
method”, which we may expect will allow us to determine the type of
almost any random walk we are likely to embark on. In the process, we
have gotten some feeling for the connection between the dimensionality
of a random walk and its type. Furthermore, we have settled one of
the main questions likely to occur to someone encountering Polya’s
theorem, namely: “If two walks look essentially the same, and if one
has been shown to be transient, must not the other also be transient?”
Another question likely to occur to someone contemplating Polya’s
theorem is the question raised in Section 2.1.8: “Since the lattice Zd is
in some sense a discrete analog of a resistive medium filling all of Rd ,
should it not be possible to go quickly and naturally from the trivial
computation of the resistance to infinity of the continuous medium to
a proof of Polya’s theorem?” Our shorting argument allowed us to do
this in the two-dimensional case; that leaves the case of three (or more)
dimensions. Again, it is considerations of energy that allow us to make
this connection. The trick is to start with the flow field that one gets
by solving the continuous problem, and adapt it to the lattice, so as to
get a lattice flow to infinity having finite dissipation rate. We leave the
working out of this as an exercise, so as not to rob readers of the fun
of doing it for themselves.
115
References
[1] Edwin Abbott. Flatland. 1899.
116
[17] J. F. C. Kingman. Markov population processes. J. Appl. Prob.,
6:1–18, 1969.
[18] A. Lehman. A resistor network inequality, Problem 60-5. SIAM
Review, 4:150–154, 1965.
[19] Paul Lévy. Théorie de l’addition des variable aléatoires. 1937.
[20] T. J. Lyons. A simple criterion for transience of a reversible Markov
chain. Ann. Probab., 11:393–402, 1983.
[21] J. C. Maxwell. Treatise on Electricity and Magnetism, 3rd Edition.
1891.
[22] W. H. McCrea and F. J. W. Whipple. Random paths in two and
three dimensions. Proc. of the Royal Soc. of Edinburgh, 60:281–
298, 1940.
[23] E. W. Montroll and B. J. West. Fluctuation phenomena. In Studies
in Statistical Mathematics, volume 7, pages 61–175. 1979.
[24] C. St. J. A. Nash-Williams. Random walk and electric currents in
networks. Proc. Camb. Phil. Soc., 55:181–194, 1959.
[25] L. Onsager. Reciprocal relations in irreversible processes I. Phys.
Rev., 37:405–426, 1931.
[26] G. Polya. Über eine Aufgabe betreffend die Irrfahrt im Strassen-
netz. Math. Ann., 84:149–160, 1921.
[27] G. Polya. How to Solve It, 2nd Edition. 1957.
[28] G. Polya and G. Szego. Isoperimetric Inequalities of Mathematical
Physics. 1951.
[29] J. W. S. Rayleigh. On the theory of resonance. In Collected sci-
entific papers, volume 1, pages 33–75. 1899.
[30] H. L. Royden. Harmonic functions on open Riemann surfaces.
Trans. Amer. Math. Soc., 73:40–94, 1952.
[31] C. E. Shannon and D. W. Hagelbarger. Concavity of resistance
function. J. of Appl. Phys., 27:42–43, 1956.
[32] J. L. Snell. Probability and martingales. The Mathematical Intel-
ligencer, 4, 1982.
117
[33] W. Thomson and P. G. Tait. Treatise on Natural Philosophy. 1879.
118