Definition 6.5.1. Singular value decomposition.
Let \(A\) be an \(m\times n\) matrix, and let \(p=\min(m,n)\text{.}\) A singular value decomposition, or SVD, of \(A\) is a factorization
\begin{equation*}
A=U\Sigma V^T,
\end{equation*}
where \(U\) is an \(m\times m\) orthogonal matrix, \(V\) is an \(n\times n\) orthogonal matrix, and \(\Sigma\) is an \(m\times n\) diagonal matrix whose diagonal entries
\begin{equation*}
\sigma_1\geq \sigma_2\geq \cdots \geq \sigma_p\geq 0
\end{equation*}
are nonnegative.
The numbers \(\sigma_i\) are the singular values of \(A\text{.}\) The columns
\begin{equation*}
\mathbf{u}_1,\ldots,\mathbf{u}_m
\end{equation*}
of \(U\) are left singular vectors. The columns
\begin{equation*}
\mathbf{v}_1,\ldots,\mathbf{v}_n
\end{equation*}
of \(V\) are right singular vectors.
If \(r\) is the number of positive singular values, then
\begin{equation*}
A\mathbf{v}_i=\sigma_i\mathbf{u}_i
\qquad
\text{for }1\leq i\leq r,
\end{equation*}
and
\begin{equation*}
A\mathbf{v}_i=\mathbf{0}
\qquad
\text{for }i>r.
\end{equation*}
