It's an exercise from A Primer on Linear Models written by John F. Monahan.
Is there any special property of $ab^T$,where $a$ and $b$ are both vectors?
It's an exercise from A Primer on Linear Models written by John F. Monahan.
Is there any special property of $ab^T$,where $a$ and $b$ are both vectors?
Spoiler: $ab^T$ is a rank-1 matrix. In numerical linear algebra, we call $D+ab^T$ a rank-1 update of the matrix $D$. There is a well-known formula for $(D+ab^T)^{-1}$ when $D$ is invertible:
Do it yourself: suppose $D$ is invertible.