# Complex network zeta function

Different definitions have been given for the dimension of a complex network or graph. For example, metric dimension is defined in terms of the resolving set for a graph. Dimension has also been defined based on the box covering method applied to graphs.[1] Here we describe the definition based on the complex network zeta function.[2] This generalises the definition based on the scaling property of the volume with distance.[3] The best definition depends on the application.

## Definition

One usually thinks of dimension for a set which is dense, like the points on a line, for example. Dimension makes sense in a discrete setting, like for graphs, only in the large system limit, as the size tends to infinity. For example, in Statistical Mechanics, one considers discrete points which are located on regular lattices of different dimensions. Such studies have been extended to arbitrary networks, and it is interesting to consider how the definition of dimension can be extended to cover these cases. A very simple and obvious way to extend the definition of dimension to arbitrary large networks is to consider how the volume (number of nodes within a given distance from a specified node) scales as the distance (shortest path connecting two nodes in the graph) is increased. For many systems arising in physics, this is indeed a useful approach. This definition of dimension could be put on a strong mathematical foundation, similar to the definition of Hausdorff dimension for continuous systems. The mathematically robust definition uses the concept of a zeta function for a graph. The complex network zeta function and the graph surface function were introduced to characterize large graphs. They have also been applied to study patterns in Language Analysis. In this section we will briefly review the definition of the functions and discuss further some of their properties which follow from the definition.

We denote by ${\displaystyle \textstyle r_{ij}}$ the distance from node ${\displaystyle \textstyle i}$ to node ${\displaystyle \textstyle j}$, i.e., the length of the shortest path connecting the first node to the second node. ${\displaystyle \textstyle r_{ij}}$ is ${\displaystyle \textstyle \infty }$ if there is no path from node ${\displaystyle \textstyle i}$ to node ${\displaystyle \textstyle j}$. With this definition, the nodes of the complex network become points in a metric space.[2] Simple generalisations of this definition can be studied, e.g., we could consider weighted edges. The graph surface function, ${\displaystyle \textstyle S(r)}$, is defined as the number of nodes which are exactly at a distance ${\displaystyle \textstyle r}$ from a given node, averaged over all nodes of the network. The complex network zeta function ${\displaystyle \textstyle \zeta _{G}(\alpha )}$ is defined as

${\displaystyle \zeta _{G}(\alpha ):={\frac {1}{N}}\sum _{i}\sum _{j\neq i}r_{ij}^{-\alpha },}$

where ${\displaystyle \textstyle N}$ is the graph size, measured by the number of nodes. When ${\displaystyle \textstyle \alpha }$ is zero all nodes contribute equally to the sum in the previous equation. This means that ${\displaystyle \textstyle \zeta _{G}(0)}$ is ${\displaystyle \textstyle N-1}$, and it diverges when ${\displaystyle \textstyle N\rightarrow \infty }$. When the exponent ${\displaystyle \textstyle \alpha }$ tends to infinity, the sum gets contributions only from the nearest neighbours of a node. The other terms tend to zero. Thus, ${\displaystyle \textstyle \zeta _{G}(\alpha )}$ tends to the average degree ${\displaystyle \textstyle }$ for the graph as ${\displaystyle \textstyle \alpha \rightarrow \infty }$.

${\displaystyle \langle k\rangle =\lim _{\alpha \rightarrow \infty }\zeta _{G}(\alpha ).}$

The need for taking an average over all nodes can be avoided by using the concept of supremum over nodes, which makes the concept much easier to apply for formally infinite graphs.[4] The definition can be expressed as a weighted sum over the node distances. This gives the Dirichlet series relation

${\displaystyle \zeta _{G}(\alpha )=\sum _{r}S(r)/r^{\alpha }.}$

This definition has been used in the shortcut model to study several processes and their dependence on dimension.

## Properties

