Optimal. Leaf size=14 \[ 2 x \left (-x+\log ^2(x \log (4))\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 16, normalized size of antiderivative = 1.14, number of steps
used = 4, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {2332, 2333}
\begin {gather*} 2 x \log ^2(x \log (4))-2 x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2332
Rule 2333
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-2 x^2+2 \int \log ^2(x \log (4)) \, dx+4 \int \log (x \log (4)) \, dx\\ &=-4 x-2 x^2+4 x \log (x \log (4))+2 x \log ^2(x \log (4))-4 \int \log (x \log (4)) \, dx\\ &=-2 x^2+2 x \log ^2(x \log (4))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 16, normalized size = 1.14 \begin {gather*} -2 x^2+2 x \log ^2(x \log (4)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.48, size = 18, normalized size = 1.29
method | result | size |
default | \(-2 x^{2}+2 \ln \left (2 x \ln \left (2\right )\right )^{2} x\) | \(18\) |
norman | \(-2 x^{2}+2 \ln \left (2 x \ln \left (2\right )\right )^{2} x\) | \(18\) |
risch | \(-2 x^{2}+2 \ln \left (2 x \ln \left (2\right )\right )^{2} x\) | \(18\) |
derivativedivides | \(\frac {2 \ln \left (2 x \ln \left (2\right )\right )^{2} x \ln \left (2\right )-2 x^{2} \ln \left (2\right )}{\ln \left (2\right )}\) | \(27\) |
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. 49 vs.
\(2 (15) = 30\).
time = 0.28, size = 49, normalized size = 3.50 \begin {gather*} 2 \, {\left (\log \left (2 \, x \log \left (2\right )\right )^{2} - 2 \, \log \left (2 \, x \log \left (2\right )\right ) + 2\right )} x - 2 \, x^{2} + \frac {4 \, {\left (x \log \left (2\right ) \log \left (2 \, x \log \left (2\right )\right ) - x \log \left (2\right )\right )}}{\log \left (2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 17, normalized size = 1.21 \begin {gather*} 2 \, x \log \left (2 \, x \log \left (2\right )\right )^{2} - 2 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.03, size = 17, normalized size = 1.21 \begin {gather*} - 2 x^{2} + 2 x \log {\left (2 x \log {\left (2 \right )} \right )}^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 51 vs.
\(2 (15) = 30\).
time = 0.38, size = 51, normalized size = 3.64 \begin {gather*} 2 \, x \log \left (2 \, x \log \left (2\right )\right )^{2} - 2 \, x^{2} - 4 \, x \log \left (2 \, x \log \left (2\right )\right ) + 4 \, x + \frac {4 \, {\left (x \log \left (2\right ) \log \left (2 \, x \log \left (2\right )\right ) - x \log \left (2\right )\right )}}{\log \left (2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.63, size = 15, normalized size = 1.07 \begin {gather*} -2\,x\,\left (x-{\ln \left (2\,x\,\ln \left (2\right )\right )}^2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________