Optimal. Leaf size=11 \[ \left (2 x+x^2+\log (x)\right )^2 \]
________________________________________________________________________________________
Rubi [B] time = 0.06, antiderivative size = 30, normalized size of antiderivative = 2.73, number of steps used = 8, number of rules used = 5, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.139, Rules used = {14, 2357, 2295, 2301, 2304} \begin {gather*} x^4+4 x^3+4 x^2+2 x^2 \log (x)+\log ^2(x)+4 x \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 (2 \left (2+5 x+6 x^2+2 x^3\right )+\frac {2 \left (1+2 x+2 x^2\right ) \log (x)}{x}\right ) \, dx\\ &=2 \int \left (2+5 x+6 x^2+2 x^3\right ) \, dx+2 \int \frac {\left (1+2 x+2 x^2\right ) \log (x)}{x} \, dx\\ &=4 x+5 x^2+4 x^3+x^4+2 \int \left (2 \log (x)+\frac {\log (x)}{x}+2 x \log (x)\right ) \, dx\\ &=4 x+5 x^2+4 x^3+x^4+2 \int \frac {\log (x)}{x} \, dx+4 \int \log (x) \, dx+4 \int x \log (x) \, dx\\ &=4 x^2+4 x^3+x^4+4 x \log (x)+2 x^2 \log (x)+\log ^2(x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] time = 0.01, size = 30, normalized size = 2.73 \begin {gather*} 4 x^2+4 x^3+x^4+4 x \log (x)+2 x^2 \log (x)+\log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.68, size = 29, normalized size = 2.64 \begin {gather*} x^{4} + 4 \, x^{3} + 4 \, x^{2} + 2 \, {\left (x^{2} + 2 \, x\right )} \log \relax (x) + \log \relax (x)^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.23, size = 29, normalized size = 2.64 \begin {gather*} x^{4} + 4 \, x^{3} + 4 \, x^{2} + 2 \, {\left (x^{2} + 2 \, x\right )} \log \relax (x) + \log \relax (x)^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.02, size = 31, normalized size = 2.82
method | result | size |
default | \(x^{4}+2 x^{2} \ln \relax (x )+4 x^{2}+4 x^{3}+4 x \ln \relax (x )+\ln \relax (x )^{2}\) | \(31\) |
norman | \(x^{4}+2 x^{2} \ln \relax (x )+4 x^{2}+4 x^{3}+4 x \ln \relax (x )+\ln \relax (x )^{2}\) | \(31\) |
risch | \(\ln \relax (x )^{2}+\left (2 x^{2}+4 x \right ) \ln \relax (x )+x^{4}+4 x^{3}+4 x^{2}\) | \(31\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.36, size = 30, normalized size = 2.73 \begin {gather*} x^{4} + 4 \, x^{3} + 2 \, x^{2} \log \relax (x) + 4 \, x^{2} + 4 \, x \log \relax (x) + \log \relax (x)^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.39, size = 11, normalized size = 1.00 \begin {gather*} {\left (2\,x+\ln \relax (x)+x^2\right )}^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.11, size = 29, normalized size = 2.64 \begin {gather*} x^{4} + 4 x^{3} + 4 x^{2} + \left (2 x^{2} + 4 x\right ) \log {\relax (x )} + \log {\relax (x )}^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________