Optimal. Leaf size=19 \[ 4 x \left (5-e^4-15 x+\log (5)\right ) \log ^2(x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 26, normalized size of antiderivative = 1.37, number of steps
used = 9, number of rules used = 6, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.162, Rules used = {2350, 2367,
2342, 2341, 2333, 2332} \begin {gather*} 4 x \left (5-e^4+\log (5)\right ) \log ^2(x)-60 x^2 \log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2332
Rule 2333
Rule 2341
Rule 2342
Rule 2350
Rule 2367
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (40-8 e^4-120 x+8 \log (5)\right ) \log (x) \, dx+\int \left (20-4 e^4-120 x+4 \log (5)\right ) \log ^2(x) \, dx\\ &=-4 \left (15 x^2-2 x \left (5-e^4+\log (5)\right )\right ) \log (x)-\int \left (-8 e^4-60 x+8 (5+\log (5))\right ) \, dx+\int \left (-120 x \log ^2(x)+20 \left (1+\frac {1}{5} \left (-e^4+\log (5)\right )\right ) \log ^2(x)\right ) \, dx\\ &=30 x^2-8 x \left (5-e^4+\log (5)\right )-4 \left (15 x^2-2 x \left (5-e^4+\log (5)\right )\right ) \log (x)-120 \int x \log ^2(x) \, dx+\left (4 \left (5-e^4+\log (5)\right )\right ) \int \log ^2(x) \, dx\\ &=30 x^2-8 x \left (5-e^4+\log (5)\right )-4 \left (15 x^2-2 x \left (5-e^4+\log (5)\right )\right ) \log (x)-60 x^2 \log ^2(x)+4 x \left (5-e^4+\log (5)\right ) \log ^2(x)+120 \int x \log (x) \, dx-\left (8 \left (5-e^4+\log (5)\right )\right ) \int \log (x) \, dx\\ &=60 x^2 \log (x)-8 x \left (5-e^4+\log (5)\right ) \log (x)-4 \left (15 x^2-2 x \left (5-e^4+\log (5)\right )\right ) \log (x)-60 x^2 \log ^2(x)+4 x \left (5-e^4+\log (5)\right ) \log ^2(x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 36, normalized size = 1.89 \begin {gather*} 20 x \log ^2(x)-4 e^4 x \log ^2(x)-60 x^2 \log ^2(x)+4 x \log (5) \log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.54, size = 36, normalized size = 1.89
method | result | size |
norman | \(\left (4 \ln \left (5\right )-4 \,{\mathrm e}^{4}+20\right ) x \ln \left (x \right )^{2}-60 x^{2} \ln \left (x \right )^{2}\) | \(27\) |
default | \(4 \ln \left (x \right )^{2} \ln \left (5\right ) x -4 x \,{\mathrm e}^{4} \ln \left (x \right )^{2}-60 x^{2} \ln \left (x \right )^{2}+20 x \ln \left (x \right )^{2}\) | \(36\) |
risch | \(4 \ln \left (x \right )^{2} \ln \left (5\right ) x -4 x \,{\mathrm e}^{4} \ln \left (x \right )^{2}-60 x^{2} \ln \left (x \right )^{2}+20 x \ln \left (x \right )^{2}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 95 vs.
\(2 (18) = 36\).
time = 0.49, size = 95, normalized size = 5.00 \begin {gather*} -30 \, {\left (2 \, \log \left (x\right )^{2} - 2 \, \log \left (x\right ) + 1\right )} x^{2} - 4 \, {\left ({\left (e^{4} - \log \left (5\right ) - 5\right )} \log \left (x\right )^{2} - 2 \, {\left (e^{4} - \log \left (5\right ) - 5\right )} \log \left (x\right ) + 2 \, e^{4} - 2 \, \log \left (5\right ) - 10\right )} x + 30 \, x^{2} + 8 \, x {\left (e^{4} - \log \left (5\right ) - 5\right )} - 4 \, {\left (15 \, x^{2} + 2 \, x e^{4} - 2 \, x \log \left (5\right ) - 10 \, x\right )} \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 24, normalized size = 1.26 \begin {gather*} -4 \, {\left (15 \, x^{2} + x e^{4} - x \log \left (5\right ) - 5 \, x\right )} \log \left (x\right )^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 26, normalized size = 1.37 \begin {gather*} \left (- 60 x^{2} - 4 x e^{4} + 4 x \log {\left (5 \right )} + 20 x\right ) \log {\left (x \right )}^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 35, normalized size = 1.84 \begin {gather*} -60 \, x^{2} \log \left (x\right )^{2} - 4 \, x e^{4} \log \left (x\right )^{2} + 4 \, x \log \left (5\right ) \log \left (x\right )^{2} + 20 \, x \log \left (x\right )^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.56, size = 20, normalized size = 1.05 \begin {gather*} -x\,{\ln \left (x\right )}^2\,\left (60\,x+4\,{\mathrm {e}}^4-\ln \left (625\right )-20\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________