Hubbry Logo
Hilbert matrixHilbert matrixMain
Open search
Hilbert matrix
Community hub
Hilbert matrix
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Hilbert matrix
Hilbert matrix
from Wikipedia

In linear algebra, a Hilbert matrix, introduced by Hilbert (1894), is a square matrix with entries being the unit fractions

For example, this is the 5 × 5 Hilbert matrix:

The entries can also be defined by the integral

that is, as a Gramian matrix for powers of x. It arises in the least squares approximation of arbitrary functions by polynomials.

The Hilbert matrices are canonical examples of ill-conditioned matrices, being notoriously difficult to use in numerical computation. For example, the 2-norm condition number of the matrix above is about 4.8×105.

Historical note

[edit]

Hilbert (1894) introduced the Hilbert matrix to study the following question in approximation theory: "Assume that I = [a, b], is a real interval. Is it then possible to find a non-zero polynomial P with integer coefficients, such that the integral

is smaller than any given bound ε > 0, taken arbitrarily small?" To answer this question, Hilbert derives an exact formula for the determinant of the Hilbert matrices and investigates their asymptotics. He concludes that the answer to his question is positive if the length ba of the interval is smaller than 4.

Properties

[edit]

The Hilbert matrix is symmetric and positive definite. The Hilbert matrix is also totally positive (meaning that the determinant of every submatrix is positive).

The Hilbert matrix is an example of a Hankel matrix. It is also a specific example of a Cauchy matrix.

The determinant can be expressed in closed form, as a special case of the Cauchy determinant. The determinant of the n × n Hilbert matrix is

where

Hilbert already mentioned the curious fact that the determinant of the Hilbert matrix is the reciprocal of an integer (see sequence OEISA005249 in the OEIS), which also follows from the identity

Using Stirling's approximation of the factorial, one can establish the following asymptotic result:

where an converges to the constant as , where A is the Glaisher–Kinkelin constant.

The inverse of the Hilbert matrix can be expressed in closed form using binomial coefficients; its entries are

where n is the order of the matrix.[1] It follows that the entries of the inverse matrix are all integers, and that the signs form a checkerboard pattern, being positive on the principal diagonal. For example,

The condition number of the n × n Hilbert matrix grows as .

Applications

[edit]

The method of moments applied to polynomial distributions results in a Hankel matrix, which in the special case of approximating a probability distribution on the interval [0, 1] results in a Hilbert matrix. This matrix needs to be inverted to obtain the weight parameters of the polynomial distribution approximation.[2]

References

[edit]

Further reading

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
In linear algebra, the Hilbert matrix is an n×nn \times n HnH_n with entries hij=1i+j1h_{ij} = \frac{1}{i+j-1} for i,j=1,,ni,j = 1, \dots, n, where indices are typically 1-based. This matrix, introduced by in 1894 in connection with the theory of , serves as a fundamental example in due to its explicit construction and intriguing properties. The Hilbert matrix is symmetric (hij=hjih_{ij} = h_{ji}), positive definite (ensuring xTHnx>0x^T H_n x > 0 for all nonzero vectors xx), and totally positive (every submatrix has a positive determinant). It is also a special case of a Hankel matrix, where the anti-diagonals are constant. Notably, its inverse admits an explicit formula: the (i,j)(i,j)-th entry of Hn1H_n^{-1} is (1)i+j(i+j1)(n+i1nj)(n+j1ni)(i+j1i1)2(-1)^{i+j} (i+j-1) \binom{n+i-1}{n-j} \binom{n+j-1}{n-i} \binom{i+j-1}{i-1}^2. A defining characteristic of the Hilbert matrix is its extreme ill-conditioning, where the κ(Hn)\kappa(H_n) grows exponentially with nn, approximately as κ(Hn)exp(3.5n)\kappa(H_n) \approx \exp(3.5n) for large nn. This sensitivity to perturbations makes it an ideal test case for algorithms in matrix factorization, inversion, and solving linear systems, highlighting challenges in . Arising as the for the L2[0,1]L^2[0,1] inner product of functions, it models least-squares approximation problems over the unit interval. Beyond numerical testing, the infinite-dimensional Hilbert matrix (with i,j1i,j \geq 1) defines a bounded linear operator on 2\ell^2 , with applications in , integral equations, and even modern fields like image processing and cryptology. Its Cholesky and other decompositions can be computed exactly using integer arithmetic, avoiding numerical instability for moderate nn.

Definition and Construction

Matrix Entries

The n×nn \times n Hilbert matrix HnH_n is defined by its entries Hi,j=1i+j1H_{i,j} = \frac{1}{i + j - 1} for i,j=1,2,,ni, j = 1, 2, \dots, n. This uses the standard 1-based indexing convention. The Hilbert matrix arises as a special case of a Cauchy matrix. For illustration, the 2×22 \times 2 Hilbert matrix is (1121213),\begin{pmatrix} 1 & \frac{1}{2} \\ \frac{1}{2} & \frac{1}{3} \end{pmatrix}, with trace 1+13=431 + \frac{1}{3} = \frac{4}{3}. The 3×33 \times 3 Hilbert matrix is (11213121314131415),\begin{pmatrix} 1 & \frac{1}{2} & \frac{1}{3} \\ \frac{1}{2} & \frac{1}{3} & \frac{1}{4} \\ \frac{1}{3} & \frac{1}{4} & \frac{1}{5} \end{pmatrix},
Add your contribution
Related Hubs
User Avatar
No comments yet.