Solving the improper integral The question is asking to evaluate the following integral:
$$\int_{0}^{\infty} \frac{x^{1/3}}{x^2+7x+6}dx$$
I am required to use complex analysis methods to solve this integral but I cannot seem to find a method that would work. I know I need to use Branch Cuts/points and the Estimation and Jordan's Lemma, but that is all I know. I tried using u-substitution to see if I would get the right answer and that did not work either. Any help is appreciated. 
 A: Let $x=t^3$ to make 
$$I=\int \frac{x^{1/3}}{x^2+7x+6}\,dx=3\int\frac{ t^3}{t^6+7 t^3+6}\,dt$$ Using partial fraction decomposition
$$\frac{ t^3}{t^6+7 t^3+6}=\frac{18}{5 \left(t^3+6\right)}+\frac{t-2}{5 \left(t^2-t+1\right)}-\frac{1}{5(t+1)}$$ and the fist term can again be decomposed writing
$$t^3+6=(t-a)(t-b)(t-c)$$ making
$$\frac{1}{t^3+6}=-\frac{1}{(a-b) (b-c) (t-b)}-\frac{1}{(a-c) (c-b) (t-c)}+\frac{1}{(a-b) (a-c)
   (t-a)}$$ making that you face quite simple antiderivatives.
A: We can save some effort here by using the result:
$$I(p) = \int_{0}^{\infty}\frac{x^{-p}}{1+x}dx = \frac{\pi}{\sin(\pi p)}$$
This is valid for $0<p<1$. It's easy to derive this result using contour integration involving the same formalism needed to tackle the desired integral directly, so you could try to derive this one first.
To use this result to evaluate the desired integral, let's write the denominator of the integrand as:
$$\frac{1}{x^2 + 7 x + 6} = \frac{1}{5}\left(\frac{1}{x+1} - \frac{1}{x+6}\right)$$
We can then substitute this partial fraction expansion in the integral, and write it as the sum of two integrals of the same form as $I(p)$. However, the two integrals we obtain this way don't converge for $p = -\frac{1}{3}$, so it seems that the path to using this shortcut is blocked.
To get around this problem, we can use that $I(p)$ has a unique continuation as a meromorphic function of $p$ on the complex plane. We can then start with evaluating the two integrals for values of $p$ for which these integrals do converge. We then add up the two expressions to get to the expression of the desired integral with a general value of the exponent $p$. This expression then as been derived for $0<p<1$, but it has a unique analytic continuation to the complex plane, allowing us to simply substitute $p = -\frac{1}{3}$ in the result.
We then need to evaluate:
$$\int_{0}^{\infty}\frac{x^{-p}}{6+x}dx = \frac{\pi}{6^p\sin(\pi p)} $$
This yields the result:
$$J(p) = \int_0^{\infty}\frac{x^{-p}}{x^2 + 7 x + 6}dx = \frac{\pi\left(1-6^{-p}\right)}{5\sin(\pi p)}$$
For $p = -\frac{1}{3}$ this yields:
$$\int_0^{\infty}\frac{x^{\frac{1}{3}}}{x^2 + 7 x + 6}dx = \frac{2\pi\sqrt{3}}{15}\left(\sqrt[3]{6}-1\right)$$
