I found this integral
$$ \int_{0}^{\infty} \frac{1} {x^{1/3}(x+a)} \, \mathrm{d}x $$
as part of an example of differentiation under the integral sign in the book Advanced Calculus Explored, by Hamza E. Asamraee. There is only the hint that you can use the substitution:
$$y= x^{1/3}$$
so in the end:
$$ \mathrm{d}x = 3y^{2}\mathrm{d}y$$
And after performing the substitution the integral becomes:
$$ \int_{0}^{\infty} \frac{3y^2} {y(y^3+a)} \, \mathrm{d}y = \int_{0}^{\infty} \frac{3y} {(y^3+a)} \, \mathrm{d}y $$
After this you can factorize the denominator in the form
$$y^3+a = (y+a^{1/3})(y^2-a^{1/3}y+a^{2/3})$$
and use partial fractions so that the integral becomes:
$$ -\frac{1}{a^{1/3}} \int_{0}^{\infty} \frac{\mathrm{d}y}{y+a^{1/3}} + \int_{0}^{\infty} \frac{y+a}{y^2-a^{1/3}y+a^{2/3}} \, \mathrm{d}y $$
And the problem is that these two integrals diverge but in the book or even in wolfram alpha the result is:
$$ \frac{2\pi}{a^{1/3}\sqrt{3}} $$
But I don't know if I made a mistake in the substitution or in which part, so I request for help :c
Hint:
WLOG $a=1$ (you can rescale the variable).
$$\int\left(\frac{y+1}{y^2-y+1}-\frac{1}{y+1}\right)dy=\int\left(\frac{y-\frac12}{y^2-y+1}+\frac{\frac32}{y^2-y+1}-\frac{1}{y+1}\right)dy \\=\ln\frac{\sqrt{y^2-y+1}}{y+1}+\int \frac{\frac32}{y^2-y+1}dy.$$
The first term will cancel out, and the remaining integral is solved by an arc tangent.