Let $A$ be a unital $C^*$ algebra. If $z\in A$ is invertible, then so is $z^*$ and $z^*z$ and, furthermore, $z^*z$ is positive, so we can define using the functional calculus $|z|=\sqrt{z^*z}$. My book then claims that $|z|$ is invertible with inverse $\sqrt{(z^*z)^{-1}}$. Why is $|z|*|z|^{-1}=1$? To me this looks like trying to say that $\sqrt{z^*z}*\sqrt{(z^*z)^{-1}}=\sqrt{(z^*z)(z^*z)^{-1}}=\sqrt1=1$, but I don't see why you can pull the product inside the square root like you can for reals (I don't know if this is actually how to prove the claim).
I don't see how some of the basic properties about continuous functions pass through the functional calculus and still hold inside of $A$.