Task: Prove that Gram's determinant if and only if are linearly dependent.

So I know that

(where denotes an inner product) which means that if , then the determinant has to be equal to 0 as well. Why does it happen only with being linearly dependent, though?

Also, sorry for the <br> tags in the matrix but TeX converts my \\ signs that way here. Weird...