Let the functions $f$ and $g$ be holomorphic in $U$ and continuous in $\overline{U}$. Show that $|f(z)| + |g(z)|$ attains its maximum on $\{|z| = 1\}$. Hint: consider the function $h = e^{iα}f + e ^{iβ}g$ with suitably chosen constants $α$ and $β$.
Even with the hint I am lost. Of course $|h(z)|$ must attain its maximum when $|z|=1$, and $|h| \le |f|+|g|$, but that doesn't mean that $|f|+|g|$ couldn't attain its maximum inside the unit circle.
ny help?