2. The Results
There is a close relationship between random walks on graphs and electric networks, spelled out in reference [
4]. An important result in this context, that was proved in [
2], is the formula for the commute time given in the following lemma.
Lemma 1.
For any we have
where is the effective resistance between vertices i and j when the graph is considered as an electric network where all the edges are unit resistors.
An immediate corollary of (
1) is that if
and
G is a tree, then
where
is the distance (length of a shortest path) between
i and
j.
In [
6] we showed the following result that will be used below.
Lemma 2.
For the path graph on n vertices we have
For the following proposition, we denote with a superscript * all quantities related to the path graph . Thus, the expected hitting times in the path graph will be denoted by , and , etc. We keep the notations and for the expected hitting times and the maxima, respectively, in the broom graph . Then we can prove
Proposition 1.
For all ,
Proof. Assume
. By (
2), whenever
we have
But
, because when starting from
i, the trajectory for the random walk all the way to
j looks the same for both the path and the broom. Also,
, and therefore, solving for
in (
4) we get
Thus we obtain the mildly surprising result that the different shapes of the trees (path or broom) to the right of j do not affect the value of the hitting time, when starting from j, of the vertex i with . Now the result follows easily •
The next results pertains to the pendant vertices (i. e.: ) of the broom.
Proposition 2.
Let . Then
Proof. Let
b be a pendant vertex in any tree
T, and
the vertex to which
b is connected. Then, by (
2) we have
Since
, solving for
in the equation above, we get
Now, taking in the previous proposition
and
of the broom graph, we get
Let us look at what we have shown so far from the viewpoint of the
matrix of expected hitting times
where
, and
This matrix, all whose diagonal terms are equal to 0, can be decomposed into four blocks:
where
is a
matrix containing all hitting times from a vertex in the path
to another vertex in
. Proposition 1 states that if
is the matrix of expected hitting times for the
n-path
and
is the upper left
block of
, then
and therefore the contribution to the hitting time index of the broom,
, corresponding to the block
can be found by looking at the block
of the hitting time index of
, and considering a summation like (
3), but truncated so that we only look at the first
d rows and
d columns.
Let us illustrate this idea with an example: suppose that we want to compute
. The elements of the matrix of expected hitting times in the path
that are included in the two double summations in (
3) are those marked with a + sign in the
matrix, namely
where the left triangle of + signs corresponds to the first double summation and the right triangle corresponds to the second double summation. Since we are trying to compute HT(B7,4), we will take
only the hitting times marked with + in the block B*11 = B11, i.e.:
Also, proposition 2 states that all non-zero elements of
are equal to
, and since there are
pairs of pendant vertices, each of which contributes
, the total contribution to the
index taken from
equals
The next proposition deals with the expected hitting times between the pendant vertices and the vertices in the linear part of the broom, in other words, it looks at the contribution to given by the blocks and .
We will look first at the simplest case, which occurs when there are only two pendant vertices, and n, or in other words, we will look at . For this case we obtain the following result:
Proposition 3.
In the broom, , the following equations hold
for .
Proof. For any
we have
On the other hand
where we have used (
2) in the last equality. Simplifying we get
Now let us look at the difference
We have that
as long as
. In other words,
for
, proving the first claim of the theorem, that
. Also,
so
for all
n where the graph is a broom, i.e,
. And for all other
we can show that
which is equivalent to showing
or
which is true because the only permissible
i’s satisfy
. •
With propositions 2 and 3 we get the contributions of the blocks
and
:
Now we are ready to get the first main result.
Proposition 4.
When or , the second double summation is to be taken as 0.
Proof.
The contribution of
is given by the same values as those of
, which are found by eliminating from the matrix
the last two rows and columns, that is, eliminating from the summations in (
3) both
n and
as potential targets or starting points, and that is achieved by tweaking a little the indices of both double summations, as shown in (
10). The polynomial in (
11) corresponds to the sum of the other contributions
(when
) and
•
For example,
. Here the term 162 corresponds to the double summations in (
10), while the term 234 corresponds to the value of the cubic polynomial (
11).
As another example, for
our formula in proposition 4 yields
, and we notice that
can be thought of as the bi-star
for which the formula on p. 13 of [
5] (beware: this is the correct formula, not the one given in the statement of their theorem 3) also gives the value
.
After dealing with the extreme case of a broom graph which has the longest path, , and the smallest possible number of pendant vertices, now we want to invert the situation and look at the broom graph with the shortest possible path, which would be (because the choices of and yield star graphs, whose index is well known). So we will look first at the broom graph , with (smaller values of n give us graphs with known values of the index).
From the matrix viewpoint, the block
is the smallest of the four blocks on the matrix
E, with size
, and if we look at (
3) (or at the example above of the matrix with the + signs), we notice that there are only three terms of the first double summation that are inside that small block, namely
for a grand total contribution of
The block
is the largest, of size
, and its contribution is given by (
7) as
For the contributions of the blocks and , we will look at the general case of the broom graph with k pendant vertices and a path . We will use the vertex n as a generic pendant vertex, and get the following generalization of proposition 3:
Proposition 5.
For in we have
Proof. Using (
6), we get that for
On the other hand, using (
2) we get
Expanding and regrouping terms finishes the proof. •
Still working with
with
k pendant vertices, let us take
, i.e., the case
. There are three hitting times of interest, that we compute using (
14) and (
15):
Similarly, going in the other direction
It is clear then that (see
Table 1, where we take the maximum value of each row)
and since there are
k choices for the pendant vertex, the total contribution of the blocks
and
is
Finally, we arrive to our second main result:
Proof. It suffices to add
,
and
found in (
12), (
13) and (
16), respectively. •
Thus, for example, and
Now we will look at the broom
, with
(smaller values of
n yield graphs whose
index is already known). In order to find
we notice that the contributions of the blocks
and
are clear. The main problem is to find the contributions of the blocks
and
. Now we will look at
using some recursive formulas. Let us rewrite the parameters as:
k pendant vertices and
s vertices in the linear part, so that
. Using (
14) we get, for
:
Now let us increase by one the length of the linear part, keeping the same
k pendant vertices, so that
and let us compute the hitting times on the new graph (denote them by
) of the pendant vertices (again,
n is just a representative of any pendant vertex) starting from somewhere in the linear path, i.e.,
. Using (
14) we obtain
In other words, the new hitting times can be obtained, whenever
, as the old hitting times plus the constant
. In addition, there is a new hitting time, when
, whose value is
Going in the opposite direction, it should be clear that
, for
, and the only new hitting time is
, on account of the time needed for a leaf to be reached from its neighbor. To clarify these ideas, we present a table for the hitting times needed in
and another table showing how the relevant hitting times for
are generated from the previous table. Indeed, the rightmost column of
Table 3 is generated adding
(here
) to the corresponding column of
Table 1, except for the last value, when
, generated according to (
19). Also, the column for the values of
in
Table 3 is obtained by pushing down the corresponding column of
Table 1 and when
, by adding to
the expected time to hit a leaf from a neighbor, which is
Table 2.
Hitting times for .
Table 2.
Hitting times for .
| i |
|
|
| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
1 |
|
Table 3.
Hitting times for .
Table 3.
Hitting times for .
| i |
|
|
| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
1 |
|
This means that the contribution of the blocks
and
is
and
The contribution due to the block
is simple, given by
As for the contribution of
, we see that we need to compute
Finally, adding and we get the following
Proposition 7.
The following equalities hold:
Thus, for example, .