$ (x x^T)^{-1}$, efficient matrix inversion for matrix composed as product of a vector with itself?

1.1k Views Asked by At

Given a vector $x$, is there an efficient way of computing $(x x^T)^{-1}$? I mean without first computing the matrix $(x x^T)$ and then applying matrix inversion techniques to it?

1

There are 1 best solutions below

0
On BEST ANSWER

As Wim already noted, the matrix is always singular, so inverse never exist for dimensions $\geq 2$ but you can get a pseudoinverse as $$(xx^T)^\dagger = \frac{(xx^T)}{{(x^Tx)}^2}$$The pseudoinverse has the properties that $x$ is mapped back onto itself and all vectors orthogonal to $x$ are mapped to 0. We can confirm this as: $$ (xx^T)^\dagger(xx^T)x = \frac{xx^Txx^Tx}{(x^Tx)^2} = \frac{x(x^Tx)(x^Tx)}{(x^Tx)^2} = x$$