Let \[ \Omega=\mathbb C\setminus[-1,1], \qquad f(z)=z^2-1, \] and define \[ g(z)=|f(z)|^{1/2} \exp\!\left(\frac{i}{2}\bigl(\arg(z-1)+\arg(z+1)\bigr)\right), \] where \(\arg\) is the principal argument.
Show that \(g\) is well-defined and continuous on \(\Omega\) and satisfies \(g^2=f\).
Show that \(g\) is analytic on \(\Omega\).
Show that \(f\) has no analytic logarithm on \(\Omega\).