I have an expression that I want to Taylor Approximate: $$e^{-ax}$$ for some $a$ slightly bigger than $1$. I want to Taylor approximate this in the region close to $x=0$. There are two ways I can do this:
Approximation 1. $e^{-ax}\approx 1-ax$
Here I'm taking $ax$ as the variable, and assuming it is close to $0$.
Approximation 2. $e^{-ax}=(e^{-x})^a\approx (1-x)^a$
Here I'm taking $x$ as the variable, and assuming it is close to $0$.
If we plot this, we see that the second approximation is closer to the truth, and this shouldn't be a surprise, given its functional form:
However, my problem with these two approximations is that I don't have a good feeling of which approach to take for a Taylor approximation for a given problem. For this problem, it turns out the second one is better, but I only know this by plotting it, not by some general principle (and sometimes I'm approximating expressions
So I have a couple of questions:
- Is there some general way to know what part of an expression to Taylor approximate?
- Also, note that if we taylor approximate the second approximation again, we get the first approximation. Is this a coincidence? If we do two different successive application of Taylor approximation, is it ever possible that we will reach two linear expressions that are nevertheless not equal ?
The last question is especially important, because when I solve a practical problem, and I do multiple approximations to a complex expression, I'd like to know, whether I've found the unique approximation or if there are maybe better ones.
EDIT: Here is an additional question that somewhat relates to my second question. If it is possible to find an exact linear relationship between two variables, will we then always find the exact relationship by Taylor approximations, or is it possible to find an inexact one?
For example, assume we have the equation $x^ay^b=z$, and assume we want to find a linear relationship between the logs of $x,y,z$. We could of course just take the $\ln$ on both sides to get $a\ln x+b\ln y=\ln z$ and be done with it, but assume for a moment that we didn't spot this, and think falsely that the solution has to be approximated.
So we instead denote by $X=\ln x$, and so forth, then we can rewrite the equation as $e^{aX}e^{bY}=e^{Z}$, then, assuming $aX$ and so forth are small, we approximate this by $(1+aX)(1+bY)=1+Z=1+aX+bY+abXY$. If we again approximate this, to get rid of the XY (since we want a linear equation), we get $Z=aX+bY$, i.e. $\ln z=a\ln x +b\ln y$, which is equal to the exact solution.
So again, this begs the question: If it is possible to find an exact linear relationship between two variables, will we then always find the exact relationship by Taylor approximations? Or are there cases when this doesn't work out well? This would be helpful, because it would mean that if we find a linear approximation, we don't have to worry about whether it should have been approximated in the first place.
