In this subsection, we study the properties of the first passage time (FPT) from A to B (see
Figure 2). In order to calculate the generating function of FPT, we set A as the starting point and B as the absorption domain, assuming that the FPT from A to B is a random variable
, and let
be the first passage probabilities (FPP). Suppose the generating function of
is
. Therefore, according to the definition of the generating function (see
Appendix A), we can get the probability generating function of
as:
Where t represents the generation of the T-fractal.
Now, we denote
the set of node in generation 1, which includes nodes
. For any path
starting at node A and reaches B, we use
denote the node in
that reaches at time
i. In that way, we can denote the way as:
. Also, we introduce the observable
to represent the time taken to reach for the i-th time any node in
along with the path
. The time can be defined as the following way:
And we call
. In fact,
N stands for the first passage time in the random walk on the generation 1 (or set
). So if we only consider the random walk in the set
, the path
can be simplified as:
The simplified path
only includes nodes that generated in generation 1, and of course, the interval time between the two steps in
is stochastic. So we can denote the random variable
the interval time between
and
, as to say,
According to the second T-fractal construction method,
can be regarded as composed of three
, and there are two points in A, B, C, O as the endpoints of
. Therefore, we can infer that
has the same distribution, and they have the same distribution as
, and the generating function is
. Moreover,
N is the FPT wandering in the first generation, and its generating function is
. According to the properties of the generating function (see
Appendix A) and Equation (
5), we can deduce that the generating function of
satisfies:
According to the second T-fractal construction method,
can be regarded as composed of three
, and there are two points in A, B, C, O as the endpoints of
. Therefore, we can infer that
has the same distribution, and they have the same distribution as
, and the generating function is
. Moreover,
N is the FPT wandering in the first generation, and its generating function is
. According to the properties of the generating function (see
Appendix A) and Equation (
5), we can deduce that the generating function of
satisfies:
As for the initial condition
, it can be derived by transition probability matrix for random walks on T-fractal in generation 1, see exactly in
Appendix B, the result is:
By solving the Equation (
6) with initial condition Equation (
7), we get:
Now we turn to calculate the mean first passage time (MFPT) of the random walk Starting from node A and absorbing at node B, we denote it as
, which is the mathematical expectation for the random variable
. We can derive it through taking derivatives on both sides of the Equation (
6), and posing
(see exactly in
Appendix C), we get: