Suppose I found the solution of a linear system:
$$A \vec x = \vec y$$
where $A$ is an $n\times n$ real matrix and $\vec y \in \mathbb{R}^n$ . You can assume that $A$ is positive definite and symmetric.
Now I want to solve a very similar linear system,
$$A \vec x' = \vec y'$$
where $\vec y'$ difers from $\vec y $ in only one coordinate, that is, $y'_i = y_i$ for all $i \ne m$, where $m$ is the updated coordinate. Is there an efficient way to obtain the new solution $\vec x'$?
I need to do something like this many times. By efficient I mean that I want to bypass inverting the matrix $A$, or solving the new system everytime $\vec y$ changes in a single coordinate.
P.S. If you have the Numerical Recipes book, check-out Equation 2.7.6, which is very related to this, to see the kind of approach I am expecting.
Apply the Cramer's Rule to both Ax=y and Ax=y' and compare the results.
Notice that the determinant which appears at the denominator when you apply Cramer's Rule is the same for both systems.
The difference between the numerators is the difference of the two determinants which are the same except at one term.
The difference of the two determinant is found by multiplying the cofactor of the changed term and the net change of the said term.
Thus there is no need to find the inverse of A at all.