Math Tools
Matrix Calculus
For invertible matrix $\mathbf{A}$ and column vector $\mathbf{u}$ and $\mathbf{v}$,
$$ \mathrm{det}( \mathbf{A} + \mathbf{u} \mathbf{v}^T ) =(1 + \mathbf{v}^T \mathbf{A}^{-1} \mathbf{u} ) \cdot \mathrm{det}(\mathbf{A}) $$
For invertible matrix $\mathbf{A}$ and column vector $\mathbf{u}$ and $\mathbf{v}$,
$$ \mathrm{det}( \mathbf{A} + \mathbf{u} \mathbf{v}^T ) =(1 + \mathbf{v}^T \mathbf{A}^{-1} \mathbf{u} ) \cdot \mathrm{det}(\mathbf{A}) $$