For a matrix, , to be positive-semidefinite the following has to hold

Criterion

Given that is a symmetric real matrix

Quite similar to Positive-Definite Matrix