I spent a few hours trying to solve this indefinite integral:
$$\int \frac { dx}{x^{2m}+1}, m \in \mathbb R $$
I tried to transform the fraction to partial fractions getting $\int \frac{\imath}{2(x^m+\imath)} {dx} - \int \frac{\imath}{2(x^m-\imath)} {dx}$, but this doesn't help me because we enter in complex analisys, a field that I've no knowledgement and searching for methods that can help me with this make me nuts. I think the solution should involve some sort of induction, so I tried to solve for $ m= 0, 1, 2...$, but this doesn't help me neither. I've no luck looking for some books in the university library that can help me.
Putting the integral in wolframalpha gives me the result:$$ x \space_2F_1(1,\frac{1}{2m};1 + \frac{1}{2m}; -x^{2m}) \color{silver} {+constant}$$where $_2F_1(1,\frac{1}{2m};1 + \frac{1}{2m}; -x^{2m})$ is the hypergeometric function (I'd never hear about this before) .
This reveals to me that this problem is beyond my capabilities. Can some kind soul make a detailed resolution for me? If possible, not going into deep complex analysis.
The Wolfram Alpha expression of the indefinite integral in terms of the Gauss hypergeometric function is more straightforward than it might seem. We formally expand the integrand in powers of $x$ and integrate term-by-term to obtain
$$\int \frac{dx}{1+x^{2m}} = \int\left[1-x^{2m}+x^{4m}-\cdots\right]dx = x-\frac{x^{2m+1}}{2m+1} +\frac{x^{4m+1}}{m+1}-\cdots.$$ This expression is of the form $x \,f(-x^{2m})$ with $$f(u)=1+\frac{u}{2m+1}+\frac{u^2}{4m+1}+\cdots =\sum_{k=0}^\infty \frac{u^k}{2km+1}.$$ To compare with Wolfram Alpha, we recall that the Gauss hypergeometric function is defined as $\displaystyle _2F_1(a,b;c;u)=\sum_{k=0}^\infty \frac{(a)_k(b)_k}{(c)_k }\frac{u^k}{k!}$ where $(a)_k = a(a+1)\cdots (a+k-1)$. The particular case of $(a,b,c)=(1,\frac{1}{2m},1+\frac{1}{2m})$ gives
$$\frac{(1)_k}{k!}\frac{(\frac{1}{2m})_k}{(1+\frac{1}{2m})_k }=\frac{k!}{k!}\frac{\frac{1}{2m}(\frac{1}{2m}+1)\cdots (\frac{1}{2m}+k-1)}{(\frac{1}{2m}+1)(\frac{1}{2m}+2)\cdots (\frac{1}{2m}+k)}=\frac{\frac{1}{2m}}{\frac{1}{2m}+k}=\frac{1}{1+2mk}$$ and we conclude that $f(u)={_2F}_1(1,\frac{1}{2m},1+\frac{1}{2m};u)$ in agreement with Wolfram Alpha.
Note: For the formal expansion in powers of $x$ to be justified, we need $|x^m|<1$. Hence the above reasoning will be valid near $x=0$ under the assumption $m>0$.