${\displaystyle \textstyle \zeta _{G}(\alpha )}$ is a decreasing function of ${\displaystyle \textstyle \alpha }$, ${\displaystyle \textstyle \zeta _{G}(\alpha _{1})>\zeta _{G}(\alpha _{2})}$, if ${\displaystyle \textstyle \alpha _{1}<\alpha _{2}}$. If the average degree of the nodes (the mean coordination number for the graph) is finite, then there is exactly one value of ${\displaystyle \textstyle \alpha }$, ${\displaystyle \textstyle \alpha _{transition}}$, at which the complex network zeta function transitions from being infinite to being finite. This has been defined as the dimension of the complex network. If we add more edges to an existing graph, the distances between nodes will decrease. This results in an increase in the value of the complex network zeta function, since ${\displaystyle \textstyle S(r)}$ will get pulled inward. If the new links connect remote parts of the system, i.e., if the distances change by amounts which do not remain finite as the graph size ${\displaystyle \textstyle N\rightarrow \infty }$, then the dimension tends to increase. For regular discrete d-dimensional lattices ${\displaystyle \textstyle \mathbf {Z} ^{d}}$ with distance defined using the ${\displaystyle \textstyle L^{1}}$ norm

${\displaystyle \|{\vec {n}}\|_{1}=\|n_{1}\|+\cdots +\|n_{d}\|,}$

the transition occurs at ${\displaystyle \textstyle \alpha =d}$. The definition of dimension using the complex network zeta function satisfies properties like monotonicity (a subset has a lower or the same dimension as its containing set), stability (a union of sets has the maximum dimension of the component sets forming the union) and Lipschitz invariance,[5] provided the operations involved change the distances between nodes only by finite amounts as the graph size ${\displaystyle \textstyle N}$ goes to ${\displaystyle \textstyle \infty }$. Algorithms to calculate the complex network zeta function have been presented.[6]

## Values for discrete regular lattices

For a one-dimensional regular lattice the graph surface function ${\displaystyle \textstyle S_{1}(r)}$ is exactly two for all values of ${\displaystyle \textstyle r}$ (there are two nearest neighbours, two next-nearest neighbours, and so on). Thus, the complex network zeta function ${\displaystyle \textstyle \zeta _{G}(\alpha )}$ is equal to ${\displaystyle \textstyle 2\zeta (\alpha )}$, where ${\displaystyle \textstyle \zeta (\alpha )}$ is the usual Riemann zeta function. By choosing a given axis of the lattice and summing over cross-sections for the allowed range of distances along the chosen axis the recursion relation below can be derived

${\displaystyle S_{d+1}(r)=2+S_{d}(r)+2\sum _{i=1}^{r-1}S_{d}(i).}$

From combinatorics the surface function for a regular lattice can be written[7] as

${\displaystyle S_{d}(r)=\sum _{i=0}^{d-1}(-1)^{i}2^{d-i}{d \choose i}{d+r-i-1 \choose d-i-1}.}$

The following expression for the sum of positive integers raised to a given power ${\displaystyle \textstyle k}$ will be useful to calculate the surface function for higher values of ${\displaystyle \textstyle d}$:

${\displaystyle \sum _{i=1}^{r}i^{k}={\frac {r^{k+1}}{(k+1)}}+{\frac {r^{k}}{2}}+\sum _{j=1}^{\lfloor (k+1)/2\rfloor }{\frac {(-1)^{j+1}2\zeta (2j)k!r^{k+1-2j}}{(2\pi )^{2j}(k+1-2j)!}}.}$

Another formula for the sum of positive integers raised to a given power ${\displaystyle \textstyle k}$ is

${\displaystyle \sum _{k=1}^{n}{\bigl (}{\begin{smallmatrix}n+1\ k\end{smallmatrix}}{\bigr )}\sum _{i=1}^{r}i^{k}=(r+1)((r+1)^{n}-1).}$
${\displaystyle \textstyle S_{d}(r)\rightarrow O(2^{d}r^{d-1}/\Gamma (d))}$ as ${\displaystyle \textstyle r\rightarrow \infty }$.

The Complex network zeta function for some lattices is given below.

