[Math] A matrix with one non-zero singular value

matrices

I have a question regarding matrices and eigen values.

If SVD decomposition was performed on matrix, and the inner matrix of singular values has only one non zero value. Should the left and right singlular matrices be only a matrix of one vector?

The reason I ask is that I have performed SVD on matrix in matlab using function svd, and it turns out that there is one eigen value but the right and left matrices are not one vector

Thanks

Best Answer

There are two different conventions for the SVD. First there is the full convention, where you take $A \in \mathbb{K}^{m \times n}$ and you get $U \in \mathbb{K}^{m \times m},\Sigma \in \mathbb{R}^{m \times n},V^* \in \mathbb{K}^{n \times n}$. (Here $\mathbb{K}$ is $\mathbb{R}$ or $\mathbb{C}$.) Second there is the reduced convention, where you take $A \in \mathbb{K}^{m \times n}$ with rank $r$ and you get $U \in \mathbb{K}^{m \times r},\Sigma \in \mathbb{R}^{r \times r},V^* \in \mathbb{K}^{r \times n}$. The reduced SVD contains all the information in the full SVD, because in the full SVD, the zero diagonal entries in $\Sigma$ simply destroy whatever extra information is present in $U$ and $V$. The reduced SVD is also faster and more straightforward to compute. So in numerical calculations we tend to use it rather than the full SVD. The full SVD is convenient for theory, however.

This same distinction occurs with the QR decomposition.

In MATLAB you can distinguish between the two using svd(A) (which gives the full SVD) and svd(A,0) (which gives the reduced SVD). Be warned that the rank calculation is not a trivial matter, numerically. For matrices which do not have full rank or are close to such a matrix, the rank will often be computed incorrectly (either nonzero singular values will be treated as zero, or truly zero singular values will have errors that make them be treated as nonzero). If you see very small but positive singular values, or more than $|n-m|$ zero singular values, then you may be in this case.