I don't think my book explained this and didn't give any examples.

The unit vectors of AA' give the columns of U.
The unit vectors of A'T give the columns of V.
S has the singular values down the diagonal.

A = USV'

But it only works if you choose the correct sign when you pick your eigen vectors. What is the rule or process you follow to do this?

Thank you.