Problem
Let $x_1, x_2, \ldots, x_n$ be reals such that \begin{align} \sum_{i=1}^n x_i=0 \qquad \text{ and } \qquad \sum_{i=1}^n x_i^2=1 . \end{align} Prove that there exist $i,j$ such that $x_ix_j\leq -{1\over n}$.
my attempt
I found that if there exist $x_i,x_j$ such that $$x_i\geq {1\over\sqrt{n}}, x_j\leq -{1\over \sqrt{n}} $$
then the problem solved, but I can't prove this.
Suppose the contrary that $x_ix_j>-\frac1n$ for all $i,j$. Then $A=xx^T+\frac1nee^T$ is an entrywise positive matrix, where $e$ denotes the all-one vector. However, as $x^Te=0$, we have $Ae=e$. Thus $e$ is a positive eigenvector of a positive matrix $A$ corresponding to the eigenvalue $\lambda=1$. Therefore, by Perron-Frobenius theorem, $\lambda$ must be equal to $\rho(A)$ and it is also a simple eigenvalue of $A$.
However, by construction, $A$ has rank $2$. Therefore the other nonzero eigenvalue of $A$ is equal to $\mu=\operatorname{trace}(A)-\lambda$. Yet, as $x^Tx=1$, we have $\operatorname{trace}(A)=2$ and in turn $\mu=2-1=1=\lambda$. Thus we arrive at a contradiction, because $\lambda$ should be simple.