6
$\begingroup$

Prove that Gram's determinant $G(x_1,\dots, x_n)=0$ if and only if $x_1, \dots, x_k$ are linearly dependent.

So I know that

$G(x_1,\dots, x_n)=\det \begin{vmatrix} \xi( x_1,x_1) & \xi( x_1,x_2) &\dots & \xi( x_1,x_n)\\ \xi( x_2,x_1) & \xi( x_2,x_2) &\dots & \xi( x_2,x_n)\\ \vdots&\vdots&\ddots&\vdots\\ \xi( x_n,x_1) & \xi( x_n,x_2) &\dots & \xi( x_n,x_n)\end{vmatrix}$

(where $\xi$ denotes an inner product) which means that if $G(x_1,\dots, x_n)=0$, then the determinant has to be equal to 0 as well. Why does it happen only with $x_1,\dots, x_k$ being linearly dependent, though?

$\endgroup$
1
  • $\begingroup$ You didn't specify whether $n$ is supposed to be equal to the dimension of the inner product space. In fact you mentioned both an $n$ and a $k$ in the statement, this cannot be right. Please state the question carefully. $\endgroup$ Jun 9, 2013 at 17:55

2 Answers 2

3
$\begingroup$

Observe $G(X)=\det(X^TX)=0\iff \exists a\in{\bf R}^n:(X^TX)a=X^T(Xa)=0$. In expanded form:

$$\begin{array}{cr} & \begin{vmatrix} \langle x_1,x_1\rangle & \langle x_1,x_2\rangle & \dots & \langle x_1,x_n \rangle \\ \langle x_2,x_1 \rangle & \langle x_2,x_2 \rangle &\dots & \langle x_2,x_n \rangle \\ \vdots & \vdots & \ddots & \vdots \\ \langle x_n,x_1 \rangle & \langle x_n,x_2 \rangle & \dots & \langle x_n,x_n \rangle \end{vmatrix}=0 \\ \iff \exists a_1,\cdots,a_n: & a_1\begin{pmatrix}\langle x_1,x_1\rangle \\ \langle x_2,x_1\rangle \\ \vdots \\ \langle x_n,x_1\rangle\end{pmatrix} +\cdots+ a_n\begin{pmatrix}\langle x_1,x_n\rangle \\ \langle x_2,x_n\rangle \\ \vdots \\ \langle x_n,x_n\rangle\end{pmatrix}=0 \\ \iff \exists a_1,\cdots,a_n: & \begin{pmatrix}\langle x_1,a_1x_1+\cdots+a_nx_n\rangle \\ \langle x_2,a_1x_1+\cdots+a_nx_n\rangle \\ \vdots \\ \langle x_n,a_1x_1+\cdots+a_nx_n\rangle\end{pmatrix}=0 \end{array}$$

Now, $s=a_1x_1+\cdots+a_nx_n\in\langle x_1,\cdots,x_n\rangle=S$, and $s$ is orthogonal to all $n$ basis vectors $\{x_i\}$ of the space $S$ iff it is zero, and $0=s=a_1x_1+\cdots+a_nx_n$ means the $x_i$ are linearly dependent.

$\endgroup$
2
  • $\begingroup$ Thank you a lot. One question to the first line, though - where does $G(X) = det(X^T X)$ come from? $\endgroup$
    – Straightfw
    Jun 11, 2013 at 12:17
  • $\begingroup$ @Straightfw The $ij$ entry of $X^TX$ is $\langle x_i,x_j\rangle$... $\endgroup$
    – anon
    Jun 11, 2013 at 18:00
0
$\begingroup$

Suppose $x_1,\cdots,x_n\in{\bf R}^m$ are $n$ vectors from $m$-dimensional Euclidean space. Notice: if $n=m$ then the gram determinant (with $X=[x_1~\cdots~x_n]\in M_{n\times n}({\bf R})$) is in fact given by

$$G(X)=\det(X^TX)=\det(X^T)\det(X)=\det(X)\det(X)=\det(X)^2,$$

which is equal to the square of the (hyper)volume of the parallelepiped formed by the vectors $x_i$; further the vectors $x_1,\cdots,x_n$ are linearly independent iff $\dim_{\,\bf R}\langle x_1,\cdots,x_n\rangle=n$ iff no $x_i$ is contained in the subspace spanned by the other $x_j$s iff the parallelepiped generated by the $x_i$ has nonzero $n$-dimensional volume, regardless of what the dimension $m$ is relative to $n$.

Theorem. The gram determinant $G(X)$ is the square of the $n$-dimensional volume of the parallelepiped formed by the column vectors of $X$ in $m$-dimensional Euclidean space.

Surprisingly, this is not too hard to prove if we allow ourselves a simple geometric fact: for any two subspaces of ${\bf R}^m$ of equal dimension, there is a rotation matrix $U$ which sends the first onto the second. Rotations preserve angles and distances between vectors, so $\langle Ux,Uy\rangle=\langle x,y\rangle$ for any $x,y$.

In particular, then, (assume $n< m$) let $U$ send $\langle x_1,\cdots,x_n\rangle$ to ${\bf R}^n\subset{\bf R}^m$, so that

$$G(UX)=G(Ux_1,\cdots,Ux_n)=$$

$$\det \begin{vmatrix} \langle Ux_1, Ux_1\rangle & \langle Ux_1, Ux_2\rangle & \dots & \langle Ux_1, Ux_n \rangle \\ \langle Ux_2, Ux_1 \rangle & \langle Ux_2, Ux_2 \rangle &\dots & \langle Ux_2, Ux_n \rangle \\ \vdots & \vdots & \ddots & \vdots \\ \langle Ux_n, Ux_1 \rangle & \langle Ux_n, Ux_2 \rangle & \dots & \langle Ux_n, Ux_n \rangle \end{vmatrix} =\det \begin{vmatrix} \langle x_1,x_1\rangle & \langle x_1,x_2\rangle & \dots & \langle x_1,x_n \rangle \\ \langle x_2,x_1 \rangle & \langle x_2,x_2 \rangle &\dots & \langle x_2,x_n \rangle \\ \vdots & \vdots & \ddots & \vdots \\ \langle x_n,x_1 \rangle & \langle x_n,x_2 \rangle & \dots & \langle x_n,x_n \rangle \end{vmatrix}$$

$$=G(x_1,x_2,\cdots,x_n)=G(X).$$

Now each column vector $Ux_i$ has zeros in the final $m-n$ components; let $y_i\in{\bf R}^n$ be the vector $Ux_i$ with these extra zeros cut off, and let $Y=[y_1~\cdots~y_n]$. Since $\langle Ux_i,Ux_j\rangle=\langle y_i,y_j\rangle$, we conclude that $G(X)=G(UX)=G(Y)$. Now $G(Y)$ is the square of the volume of the image of the parallelepiped on the ${\bf R}^n$ subspace of ${\bf R}^m$ under the transformation $U$, but $U$ preserves volumes so this is in fact equal to the volume of the original parallelepiped formed by $X$.

This gives us the case $n<m$. We already covered the case $n=m$. If $n>m$ then $X^T$ is a map from ${\bf R}^n$ to the space ${\bf R}^m$ of lesser dimension. Thus $X^Tx_1,\cdots,X^Tx_n$ must be linearly dependent (there are more than $m$ vectors), hence the gram determinant $G(X)=\det[X^Tx_1~\cdots~X^Tx_n]=0$.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged .