TOPICS
Search

Hankel Matrix


A Hankel matrix has constant skew diagonals. In other words, a Hankel matrix is a matrix in which the (i,j)th entry depends only on the sum i+j. Such matrices are also called persymmetric matrices (Tamm 2001) or orthosymmetric matrices (Graham and Sloane 1984). These names also have a different usage referring to reflection symmetry about the skew diagonal, rather than constant values along skew diagonals (Petersen and Pedersen 2012).

In the Wolfram Language, such a Hankel matrix can be generated for example by HankelMatrix[{a, b, c, d, e}, {e, f, g, h, i}], giving

 [a b c d e; b c d e f; c d e f g; d e f g h; e f g h i].
(1)

A Hankel matrix with first column and row c and zeros below its main skew diagonal can be specified in the Wolfram Language as HankelMatrix[{c1, ..., cn}], and HankelMatrix[n] where n>0 is an integer gives the n×n matrix H_n with first row and column equal to {1,2,...,n} and with every element below the main skew diagonal equal to 0. The first few matrices H_n are given by

H_2=[1 2; 2 0]
(2)
H_3=[1 2 3; 2 3 0; 3 0 0]
(3)
H_4=[1 2 3 4; 2 3 4 0; 3 4 0 0; 4 0 0 0].
(4)

The elements of this Hankel matrix are given explicitly by

 h_(ij)={0   if i+j-1>n; i+j-1   otherwise.
(5)

The determinant of H_n is given by det(H_n)=(-1)^(|_n/2_|)n^n, where |_n_| is the floor function, so the first few values are 1, -4, -27, 256, 3125, -46656, -823543, 16777216, .... The absolute values n^n are given by OEIS A000312.

Fauzan (2026) used determinants of Hankel matrices in an announced proof that zeta(5) is irrational.


See also

Antisymmetric Matrix, Diagonal Matrix, Orthosymmetric Matrix, Persymmetric Matrix, Skew Diagonal, Symmetric Matrix, Triangular Matrix

Explore with Wolfram|Alpha

References

Fauzan, A. "zeta(5) Is Irrational." Preprint. 17 Sep 2026. https://doi.org/10.5281/zenodo.22826419.Graham, R. L. and Sloane, N. J. A. "Anti-Hadamard Matrices." Lin. Algebra Appl. 62, 113-137, 1984. https://doi.org/10.1016/0024-3795(84)90090-9.Mays, M. E. and Wojciechowski, J. "A Determinant Property of Catalan Numbers." Disc. Math. 211, 125-133, 2000.Petersen, K. B. and Pedersen, M. S. "The Matrix Cookbook." Technical University of Denmark, p. 54, Nov. 15, 2012. https://www2.imm.dtu.dk/pubdb/edoc/imm3274.pdf.Tamm, U. "Some Aspects of Hankel Matrices in Coding Theory and Combinatorics." Elec. J. Combin. 8, A1, 2001. https://doi.org/10.37236/1595.Sloane, N. J. A. Sequence A000312/M3619 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Hankel Matrix

Cite this as:

Weisstein, Eric W. "Hankel Matrix." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/HankelMatrix.html

Subject classifications