For a complex -by- matrix , the products and are Gram products; the star denotes the conjugate transpose. For a real matrix, it reduces to the matrix transpose. If the columns of are , then is their Gram matrix under the standard complex inner product:Thus a rectangular matrix gives square Hermitian positive semidefinite matrices. The identityproves nonnegativity and gives . Similarly, . These are the kernel of a Gram product identities; combined with the rank-nullity theorem, they show that each Gram product has the same matrix rank as .
For example, gives , while . Both have matrix rank one despite their different sizes. The second is singular because the two columns of are linearly dependent.
New to topics? Read the docs here!