The following example is from Calculus, 7e by James Stewart:
Example 2, Chapter 11.9 (Representations of functions as Power Series)
Find a power series representation for $\frac{1}{x+2}$
My solution is:
$$\frac{1}{x+2}=\frac{1}{1-\left(-x-1\right)}=\sum_{n=0}^{\infty}\left(-x-1\right)^{n}=\sum_{n=0}^{\infty}\left(-1\right)^{n}\left(x+1\right)^{n}$$
Then to find the interval of convergence
$$\left|x+1\right|<1 \Rightarrow x\in\left(-2,0\right)$$
But the given solution is different:
“In order to put this function in the form of the left side of Equation 1, $\frac{1}{1-x}$ , we first factor a 2 from the denominator:
$$\frac{1}{2+x}=\frac{1}{2\left(1+\frac{x}{2}\right)}=\frac{1}{2\left[1-\left(-\frac{x}{2}\right)\right]}=\frac{1}{2}\sum_{n=0}^{\infty}\left(-\frac{x}{2}\right)^{n}=\sum_{n=0}^{\infty}\frac{\left(-1\right)^{n}}{2^{n+1}}x^{n}$$
This series converges when $\left|-\frac{x}{2}\right|<1$, that is, $\left|x\right|<2$. So the interval of convergence is $\left(-2,2\right)$."
So my questions are:
- Did I make an error somewhere?
- If not, are the two representations equivalent? Can there be more than one representation of a function as a power series?