Optimal. Leaf size=21 \[ \frac {e^x+x \left (7+e^3-\frac {5 \log (x)}{2}\right )}{x} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 14, normalized size of antiderivative = 0.67, number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {12, 14, 2197} \begin {gather*} \frac {e^x}{x}-\frac {5 \log (x)}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 2197
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} \int \frac {-5 x+e^x (-2+2 x)}{x^2} \, dx\\ &=\frac {1}{2} \int \left (\frac {2 e^x (-1+x)}{x^2}-\frac {5}{x}\right ) \, dx\\ &=-\frac {5 \log (x)}{2}+\int \frac {e^x (-1+x)}{x^2} \, dx\\ &=\frac {e^x}{x}-\frac {5 \log (x)}{2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 17, normalized size = 0.81 \begin {gather*} \frac {1}{2} \left (\frac {2 e^x}{x}-5 \log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 15, normalized size = 0.71 \begin {gather*} -\frac {5 \, x \log \relax (x) - 2 \, e^{x}}{2 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 15, normalized size = 0.71 \begin {gather*} -\frac {5 \, x \log \relax (x) - 2 \, e^{x}}{2 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 12, normalized size = 0.57
method | result | size |
default | \(-\frac {5 \ln \relax (x )}{2}+\frac {{\mathrm e}^{x}}{x}\) | \(12\) |
norman | \(-\frac {5 \ln \relax (x )}{2}+\frac {{\mathrm e}^{x}}{x}\) | \(12\) |
risch | \(-\frac {5 \ln \relax (x )}{2}+\frac {{\mathrm e}^{x}}{x}\) | \(12\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.40, size = 14, normalized size = 0.67 \begin {gather*} {\rm Ei}\relax (x) - \Gamma \left (-1, -x\right ) - \frac {5}{2} \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.16, size = 11, normalized size = 0.52 \begin {gather*} \frac {{\mathrm {e}}^x}{x}-\frac {5\,\ln \relax (x)}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 10, normalized size = 0.48 \begin {gather*} - \frac {5 \log {\relax (x )}}{2} + \frac {e^{x}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________