how do i represent 1/(1+x^4) in general taylor polynomial. I know the pattern is 1-x^4+x^8-x^16..... I don't know how to represent this pattern in variables equation form

You just did give the answer.

It only works if |x|<1.