Showing a function analytic

25 Views Asked by At

Let $U$ be an open connected subset in $\mathbb C$ and $f:U\rightarrow \mathbb C$ be a continuous map such that the map $z\mapsto (f(z))^n$ is analytic. Show that $f(z)$ is analytic. Now if we take $g(z)=(f(z))^n$ then $g$ is analytic. Then derivative of $g$ of any order is also analytic. But I am not sure whether it will help in proving analyticity of $f$. Another thought that I am having is since $f$ is given to be continuous we may use Morera'st theorem. Any help?