Let $A := B - C$, where both $B$ and $C$ are $p\times p$ (symmetric) positive semidefinite matrices and the rank of $C$ is $r < p$. What is the maximum number of negative eigenvalues of $A$?
It seems the Weyl theorem helps, but I cannot see how it works.
Hints. (First approach.) Any two positive semidefinite matrices are simultaneously diagonalisable by congruence. So, by Sylvester's law of inertia, you may assume that $B$ and $C$ are nonnegative diagonal matrices.
(Second approach.) Use Weyl's inequality $\lambda_{r+1}^\uparrow(B-C) \ge \lambda_\min(B) + \lambda_{r+1}^\uparrow(-C)$.
(Third approach.) If $A$ has $k$ negative eigenvalues, its eigenvectors for these eigenvalues form a $k$-dimensional subspace $V$. Hence $C$ is positive definite on $V$. So, by Courant-Fischer minimax principle, the $k$-th largest eigenvalue of $C$ is positive.