As stated, I want to show that if $A=UP$, where $P$ is the square root of $A^*\!\!A$ (with $*$ denoting adjoint) and $U$ is a unitary matrix, then $U$ is unique if and only if $A$ is invertible.
I am able to prove one direction : $A$ invertible implies $U$ is unique.
How do I prove the other direction?