Gramian matrix

From Wikipedia, the free encyclopedia

In linear algebra, the Gramian matrix (or Gram matrix or Gramian) of a set of vectors v_1,\dots, v_n in an inner product space is the symmetric matrix of inner products, whose entries are given by Gij = (vi | vj).

An important application is to compute linear independence: a set of vectors is linearly independent if and only if the Gram determinant (the determinant of the Gram matrix) is non-zero.

It is named for Jørgen Pedersen Gram.

Contents

[edit] Examples

Most commonly, the vectors are elements of a Euclidean space, or are functions in an L2 space, such as continuous functions on a compact interval [a,b] (which are a subspace of L2([a,b])).

Given real-valued functions \{l_i(\cdot),\,i=1,\dots,n\} on the interval [t0,tf], the Gram matrix G = [Gij], is given by the standard inner product on functions: G_{ij}=\int_{t_0}^{t_f} l_i(\tau)l_j(\tau)\, d\tau .

Given a matrix A, the matrix ATA is a Gram matrix (of the columns of A), while the matrix AAT is the Gram matrix of the rows of A.

For a general bilinear form B on a finite-dimensional vector space over any field we can define a Gram matrix G attached to a set of vectors v_1,\dots, v_n by G_{i,j} = B(v_i,v_j) \, . The matrix will be symmetric if the bilinear form B is.

[edit] Applications

[edit] Properties

[edit] Positive semidefinite

The Gramian matrix is positive semidefinite, and every positive semidefinite matrix is the Gramian matrix for some set of vectors. This set of vectors is not in general unique: the Gramian matrix of any orthonormal basis is the identity matrix.

The infinite-dimensional analog of this statement is Mercer's theorem.

[edit] Change of basis

Under change of basis represented by an invertible matrix P, the Gram matrix will change by a matrix congruence to PTGP.

[edit] Gram determinant

The Gram determinant or Gramian is the determinant of the Gram matrix:

G(x_1,\dots, x_n)=\begin{vmatrix} (x_1|x_1) & (x_1|x_2) &\dots & (x_1|x_n)\\
 (x_2|x_1) & (x_2|x_2) &\dots & (x_2|x_n)\\
\vdots&\vdots&&\vdots\\
 (x_n|x_1) & (x_n|x_2) &\dots & (x_n|x_n)\end{vmatrix}.

Geometrically, the Gram determinant is the square of the volume of the parallelepiped formed by the vectors. In particular, the vectors are linearly independent if and only if the Gram determinant is nonzero (if and only if the Gram matrix is nonsingular).

[edit] External links