Optimal. Leaf size=21 \[ x \left (-20+x+\frac {1}{2} \left (-3-\log ^2(3)\right )-\log (x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {12, 2295} \begin {gather*} x^2+x-\frac {1}{2} x \left (45+\log ^2(3)\right )-x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2295
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{2} \int \left (-45+4 x-\log ^2(3)-2 \log (x)\right ) \, dx\\ &=x^2-\frac {1}{2} x \left (45+\log ^2(3)\right )-\int \log (x) \, dx\\ &=x+x^2-\frac {1}{2} x \left (45+\log ^2(3)\right )-x \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 23, normalized size = 1.10 \begin {gather*} -\frac {43 x}{2}+x^2-\frac {1}{2} x \log ^2(3)-x \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 19, normalized size = 0.90 \begin {gather*} -\frac {1}{2} \, x \log \relax (3)^{2} + x^{2} - x \log \relax (x) - \frac {43}{2} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.48, size = 19, normalized size = 0.90 \begin {gather*} -\frac {1}{2} \, x \log \relax (3)^{2} + x^{2} - x \log \relax (x) - \frac {43}{2} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 20, normalized size = 0.95
method | result | size |
default | \(-\frac {43 x}{2}+x^{2}-\frac {x \ln \relax (3)^{2}}{2}-x \ln \relax (x )\) | \(20\) |
norman | \(x^{2}+\left (-\frac {43}{2}-\frac {\ln \relax (3)^{2}}{2}\right ) x -x \ln \relax (x )\) | \(20\) |
risch | \(-\frac {43 x}{2}+x^{2}-\frac {x \ln \relax (3)^{2}}{2}-x \ln \relax (x )\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.51, size = 19, normalized size = 0.90 \begin {gather*} -\frac {1}{2} \, x \log \relax (3)^{2} + x^{2} - x \log \relax (x) - \frac {43}{2} \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.54, size = 16, normalized size = 0.76 \begin {gather*} -\frac {x\,\left (2\,\ln \relax (x)-2\,x+{\ln \relax (3)}^2+43\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 20, normalized size = 0.95 \begin {gather*} x^{2} - x \log {\relax (x )} + x \left (- \frac {43}{2} - \frac {\log {\relax (3 )}^{2}}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________