I need to prove that if $f,g$ are analytic in the unit disk, and $|f|^2+|g|^2=1$ for all $z$ in the unit disk, then $f,g$ are constant.
This is an exercise question so it should not be very hard, but I don't know where to start. Any hint is appreciated.