Optimal. Leaf size=18 \[ 1+\frac {e^{-x} \log \left (x^2\right )}{5 x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.16, antiderivative size = 16, normalized size of antiderivative = 0.89, number of steps
used = 9, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {12, 6874, 2208,
2209, 2228, 2634} \begin {gather*} \frac {e^{-x} \log \left (x^2\right )}{5 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2208
Rule 2209
Rule 2228
Rule 2634
Rule 6874
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{5} \int \frac {e^{-x} \left (2+(-1-x) \log \left (x^2\right )\right )}{x^2} \, dx\\ &=\frac {1}{5} \int \left (\frac {2 e^{-x}}{x^2}-\frac {e^{-x} (1+x) \log \left (x^2\right )}{x^2}\right ) \, dx\\ &=-\left (\frac {1}{5} \int \frac {e^{-x} (1+x) \log \left (x^2\right )}{x^2} \, dx\right )+\frac {2}{5} \int \frac {e^{-x}}{x^2} \, dx\\ &=-\frac {2 e^{-x}}{5 x}+\frac {e^{-x} \log \left (x^2\right )}{5 x}+\frac {1}{5} \int -\frac {2 e^{-x}}{x^2} \, dx-\frac {2}{5} \int \frac {e^{-x}}{x} \, dx\\ &=-\frac {2 e^{-x}}{5 x}-\frac {2 \text {Ei}(-x)}{5}+\frac {e^{-x} \log \left (x^2\right )}{5 x}-\frac {2}{5} \int \frac {e^{-x}}{x^2} \, dx\\ &=-\frac {2 \text {Ei}(-x)}{5}+\frac {e^{-x} \log \left (x^2\right )}{5 x}+\frac {2}{5} \int \frac {e^{-x}}{x} \, dx\\ &=\frac {e^{-x} \log \left (x^2\right )}{5 x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 16, normalized size = 0.89 \begin {gather*} \frac {e^{-x} \log \left (x^2\right )}{5 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.21, size = 14, normalized size = 0.78
method | result | size |
default | \(\frac {\ln \left (x^{2}\right ) {\mathrm e}^{-x}}{5 x}\) | \(14\) |
norman | \(\frac {\ln \left (x^{2}\right ) {\mathrm e}^{-x}}{5 x}\) | \(14\) |
risch | \(\frac {2 \ln \left (x \right ) {\mathrm e}^{-x}}{5 x}-\frac {i \pi \,\mathrm {csgn}\left (i x^{2}\right ) \left (\mathrm {csgn}\left (i x \right )^{2}-2 \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x \right )+\mathrm {csgn}\left (i x^{2}\right )^{2}\right ) {\mathrm e}^{-x}}{10 x}\) | \(62\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 13, normalized size = 0.72 \begin {gather*} \frac {e^{\left (-x\right )} \log \left (x^{2}\right )}{5 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 10, normalized size = 0.56 \begin {gather*} \frac {e^{- x} \log {\left (x^{2} \right )}}{5 x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.39, size = 13, normalized size = 0.72 \begin {gather*} \frac {e^{\left (-x\right )} \log \left (x^{2}\right )}{5 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.78, size = 13, normalized size = 0.72 \begin {gather*} \frac {\ln \left (x^2\right )\,{\mathrm {e}}^{-x}}{5\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________