For the function \(f(x) = \frac{1}{1+x}\text{,}\) it just has a positive \(x\) instead of a negative \(x\text{.}\) We can write \(x\) as \(-(-x)\text{,}\) and apply the geometric series,
\begin{align*}
\frac{1}{1 - (-x)} \amp = \sum_{n=0}^{\infty} (-x)^n \\\\
\amp = \sum_{n=0}^{\infty} (-1)^n x^n \\\\
\amp = 1 - x + x^2 - x^3 + x^4 - \dots
\end{align*}
Note that typically, we split up the \(-1\) from the power of \(x\text{,}\) to more clearly separate the coefficient in front from the power.
\begin{gather*}
\boxed{\frac{1}{1 + x} = 1 - x + x^2 - x^3 + \dots = \sum_{n=0}^{\infty} (-1)^n x^n}
\end{gather*}
For the interval of convergence, we could use the ratio test, but it is unnecessary, because we know that a geometric series converges precisely when \(\abs{r} \lt 1\text{.}\) In this case, it is \(-x\text{,}\) so if \(\abs{-x} \lt 1\text{,}\) or \(\abs{x} \lt 1\text{,}\) or \(-1 \lt x \lt 1\text{.}\)
