Two Exercises of Gramian
Two Exercises of Gramian
"Gramian determines shape"
Proposition. Let \(\{v_1,\cdots,v_s\}\) and \(\{w_1,\cdots,w_s\}\) be two subsets of \(\mathbb{R}^n\). Show that there exists \(A\in O(n)\) such that \(Av_i=w_i\ (1\le i\le s)\) iff \(\langle v_{i}, v_{j}\rangle=\langle w_{i}, w_{j}\rangle\ (1\le i,j\le s)\), i.e., the two Gramians are equal.
Remark. Similarly, if \(\{v_1,\cdots,v_s\}\) and \(\{w_1,\cdots,w_s\}\) be two subsets of \(\mathbb{C}^n\), then there exists \(A\in U(n)\) such that \(Av_i=w_i\ (1\le i\le s)\) iff \(\langle v_{i}, v_{j}\rangle=\langle w_{i}, w_{j}\rangle\ (1\le i,j\le s)\), i.e., the two Gramians are equal.
Proof. We summarize the idea of proving \((\Leftarrow)\) as follows. Given the data \(\langle v_i,v_j \rangle\ (1\le i,j\le s)\), we may focus on a maximal linearly independent subset of \(\{v_1,\cdots,v_s\}\) to study the shape formed by these \(s\) vectors in \(\mathbb{R}^n\). Suppose that \(\{v_{k_1},\cdots,v_{k_r}\}\) is a maximal linearly independent subset of \(\{v_1,\cdots,v_s\}\), then \(\{w_{k_1},\cdots,w_{k_r}\}\) is automatically a maximal linearly independent subset of \(\{w_1,\cdots,w_s\}\). Perform Gram-Schmidt on them simultaneously and extend the resulted orthonormal subsets to two orthonormal bases for \(\mathbb{R}^n\). The associated change of coordinates matrix then fulfills the proof. (The Gram-Schmidt process can be embodied by QR decomposition.)
\((\Rightarrow)\): Obvious.
\((\Leftarrow)\): Note that
Denote \(r:=\text{rank}(v_{1}\ \cdots\ v_{s})\). Without loss of generality, assume that \(v_1,\cdots,v_r\) are linearly independent. We claim that \(w_1,\cdots,w_r\) are linearly independent as well. Indeed,
Therefore, there exist \(B,C\in M_{r\times (s-r)}(\mathbb{R})\) such that
Denote \(G:=G(v_1,\cdots,v_r)=G(w_1,\cdots,w_r)\). Since \(\text{rank}(G)=\text{rank}(v_1\ \cdots\ v_r)=r\), the matrix \(G\) is invertible. Thus we have
Now, it suffices to find some \(A\in O(n)\) such that
By QR decomposition, we have
where \(R_i\in M_{r\times r}(\mathbb{R})\) is an upper triangular matrix with positive digonal entries and \(Q_i\in M_{n\times r}(\mathbb{R})\) satisfies \(Q_i^TQ_i=I_r\) (semi-orthogonal). Thus we have
By the uniqueness of Cholesky decompostion for postive-definite matrices, we have \(R_1=R_2\). Indeed, \(R_1R_2^{-1}=(R_1^{T})^{-1}R_2^T\) is upper triangular and lower triangular, and hence a diagonal matrix, denoted by \(D\). Thus we have
Denote \(R:=R_1=R_2\). Now it suffices to find some \(A\in O(n)\) such that
Since the columns of \(Q_i\) forms an orthonormal subset of \(\mathbb{R}^n\) and thus extends to an orthonormal basis for \(\mathbb{R}^n\), there exists \(\widehat{Q}_i\in O(n)\) such that \(\widehat{Q}_i=(Q_i\ |\ X_i)\) for some \(X_i\in M_{n\times (n-r)}(\mathbb{R})\). Now define \(A:=\widehat{Q}_2\widehat{Q}_1^{-1}\). Then \(A\in O(n)\) and \(AQ_1=Q_2\), as desired. \(\blacksquare\)
"Almost orthonormal"
The next proposition is one of the problems in my entrance examination of École Polytechnique. It estimates the size of a set of unit vectors that are "almost orthonormal".
Proposition. Show that if \(v_1,\cdots,v_m\) are \(m\) unit vectors in \(\mathbb{C}^n\) such that \(|\langle v_i,v_j \rangle|\le \frac{1}{2\sqrt{n}}\) for any \(i\neq j\), then \(m<2n\).
Proof. Let \(G:=G(v_1,\cdots,v_m)\) be the Gramian, i.e., \(G(i,j)=\langle v_i,v_j \rangle\) for \(1\le i,j\le m\). Define \(H:=G-I_m\). On the one hand, noting that \(H\) is Hermitian, we have
On the other hand, since \(G\) is positive semi-definite, \(G\) has \(r:=\text{rank}(G)=\text{rank}(v_1\ \cdots\ v_m)\le n\) positive eigenvalues, and the other \(m-r\) eigenvalues of \(G\) are all zero. (In fact, we only use the latter.) Consequently, the eigenvalues of \(H\) are \(\underbrace{\lambda_1,\cdots,\lambda_r}_{\in (-1,+\infty)},\underbrace{-1,\cdots,-1}_{m-r}\), and the eigenvalues of \(H^2\) are \(\underbrace{\lambda_1^2,\cdots,\lambda_r^2}_{\in [0,+\infty)},\underbrace{1,\cdots,1}_{m-r}\). Therefore,
Combining the two estimates, we conclude that
from which \(m<2n\) follows. \(\blacksquare\)