Say you're given the following SVD:
$B= \begin{bmatrix} 1 & -2 & -2 \\ -6 & 3 & -6 \\ \end{bmatrix} = \begin{bmatrix} 0 & d \\ 1 & e\\ \end{bmatrix} \begin{bmatrix} 9 & 0 & 0 \\ 0 & f & g \\ \end{bmatrix} \begin{bmatrix} -2/3 & -1/3 & a \\ 1/3 & 2/3 & b \\ -2/3 & 2/3 & c \\ \end{bmatrix}^T $
How does one find the values for $f$ and $g$. I've found the values for $a,b,c,d,e$ simply because they are orthogonal matrices which rotate. So you can find the corresponding perpendicular vectors and use the determinant to find out which, when filled in, make them rotating matrices.
However, I'm having trouble figuring out the values for $f, g$. I suppose $g = 0$ because it's not in the diagonal of $\Sigma$, thus it has to be $0$?
Also I've gotten as tip to use $BB^T$ to calculate the eigenvalues and singular values, however I'm still having trouble understand how to approach this.
If the r.h.s. of your equation is indeed a SVD, then all values apart from the upper left main diagonal need to be zero, i.e. $g=0$. This leaves us with the task of finding $f$.
There are two approaches:
Use the fact that $9$ and $f$ are the square roots of the Eigenvalues of $BB^T$ (a $2 \times 2$ matrix). So multiply $B$ with its transpose, and calculate the eigenvalues of that matrix.
Since $B=U\Sigma V$ and we know $B$, $U$ (since you know $d,e$) and $V$ (since you know $a,b,c$), we can multiply $U$, $\Sigma$, $V$ with each other and see which value $f$ needs to have in order to yield $B$ as a result of the computation.