I am trying to obtain a series expansion for the integral $\int_0^{1/2} dx/(1+x^4)$ So far I used the fact for a Geometric series $\sum_{k=0}^\infty r^k = \frac{1}{1-r}$ if $\lvert{r}\rvert<1$ and replaced $r$ with $-x^4$ and got $\frac{1}{1+x^4} = \sum_{k=1}^\infty (-1)^k x^{4k}$ if $\lvert{x}\rvert<1$
I am kind of unsure if this is even an answer or that if I need to go down a different path in order to solve this problem. If someone could tell me what to do in addition to this or what to differently or just show me how to do these types of problems it would be very appreciated. Thank you.
Yes, your approach us fine.
Integrating term-by-term, your integral equals $$\sum_{n\ge\color{red}{0}}\frac{(-1)^k}{4k+1}\frac1{2^{4k+1}}$$
I doubt if a nice closed form exists...