3.48 \(\int \frac{e^x}{x} \, dx\)

Optimal. Leaf size=2 \[ \text{ExpIntegralEi}(x) \]

[Out]

ExpIntegralEi[x]

________________________________________________________________________________________

Rubi [A]  time = 0.0099006, antiderivative size = 2, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 7, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {2178} \[ \text{ExpIntegralEi}(x) \]

Antiderivative was successfully verified.

[In]

Int[E^x/x,x]

[Out]

ExpIntegralEi[x]

Rule 2178

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - (c*f)/d))*ExpIntegral
Ei[(f*g*(c + d*x)*Log[F])/d])/d, x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rubi steps

\begin{align*} \int \frac{e^x}{x} \, dx &=\text{Ei}(x)\\ \end{align*}

Mathematica [A]  time = 0.0040816, size = 2, normalized size = 1. \[ \text{ExpIntegralEi}(x) \]

Antiderivative was successfully verified.

[In]

Integrate[E^x/x,x]

[Out]

ExpIntegralEi[x]

________________________________________________________________________________________

Maple [B]  time = 0.002, size = 8, normalized size = 4. \begin{align*} -{\it Ei} \left ( 1,-x \right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(x)/x,x)

[Out]

-Ei(1,-x)

________________________________________________________________________________________

Maxima [A]  time = 1.01328, size = 3, normalized size = 1.5 \begin{align*}{\rm Ei}\left (x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)/x,x, algorithm="maxima")

[Out]

Ei(x)

________________________________________________________________________________________

Fricas [A]  time = 1.86946, size = 9, normalized size = 4.5 \begin{align*}{\rm Ei}\left (x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)/x,x, algorithm="fricas")

[Out]

Ei(x)

________________________________________________________________________________________

Sympy [A]  time = 0.735941, size = 2, normalized size = 1. \begin{align*} \operatorname{Ei}{\left (x \right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)/x,x)

[Out]

Ei(x)

________________________________________________________________________________________

Giac [A]  time = 1.07608, size = 3, normalized size = 1.5 \begin{align*}{\rm Ei}\left (x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(x)/x,x, algorithm="giac")

[Out]

Ei(x)