How can I solve the following integral?
$$\int_0^\infty \frac{\ln x}{x^{3/4}(1+x)} dx$$
Supposedly, it involves a branch cut, but I am unsure what branch to use, much less the particular contour of integration.
WolframAlpha evaluates $-\sqrt{2}\pi^2$, which hints at a circular path of integration.
It is a little nicer to use the substitution $x = u^4$ which makes your integral become $$\int_0^{\infty} \frac{16 \log(u)}{1+u^4} \, \mathrm{d}u.$$ By integrating around the usual semicircular contour you can show under relatively weak growth conditions on meromorphic $f$ with $f(z) = f(-z)$ that $$\int_0^{\infty} \log(x) f(x) = \sum \Big( i \pi \log(r) - \pi \theta + \frac{1}{2} \pi^2 \Big) \mathrm{Res}(f;re^{i \theta})$$ the sum being taken over all poles $re^{i \theta}$ in the upper half-plane. In your case the poles of $f(z) = \frac{16}{1+z^4}$ in the upper half-plane are at $z = e^{\pi i/4}$ and $e^{3\pi i / 4}$ with residue $-4e^{\pi i /4}$ and $-4e^{3\pi i /4}$, so the integral becomes $$\Big( - \pi \cdot \frac{\pi}{4} + \frac{\pi^2}{2} \Big) \Big( - 4 e^{\pi i / 4} \Big) + \Big( - \pi \cdot \frac{3\pi}{4} + \frac{\pi^2}{2} \Big) \Big( -4 e^{3\pi i / 4} \Big)$$ $$= \pi^2 \Big( e^{3\pi i / 4} - e^{\pi i / 4} \Big)$$ $$= -\sqrt{2}\pi^2.$$
You can extend this argument to get the mildly interesting integral $$\int_0^{\infty} \frac{\log(u)}{1+u^{2n}} \, \mathrm{d}u = -\frac{\pi^2}{4n^2} \cdot \frac{\cos(\pi/2n)}{\sin(\pi/2n)^2}.$$