Hilbert matrix
{{Short description|1=Square matrix where a[i,j]=1/(i+j-1)}}
In linear algebra, a Hilbert matrix, introduced by {{harvs|txt|last=Hilbert|year=1894|authorlink=David Hilbert}}, is a square matrix with entries being the unit fractions
:
For example, this is the 5 × 5 Hilbert matrix:
:
1 & \frac{1}{2} & \frac{1}{3} & \frac{1}{4} & \frac{1}{5} \\
\frac{1}{2} & \frac{1}{3} & \frac{1}{4} & \frac{1}{5} & \frac{1}{6} \\
\frac{1}{3} & \frac{1}{4} & \frac{1}{5} & \frac{1}{6} & \frac{1}{7} \\
\frac{1}{4} & \frac{1}{5} & \frac{1}{6} & \frac{1}{7} & \frac{1}{8} \\
\frac{1}{5} & \frac{1}{6} & \frac{1}{7} & \frac{1}{8} & \frac{1}{9}
\end{bmatrix}.
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{{e|5}}.
Historical note
{{harvtxt|Hilbert|1894}} introduced the Hilbert matrix to study the following question in approximation theory: "Assume that {{nowrap|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 {{nowrap|b − a}} of the interval is smaller than 4.
Properties
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 {{OEIS2C|A005249}} 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.{{Cite journal |last=Choi |first=Man-Duen |date= 1983|title=Tricks or Treats with the Hilbert Matrix |jstor=2975779 |journal=The American Mathematical Monthly |volume=90 |issue=5 |pages=301–312 |doi=10.2307/2975779}} 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,
:
1 & \frac{1}{2} & \frac{1}{3} & \frac{1}{4} & \frac{1}{5} \\
\frac{1}{2} & \frac{1}{3} & \frac{1}{4} & \frac{1}{5} & \frac{1}{6} \\
\frac{1}{3} & \frac{1}{4} & \frac{1}{5} & \frac{1}{6} & \frac{1}{7} \\
\frac{1}{4} & \frac{1}{5} & \frac{1}{6} & \frac{1}{7} & \frac{1}{8} \\
\frac{1}{5} & \frac{1}{6} & \frac{1}{7} & \frac{1}{8} & \frac{1}{9}
\end{bmatrix}^{-1} =
\left[\begin{array}{rrrrr}
25 & -300 & 1050 & -1400 & 630 \\
-300 & 4800 & -18900 & 26880 & -12600 \\
1050 & -18900 & 79380 & -117600 & 56700 \\
-1400 & 26880 & -117600 & 179200 & -88200 \\
630 & -12600 & 56700 & -88200 & 44100
\end{array}\right].
The condition number of the n × n Hilbert matrix grows as .
Applications
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.{{cite journal | doi=10.1371/journal.pone.0174573 | doi-access=free | title=Polynomial probability distribution estimation using the method of moments | date=2017 | last1=Munkhammar | first1=Joakim | last2=Mattsson | first2=Lars | last3=Rydén | first3=Jesper | journal=PLOS ONE | volume=12 | issue=4 | pages=e0174573 | pmid=28394949 | bibcode=2017PLoSO..1274573M | pmc=5386244 }}
References
Further reading
{{refbegin}}
- {{Citation | last1=Hilbert | first1=David | author1-link=David Hilbert | title=Ein Beitrag zur Theorie des Legendre'schen Polynoms | doi=10.1007/BF02418278 | jfm=25.0817.02 | year=1894 | journal=Acta Mathematica | issn=0001-5962 | volume=18 | pages=155–159| doi-access=free }}. Reprinted in {{cite book|first=David|last= Hilbert|title=Collected papers|volume= II|chapter= article 21}}
- {{cite journal|doi=10.1007/PL00005392|last=Beckermann|first=Bernhard|title=The condition number of real Vandermonde, Krylov and positive definite Hankel matrices|journal= Numerische Mathematik|volume=85|issue=4|pages= 553–577|year= 2000|citeseerx=10.1.1.23.5979|s2cid=17777214}}
- {{cite journal|doi=10.2307/2975779|last=Choi|first= M.-D.|title= Tricks or Treats with the Hilbert Matrix|journal=American Mathematical Monthly|volume=90|issue=5|pages=301–312|year= 1983|jstor=2975779}}
- {{cite book |last=Todd |first=John |chapter=The Condition of the Finite Segments of the Hilbert Matrix |title=Contributions to the Solution of Systems of Linear Equations and the Determination of Eigenvalues |series=National Bureau of Standards, Applied Mathematics Series |volume=39 |pages=109–116 |year=1954 |chapter-url={{GBurl|4dpJAAAAMAAJ|p=109|dq=109}} |editor-first=O. |editor-last=Taussky |isbn=0-598-85383-9 |oclc=540840412 }}
- {{Cite book|last=Wilf|first=H.S.|title=Finite Sections of Some Classical Inequalities |publisher= Springer|year= 1970|doi=10.1007/978-3-642-86712-5 |isbn=978-3-540-04809-1 |url=https://link.springer.com/book/10.1007/978-3-642-86712-5}}
{{refend}}
{{Matrix classes}}
Category:Numerical linear algebra