Preprint
Article

This version is not peer-reviewed.

On the Hitting Time Index of Broom Graphs

A peer-reviewed version of this preprint was published in:
Mathematics 2026, 14(9), 1508. https://doi.org/10.3390/math14091508

Submitted:

02 April 2026

Posted:

02 April 2026

You are already at the latest version

Abstract
A broom graph is a linear graph with some pendant vertices attached to one of its ends. Using the formula for the commute time of the random walk between two vertices of the graph, which is given in terms of the effective resistance between the vertices, we find closed-form formulas for the hitting time index of some families of broom graphs, extending results found in the literature.
Keywords: 
;  ;  

1. Introduction

A finite simple connected undirected graph G = ( V , E ) with vertex set V = { 1 , 2 , , n } and edge set E is used in Mathematical Chemistry to model a molecule, taking the vertices as the atoms, and the edges as the atomic bonds. Reference [1] contains all the graph theoretical concepts needed in what follows.
On such graphs, many molecular indices, or descriptors, i. e., real-valued functions on the domain of all graphs, have been put forward in order to identify physico-chemical properties of the molecules and to classify them according to the values of their indices. One such index is the hitting time index, first introduced in [6], which is based on the behavior of the simple random walk on G. This random walk is defined as the Markov chain { X n , n 0 } with state space V and uniform transition probabilities 1 d i from a vertex i to any of its d i neighboring vertices. The hitting time T j of the vertex j is defined as the smallest number of steps needed by the random walk to hit the vertex j:
T j = inf { n 0 : X n = j } ,
and its expected value, when the random walk starts in state i is denoted by E i T j . Let it be noted that E i T i = 0 , and this should not be confused with the mean return time to vertex i, E i T i + = 2 | E | d i , which involves T i + = inf { n 1 : X n = i } . For all details involving hitting times of Markov chains, one may look at reference [3].
We can define now the hitting time index of a graph G, H T ( G ) , as
H T ( G ) = i < j D ( i , j ) ,
where D ( i , j ) = max { E i T j , E j T i } .
We studied the H T index in a series of articles ([6,7,8]), finding relationships between this new index and other important indices, as well as some closed-form formulas for the values of the index for families of graphs endowed with some symmetries. More recently, He et al. found in [5] a number of new results for the H T index, among them a formula for the value of the index of some broom graphs B n , d , defined as a graph with n vertices, made up of a path P d with d vertices and ( n d ) pendant vertices attached to one of the ends of the path P d . Specifically, they found that for n 8 and 4 d n 2 one has
H T ( B n , d ) = 1 i < j d ( j i ) ( 2 n j i ) + 1 i ( n + 1 ) Δ 2 ( n d ) ( d i ) ( 2 n d i )
+ ( n + 1 ) Δ 2 ( n d ) ( d i + 1 ) ( d + i 1 )
( n d ) n 2 2 d 2 + d n d 2 + ( n + 1 ) Δ 2 ( 2 d 2 n + 3 ) ,
where Δ = 4 d 2 + n 2 4 n d + 6 n 4 d + 9 .
This calculation for H T ( B n , d ) was carried out using the characterization of hitting times in terms of voltages, when the graph is considered as an electric circuit where all the edges have unit resistance. The result shows how complicated the expression of the value for this index can be, even for a deceptively simple graph. In this article, instead of voltages we use the commute time formula for a random walk on a graph (which in essence depends on the effective resistance), and find reasonably simpler expressions for H T ( B n , d ) when d = n 2 and n 5 ; d = 3 and n 6 ; d = 4 and n 7 , and suggest how to obtain other similar expressions for other cases, some of which are not covered in [5].

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 i , j G we have
E i T j + E j T i = 2 | E | R i j ,
where R i j 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 i , j G and G is a tree, then
E i T j + E j T i = 2 ( n 1 ) d ( i , j )
where d ( i , j ) 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 P n on n vertices we have
H T ( P n ) = k = 1 n 2 m = k + 1 n k + 1 ( 2 n m k ) ( m k ) + k = n 2 + 2 n m = n k + 2 k 1 ( m + k 2 ) ( k m ) .
For the following proposition, we denote with a superscript * all quantities related to the path graph P n . Thus, the expected hitting times in the path graph will be denoted by E i T j * , and D * ( i , j ) = max { E i T j * , E j T i * } , etc. We keep the notations E i T j and D ( i , j ) for the expected hitting times and the maxima, respectively, in the broom graph B n , d . Then we can prove
Proposition 1.
For all i , j { 1 , d } ,
D ( i , j ) = D * ( i , j ) .
Proof. Assume i < j . By (2), whenever i , j { 1 , , d } we have
E i T j + E j T i = 2 ( n 1 ) d ( i , j ) .
Also
E i T j * + E j T i * = 2 ( n 1 ) d * ( i , j ) .
But E i T j = E i T j * , 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, d * ( i , j ) = d ( i , j ) , and therefore, solving for E j T i in (4) we get
E j T i = 2 ( n 1 ) d ( i , j ) E i T j = 2 ( n 1 ) d * ( i , j ) E i T j * = E j T i * .
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 i < j . Now the result follows easily •
The next results pertains to the pendant vertices (i. e.: d + 1 , d + 2 , , n ) of the broom.
Proposition 2.
Let 0 i < j n d . Then
D ( d + i , d + j ) = 2 n 2 .
Proof. Let b be a pendant vertex in any tree T, and a T the vertex to which b is connected. Then, by (2) we have
E a T b + E b T a = 2 ( n 1 ) .
Since E b T a = 1 , solving for E a T b in the equation above, we get
E a T b = 2 n 3 .
Now, taking in the previous proposition a = d and b = d + i of the broom graph, we get
E d + i T d + j = E d + i T d + E d T d + j = 1 + 2 n 3 = 2 n 2 .
Let us look at what we have shown so far from the viewpoint of the n × n  matrix of expected hitting times
E = ( e i j ) ,
where e i j = E i T j , and i , j B n , d .
This matrix, all whose diagonal terms are equal to 0, can be decomposed into four blocks:
E = B 11 B 12 B 21 B 22 ,
where B 11 is a d × d matrix containing all hitting times from a vertex in the path P d to another vertex in P d . Proposition 1 states that if E * is the matrix of expected hitting times for the n-path P n and B 11 * is the upper left d × d block of E * , then
B 11 = B 11 * ,
and therefore the contribution to the hitting time index of the broom, H T ( B n , d ) , corresponding to the block B 11 can be found by looking at the block B 11 * of the hitting time index of P n , 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 H T ( B 7 , 4 ) . The elements of the matrix of expected hitting times in the path P 7 that are included in the two double summations in (3) are those marked with a + sign in the E * matrix, namely
Preprints 206266 i001
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.:
Preprints 206266 i002
Also, proposition 2 states that all non-zero elements of B 22 are equal to 2 ( n 1 ) , and since there are n d 2 pairs of pendant vertices, each of which contributes 2 ( n 1 ) , the total contribution to the H T index taken from B 22 equals
S 2 = n d 2 2 ( n 1 ) = ( n d ) ( n d 1 ) ( n 1 )
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 H T ( B n , d ) given by the blocks B 12 and B 21 .
We will look first at the simplest case, which occurs when there are only two pendant vertices, n 1 and n, or in other words, we will look at B n , n 2 . For this case we obtain the following result:
Proposition 3.
In the B n , n 2 broom, n 5 , the following equations hold
D ( 1 , n 1 ) = D ( 1 , n ) = E n T 1 = n 2 2 n 2
D ( i , n 1 ) = D ( i , n ) = E i T n = n 2 4 n i 2 + 2 i + 5 ,
for 2 i n 2 .
Proof. For any 1 i n 2 we have
E i T n = E i T n 2 + E n 2 T n = ( E 1 T n 2 E 1 T i ) + E n 2 T n
= ( n 3 ) 2 ( i 1 ) 2 + 2 n 3 = n 2 4 n i 2 + 2 i + 5 .
On the other hand
E n T i = E n T n 2 + E n 2 T i = 1 + E n 2 T i
= 1 + 2 ( n 1 ) ( n 2 i ) [ ( n 3 ) 2 ( i 1 ) 2 ] ,
where we have used (2) in the last equality. Simplifying we get
E n T i = n 2 2 n i + i 2 3 .
Now let us look at the difference
Δ ( i , n ) = E i T n E n T i = 4 n 2 i 2 + 2 n i + 2 i + 8 .
We have that
Δ ( 1 , n ) = 2 n + 8 < 0 ,
as long as n > 4 . In other words, E 1 T n < E n T 1 for n > 4 , proving the first claim of the theorem, that D ( 1 , n ) = E n T 1 . Also,
Δ ( 2 , n ) = 4 ,
so E 2 T n > E n T 2 , for all n where the graph is a broom, i.e, n 5 . And for all other i 3 we can show that
Δ ( i , n ) > 0 ,
which is equivalent to showing
n ( 2 i 4 ) > 2 i 2 2 i 8 ,
or
n > i + 1 2 i 2 ,
which is true because the only permissible i’s satisfy i n 2 . •
With propositions 2 and 3 we get the contributions of the blocks B 21 and B 22 :
S 3 = 2 ( n 2 2 n 2 ) + 2 i = 2 n 2 ( n 2 4 n i 2 + 2 i + 5 ) .
Now we are ready to get the first main result.
Proposition 4.
For n 5 we have
H T ( B n , n 2 ) =
k = 1 n 2 m = k + 1 min { n k + 1 , n 2 } ( 2 n m k ) ( m k ) + k = n 2 + 2 n 2 m = n k + 2 k 1 ( m + k 2 ) ( k m )
+ 4 3 n 3 7 n 2 + 65 3 n 32 .
When n = 5 or n = 6 , the second double summation is to be taken as 0.
Proof.
The contribution of B 11 is given by the same values as those of B 11 * , which are found by eliminating from the matrix E * the last two rows and columns, that is, eliminating from the summations in (3) both n and n 1 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 S 2 = 2 ( n 1 ) (when k = 2 ) and S 3 = 2 ( n 2 2 n 2 ) + 2 i = 2 n 2 ( n 2 4 n i 2 + 2 i + 5 ) .
For example, H T ( B 7 , 5 ) = 162 + 234 = 396 . 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 n = 5 our formula in proposition 4 yields H T ( B 5 , 3 ) = 92 , and we notice that B 5 , 3 can be thought of as the bi-star B ( 3 , 2 ) 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 H T ( B ( 3 , 2 ) ) = 92 .
After dealing with the extreme case of a broom graph which has the longest path, P n 2 , 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 P 3 (because the choices of P 1 and P 2 yield star graphs, whose H T index is well known). So we will look first at the broom graph B n , 3 , with n 6 (smaller values of n give us graphs with known values of the H T index).
From the matrix viewpoint, the block B 11 is the smallest of the four blocks on the matrix E, with size 3 × 3 , 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
D ( 1 , 2 ) = E 2 T 1 = 2 n 3 , D ( 1 , 3 ) = E 3 T 1 = 4 n 8 , D ( 2 , 3 ) = E 3 T 2 = 2 n 5 ,
for a grand total contribution of
S 1 = 8 n 16 .
The block S 22 is the largest, of size ( n 3 ) × ( n 3 ) , and its contribution is given by (7) as
S 2 = ( n 1 ) ( n 3 ) ( n 4 ) .
For the contributions of the blocks B 12 and B 21 , we will look at the general case of the broom graph B n , n k with k pendant vertices and a path P n k . We will use the vertex n as a generic pendant vertex, and get the following generalization of proposition 3:
Proposition 5.
For 1 i n k in B n , n k we have
E i T n = n 2 2 n k + k 2 + 2 k i 2 + 2 i 3 ,
and
E n T i = n 2 2 n i + i 2 k 2 + 1 .
Proof. Using (6), we get that for 1 i n k
E i T n = E i T n k + E n k T n = ( E 1 T n k E 1 T i ) + 2 n 3
= ( n k 1 ) 2 ( i 1 ) 2 + 2 n 3 .
On the other hand, using (2) we get
E n T i = E n T n k + E n k T i
= 1 + 2 ( n 1 ) ( n k i ) ( ( n k 1 ) 2 ( i 1 ) 2 .
Expanding and regrouping terms finishes the proof. •
Still working with B n , n k with k pendant vertices, let us take n = k + 3 , i.e., the case B n , 3 . There are three hitting times of interest, that we compute using (14) and (15):
E n T 3 = ( k + 3 ) 2 2 ( k + 3 ) 3 + 9 k 2 + 1 = 1 ,
E n T 2 = ( k + 3 ) 2 2 ( k + 3 ) 2 + 4 k 2 + 1 = 2 k + 2 ,
E n T 1 = ( k + 3 ) 2 2 ( k + 3 ) + 1 k 2 + 1 = 4 k + 5 .
Similarly, going in the other direction
E 1 T n = 2 k + 7 ,
E 2 T n = 2 k + 6 ,
E 3 T n = 2 k + 3 .
It is clear then that (see Table 1, where we take the maximum value of each row)
D ( 1 , n ) = 4 k + 5 D ( 2 , n ) = 2 k + 6 D ( 3 , n ) = 2 k + 3 ,
and since there are k choices for the pendant vertex, the total contribution of the blocks B 21 and B 12 is
S 3 = k ( 8 k + 14 ) = ( n 3 ) ( 8 n 10 ) .
Finally, we arrive to our second main result:
Proposition 6.
For n 6 we have
H T ( B n , 3 ) = n 3 7 n + 2 .
Proof. It suffices to add S 1 , S 2 and S 3 found in (12), (13) and (16), respectively. •
Thus, for example, H T ( B 6 , 3 ) = 176 and H T ( B 7 , 3 ) = 296 .
Now we will look at the broom B n , 4 , with n 7 (smaller values of n yield graphs whose H T index is already known). In order to find H T ( B n , 4 ) we notice that the contributions of the blocks B 11 and B 22 are clear. The main problem is to find the contributions of the blocks B 12 and B 21 . Now we will look at B n , 4 using some recursive formulas. Let us rewrite the parameters as: k pendant vertices and s vertices in the linear part, so that n = s + k . Using (14) we get, for 1 i s :
E i T n = ( k + s ) 2 2 ( k + s ) s + k 2 + 2 k i 2 + 2 i 3
= s 2 + 2 k i 2 + 2 i 3 .
Now let us increase by one the length of the linear part, keeping the same k pendant vertices, so that n = k + s + 1 and let us compute the hitting times on the new graph (denote them by T n ) of the pendant vertices (again, n is just a representative of any pendant vertex) starting from somewhere in the linear path, i.e., 1 i s + 1 . Using (14) we obtain
E i T n = ( k + s + 1 ) 2 2 ( k + s + 1 ) k + k 2 + 2 k i 2 + 2 i 3
= s 2 + 2 k i 2 + 2 i 3 + ( 2 s + 1 ) = E i T n + ( 2 s + 1 ) .
In other words, the new hitting times can be obtained, whenever 1 i s , as the old hitting times plus the constant 2 s + 1 . In addition, there is a new hitting time, when i = s + 1 , whose value is
E s + 1 T n = ( s + 1 ) 2 + 2 k ( s + 1 ) 2 + 2 ( s + 1 ) 3 = 2 k + 2 s 1 .
Going in the opposite direction, it should be clear that E n T i = E n T i 1 , for 2 i s + 1 , and the only new hitting time is E n T 1 = E n T 1 + 2 n 3 , 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 B n , 3 and another table showing how the relevant hitting times for B n + 1 , 4 are generated from the previous table. Indeed, the rightmost column of Table 3 is generated adding 2 s + 1 = 7 (here s = 3 ) to the corresponding column of Table 1, except for the last value, when i = 4 , generated according to (19). Also, the column for the values of E n T i in Table 3 is obtained by pushing down the corresponding column of Table 1 and when i = 1 , by adding to 4 k + 5 the expected time to hit a leaf from a neighbor, which is 2 n 3 = 2 k + 5
Table 2. Hitting times for B n , 4 .
Table 2. Hitting times for B n , 4 .
i    E n T i       E i T n
1    6 k + 10       2 k + 14
2    4 k + 5       2 k + 13
3    2 k + 2       2 k + 10
4   1      2 k + 5   
Table 3. Hitting times for B n , 5 .
Table 3. Hitting times for B n , 5 .
i    E n T i       E i T n
1    8 k + 17       2 k + 23
2    6 k + 10       2 k + 22
3    4 k + 5       2 k + 19
4    2 k + 2       2 k + 14   
5   1      2 k + 7   
This means that the contribution of the blocks B 21 and B 21 is
S 3 = k [ ( 2 k + 5 ) + ( 2 k + 10 ) + ( 2 k + 13 ) + ( 6 k + 10 ) ] = k ( 12 k + 38 ) = 222 if k = 3 ,
and
S 3 = k [ ( 2 k + 5 ) + ( 2 k + 10 ) + ( 4 k + 5 ) + ( 6 k + 10 ) ] = k ( 14 k + 30 ) = ( n 4 ) ( 14 n 26 ) if k 4 .
The contribution due to the block B 22 is simple, given by
S 2 = ( n 4 ) ( n 5 ) ( n 1 ) .
As for the contribution of B 11 , we see that we need to compute
S 1 = E 2 T 1 + E 3 T 1 + E 4 T 1 + E 3 T 2 + E 4 T 2 + E 4 T 3 = 20 n 50 .
Finally, adding S 1 , 2 and S 3 we get the following
Proposition 7.
The following equalities hold:
H T ( B 7 , 4 ) = 348 .
H T ( B n , 4 ) = n 3 + 4 n 2 33 n + 34 for n 8 .
Thus, for example, H T ( B 8 , 4 ) = 538 .

3. Final Remarks

As seen in the previous section, our method consists of considering three contributions to the value H T ( B n , d ) . The first one, S 1 , is due to the hitting times contained in the block B 11 , and this is found by looking at the hitting times contained in the block B 11 * of the E * matrix of the n-path P n . The second and simplest, S 2 , is due to the (identical) times, starting from a pendant vertex, to hit another pendant vertex, and these times are contained in the block B 22 . Finally, the toughest analysis is that of deciding which times we select from the blocks B 12 and B 21 in order to get the last contribution S 3 .
If, for example, we wanted to find a formula for H T ( B n , n 3 ) , i. e.: the case with only three pendant vertices, we would need to truncate the matrix E * eliminating the last three rows and columns from our analysis, in order to get S 1 . Also, we would need to apply theorem 5 in order to get S 3 . As usual, the computation of S 2 would be simple.
In the other direction, if we wanted to compute H T ( B n , 5 ) , the recursive argument we used to go from B n , 3 to B n , 4 would be applicable, and would simplify finding the contribution S 3 . Indeed, the table of relevant hitting times to be compared would be the following, found by copying the values, of the previous table, of the column for E n T i from the bottom up, and including the new entry 8 k + 17 (adding to the previous value 6 k + 10 one hitting time of a leaf from a neighbor), and also by copying the column for E i T n from the top down, and adding 2 s + 1 = 9 to all entries in this column, and introducing the new value 2 k + 7 generated using (19).
We will leave the details of these calculations to the interested reader.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Buckley, F.; Harary, F. Distance in graphs; Addison-Wesley Publishing Company: Redwood City, CA, USA, 1990. [Google Scholar]
  2. Chandra, A. K.; Raghavan, P.; Ruzzo, W. L.; Smolensky, R.; Tiwari, P. The electrical resistance of a graph captures its commute and cover times. Comput. Complexity 1996, 6, 312–340. [Google Scholar] [CrossRef]
  3. Grinstead, M.; Snell, J. L. Introduction to Probability, 2nd. ed.; American Mathematical Society: Providence, RI, 1997. [Google Scholar]
  4. Doyle, P. G.; Snell, J. L. Random walks and electrical networks; The Mathematical Association of America: Washington, D.C., 1984. [Google Scholar]
  5. He, M.; Mao, Y.; Furtula, B.; Zhang, X. Hitting time index of trees. J. Math. Chem. 2026, 64. [Google Scholar] [CrossRef]
  6. Palacios, J. L. A new probabilistic molecular index. MATCH Commun. Math. Comput. Chem. 2025, 93, 499–507. [Google Scholar] [CrossRef]
  7. Palacios, J. L.; Santamaría, A. Some new results for the hitting time index. MATCH Commun. Math. Comput. Chem. 2025, 94, 427–445. [Google Scholar] [CrossRef]
  8. Palacios, J. L.; Santamaría, A. On the hitting time index of graphs. Open J. Appl. Sci. 2025, 4, 2464–2478. [Google Scholar] [CrossRef]
Table 1. Hitting times for B n , 3 .
Table 1. Hitting times for B n , 3 .
i    E n T i       E i T n
1    4 k + 5       2 k + 7
2    2 k + 2       2 k + 6
3   1      2 k + 3
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated