Optimal. Leaf size=15 \[ 2 x-2 x \log (x)+x \log ^2(x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {2333, 2332}
\begin {gather*} 2 x+x \log ^2(x)-2 x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2332
Rule 2333
Rubi steps
\begin {align*} \int \log ^2(x) \, dx &=x \log ^2(x)-2 \int \log (x) \, dx\\ &=2 x-2 x \log (x)+x \log ^2(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 15, normalized size = 1.00 \begin {gather*} 2 x-2 x \log (x)+x \log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.00, size = 16, normalized size = 1.07
method | result | size |
default | \(2 x -2 x \ln \left (x \right )+x \ln \left (x \right )^{2}\) | \(16\) |
norman | \(2 x -2 x \ln \left (x \right )+x \ln \left (x \right )^{2}\) | \(16\) |
risch | \(2 x -2 x \ln \left (x \right )+x \ln \left (x \right )^{2}\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.33, size = 12, normalized size = 0.80 \begin {gather*} {\left (\log \left (x\right )^{2} - 2 \, \log \left (x\right ) + 2\right )} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.55, size = 15, normalized size = 1.00 \begin {gather*} x \log \left (x\right )^{2} - 2 \, x \log \left (x\right ) + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.03, size = 15, normalized size = 1.00 \begin {gather*} x \log {\left (x \right )}^{2} - 2 x \log {\left (x \right )} + 2 x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.64, size = 15, normalized size = 1.00 \begin {gather*} x \log \left (x\right )^{2} - 2 \, x \log \left (x\right ) + 2 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 12, normalized size = 0.80 \begin {gather*} x\,\left ({\ln \left (x\right )}^2-2\,\ln \left (x\right )+2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________