Resistance distance
In graph theory, the resistance distance between two vertices of a simple, connected graph, Template:Mvar, is equal to the resistance between two equivalent points on an electrical network, constructed so as to correspond to Template:Mvar, with each edge being replaced by a resistance of one ohm. It is a metric on graphs.
Definition
On a graph Template:Mvar, the resistance distance Template:Math between two vertices Template:Mvar and Template:Mvar is[1]
- where
with Template:Math denotes the Moore–Penrose inverse, Template:Mvar the Laplacian matrix of Template:Mvar, Template:Math is the number of vertices in Template:Mvar, and Template:Math is the Template:Math matrix containing all 1s.
Properties of resistance distance
If Template:Math then Template:Math. For an undirected graph
General sum rule
For any Template:Mvar-vertex simple connected graph Template:Math and arbitrary Template:Math matrix Template:Mvar:
From this generalized sum rule a number of relationships can be derived depending on the choice of Template:Mvar. Two of note are;
where the Template:Mvar are the non-zero eigenvalues of the Laplacian matrix. This unordered sum
is called the Kirchhoff index of the graph.
Relationship to the number of spanning trees of a graph
For a simple connected graph Template:Math, the resistance distance between two vertices may be expressed as a function of the set of spanning trees, Template:Mvar, of Template:Mvar as follows:
where Template:Mvar is the set of spanning trees for the graph Template:Math. In other words, for an edge , the resistance distance between a pair of nodes and is the probability that the edge is in a random spanning tree of .
Relationship to random walks
The resistance distance between vertices and is proportional to the commute time of a random walk between and . The commute time is the expected number of steps in a random walk that starts at , visits , and returns to . For a graph with edges, the resistance distance and commute time are related as .[2]
As a squared Euclidean distance
Since the Laplacian Template:Mvar is symmetric and positive semi-definite, so is
thus its pseudo-inverse Template:Math is also symmetric and positive semi-definite. Thus, there is a Template:Mvar such that and we can write:
showing that the square root of the resistance distance corresponds to the Euclidean distance in the space spanned by Template:Mvar.
Connection with Fibonacci numbers
A fan graph is a graph on Template:Math vertices where there is an edge between vertex Template:Mvar and Template:Math for all Template:Math, and there is an edge between vertex Template:Mvar and Template:Mvar for all Template:Math.
The resistance distance between vertex Template:Math and vertex Template:Math is
where Template:Mvar is the Template:Mvar-th Fibonacci number, for Template:Math.[3]