Exponential integral (source code)

= Exponential integral
{title2=$E_1,\ \operatorname{Ei}$}
{wiki}

For real $x>0$, the decaying exponential integral is
$$
E_1(x)=\int_x^\infty\frac{e^{-t}}t\,dt,\qquad E_1'(x)=-\frac{e^{-x}}x.
$$
The other standard real convention satisfies $\operatorname{Ei}(-x)=-E_1(x)$. The https://dlmf.nist.gov/6.2[NIST definitions] specify the analytic continuation and branch conventions.