${\displaystyle \textstyle d=1}$  : ${\displaystyle \textstyle \zeta _{G}(\alpha )=2\zeta (\alpha )}$
${\displaystyle \textstyle d=2}$  : ${\displaystyle \textstyle \zeta _{G}(\alpha )=4\zeta (\alpha -1)}$
${\displaystyle \textstyle d=3}$  : ${\displaystyle \textstyle \zeta _{G}(\alpha )=4\zeta (\alpha -2)+2\zeta (\alpha }$)
${\displaystyle \textstyle d=4}$  : ${\displaystyle \textstyle \zeta _{G}(\alpha )={\frac {8}{3}}\zeta (\alpha -3)+{\frac {16}{3}}\zeta (\alpha -1)}$
${\displaystyle \textstyle r\rightarrow \infty }$ : ${\displaystyle \textstyle \zeta _{G}(\alpha )=2^{d}\zeta (\alpha -d+1)/\Gamma (d)}$ (for ${\displaystyle \alpha }$ near the transition point.)

## Random graph zeta function

Random graphs are networks having some number ${\displaystyle \textstyle N}$ of vertices, in which each pair is connected with probability ${\displaystyle \textstyle p}$, or else the pair is disconnected. Random graphs have a diameter of two with probability approaching one, in the infinite limit (${\displaystyle \textstyle N\rightarrow \infty }$). To see this, consider two nodes ${\displaystyle \textstyle A}$ and ${\displaystyle \textstyle B}$. For any node ${\displaystyle \textstyle C}$ different from ${\displaystyle \textstyle A}$ or ${\displaystyle \textstyle B}$, the probability that ${\displaystyle \textstyle C}$ is not simultaneously connected to both ${\displaystyle \textstyle A}$ and ${\displaystyle \textstyle B}$ is ${\displaystyle \textstyle (1-p^{2})}$. Thus, the probability that none of the ${\displaystyle \textstyle N-2}$ nodes provides a path of length ${\displaystyle \textstyle 2}$ between nodes ${\displaystyle \textstyle A}$ and ${\displaystyle \textstyle B}$ is ${\displaystyle \textstyle (1-p^{2})^{N-2}}$. This goes to zero as the system size goes to infinity, and hence most random graphs have their nodes connected by paths of length at most ${\displaystyle \textstyle 2}$. Also, the mean vertex degree will be ${\displaystyle \textstyle p(N-1)}$. For large random graphs almost all nodes are at a distance of one or two from any given node, ${\displaystyle \textstyle S(1)}$ is ${\displaystyle \textstyle p(N-1)}$, ${\displaystyle \textstyle S(2)}$ is ${\displaystyle \textstyle (N-1)(1-p)}$, and the graph zeta function is

${\displaystyle \zeta _{G}(\alpha )=p(N-1)+(N-1)(1-p)2^{-\alpha }.}$

## References

1. ^ K.-I. Goh, G. Salvi, B. Kahng and D. Kim, Phys. Rev. Lett. 96, 018701 (2006).
2. ^ a b O. Shanker (2007). "Graph Zeta Function and Dimension of Complex Network". Modern Physics Letters B 21 (11): 639–644. Bibcode:2007MPLB...21..639S. doi:10.1142/S0217984907013146.
3. ^ O. Shanker (2007). "Defining Dimension of a Complex Network". Modern Physics Letters B 21 (6): 321–326. Bibcode:2007MPLB...21..321S. doi:10.1142/S0217984907012773.
4. ^ O. Shanker (2010). "Complex Network Dimension and Path Counts". Theoretical Computer Science 411 (26–28): 2454–2458. doi:10.1016/j.tcs.2010.02.013.
5. ^ K. Falconer, Fractal Geometry: Mathematical Foundations and Applications, Wiley, second edition, 2003
6. ^ O. Shanker, (2008). "Algorithms for Fractal Dimension Calculation". Modern Physics Letters B 22 (7): 459–466. Bibcode:2008MPLB...22..459S. doi:10.1142/S0217984908015048.
7. ^ O. Shanker (2008). "Sharp dimension transition in a shortcut model". J. Phys. A: Math. Theor. 41 (28): 285001. Bibcode:2008JPhA...41B5001S. doi:10.1088/1751-8113/41/28/285001.