Was in class where we look at both and notice that there is a difference in the error, but we didn't go into why. The other method used the taylor expansion $$e^x=1+x+\frac{x^2}{2!}+\frac{x^3}{3!}+...$$
Why does using the identity $$e^x=\frac{1}{e^{-x}}$$ work better for negative numbers?
To try and clear up what I'm asking, we coded a program to graph the error of the taylor series expansion of $e^x$ to n terms. We then coded another one to use the identity mentioned above in the expansion and noticed that it worked better for negative numbers, why is that the case?
For comparison, we were comparing the the absolute fractional error of the sums $$\frac{T(x,N)-e^x}{e^x}$$ for each method (with the identity and without). Where $T(x,N)$ is the N-th order taylor series expansion of $e^x$. We plotted the error against the order of expansion (number of terms considered in the sum). We evaluated various numbers, and saw that without using the identity, the error was higher for negative numbers.