Optimal. Leaf size=18 \[ \frac {-2+e^{-9 \pi ^2 x^2}+\log (x)}{x} \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 29, normalized size of antiderivative = 1.61, number of steps used = 4, number of rules used = 3, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.097, Rules used = {14, 2288, 2304} \begin {gather*} \frac {e^{-9 \pi ^2 x^2}}{x}+\frac {1}{x}-\frac {3-\log (x)}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2288
Rule 2304
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {e^{-9 \pi ^2 x^2} \left (1+18 \pi ^2 x^2\right )}{x^2}+\frac {3-\log (x)}{x^2}\right ) \, dx\\ &=-\int \frac {e^{-9 \pi ^2 x^2} \left (1+18 \pi ^2 x^2\right )}{x^2} \, dx+\int \frac {3-\log (x)}{x^2} \, dx\\ &=\frac {1}{x}+\frac {e^{-9 \pi ^2 x^2}}{x}-\frac {3-\log (x)}{x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 18, normalized size = 1.00 \begin {gather*} \frac {-2+e^{-9 \pi ^2 x^2}+\log (x)}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 17, normalized size = 0.94 \begin {gather*} \frac {e^{\left (-9 \, \pi ^{2} x^{2}\right )} + \log \relax (x) - 2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.19, size = 17, normalized size = 0.94 \begin {gather*} \frac {e^{\left (-9 \, \pi ^{2} x^{2}\right )} + \log \relax (x) - 2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 18, normalized size = 1.00
method | result | size |
norman | \(\frac {\ln \relax (x )+{\mathrm e}^{-9 \pi ^{2} x^{2}}-2}{x}\) | \(18\) |
risch | \(\frac {\ln \relax (x )}{x}+\frac {-2+{\mathrm e}^{-9 \pi ^{2} x^{2}}}{x}\) | \(23\) |
default | \(-\frac {2}{x}+\frac {\ln \relax (x )}{x}+\frac {{\mathrm e}^{-9 \pi ^{2} x^{2}}}{x}\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.47, size = 43, normalized size = 2.39 \begin {gather*} -3 \, \pi ^{\frac {3}{2}} \operatorname {erf}\left (3 \, \pi x\right ) + \frac {3 \, \pi \sqrt {x^{2}} \Gamma \left (-\frac {1}{2}, 9 \, \pi ^{2} x^{2}\right )}{2 \, x} + \frac {\log \relax (x)}{x} - \frac {2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.04, size = 17, normalized size = 0.94 \begin {gather*} \frac {{\mathrm {e}}^{-9\,\Pi ^2\,x^2}+\ln \relax (x)-2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.30, size = 20, normalized size = 1.11 \begin {gather*} \frac {\log {\relax (x )}}{x} - \frac {2}{x} + \frac {e^{- 9 \pi ^{2} x^{2}}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________