Optimal. Leaf size=15 \[ (10+(1-3 x) x-\log (x))^2 \]
________________________________________________________________________________________
Rubi [B] time = 0.06, antiderivative size = 39, normalized size of antiderivative = 2.60, number of steps used = 9, number of rules used = 5, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.135, Rules used = {14, 2357, 2295, 2301, 2304} \begin {gather*} 9 x^4-6 x^3-59 x^2+6 x^2 \log (x)+20 x+\log ^2(x)-2 x \log (x)-20 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2295
Rule 2301
Rule 2304
Rule 2357
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {2 \left (-10+9 x-56 x^2-9 x^3+18 x^4\right )}{x}+\frac {2 \left (1-x+6 x^2\right ) \log (x)}{x}\right ) \, dx\\ &=2 \int \frac {-10+9 x-56 x^2-9 x^3+18 x^4}{x} \, dx+2 \int \frac {\left (1-x+6 x^2\right ) \log (x)}{x} \, dx\\ &=2 \int \left (9-\frac {10}{x}-56 x-9 x^2+18 x^3\right ) \, dx+2 \int \left (-\log (x)+\frac {\log (x)}{x}+6 x \log (x)\right ) \, dx\\ &=18 x-56 x^2-6 x^3+9 x^4-20 \log (x)-2 \int \log (x) \, dx+2 \int \frac {\log (x)}{x} \, dx+12 \int x \log (x) \, dx\\ &=20 x-59 x^2-6 x^3+9 x^4-20 \log (x)-2 x \log (x)+6 x^2 \log (x)+\log ^2(x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] time = 0.00, size = 39, normalized size = 2.60 \begin {gather*} 20 x-59 x^2-6 x^3+9 x^4-20 \log (x)-2 x \log (x)+6 x^2 \log (x)+\log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.56, size = 37, normalized size = 2.47 \begin {gather*} 9 \, x^{4} - 6 \, x^{3} - 59 \, x^{2} + 2 \, {\left (3 \, x^{2} - x - 10\right )} \log \relax (x) + \log \relax (x)^{2} + 20 \, 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.67 \begin {gather*} 9 \, x^{4} - 6 \, x^{3} - 59 \, x^{2} + 2 \, {\left (3 \, x^{2} - x\right )} \log \relax (x) + \log \relax (x)^{2} + 20 \, x - 20 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.02, size = 40, normalized size = 2.67
method | result | size |
default | \(9 x^{4}+6 x^{2} \ln \relax (x )-59 x^{2}-6 x^{3}-2 x \ln \relax (x )+20 x +\ln \relax (x )^{2}-20 \ln \relax (x )\) | \(40\) |
norman | \(9 x^{4}+6 x^{2} \ln \relax (x )-59 x^{2}-6 x^{3}-2 x \ln \relax (x )+20 x +\ln \relax (x )^{2}-20 \ln \relax (x )\) | \(40\) |
risch | \(\ln \relax (x )^{2}+\left (6 x^{2}-2 x \right ) \ln \relax (x )+9 x^{4}-6 x^{3}-59 x^{2}+20 x -20 \ln \relax (x )\) | \(40\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.36, size = 39, normalized size = 2.60 \begin {gather*} 9 \, x^{4} - 6 \, x^{3} + 6 \, x^{2} \log \relax (x) - 59 \, x^{2} - 2 \, x \log \relax (x) + \log \relax (x)^{2} + 20 \, x - 20 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.68, size = 25, normalized size = 1.67 \begin {gather*} -\left (\ln \relax (x)-x+3\,x^2\right )\,\left (x-\ln \relax (x)-3\,x^2+20\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.13, size = 39, normalized size = 2.60 \begin {gather*} 9 x^{4} - 6 x^{3} - 59 x^{2} + 20 x + \left (6 x^{2} - 2 x\right ) \log {\relax (x )} + \log {\relax (x )}^{2} - 20 \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________