I'm having some trouble on this homework problem:
If $\sqrt{z}$ is defined by $\sqrt{z}=e^{(\log z)/2}$ for the branch of the log function defined by the condition $-\pi/2 \leq \arg(z) \leq 3\pi/2$, find an antiderivative for $\sqrt{z}$ and then find $\int_{\gamma} \sqrt{z} dz$, where $\gamma$ is any path from $-1$ to $1$ which lies in the upper half-plane.
I think the second part will be relatively straightforward by FTC once I find an antiderivative. What I'm having trouble with is the first part. My intuition from real-valued calculus says that an antiderivative for $\sqrt{z}$ is $2/3 z^{3/2}$. I'm not sure how to show this in the complex setting though. How do I use the log function and the associated branch to show this? Thanks.
Following Darrin's suggestion, we let our intuition tell us that we expect the antiderivative is $g(z)=\frac{2}{3}z^{\frac{3}{2}}$.
We can write this in polar form and expand it to
$$g(z)=\frac{2}{3}e^{\frac{3}{2}\log(r)}\cos\left(\frac{3}{2}\theta\right)+i\left(\frac{2}{3}e^{\frac{3}{2}\log(r)}\sin\left(\frac{3}{2}\theta\right)\right) = u(r, \theta)+iv(r,\theta)$$ where $r=|z|$ and $\theta = \arg(z)$.
Then, taking partial derivatives yields
$$u_r=r^{\frac{1}{2}}\cos\left(\frac{3}{2}\theta\right); u_{\theta}=-r^{\frac{3}{2}}\sin\left(\frac{3}{2}\theta\right); v_r = r^{\frac{1}{2}}\sin\left(\frac{3}{2}\theta\right); v_{\theta} = r^{\frac{3}{2}}\cos\left(\frac{3}{2}\theta\right)$$
We can then easily verify that the Cauchy-Riemann equations hold, namely (for polar coordinates) $u_r=\frac{v_{\theta}}{r}$ and $u_{\theta}=-rv_r$.
Since CR holds, we know that the function $g(z)$ is analytic and has derivative given by
$$g'(z)=\left[\cos(\theta)u_r - \frac{\sin(\theta)u_{\theta}}{r}\right]+i\left[\cos(\theta)v_r - \frac{\sin(\theta)v_{\theta}}{r}\right]$$
Plugging in and following the algebra, we are left with $g'(z)=r^{\frac{1}{2}}e^{i\frac{\theta}{2}} = \sqrt{z}$. Thus, we've verified that $g(z)$ is indeed an antiderivative for $\sqrt{z}$.
Next, we let $\gamma: [-1, 1] \to \mathbb{C}$ be a path in the upper half-plane.
By the Fundamental Theorem of Calculus, we know $\int_{\gamma} f(z)dz = g(\gamma(b))-g(\gamma(a))$, where $g$ is an antiderivative for $f$.
Applying this here, we get
$$\int_{\gamma} \sqrt{z} dz = \frac{2}{3}(1)^{\frac{3}{2}} - \frac{2}{3}(-1)^{\frac{3}{2}} = \frac{2}{3} -\frac{2}{3}(i^3) = \frac{2}{3} + \frac{2}{3}i$$