The Sherman-Morrison formula is a formula that allows a perturbed matrix to be computed for a change to a given matrix. If the change can be written in the form
(1)
for two vectors and ,
then the Sherman-Morrison formula is
(2)
where
(3)
Bernstein and Van Loan (2000) extend the rank-one update to a rational function
of a matrix. If and are invertible, then the difference has matrix rank
at most . The inverse update corresponds to .