Math 2.0

Linear and multilinear algebra; matrix theory Special matrices Example

Hilbert matrix

Builds on Gram matrix

Example

For n≥1n \ge 1, the Hilbert matrix HnH_n is the n×nn \times n real matrix with entries (Hn)ij=1i+j−1(1≤i,j≤n).(H_n)_{ij} = \frac{1}{i + j - 1} \qquad (1 \le i, j \le n). For n=3n = 3 it is H3=(11213121314131415).H_3 = \begin{pmatrix} 1 & \tfrac12 & \tfrac13 \\ \tfrac12 & \tfrac13 & \tfrac14 \\ \tfrac13 & \tfrac14 & \tfrac15 \end{pmatrix}.

It is a Hankel matrix: the entry depends only on i+ji + j, with hk=1/(k−1)h_k = 1/(k-1).

It is a Cauchy matrix: with xi=ix_i = i and yj=1−jy_j = 1 - j, the entry is 1/(xi−yj)1/(x_i - y_j), and all xi−yj=i+j−1x_i - y_j = i + j - 1 are nonzero.

It is a positive definite matrix. Indeed, (Hn)ij=∫01ti−1tj−1 dt(H_n)_{ij} = \int_0^1 t^{i-1} t^{j-1} \, dt, so HnH_n is the Gram matrix of the functions 1,t,…,tn−11, t, \dots, t^{n-1} for the inner product ⟨f,g⟩=∫01f(t)g(t) dt\ip{f}{g} = \int_0^1 f(t) g(t) \, dt. For c∈ℝnc \in \R^n and p(t)=∑iciti−1p(t) = \sum_i c_i t^{i-1}, this gives cTHnc=∫01p(t)2 dtc^T H_n c = \int_0^1 p(t)^2 \, dt, which is positive when c≠0c \ne 0, because then pp is a nonzero polynomial.

Remarks

The inverse of HnH_n has integer entries; for example det⁡H2=1/12\det H_2 = 1/12 and H2−1=(4−6−612)H_2^{-1} = \begin{pmatrix} 4 & -6 \\ -6 & 12 \end{pmatrix}. The Hilbert matrix is a standard test case in numerical analysis, because it is badly conditioned: its condition number grows very fast with nn.

Reading path

To understand this page from the ground up, read these 2 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Gram matrix concept
  2. Hilbert matrix example

Further reading

  1. Web https://en.wikipedia.org/wiki/Hilbert_matrix
About this page
Tag2DTWB6F5TA
URIm2://2DTWB6F5TA
Kindexample
WritingW0 stub
MSC15B05, 15B48
Instance ofHankel matrix, Cauchy matrix, Positive definite matrix
UsesGram matrix
Same as
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.