So we all know that the Taylor series for $e^x$ is $1 + x + \frac{x^2}{2} + \frac{x^3}{6}+\ldots$ Similarly for $e^{-x}$ it comes comes out to be $1 - x + \frac{x^2}{2} - \frac{x^3}{6}+\ldots$ Now for the problem I have at hand $x \gg1$. I am confused as how does the series converge for a very large $x$ because according to the Taylor series you should get a very large negative value for large $x$.
Also, we know that when $x$ tends to infinity, $e^{-x}$ should tend to zero. Is there any way to approximate $e^{-x}$ for large but finite values?
Thanks for your help
The Taylor series converges for all $x$. If $x=50$, say, the terms will grow until the one $\frac {50^{50}}{50!}\approx 2.9 \cdot 10^{20}$ The next term is $-\frac {50}{51}$ of this and they continue decreasing. They will cancel very delicately so the final result is $e^{-50}\approx 1.9\cdot 10^{-22}$
You are correct that the Taylor series is not a useful way to get the answer. One way is to use repeated squaring to get the value for integral exponents. Then if you wanted $\exp(-50.12345)$ you could use the Taylor series to get $\exp(0.12345)$ I would guess that computer libraries start with $2^x$ because they can handle the integer part of $x$ easily. Once you have one exponential, you can use the properties of logarithms to get the rest.