While studying for my complex analysis course, I came across the following question:
Let $\Omega$ be an open subset of $\mathbb{C}$ and let $a \in \Omega$. Assume that $f : \Omega \setminus \{a\} \to \mathbb{C}$ is holomorphic with $$ \lim_{z \to a} (z - a) f(z)^2 = 0 $$ Prove that $f$ has a removable singularity at $a$.
I am familiar with the Riemann's theorem on removable singularities, so I was thinking about proving the fact that the function $f^2$ has a removable singularity at $a$ with this theorem and then taking the square root of this function.
However, I am not sure if the square root of a holomorphic function with a removable singularity at $a$ is still a holomorphic function with a removable singularity at $a$. I can't seem to find another way of proving this question. Can anyone help me with this please?