The covariance matrix represents second-order relationship between each pair of the random variables and plays an important role in applications of random variables.
Example 2 The symmetric matrix

is non-negative definite because

and det

=4.
On the other hand, the symmetric matrix

is not non-negative definite because