For $G$, an $n\times n$ and symmetric positive definite matrix, the $G$-inner product on $\mathbb{R}^{n}$ is given by $$(x,y)_G=x^{T}Gy.$$ A complete $G$-orthonormal set $\{u_1,u_2,\ldots,u_{n}\}$ satisfies $(u_i,u_j)_G=\delta_{ij}$. Prove that $\sum_{j=1}^{n}u_{j}u_{j}^{T}=G^{-1}$ for any complete $G$-orthonormal set.
(Hint: expand an arbitrary vector in terms of this set).
I have proved that $\{u_1,u_2,\ldots,u_{n}\}$ is a basis. But I do not know how to continue.
First, since $G$ is symmetric positive definite, you know in particular that it is indeed invertible.
Now, let $T := \sum_{j=1}^n u_j u_j^T$. The question is, what is $TGe_k$ for each $k$?