In mathematics, the Hamiltonian cycle polynomial of an n×n-matrix is a polynomial in its entries, defined as
\operatorname{ham}(A)=\sum | |
\sigma\inHn |
n | |
\prod | |
i=1 |
ai,\sigma(i)
where
Hn
This is an algebraic option useful, in a number of cases, for determining the existence of a Hamiltonian cycle in a directed graph.
It is a generalization of the number of Hamiltonian cycles of a digraph as the sum of the products of its Hamiltonian cycles' arc weights (all of which equal unity) for weighted digraphs with arc weights taken from a given commutative ring. In the meantime, for an undirected weighted graph the sum of the products of the edge weights of its Hamiltonian cycles containing any fixed edge (i,j) can be expressed as the product of the weight of (i,j) and the Hamiltonian cycle polynomial of a matrix received from its weighted adjacency matrix via subjecting its rows and columns to any permutation mapping i to 1 and j to 2 and then removing its 1-st row and 2-nd column. In it was shown that
\operatorname{ham}(A)=\sumJ\subseteq
where
AJ
A
A
J
\barJ
J
\{1,...,n\}
Due to this and Borchardt's identities, for a non-singular n×n Cauchy matrix
C(x,y)
\operatorname{ham}(C(x,y))={\det}(-
2 | |
D | |
1 |
C*2(x,y)
2 | |
D | |
2 |
+I/1)\operatorname{det}(C(x,y))
D1,D2
D1C(x,y)D2
C*2(x,y)
C(x,y)
I/1
In a field of characteristic 2 the equality
\operatorname{ham}(A)=\sumJ\subseteq
\operatorname{ham}(A)=\sumJ\subseteq
U
UTU=I
I
\operatorname{ham}(U)={\det}2(U+I/1)
I/1
In characteristic 2, the Hamiltonian cycle polynomial of an n×n-matrix is zero if n > 2k where k is its rank or if it's involutory and n > 2.
Besides, in an arbitrary ring
R
A
\varepsilon
U(\varepsilon)
infty | |
=\sum | |
n=0 |
Un\varepsilonn
R\left(\varepsilon\right)
U0=I
U1=A
U(\varepsilon)
\operatorname{ham}(A)
n
\varepsilon
\operatorname{ham}(U(\varepsilon))
R
AAT
n
\varepsilon
\varepsilon
q
q
k
V
\operatorname{rank}(VTV-I)=k
2
k
k
k
k
k=1
2
U
H(U)
U
U(H(U))T=H(U)UT
\operatorname{ham}\left(\begin{matrix}U&{Ua}\\aT&1\end{matrix}\right)=
2 | |
(a | |
1 |
+...+
2 | |
a | |
n |
)\operatorname{ham}(U)
a
A
AAT=I+bbT
b
m
A
m
I
Moreover, it would be worth noting that in characteristic 2 the Hamiltonian cycle polynomial possesses its invariant matrix compressions (partly analogical to the Gaussian modification that is invariant for the determinant), taking into account the fact that
\operatorname{ham}(X)=0
X
t
Hence if a matrix has two equal rows with indexes i and j then adding one of them to any third one doesn't change this polynomial in characteristic 2 what allows to Gaussian-style eliminate all the entries of its i-th column except the i,i-th and j,i-th ones (in case if they aren't zero) and remove its i-th column and j-th row (in the manner described above) – then the Hamiltonian cycle polynomial of the initial matrix equals this polynomial of the new one multiplied by the initial j,i-th entry.
Also in characteristic 2 and for matrices with more than two rows the Hamiltonian cycle polynomial isn't changed by adding the i-th column to the j-th one in a matrix where the i-th and j-th rows are identical what, particularly, yields the identity
\det(D+D-1)\operatorname{ham}\left(\begin{matrix}V&A\\B&U\end{matrix}\right)=\operatorname{ham}\left(\begin{matrix}V&V+D&A\ V+D-1&V+D-1+D&A\ B&B&U\end{matrix}\right)
for an n×n-matrix
U
V
D
A
B
U
VD+DVT+AAT=I+D2
BD=UAT
I
\operatorname{ham}\left(\begin{matrix}X&Y\\Y&X\end{matrix}\right)
Apart from the above-mentioned compression transformations, in characteristic 2 the following relation is also valid for the Hamiltonian cycle polynomials of a matrix and its partial inverse (for
A11
A22
A11
\operatorname{ham}\left(\begin{matrix}A11&A12\ A21&A22\end{matrix}\right)={\det}2\left(A11\right)\operatorname{ham}\left(
-1 | |
\begin{matrix}A | |
11 |
&
-1 | |
A | |
11 |
A12\ A21
-1 | |
A | |
11 |
&A22+A21
-1 | |
A | |
11 |
A12\end{matrix}\right)
and, due to the fact that the Hamiltonian cycle polynomial doesn't depend on the matrix's diagonal entries, adding an arbitrary diagonal matrix doesn't change this polynomial too. These two types of transformation don't compress the matrix, but keep its size unchanged. However, in a number of cases their application allows to reduce the matrix's size by some of the above-mentioned compression operators.
Hence there is a variety of matrix compression operators performed in polynomial time and preserving the Hamiltonian cycle polynomial in characteristic 2 whose sequential application, together with the transpose transformation (utilized each time the operators leave the matrix intact), has, for each matrix, a certain limit that can be defined as the compression-closure operator. When applied to classes of matrices, that operator thus maps one class to another. As it was proven in, if the compression-closure of the class of unitary matrices contains a subset where computing this polynomial is 2