(I−A)−1(I-A)^{-1} trick

2016-10-30·Alok Singh·113 words

The geometric series ∑k=0∞ark\sum_{k=0}^{\infty}{ar^k} equals a1−r\frac{a}{1-r} if and only if |r|<1|r| < 1.

By squinting at the notation, we can notice (not prove) a "well-known" matrix identity. (I keep forgetting it, so it's not well-known to me).

If we let a=1a = 1 and make the following replacements:

r←A1←I r \leftarrow A \\ 1 \leftarrow I \\

(where AA is some matrix and II is the identity matrix), we can get the following "identity":

∑k=0∞Ak=1I−A \sum_{k=0}^{\infty}{A^k} = \frac{1}{I-A}

Now we interpret "1 over something" as its multiplicative inverse, so the right hand side becomes (I−A)−1(I-A)^{-1}.

Therefore, by our "identity",

(I−A)−1=A+A2+A3+A4...(I-A)^{-1}= A + A^2 + A^3 + A^4...

which is actually true.