I have the following matrix $A$:
- symmetric
- all positive and/or zero values
- the main diagonal is all the same value, $x$.
To ensure that the matrix $A$, is positive semidefinite, must I only ensure that $x \geq 0$? It seems correct from my thinking, but wanted to make sure. Thanks.
It is not sufficient to have positive diagonal entries. To see this, consider the matrix $$ A=\pmatrix{1& 10\\10& 1}. $$ It has the negative eigenvalue $-9$ to the eigenvector $$ v=\pmatrix{1\\-1}, $$and is thus not positive semi-definite.