Optimal. Leaf size=21 \[ 13-x+x^2-5 e^x \left (5-\log ^2(x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 26, normalized size of antiderivative = 1.24, number of steps used = 3, number of rules used = 2, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {14, 2288} \begin {gather*} x^2-x-\frac {5 e^x \left (5 x-x \log ^2(x)\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2288
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-1+2 x+\frac {5 e^x \left (-5 x+2 \log (x)+x \log ^2(x)\right )}{x}\right ) \, dx\\ &=-x+x^2+5 \int \frac {e^x \left (-5 x+2 \log (x)+x \log ^2(x)\right )}{x} \, dx\\ &=-x+x^2-\frac {5 e^x \left (5 x-x \log ^2(x)\right )}{x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 20, normalized size = 0.95 \begin {gather*} -25 e^x+(-1+x) x+5 e^x \log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.75, size = 19, normalized size = 0.90 \begin {gather*} 5 \, e^{x} \log \relax (x)^{2} + x^{2} - x - 25 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.37, size = 19, normalized size = 0.90 \begin {gather*} 5 \, e^{x} \log \relax (x)^{2} + x^{2} - x - 25 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 20, normalized size = 0.95
method | result | size |
default | \(-x +5 \,{\mathrm e}^{x} \ln \relax (x )^{2}-25 \,{\mathrm e}^{x}+x^{2}\) | \(20\) |
norman | \(-x +5 \,{\mathrm e}^{x} \ln \relax (x )^{2}-25 \,{\mathrm e}^{x}+x^{2}\) | \(20\) |
risch | \(-x +5 \,{\mathrm e}^{x} \ln \relax (x )^{2}-25 \,{\mathrm e}^{x}+x^{2}\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.83, size = 19, normalized size = 0.90 \begin {gather*} 5 \, e^{x} \log \relax (x)^{2} + x^{2} - x - 25 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.16, size = 19, normalized size = 0.90 \begin {gather*} 5\,{\mathrm {e}}^x\,{\ln \relax (x)}^2-25\,{\mathrm {e}}^x-x+x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.31, size = 15, normalized size = 0.71 \begin {gather*} x^{2} - x + \left (5 \log {\relax (x )}^{2} - 25\right ) e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________