I would like to do, in every calculation that I perform, the following substitution:
$e^x -> (1+x)$.
That is, every term with an exponential should become the Taylor series to the first-order evaluated at zero ($e^{f(x)} = 1+f`(0) x$). Surely my attempt was to try:
$e^x = (1+x)$
however it returns me that it is Protected.
I must address that I make several calculations and this term may appear in several different contexts. As examples:
$e^{2(x+y)}$ and this should return $(1+2x)e^{2y}$;
or
$e^{-x}-1$ which should become $-x$.
Is it possible to generalize this to any function following a structure, like: every exponential following a $\delta$ will be simplified, but the ones without it will not. As an example:
$e^{2(x+\delta x) + y-3\delta c} = (1+2\delta x) (1-3\delta c) e^{2x+y}$.
Exp[expr] /. {Exp[x_] :> 1 + x}
will not do what you want butExp[expr] /. {Exp[ xpr_] :> (1 + D[xpr, x] x)*(Exp[xpr /. {x :> 0}])}
comes closer. $\endgroup$x->Log[1+x]
. You will probably still need to make some simplifications afterword. $\endgroup$