# Hyperdeterminant

The hyperdeterminant is a generalization of the determinant in algebra. Whereas a determinant is a scalar valued function defined on an n × n square matrix, a hyperdeterminant is defined on a multidimensional array of numbers or tensor. Like a determinant, the hyperdeterminant is a homogeneous polynomial with integer coefficients in the components of the tensor. Many other properties of determinants generalize in some way to hyperdeterminants, but unlike a determinant, the hyperdeterminant does not have a simple geometric interpretation in terms of volumes.

There are at least three definitions of hyperdeterminant. The first was discovered by Cayley in 1843 (published in 1849 and reprinted in volume 1 of his collected mathematical papers. The paper was actually presented to the society in 1843. It is in two parts and Cayley's first hyperdeterminant is covered in the second part.).[1] It is usually denoted by det0. The second Cayley hyperdeterminant originated in 1845 and is often called "Det." This definition is a discriminant for a singular point on a scalar valued multilinear map.[2]

Cayley's first hyperdeterminant is defined only for hypercubes having an even number of dimensions (although variations exist in odd dimensions). Cayley's second hyperdeterminant is defined for a restricted range of hypermatrix formats (including the hypercubes of any dimensions). The third hyperdeterminant, most recently defined by Glynn, occurs only for fields of prime characteristic p. It is denoted by detp and acts on all hypercubes over such a field.[3]

Only the first and third hyperdeterminants are "multiplicative", except for the second hyperdeterminant in the case of "boundary" formats. The first and third hyperdeterminants also have closed formulae as polynomials and therefore their degrees are known, whereas the second one does not appear to have a closed formula or degree in all cases that is known.

The notation for determinants can be extended to hyperdeterminants without change or ambiguity. Hence the hyperdeterminant of a hypermatrix A may be written using the vertical bar notation as |A| or as det(A).

A standard modern textbook on Cayley's second hyperdeterminant Det (as well as many other results) is "Discriminants, Resultants and Multidimensional Determinants" by Gel'fand, Kapranov and Zelevinsky.[4] Their notation and terminology is followed in the next section.

## Cayley's second hyperdeterminant Det

In the special case of a 2×2×2 hypermatrix the hyperdeterminant is known as Cayley's Hyperdeterminant after the British mathematician Arthur Cayley who discovered it. The quartic expression for the Cayley's hyperdeterminant of hypermatrix A with components aijk, i,j,k = 0 or 1 is given by

Det(A) = a0002a1112 + a0012a1102 + a0102a1012 + a1002a0112
− 2a000a001a110a111 − 2a000a010a101a111 − 2a000a011a100a111 − 2a001a010a101a110 − 2a001a011a110a100 − 2a010a011a101a100 + 4a000a011a101a110 + 4a001a010a100a111

This expression acts as a discriminant in the sense that it is zero if and only if there is a non-zero solution in six unknowns xi, yi, zi, (with superscript i = 0 or 1) of the following system of equations

a000x0y0 + a010x0y1 + a100x1y0 + a110x1y1 = 0
a001x0y0 + a011x0y1 + a101x1y0 + a111x1y1 = 0
a000x0z0 + a001x0z1 + a100x1z0 + a101x1z1 = 0
a010x0z0 + a011x0z1 + a110x1z0 + a111x1z1 = 0
a000y0z0 + a001y0z1 + a010y1z0 + a011y1z1 = 0
a100y0z0 + a101y0z1 + a110y1z0 + a111y1z1 = 0

The hyperdeterminant can be written in a more compact form using the Einstein convention for summing over indices and the Levi-Civita symbol which is an alternating tensor density with components εij specified by ε00 = ε11 = 0, ε01 = −ε10 = 1:

bkn = (1/2)εilεjmaijkalmn
Det(A) = (1/2)εilεjmbijblm

Using the same conventions we can define a multilinear form

f(x,y,z) = aijkxiyjzk

Then the hyperdeterminant is zero if and only if there is a non-trivial point where all partial derivatives of f vanish.

### As a tensor expression

The above determinant can be written in terms of a generalisation of the Levi-Civita symbol:

${\displaystyle Det(A)=f^{ijkl}f^{nmop}f^{qrst}a_{inq}a_{jmr}a_{kos}a_{lpt}}$

where f is a generalisation or the Levi-Civita symbol which allows two indices to be the same:

${\displaystyle f^{0011}=f^{1100}=f^{0110}=f^{1001}=-1/2}$

${\displaystyle f^{0101}=f^{1010}=1}$

where the f satisfy:

${\displaystyle f^{...abc....}+f^{...bca...}+f^{...cab...}+f^{...cba....}+f^{...acb...}+f^{...bac...}=0}$

### As a discriminant

For symmetric 2x2x2x.. hypermatrices, the hyperdeterminant is the discriminant of a polynomial. For example,

${\displaystyle a_{000}=a}$
${\displaystyle a_{001}=a_{010}=a_{100}=b}$
${\displaystyle a_{110}=a_{101}=a_{011}=c}$
${\displaystyle a_{111}=d}$

Then Det(A) is the discriminant of ${\displaystyle ax^{3}+3bx^{2}+3cx+d}$

## Other general hyperdeterminants related to Cayley's Det

### Definitions

In the general case a hyperdeterminant is defined as a discriminant for a multilinear map f from finite-dimensional vector spaces Vi to their underlying field K which may be ${\displaystyle \mathbb {R} }$ or ${\displaystyle \mathbb {C} }$.

${\displaystyle f:V_{1}\otimes V_{2}\otimes \cdots \otimes V_{r}\to K}$

f can be identified with a tensor in the tensor product of each dual space V*i

${\displaystyle f\in V_{1}^{*}\otimes V_{2}^{*}\otimes \cdots \otimes V_{r}^{*}}$

By definition a hyperdeterminant Det(f) is a polynomial in components of the tensor f which is zero if and only if the map f has a non-trivial point where all partial derivatives with respect to the components of its vector arguments vanish (a non-trivial point means that none of the vector arguments are zero.)

The vector spaces Vi need not have the same dimensions and the hyperdeterminant is said to be of format (k1, ..., kr) ki > 0, if the dimension of each space Vi is ki + 1. It can be shown that the hyperdeterminant exists for a given format and is unique up to a scalar factor, if and only if the largest number in the format is less than or equal to the sum of the other numbers in the format.[5]

This definition does not provide a means to construct the hyperdeteriminant and in general this is a difficult task. For hyperdeterminants with formats where r ≥ 4 the number of terms is usually too large to write out the hyperdeterminant in full. For larger r even the degree of the polynomial increases rapidly and does not have a convenient general formula.

### Examples

The case of formats with r = 1 deals with vectors of length k1 + 1. In this case the sum of the other format numbers is zero and k1 is always greater than zero so no hyperdeterminants exist.

The case of r = 2 deals with (k1 + 1)×(k2 + 1) matrices. Each format number must be greater than or equal to the other, therefore only square matrices S have hyperdeterminants and they can be identified with the determinant det(S). Applying the definition of the hyperdeterminant as a discriminant to this case requires that det(S) is zero when there are vectors X and Y such that the matrix equations SX = 0 and YS = 0 have solutions for non-zero X and Y.

For r > 2 there are hyperdeterminants with different formats satisfying the format inequality. e.g. Cayley's 2×2×2 hyperdeterminant has format (1,1,1) and a 2×2×3 hyperdeterminant of format (1, 1, 2) also exists. However a 2×2x4 hyperdeterminant would have format (1, 1, 3) but 3 > 1 +  1 so it does not exist.

### Degree

Since the hyperdeterminant is homogeneous in its variables it has a well defined degree that is a function of the format and is written N(k1, ..., kr). In special cases we can write down an expression for the degree. For example, a hyperdeterminant is said to be of boundary format when the largest format number is the sum of the others and in this case we have [6]

${\displaystyle N(k_{2}+\cdots +k_{r},k_{2},\ldots ,k_{r})={\frac {(k_{2}+\cdots +k_{r}+1)!}{k_{2}!\cdots k_{r}!}}.}$

For hyperdeterminants of dimensions 2r a convenient generating formula for the degrees Nr is [7]

${\displaystyle \sum _{r=0}^{\infty }N_{r}{\frac {z^{r}}{r!}}={\frac {e^{-2z}}{(1-z)^{2}}}.}$

In particular for r = 2,3,4,5,6 the degree is respectively 2,4,24,128,880 and then grows very rapidly.

Three other special formulae for computing the degree of hyperdeterminants are given in [7]

for 2 × m × m use N(1,m − 1,m − 1) = 2m(m − 1)

for 3 × m × m use N(2,m − 1,m − 1) = 3m(m − 1)2

for 4 × m × m use N(3,m − 1,m − 1) = (2/3)m(m − 1)(m − 2)(5m − 3)

A general result that follows from the hyperdeterminants product rule and invariance properties listed below is that the least common multiple of the dimensions of the vector spaces on which the linear map acts divides the degree of the hyperdeterminant i.e.

lcm(k1 + 1,...,kr + 1) | N(k1, ... , kr).

## Properties of hyperdeterminants

Hyperdeterminants generalise many of the properties of determinants. The property of being a discriminant is one of them and it is used in the definition above.

### Multiplicative properties

One of the most familiar properties of determinants is the multiplication rule which is sometimes known as the Binet-Cauchy formula. For square n × n matrices A and B the rule says that

det(AB) = det(A) det(B)

This is one of the harder rules to generalize from determinants to hyperdeterminants because generalizations of products of hypermatrices can give hypermatrices of different sizes. The full domain of cases in which the product rule can be generalized is still a subject of research. However, there are some basic instances that can be stated.

Given a multilinear form f(x1, ..., xr) we can apply a linear transformation on the last argument using an n × n matrix B, yr = B xr. This generates a new multilinear form of the same format,

g(x1,...,xr) = f(x1,...,yr)

In terms of hypermatrices this defines a product which can be written g = f.B

It is then possible to use the definition of the hyperdeterminant to show that

det(f.B) = det(f) det(B)N/n

where n is the degree of the hyperdeterminant. This generalises the product rule for matrices.

Further generalizations of the product rule have been demonstrated for appropriate products of hypermatrices of boundary format. [8]

### Invariance properties

A determinant is not usually considered in terms of its properties as an algebraic invariant but when determinants are generalized to hyperdeterminants the invariance is more notable. Using the multiplication rule above on the hyperdeterminant of a hypermatrix H times a matrix S with determinant equal to one gives

det(H.S) = det(H)

In other words, the hyperdeterminant is an algebraic invariant under the action of the special linear group SL(n) on the hypermatrix. The transformation can be equally well applied to any of the vector spaces on which the multilinear map acts to give another distinct invariance. This leads to the general result,

The hyperdeterminant of format ${\displaystyle (k_{1},\ldots ,k_{r})}$ is an invariant under an action of the group ${\displaystyle SL(k_{1}+1)\otimes \cdots \otimes SL(k_{r}+1)}$

E.g. the determinant of an n × n matrix is an SL(n)2 invariant and Cayley's hyperdeterminant for a 2×2×2 hypermatrix is an SL(2)3 invariant.

A more familiar property of a determinant is that if you add a multiple of a row (or column) to a different row (or column) of a square matrix then its determinant is unchanged. This is a special case of its invariance in the case where the special linear transformation matrix is an identity matrix plus a matrix with only one non-zero off-diagonal element. This property generalizes immediately to hyperdeterminants implying invariance when you add a multiple of one slice of a hypermatrix to another parallel slice.

A hyperdeterminant is not the only polynomial algebraic invariant for the group acting on the hypermatrix. For example, other algebraic invariants can be formed by adding and multiplying hyperdeterminants. In general the invariants form a ring algebra and it follows from Hilbert's basis theorem that the ring is finitely generated. In other words, for a given hypermatrix format, all the polynomial algebraic invariants with integer coefficients can be formed using addition, subtraction and multiplication starting from a finite number of them. In the case of a 2×2×2 hypermatrix, all such invariants can be generated in this way from Cayley's second hyperdeterminant alone, but this is not a typical result for other formats. For example, the second hyperdeterminant for a hypermatrix of format 2×2×2×2 is an algebraic invariant of degree 24 yet all the invariants can be generated from a set of four simpler invariants of degree 6 and less. [9]

## History and applications

The second hyperdeterminant was invented and named by Arthur Cayley in 1845, who was able to write down the expression for the 2×2×2 format, but Cayley went on to use the term for any algebraic invariant and later abandoned the concept in favour of a general theory of polynomial forms which he called "quantics".[10] For the next 140 years there were few developments in the subject and hyperdeterminants were largely forgotten until they were rediscovered by Gel'fand, Kapranov and Zelevinsky in the 1980s as an offshoot of their work on generalized hypergeometric functions .[11] This led to them writing their textbook in which the hyperdeterminant is reintroduced as a discriminant. Indeed, Cayley's first hyperdeterminant is more fundamental than his second, since it is a straightforward generalization the ordinary determinant, and has found recent applications in the Alon-Tarsi conjecture.[12][13]

Since then the hyperdeterminant has found applications over a wide range of disciplines including algebraic geometry, number theory, quantum computing and string theory.

In algebraic geometry the second hyperdeterminant is studied as a special case of an X-discriminant. A principal result is that there is a correspondence between the vertices of the Newton polytope for hyperdeterminants and the "triangulation" of a cube into simplices. [4]

In quantum computing the invariants on hypermatrices of format 2N are used to study the entanglement of N qubits.[14]

In string theory the hyperdeterminant first surfaced in connection with string dualities and black hole entropy.[15]

## References

• Cayley, A. (1849). "On the theory of determinants". Trans. Cambridge Phil Soc. VIII: 1–16.
• Cayley, A. (1845). "On the Theory of Linear Transformations". Cambridge Math. J. 4: 193–209.
• Glynn, David G. (1998). "The modular counterparts of Cayley's hyperdeterminants". Bulletin of the Australian Mathematical Society. 57 (3): 479. doi:10.1017/s0004972700031890.
• Gelfand, I. M.; Kapranov, M. M.; Zelevinsky, A. V. (1994). Discriminants, resultants, and multidimensional determinants. Boston: Birkhäuser. ISBN 9780817636609.
• Dionisi, Carla; Ottaviani, Giorgio. "The Binet-Cauchy Theorem for the Hyperdeterminant of boundary format multidimensional Matrices". arXiv:.
• Luque, J-G.; Thibon, J-Y. "The polynomial Invariants of Four Qubits". arXiv:.
• Crilly, Tony; Crilly, A. J. (2006). Arthur Cayley : mathematician laureate of the Victorian age. Baltimore, Maryland: Johns Hopkins University. ISBN 9780801880117.
• Miyake, A. "Classification of multipartite entangled states by multidimensional determinants". arXiv:.
• Duff, M. "String triality, black hole entropy and Cayley's hyperdeterminant". arXiv:.
• Zappa, Paolo (July 1997). "The Cayley Determinant of the Determinant Tensor and the Alon–Tarsi Conjecture". Advances in Applied Mathematics. 19 (1): 31–44. doi:10.1006/aama.1996.0522.
• Glynn, David G. (January 2010). "The Conjectures of Alon–Tarsi and Rota in Dimension Prime Minus One". SIAM Journal on Discrete Mathematics. 24 (2): 394–399. doi:10.1137/090773751.