Two Indefinite Integrals Looking for some hints to evaluate the following integrals (with complex analysis or otherwise):
$$\int_0^\infty\frac{x^{p-1}}{x+1}\,dx,\;\;\;\; 0<p<1,$$
$$\int_{-\infty}^\infty e^{-s^2+isz}\,ds,\;\;\;\;z\in\mathbb{C}.$$
Thanks, I'm pretty stuck on both.

$$
s^2 - isz = \left(s^2 - isz - \frac{z^2} 4\right) + \frac{z^2} 4 = \left( s - \frac{iz} 2 \right)^2 + \frac{z^2} 4
$$
\begin{align}
& \int_{-\infty}^\infty e^{-s^2+isz}\,ds = e^{z^2/4}\int_{-\infty}^\infty e^{-(s - iz/2)^2} \, ds = e^{z^2/4} \int_{-\infty-iz}^{\infty - iz} e^{-t^2} \, dt \\[10pt]
= {} & e^{z^2/4} \lim_{M\to\infty} \int_{-M-iz}^{M - iz} e^{-t^2} \, dt \\[10pt]
= {} & e^{z^2/4} \lim_{M\to\infty} \left( \int_\gamma e^{-t^2} \, dt - \int_{-M}^M e^{-t^2}\,dt - \int_M^{M-iz} e^{-t^2} \, dt -\int_{-M-iz}^{-M} e^{-t^2} \, dt \right)
\end{align}
where $\gamma$ is a path along four straight lines: first from $-M$ to $M$, then from $M$ to $M-iz$, then from $M-iz$ to $-M-iz$, then from $-M-iz$ to $-M$.
We know that
$$
\int_\gamma e^{-t^2} \, dt = 0
$$
because it's the integral of an entire function along a closed path.
The value of
$$
\lim_{M\to\infty} \int_{-M}^M e^{-t^2}\,dt
$$
is well known.
If you can find the limits of the other two integrals, then you've got it.
