Let $D= \text{diag}\{d_1,d_2,...,d_n\} \in \mathbb R^{n\times n}$ be the diagonal matrix, $v \in \mathbb R^{n}$ be the column vector. Then the eigenvalues of the rank one update matrix $D+\alpha vv^T$ can be found as roots of the secular equation:$$f(\lambda) = 1+\alpha \sum_{i=1}^n \frac{v_i^2}{...