Optimal. Leaf size=18 \[ \frac {-2+e^{25}+e^x-x}{5 x} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 25, normalized size of antiderivative = 1.39, number of steps used = 4, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {12, 14, 2197} \begin {gather*} \frac {e^x}{5 x}-\frac {2-e^{25}}{5 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 2197
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{5} \int \frac {2-e^{25}+e^x (-1+x)}{x^2} \, dx\\ &=\frac {1}{5} \int \left (\frac {2-e^{25}}{x^2}+\frac {e^x (-1+x)}{x^2}\right ) \, dx\\ &=-\frac {2-e^{25}}{5 x}+\frac {1}{5} \int \frac {e^x (-1+x)}{x^2} \, dx\\ &=\frac {e^x}{5 x}-\frac {2-e^{25}}{5 x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 15, normalized size = 0.83 \begin {gather*} \frac {-2+e^{25}+e^x}{5 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.81, size = 11, normalized size = 0.61 \begin {gather*} \frac {e^{25} + e^{x} - 2}{5 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 11, normalized size = 0.61 \begin {gather*} \frac {e^{25} + e^{x} - 2}{5 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 15, normalized size = 0.83
method | result | size |
norman | \(\frac {\frac {{\mathrm e}^{x}}{5}+\frac {{\mathrm e}^{25}}{5}-\frac {2}{5}}{x}\) | \(15\) |
default | \(-\frac {2}{5 x}+\frac {{\mathrm e}^{25}}{5 x}+\frac {{\mathrm e}^{x}}{5 x}\) | \(21\) |
risch | \(-\frac {2}{5 x}+\frac {{\mathrm e}^{25}}{5 x}+\frac {{\mathrm e}^{x}}{5 x}\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.37, size = 24, normalized size = 1.33 \begin {gather*} \frac {e^{25}}{5 \, x} - \frac {2}{5 \, x} + \frac {1}{5} \, {\rm Ei}\relax (x) - \frac {1}{5} \, \Gamma \left (-1, -x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.22, size = 11, normalized size = 0.61 \begin {gather*} \frac {{\mathrm {e}}^{25}+{\mathrm {e}}^x-2}{5\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 15, normalized size = 0.83 \begin {gather*} \frac {e^{x}}{5 x} - \frac {\frac {2}{5} - \frac {e^{25}}{5}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________