Optimal. Leaf size=25 \[ x \left (e^{3 \left (-25+(4+x)^2\right )}-x+(5-\log (x))^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 45, normalized size of antiderivative = 1.80, number of steps used = 5, number of rules used = 3, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {2288, 2295, 2296} \begin {gather*} -x^2+\frac {e^{3 x^2+24 x-27} \left (x^2+4 x\right )}{x+4}+25 x+x \log ^2(x)-10 x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2288
Rule 2295
Rule 2296
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=15 x-x^2-8 \int \log (x) \, dx+\int e^{-27+24 x+3 x^2} \left (1+24 x+6 x^2\right ) \, dx+\int \log ^2(x) \, dx\\ &=23 x-x^2+\frac {e^{-27+24 x+3 x^2} \left (4 x+x^2\right )}{4+x}-8 x \log (x)+x \log ^2(x)-2 \int \log (x) \, dx\\ &=25 x-x^2+\frac {e^{-27+24 x+3 x^2} \left (4 x+x^2\right )}{4+x}-10 x \log (x)+x \log ^2(x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 25, normalized size = 1.00 \begin {gather*} x \left (25+e^{-27+3 x (8+x)}-x-10 \log (x)+\log ^2(x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 33, normalized size = 1.32 \begin {gather*} x \log \relax (x)^{2} - x^{2} + x e^{\left (3 \, x^{2} + 24 \, x - 27\right )} - 10 \, x \log \relax (x) + 25 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.23, size = 33, normalized size = 1.32 \begin {gather*} x \log \relax (x)^{2} - x^{2} + x e^{\left (3 \, x^{2} + 24 \, x - 27\right )} - 10 \, x \log \relax (x) + 25 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 32, normalized size = 1.28
method | result | size |
risch | \(25 x +x \ln \relax (x )^{2}-10 x \ln \relax (x )+{\mathrm e}^{3 \left (x +9\right ) \left (x -1\right )} x -x^{2}\) | \(32\) |
default | \(25 x +x \ln \relax (x )^{2}-10 x \ln \relax (x )+{\mathrm e}^{3 x^{2}+24 x -27} x -x^{2}\) | \(34\) |
norman | \(25 x +x \ln \relax (x )^{2}-10 x \ln \relax (x )+{\mathrm e}^{3 x^{2}+24 x -27} x -x^{2}\) | \(34\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.46, size = 39, normalized size = 1.56 \begin {gather*} {\left (\log \relax (x)^{2} - 2 \, \log \relax (x) + 2\right )} x - x^{2} + x e^{\left (3 \, x^{2} + 24 \, x - 27\right )} - 8 \, x \log \relax (x) + 23 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.54, size = 37, normalized size = 1.48 \begin {gather*} x\,{\mathrm {e}}^{-27}\,\left ({\mathrm {e}}^{27}\,{\ln \relax (x)}^2-10\,{\mathrm {e}}^{27}\,\ln \relax (x)+25\,{\mathrm {e}}^{27}+{\mathrm {e}}^{3\,x^2+24\,x}-x\,{\mathrm {e}}^{27}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.28, size = 32, normalized size = 1.28 \begin {gather*} - x^{2} + x e^{3 x^{2} + 24 x - 27} + x \log {\relax (x )}^{2} - 10 x \log {\relax (x )} + 25 x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________