I need to compute following contour integrations:
$$f(u)=\oint_\alpha dz \sqrt{z^3+z+u} \qquad ; \qquad g(u)=\oint_\beta dz \sqrt{z^3+z+u}$$
In which $\alpha$ and $\beta$ are two contours in complex $z$-plane determined by
branch points of polynomial under square root. Structure of branch points and cuts are as follows:

For example for $u=0$, there are three roots $\{-i,0,i\}$ and $\alpha$ encircles $\{-i,0\}$ and $\beta$ encircles $\{0,i\}$. So is for other values of $u$ so the contour is dependent on value of $u$.
For numerical integration, and for $f(u)$ we can deform the contours as follows:

And contributions along circles as radius of circles go to zero, vanish and one left with integration along two segments. But integration along bottom segment is exactly as above segment (we circle around a branch point and integrand takes a minus sign):
$$\oint_{\alpha}=2\int_{\text{Upper Segment}}$$
And the same for $g(u)$.
I have several questions:
- Is my reason for deformation of contour correct?
- Is my result correct?
- Is it possible to get an analytic expression for $f(u)$ and $g(u)$?
- Is it possible to get an analytic expression for $\frac{\partial f(u)}{\partial u}$ and $\frac{\partial g(u)}{\partial u}$ in?
- Does Cauchy's Theorem applicable in this case? More precisely does presence of branch points break analyticity of function? or is non-trivial value of this integral related to the fact that these contours can't be contracted in one sheet completely and so Cauchy's Theorem is not applicable?
(Sorry I couldn't add "Hi" at the beginning!)