Lecture 10 SVD
Lecture 10 SVD
Motivation
*This nice argument was taken from a blog post of Gregory Gunderson
The Singular Value Decomposition
• Every matrix can be factorized as where and are orthogonal
matrices and is a diagonal matrix
• The diagonal entries of are called the singular values of the
matrix and they are the square roots of the eigenvalues of
and
• are orthonormal eigenvectors of
• are orthonormal eigenvectors of
Least Squares Solutions Linear Systems
subject to
, where
subject to
, where
• If is invertible, then
• All the interesting algebraic properties of following directly from
the definition above, e.g.,
Ex 1: Convex Quadratic Minimization
is an arbitrary p.s.d
Either
matrix
or
Pseudoinverse
2
min ‖ 𝐴𝑥−𝑏‖ 2
𝑛
𝑥∈ ℝ
Pseudoinverse
𝑇
min ( 𝐴𝑥−𝑏) (𝐴𝑥−𝑏)
𝑛
𝑥∈ ℝ
Pseudoinverse
Either
or
Pseudoinverse
Either
or
Pseudoinverse
Let
subject to
Either
or
Ex 2: Convex Quadratic Minimization
subject to
subject to
Ex 2: Convex Quadratic Minimization
subject to
subject to
Ex 2: Convex Quadratic Minimization
subject to
subject to
Ex 2: Convex Quadratic Minimization
subject to
subject to
𝑄=∑ 𝜇 𝑖 𝑥 𝑥
𝑇
(𝑖) ( 𝑖)
𝑖
Non-Convex Quadratic Minimization
subject to is an arbitrary
symmetric matrix
Non-Convex Quadratic Minimization
subject to is an arbitrary
symmetric matrix
Non-Convex Quadratic Minimization
subject to is an arbitrary
symmetric matrix
subject to is an arbitrary
symmetric matrix
subject to is an arbitrary
symmetric matrix
subject to
Non-Convex Quadratic Minimization
subject to is an arbitrary
symmetric matrix
subject to
Eigenvectors of
subject to is an arbitrary
symmetric matrix
subject to
Range of a Matrix
• has a solution for a symmetric matrix if and only if is in the
span of the eigenvectors of with non-zero eigenvalues (note the
eigenvectors of are the same as the orthonormal eigenvectors of
)
• In this case,
• Otherwise, the constraint that is violated, i.e., there exists an
eigenvector of such that and
• Note that, for large enough , this system always has a
solution, indeed,
Non-Convex Quadratic Minimization
subject to is an arbitrary
symmetric matrix
subject to
where
Non-Convex Quadratic Minimization
subject to is an arbitrary
symmetric matrix
subject to
where
How would
you solve this
problem?
SVD Reformulated
• Let with svd,