Rank of Moore-Penrose pseudoinverse matrix [closed]

If $A$ is a matrix of rank $r$, is its Moore-Penrose pseudoinverse also of rank $r$?

closed as off-topic by M. Vinay, MathOverview, Ramiro, Leucippus, 6005Jun 16 '16 at 18:58

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – M. Vinay, MathOverview, Ramiro, Leucippus, 6005
If this question can be reworded to fit the rules in the help center, please edit the question.

Yes. This is a direct consequence of singular value decomposition. More specifically, let $A=USV^\ast$ be a SVD, where $U$ and $V$ are unitary and $S=\operatorname{diag}(s_1,s_2,\ldots,s_r,0,\ldots,0)$ with $s_1,\ldots,s_r>0$. Then $A^+=VS^+U^\ast$, where $S^+=\operatorname{diag}(\frac1{s_1},\frac1{s_2},\ldots,\frac1{s_r},0,\ldots,0)$.