I am cross posting this question to the mathermatics stack exchange. please find it either at this link, https://math.stackexchange.com/q/2952989/430980, or below:
I have a question concerning the derivatives of approximate matrix inverses. I have a system, $$Ax = b$$ which I solve approximately (and with an iterative method) with: $$\Delta x = x - \tilde{A}^{-1}b$$ I would like to take the derivative of this process, i.e. find $$\frac{d\Delta x}{dF} = \frac{dx}{dF} - \frac{d\tilde{A}^{-1}}{dF}b - \tilde{A}^{-1}\frac{db}{dF}$$ I know that if I had an ideal inverse, my expression would be without tildes as I'd have the exact result: $$\frac{d\Delta x}{dF} = \frac{dx}{dF} - {A}^{-1}\frac{dA}{dF}{A}^{-1}b - \tilde{A}^{-1}\frac{db}{dF}$$ But for this, I cannot start with the typical assumption that $$AA^{-1} = I$$ and instead have $$A\tilde{A}^{-1} = C \neq I$$ Does anyone have any ideas for resources or techniques for such problems? Thank you.
Edit: To add some additional context, I'm using a Newton method in a CFD solver, so my linear system is $$\frac{\partial R}{\partial u}\Delta u= -R(u)$$ I'm attempting to differentiate the process. I solve the linear system using point Jacobi, and I break up the matrix into diagonal and off diagonal, so it looks like so: $$D \Delta u^{k+1}= -R(u) - \frac{\partial R(u) }{\partial u}\Delta u^{k}$$