Looking for some help with the question below, I have given it a try and looking to see if my workings make sense or where I have went wrong. Spent some time trying to figure this out and typing this up in the right format, all help is greatly appreciated!
compute the singular value decomposition of the matrix $$A= \begin{bmatrix}1&2\\0&1\\-1&0\\\end{bmatrix}$$
Want: $c=U \Sigma V^t$
Using equations:
$$1) C^TC = V \Sigma ^T \Sigma V^T$$
$$2) CV = U \Sigma$$
Starting with Eq$(1)$:
$$C^TC = \begin{bmatrix}1&0&-1\\2&1&0\\\end{bmatrix}\begin{bmatrix}1&2\\0&1\\-1&0\\\end{bmatrix} =\begin{bmatrix}2&2\\2&5\\\end{bmatrix} $$
Finding eigen values and eigen vectors:
$$det(C^T-\lambda I) =\begin{bmatrix}2-\lambda&2\\2&5-\lambda\\\end{bmatrix} = (2-\lambda)(5-\lambda)-4 = \lambda ^2 -7\lambda + 6$$Hence $\lambda_1 = 1 \rightarrow \begin{bmatrix}-2\\1\\\end{bmatrix}, \lambda_2 = 6 \rightarrow \begin{bmatrix}\frac{1}{2}\\1\\\end{bmatrix}$
Then $V = \begin{bmatrix}-2&\frac{1}{2}\\1&1\\\end{bmatrix}$
and $\Sigma= \begin{bmatrix}1&0\\0&\sqrt6\\\end{bmatrix}$
Then using Eq$(2)$ $CV = U$ $$\begin{bmatrix}1&2\\0&1\\-1&0\\\end{bmatrix} \begin{bmatrix}-2&\frac{1}{2}\\1&1\\\end{bmatrix} = \begin{bmatrix}0&2.5\\1&1\\2&-0.5\\\end{bmatrix}$$
Making that unit length and multiplying by $\Sigma$ gives $U$
$$U = \begin{bmatrix}\frac{0}{\sqrt2}&\frac{2.5}{2}\\\frac{1}{\sqrt2}&\frac{1}{\sqrt2}\\\frac{2}{\sqrt2}&-\frac{0.5}{\sqrt2}\\\end{bmatrix}\begin{bmatrix}1&0\\0&\sqrt6\\\end{bmatrix} $$