Please prove an equation about a determinant: (Sorry, I cannot figure any solution)
$$\text{det}(I+ab^T)=1+a^Tb$$
Please prove an equation about a determinant: (Sorry, I cannot figure any solution)
$$\text{det}(I+ab^T)=1+a^Tb$$
On
$ I+ab^T $ is the sum between the identity matrix and a matrix with rank $\leq 1$. Since the identity matrix commutes with every matrix, the only eigenvalue of $I$ is $1$ and the only (possibly) non-zero eigenvalue of $ab^T$ is $a^T b$, the eigenvalues of $I+ ab^T$ are $1+ a^T b$ and $1$. The determinant is just the product of the eigenvalues.
This is simply an application of Sylvester's determinant theorem.