I need a little help in solving the following integral using a particular method:
$$\int_0^\infty \frac {dx}{(1+x^4)^2}$$
The problem asks for a substitution of $x^4$ for $u$ and to use the following integral,
$$\int_0^\infty \frac {r^{p-1}}{1+r}dr= \frac \pi{\sin{\pi p}}$$
which is true for $0<p<1$ . A proof of this identity can be found here.
It's pretty clear that my issue with this problem is the extra power of two. I believe that the solution should be as simple as changing the simple pole to a second order one and using the same contour, but I could be wrong. If that the case, the residue at $z=-1=e^{i\pi}$ would be
$$R(-1)=\frac 1 {1!} \frac d {dz} z^{p-1} \bigg|_{z=e^{i\pi}}=\frac{z^{p-2}}{p-1}\bigg|_{z=e^{i\pi}}= \frac {e^{i\pi}}{p-1}$$
and following from the Cauchy Integral formula we would have
$$\int_0^\infty \frac {r^{p-1}}{(1+r)^2}dr= -\frac {\pi}{(p-1)\sin{\pi p}}$$
Now, going back to the original problem and making the appropriate substitutions we find,
$$\int_0^\infty \frac {dx}{(1+x^4)^2}=\frac 14\int_0^\infty \frac {u^{-3/4}}{(1+u)^2}du =-\frac 14 \frac {\pi}{(-3/4)\sin{(\pi /4)}}=\frac{\sqrt{2} \pi}3$$
Using Wolfram I get $\frac {3\pi}{8\sqrt2}$ for the actual answer.
Since I'm stuck, any help as to what I did wrong or how to actually get the right answer would be greatly appreciated.
*Found the obvious mistake in that I apparently forgot how to take a derivative.