Optimal. Leaf size=17 \[ \frac {1}{2} \left (\log (4)+\left (2 x+\log ^2(x)\right )^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 21, normalized size of antiderivative = 1.24, number of steps used = 7, number of rules used = 5, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {14, 2295, 2296, 2302, 30} \begin {gather*} 2 x^2+\frac {\log ^4(x)}{2}+2 x \log ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 30
Rule 2295
Rule 2296
Rule 2302
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (4 x+4 \log (x)+2 \log ^2(x)+\frac {2 \log ^3(x)}{x}\right ) \, dx\\ &=2 x^2+2 \int \log ^2(x) \, dx+2 \int \frac {\log ^3(x)}{x} \, dx+4 \int \log (x) \, dx\\ &=-4 x+2 x^2+4 x \log (x)+2 x \log ^2(x)+2 \operatorname {Subst}\left (\int x^3 \, dx,x,\log (x)\right )-4 \int \log (x) \, dx\\ &=2 x^2+2 x \log ^2(x)+\frac {\log ^4(x)}{2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 21, normalized size = 1.24 \begin {gather*} 2 x^2+2 x \log ^2(x)+\frac {\log ^4(x)}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.78, size = 19, normalized size = 1.12 \begin {gather*} \frac {1}{2} \, \log \relax (x)^{4} + 2 \, x \log \relax (x)^{2} + 2 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.31, size = 19, normalized size = 1.12 \begin {gather*} \frac {1}{2} \, \log \relax (x)^{4} + 2 \, x \log \relax (x)^{2} + 2 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 20, normalized size = 1.18
method | result | size |
default | \(\frac {\ln \relax (x )^{4}}{2}+2 x \ln \relax (x )^{2}+2 x^{2}\) | \(20\) |
norman | \(\frac {\ln \relax (x )^{4}}{2}+2 x \ln \relax (x )^{2}+2 x^{2}\) | \(20\) |
risch | \(\frac {\ln \relax (x )^{4}}{2}+2 x \ln \relax (x )^{2}+2 x^{2}\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.36, size = 33, normalized size = 1.94 \begin {gather*} \frac {1}{2} \, \log \relax (x)^{4} + 2 \, {\left (\log \relax (x)^{2} - 2 \, \log \relax (x) + 2\right )} x + 2 \, x^{2} + 4 \, x \log \relax (x) - 4 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.47, size = 12, normalized size = 0.71 \begin {gather*} \frac {{\left ({\ln \relax (x)}^2+2\,x\right )}^2}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 19, normalized size = 1.12 \begin {gather*} 2 x^{2} + 2 x \log {\relax (x )}^{2} + \frac {\log {\relax (x )}^{4}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________