I'm struggling to find closed form solution for the Moore-Penrose pseudoinverse of the following singular matrix:
$$ P + I $$
where P is a vec-transpose operator matrix, defined by:
$$P=\sum_{ij} E_{ij} \otimes E_{ij}^T$$
where $E_{ij} \in \mathbb{R}^{n \times n}$ is a single-entry matrix. $P\in \mathbb{R}^{n^2\times n^2}$ is a permutation matrix and has following properties (let $A\in\mathbb{R}^{n\times n}$ be some matrix):
- $vec(A^T) = P \cdot vec(A)$
- $P = P^T = P^{-1}$
- $P^2 = I$
What I've got so far is that the problem boils down to finding eigenvectors of $P$, because they are the same as of $P + I$, so I can use SVD formula to obtain $(P+I)^+$.
Figured it out. Define $M=(P+I)$. By definition, a generalized inverse matrix $A^-$ of a matrix $A$, is some matrix that satisfies $AA^-A = A$. By noting that $M^n=2^{n-1}M$ and hence $M^3=4M$, it's easy to see that the matrix $$ M^+=\frac{1}{4}M $$ is indeed a generalized inverse of M. Moreover, one can show that it also satisfies all the necessary conditions to be a Moore-Penrose pseudoinverse.