Optimal. Leaf size=29 \[ \frac {e^{10-e^4-2 (4-x)^2+2 x} \log ^2(5)}{x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 41, normalized size of antiderivative = 1.41, number of steps used = 2, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {12, 2288} \begin {gather*} \frac {e^{-2 x^2+18 x-e^4-22} \left (9 x-2 x^2\right ) \log ^2(5)}{(9-2 x) x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2288
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\log ^2(5) \int \frac {e^{-22-e^4+18 x-2 x^2} \left (-2+18 x-4 x^2\right )}{x^3} \, dx\\ &=\frac {e^{-22-e^4+18 x-2 x^2} \left (9 x-2 x^2\right ) \log ^2(5)}{(9-2 x) x^3}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 25, normalized size = 0.86 \begin {gather*} \frac {e^{-22-e^4+18 x-2 x^2} \log ^2(5)}{x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 23, normalized size = 0.79 \begin {gather*} \frac {e^{\left (-2 \, x^{2} + 18 \, x - e^{4} - 22\right )} \log \relax (5)^{2}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 23, normalized size = 0.79 \begin {gather*} \frac {e^{\left (-2 \, x^{2} + 18 \, x - e^{4} - 22\right )} \log \relax (5)^{2}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 24, normalized size = 0.83
method | result | size |
risch | \(\frac {\ln \relax (5)^{2} {\mathrm e}^{-22-{\mathrm e}^{4}-2 x^{2}+18 x}}{x^{2}}\) | \(24\) |
gosper | \(\frac {{\mathrm e}^{10} \ln \relax (5)^{2} {\mathrm e}^{-{\mathrm e}^{4}} {\mathrm e}^{-2 x^{2}+18 x -32}}{x^{2}}\) | \(31\) |
norman | \(\frac {{\mathrm e}^{10} \ln \relax (5)^{2} {\mathrm e}^{-{\mathrm e}^{4}} {\mathrm e}^{-2 x^{2}+18 x -32}}{x^{2}}\) | \(31\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.54, size = 23, normalized size = 0.79 \begin {gather*} \frac {e^{\left (-2 \, x^{2} + 18 \, x - e^{4} - 22\right )} \log \relax (5)^{2}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.16, size = 25, normalized size = 0.86 \begin {gather*} \frac {{\mathrm {e}}^{-{\mathrm {e}}^4}\,{\mathrm {e}}^{18\,x}\,{\mathrm {e}}^{-22}\,{\mathrm {e}}^{-2\,x^2}\,{\ln \relax (5)}^2}{x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.15, size = 27, normalized size = 0.93 \begin {gather*} \frac {e^{10} e^{- 2 x^{2} + 18 x - 32} \log {\relax (5 )}^{2}}{x^{2} e^{e^{4}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________