Optimal. Leaf size=25 \[ e^{-\frac {x}{e^5}} \left (-\frac {-24-e^{e^2}}{x^2}+x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 30, normalized size of antiderivative = 1.20, number of steps used = 10, number of rules used = 5, integrand size = 47, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.106, Rules used = {2199, 2194, 2177, 2178, 2176} \begin {gather*} \frac {\left (24+e^{e^2}\right ) e^{-\frac {x}{e^5}}}{x^2}+e^{-\frac {x}{e^5}} x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2176
Rule 2177
Rule 2178
Rule 2194
Rule 2199
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (e^{-\frac {x}{e^5}}-\frac {2 e^{-\frac {x}{e^5}} \left (24+e^{e^2}\right )}{x^3}-\frac {e^{-5-\frac {x}{e^5}} \left (24+e^{e^2}\right )}{x^2}-e^{-5-\frac {x}{e^5}} x\right ) \, dx\\ &=\left (-24-e^{e^2}\right ) \int \frac {e^{-5-\frac {x}{e^5}}}{x^2} \, dx-\left (2 \left (24+e^{e^2}\right )\right ) \int \frac {e^{-\frac {x}{e^5}}}{x^3} \, dx+\int e^{-\frac {x}{e^5}} \, dx-\int e^{-5-\frac {x}{e^5}} x \, dx\\ &=-e^{5-\frac {x}{e^5}}+\frac {e^{-\frac {x}{e^5}} \left (24+e^{e^2}\right )}{x^2}+\frac {e^{-5-\frac {x}{e^5}} \left (24+e^{e^2}\right )}{x}+e^{-\frac {x}{e^5}} x-e^5 \int e^{-5-\frac {x}{e^5}} \, dx+\frac {\left (24+e^{e^2}\right ) \int \frac {e^{-\frac {x}{e^5}}}{x^2} \, dx}{e^5}+\frac {\left (24+e^{e^2}\right ) \int \frac {e^{-5-\frac {x}{e^5}}}{x} \, dx}{e^5}\\ &=\frac {e^{-\frac {x}{e^5}} \left (24+e^{e^2}\right )}{x^2}+e^{-\frac {x}{e^5}} x+\frac {\left (24+e^{e^2}\right ) \text {Ei}\left (-\frac {x}{e^5}\right )}{e^{10}}-\frac {\left (24+e^{e^2}\right ) \int \frac {e^{-\frac {x}{e^5}}}{x} \, dx}{e^{10}}\\ &=\frac {e^{-\frac {x}{e^5}} \left (24+e^{e^2}\right )}{x^2}+e^{-\frac {x}{e^5}} x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 22, normalized size = 0.88 \begin {gather*} \frac {e^{-\frac {x}{e^5}} \left (24+e^{e^2}+x^3\right )}{x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.58, size = 39, normalized size = 1.56 \begin {gather*} \frac {{\left (x^{3} + 24\right )} e^{\left (-{\left (x + 5 \, e^{5}\right )} e^{\left (-5\right )} + 5\right )} + e^{\left (-{\left (x + 5 \, e^{5}\right )} e^{\left (-5\right )} + e^{2} + 5\right )}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.13, size = 39, normalized size = 1.56 \begin {gather*} \frac {{\left (x^{3} e^{\left (-x e^{\left (-5\right )} + 10\right )} + e^{\left (-x e^{\left (-5\right )} + e^{2} + 10\right )} + 24 \, e^{\left (-x e^{\left (-5\right )} + 10\right )}\right )} e^{\left (-10\right )}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 19, normalized size = 0.76
method | result | size |
risch | \(\frac {\left (x^{3}+{\mathrm e}^{{\mathrm e}^{2}}+24\right ) {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{x^{2}}\) | \(19\) |
gosper | \(\frac {\left (x^{3}+{\mathrm e}^{{\mathrm e}^{2}}+24\right ) {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{x^{2}}\) | \(22\) |
norman | \(\frac {\left (x^{3}+{\mathrm e}^{{\mathrm e}^{2}}+24\right ) {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{x^{2}}\) | \(22\) |
derivativedivides | \({\mathrm e}^{-15} \left (-{\mathrm e}^{-x \,{\mathrm e}^{-5}} {\mathrm e}^{20}-48 \,{\mathrm e}^{5} \left (-\frac {{\mathrm e}^{10} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{2 x^{2}}+\frac {{\mathrm e}^{5} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{2 x}-\frac {\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )}{2}\right )-24 \,{\mathrm e}^{5} \left (-\frac {{\mathrm e}^{5} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{x}+\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )\right )-{\mathrm e}^{20} \left (-x \,{\mathrm e}^{-5} {\mathrm e}^{-x \,{\mathrm e}^{-5}}-{\mathrm e}^{-x \,{\mathrm e}^{-5}}\right )-2 \,{\mathrm e}^{{\mathrm e}^{2}} {\mathrm e}^{5} \left (-\frac {{\mathrm e}^{10} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{2 x^{2}}+\frac {{\mathrm e}^{5} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{2 x}-\frac {\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )}{2}\right )-{\mathrm e}^{{\mathrm e}^{2}} {\mathrm e}^{5} \left (-\frac {{\mathrm e}^{5} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{x}+\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )\right )\right )\) | \(218\) |
default | \({\mathrm e}^{-15} \left (-{\mathrm e}^{-x \,{\mathrm e}^{-5}} {\mathrm e}^{20}-48 \,{\mathrm e}^{5} \left (-\frac {{\mathrm e}^{10} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{2 x^{2}}+\frac {{\mathrm e}^{5} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{2 x}-\frac {\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )}{2}\right )-24 \,{\mathrm e}^{5} \left (-\frac {{\mathrm e}^{5} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{x}+\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )\right )-{\mathrm e}^{20} \left (-x \,{\mathrm e}^{-5} {\mathrm e}^{-x \,{\mathrm e}^{-5}}-{\mathrm e}^{-x \,{\mathrm e}^{-5}}\right )-2 \,{\mathrm e}^{{\mathrm e}^{2}} {\mathrm e}^{5} \left (-\frac {{\mathrm e}^{10} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{2 x^{2}}+\frac {{\mathrm e}^{5} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{2 x}-\frac {\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )}{2}\right )-{\mathrm e}^{{\mathrm e}^{2}} {\mathrm e}^{5} \left (-\frac {{\mathrm e}^{5} {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{x}+\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )\right )\right )\) | \(218\) |
meijerg | \(-{\mathrm e}^{5} \left (1-\frac {\left (2 x \,{\mathrm e}^{-5}+2\right ) {\mathrm e}^{-x \,{\mathrm e}^{-5}}}{2}\right )+{\mathrm e}^{5} \left (1-{\mathrm e}^{-x \,{\mathrm e}^{-5}}\right )+\left (-24-{\mathrm e}^{{\mathrm e}^{2}}\right ) {\mathrm e}^{-10} \left (-\frac {{\mathrm e}^{5}}{x}+6-\ln \relax (x )+\frac {{\mathrm e}^{5} \left (2-2 x \,{\mathrm e}^{-5}\right )}{2 x}-\frac {{\mathrm e}^{5-x \,{\mathrm e}^{-5}}}{x}+\ln \left (x \,{\mathrm e}^{-5}\right )+\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )\right )-2 \,{\mathrm e}^{-10+{\mathrm e}^{2}} \left (-\frac {{\mathrm e}^{10}}{2 x^{2}}+\frac {{\mathrm e}^{5}}{x}-\frac {13}{4}+\frac {\ln \relax (x )}{2}+\frac {{\mathrm e}^{10} \left (9 x^{2} {\mathrm e}^{-10}-12 x \,{\mathrm e}^{-5}+6\right )}{12 x^{2}}-\frac {{\mathrm e}^{10-x \,{\mathrm e}^{-5}} \left (3-3 x \,{\mathrm e}^{-5}\right )}{6 x^{2}}-\frac {\ln \left (x \,{\mathrm e}^{-5}\right )}{2}-\frac {\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )}{2}\right )-48 \,{\mathrm e}^{-10} \left (-\frac {{\mathrm e}^{10}}{2 x^{2}}+\frac {{\mathrm e}^{5}}{x}-\frac {13}{4}+\frac {\ln \relax (x )}{2}+\frac {{\mathrm e}^{10} \left (9 x^{2} {\mathrm e}^{-10}-12 x \,{\mathrm e}^{-5}+6\right )}{12 x^{2}}-\frac {{\mathrm e}^{10-x \,{\mathrm e}^{-5}} \left (3-3 x \,{\mathrm e}^{-5}\right )}{6 x^{2}}-\frac {\ln \left (x \,{\mathrm e}^{-5}\right )}{2}-\frac {\expIntegralEi \left (1, x \,{\mathrm e}^{-5}\right )}{2}\right )\) | \(258\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.42, size = 67, normalized size = 2.68 \begin {gather*} {\left (x + e^{5}\right )} e^{\left (-x e^{\left (-5\right )}\right )} + 24 \, e^{\left (-10\right )} \Gamma \left (-1, x e^{\left (-5\right )}\right ) + e^{\left (e^{2} - 10\right )} \Gamma \left (-1, x e^{\left (-5\right )}\right ) + 48 \, e^{\left (-10\right )} \Gamma \left (-2, x e^{\left (-5\right )}\right ) + 2 \, e^{\left (e^{2} - 10\right )} \Gamma \left (-2, x e^{\left (-5\right )}\right ) - e^{\left (-x e^{\left (-5\right )} + 5\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.12, size = 28, normalized size = 1.12 \begin {gather*} \frac {{\mathrm {e}}^{-x\,{\mathrm {e}}^{-5}-5}\,\left ({\mathrm {e}}^5\,x^3+{\mathrm {e}}^{{\mathrm {e}}^2+5}+24\,{\mathrm {e}}^5\right )}{x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 19, normalized size = 0.76 \begin {gather*} \frac {\left (x^{3} + 24 + e^{e^{2}}\right ) e^{- \frac {x}{e^{5}}}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________