Optimal. Leaf size=23 \[ -4+11 x+(3+x)^2+\frac {3}{\log (2)}-x \log ^2(x) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 14, normalized size of antiderivative = 0.61, number of steps used = 4, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {2295, 2296} \begin {gather*} x^2+17 x-x \log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2295
Rule 2296
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=17 x+x^2-2 \int \log (x) \, dx-\int \log ^2(x) \, dx\\ &=19 x+x^2-2 x \log (x)-x \log ^2(x)+2 \int \log (x) \, dx\\ &=17 x+x^2-x \log ^2(x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 14, normalized size = 0.61 \begin {gather*} 17 x+x^2-x \log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.58, size = 14, normalized size = 0.61 \begin {gather*} -x \log \relax (x)^{2} + x^{2} + 17 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 14, normalized size = 0.61 \begin {gather*} -x \log \relax (x)^{2} + x^{2} + 17 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 15, normalized size = 0.65
method | result | size |
default | \(x^{2}+17 x -x \ln \relax (x )^{2}\) | \(15\) |
norman | \(x^{2}+17 x -x \ln \relax (x )^{2}\) | \(15\) |
risch | \(x^{2}+17 x -x \ln \relax (x )^{2}\) | \(15\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 25, normalized size = 1.09 \begin {gather*} -{\left (\log \relax (x)^{2} - 2 \, \log \relax (x) + 2\right )} x + x^{2} - 2 \, x \log \relax (x) + 19 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.23, size = 11, normalized size = 0.48 \begin {gather*} x\,\left (-{\ln \relax (x)}^2+x+17\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 12, normalized size = 0.52 \begin {gather*} x^{2} - x \log {\relax (x )}^{2} + 17 x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________