Calculate $\int_{\gamma}{dz \over \sqrt{z}}$, where $\gamma$ is a section connecting points $z=4$ and $z=4i$, and $\sqrt z$ is the side of a function, where $\sqrt 1 = 1$
The line that I found is $y=i(4-x)$, now assuming $z = e^{x+iy}$, and $\sqrt z = e^{{x+iy + 2\pi k} \over 2}$ and $\sqrt 1 = e^{x+2\pi k \over 2}$ seems doesn't give me anything, I have solve this type of problems where $|z| = a$ and function is a circle, but with section I don't get it. Any helps are welcome.
On $\gamma$, $z = 4e^{it}$, $t \in [0,\dfrac\pi2]$. $dz = 4ie^{it} \, dt$
\begin{align} \int_\gamma \frac{dz}{\sqrt{z}} &= \int_0^{\pi/2} \frac{4ie^{it} \, dt}{2e^{it/2}} \\ &= \int_0^{\pi/2} 2i e^{it/2} \, dt \\ &= [4e^{it/2}]_0^{\pi/2} \\ &= 4(e^{i\pi/4}-1) \\ &= 4(\frac{1+i}{\sqrt2} - 1) \\ &= 2 \sqrt2 [(1-\sqrt2) + i] \end{align}