Optimal. Leaf size=17 \[ x \left (-\frac {4}{x}+\left (-5+x+\log \left (x^2\right )\right )^2\right ) \]
________________________________________________________________________________________
Rubi [B] time = 0.02, antiderivative size = 51, normalized size of antiderivative = 3.00, number of steps used = 5, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2313, 9, 2296, 2295} \begin {gather*} x^3-8 x^2+x \log ^2\left (x^2\right )-4 x \log \left (x^2\right )-2 \left (3 x-x^2\right ) \log \left (x^2\right )+13 x-2 (3-x)^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 9
Rule 2295
Rule 2296
Rule 2313
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=5 x-8 x^2+x^3+\int (-6+4 x) \log \left (x^2\right ) \, dx+\int \log ^2\left (x^2\right ) \, dx\\ &=5 x-8 x^2+x^3-2 \left (3 x-x^2\right ) \log \left (x^2\right )+x \log ^2\left (x^2\right )-2 \int 2 (-3+x) \, dx-4 \int \log \left (x^2\right ) \, dx\\ &=-2 (3-x)^2+13 x-8 x^2+x^3-4 x \log \left (x^2\right )-2 \left (3 x-x^2\right ) \log \left (x^2\right )+x \log ^2\left (x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] time = 0.00, size = 36, normalized size = 2.12 \begin {gather*} 25 x-10 x^2+x^3-10 x \log \left (x^2\right )+2 x^2 \log \left (x^2\right )+x \log ^2\left (x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.79, size = 33, normalized size = 1.94 \begin {gather*} x^{3} + x \log \left (x^{2}\right )^{2} - 10 \, x^{2} + 2 \, {\left (x^{2} - 5 \, x\right )} \log \left (x^{2}\right ) + 25 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.13, size = 40, normalized size = 2.35 \begin {gather*} x^{3} + x \log \left (x^{2}\right )^{2} - 10 \, x^{2} + 2 \, {\left (x^{2} - 3 \, x\right )} \log \left (x^{2}\right ) - 4 \, x \log \left (x^{2}\right ) + 25 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.02, size = 37, normalized size = 2.18
method | result | size |
default | \(25 x +x \ln \left (x^{2}\right )^{2}-10 x \ln \left (x^{2}\right )+2 x^{2} \ln \left (x^{2}\right )-10 x^{2}+x^{3}\) | \(37\) |
norman | \(25 x +x \ln \left (x^{2}\right )^{2}-10 x \ln \left (x^{2}\right )+2 x^{2} \ln \left (x^{2}\right )-10 x^{2}+x^{3}\) | \(37\) |
risch | \(25 x +x \ln \left (x^{2}\right )^{2}-10 x \ln \left (x^{2}\right )+2 x^{2} \ln \left (x^{2}\right )-10 x^{2}+x^{3}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.43, size = 40, normalized size = 2.35 \begin {gather*} x^{3} + x \log \left (x^{2}\right )^{2} - 10 \, x^{2} + 2 \, {\left (x^{2} - 3 \, x\right )} \log \left (x^{2}\right ) - 4 \, x \log \left (x^{2}\right ) + 25 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.58, size = 11, normalized size = 0.65 \begin {gather*} x\,{\left (x+\ln \left (x^2\right )-5\right )}^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.11, size = 32, normalized size = 1.88 \begin {gather*} x^{3} - 10 x^{2} + x \log {\left (x^{2} \right )}^{2} + 25 x + \left (2 x^{2} - 10 x\right ) \log {\left (x^{2} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________