Optimal. Leaf size=27 \[ \frac {7}{2}-\frac {16}{x^2}-4 x-x^2+x^2 \log ^2(4 x) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 24, normalized size of antiderivative = 0.89, number of steps used = 7, number of rules used = 3, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {14, 2304, 2305} \begin {gather*} -x^2-\frac {16}{x^2}+x^2 \log ^2(4 x)-4 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2304
Rule 2305
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {2 \left (-16+2 x^3+x^4\right )}{x^3}+2 x \log (4 x)+2 x \log ^2(4 x)\right ) \, dx\\ &=-\left (2 \int \frac {-16+2 x^3+x^4}{x^3} \, dx\right )+2 \int x \log (4 x) \, dx+2 \int x \log ^2(4 x) \, dx\\ &=-\frac {x^2}{2}+x^2 \log (4 x)+x^2 \log ^2(4 x)-2 \int \left (2-\frac {16}{x^3}+x\right ) \, dx-2 \int x \log (4 x) \, dx\\ &=-\frac {16}{x^2}-4 x-x^2+x^2 \log ^2(4 x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 24, normalized size = 0.89 \begin {gather*} -\frac {16}{x^2}-4 x-x^2+x^2 \log ^2(4 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.50, size = 26, normalized size = 0.96 \begin {gather*} \frac {x^{4} \log \left (4 \, x\right )^{2} - x^{4} - 4 \, x^{3} - 16}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.30, size = 24, normalized size = 0.89 \begin {gather*} x^{2} \log \left (4 \, x\right )^{2} - x^{2} - 4 \, x - \frac {16}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 25, normalized size = 0.93
method | result | size |
derivativedivides | \(x^{2} \ln \left (4 x \right )^{2}-x^{2}-4 x -\frac {16}{x^{2}}\) | \(25\) |
default | \(x^{2} \ln \left (4 x \right )^{2}-x^{2}-4 x -\frac {16}{x^{2}}\) | \(25\) |
norman | \(\frac {-16+x^{4} \ln \left (4 x \right )^{2}-4 x^{3}-x^{4}}{x^{2}}\) | \(27\) |
risch | \(x^{2} \ln \left (4 x \right )^{2}-\frac {x^{4}+4 x^{3}+16}{x^{2}}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 43, normalized size = 1.59 \begin {gather*} \frac {1}{2} \, {\left (2 \, \log \left (4 \, x\right )^{2} - 2 \, \log \left (4 \, x\right ) + 1\right )} x^{2} + x^{2} \log \left (4 \, x\right ) - \frac {3}{2} \, x^{2} - 4 \, x - \frac {16}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.69, size = 21, normalized size = 0.78 \begin {gather*} x^2\,\left ({\ln \left (4\,x\right )}^2-1\right )-4\,x-\frac {16}{x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 20, normalized size = 0.74 \begin {gather*} x^{2} \log {\left (4 x \right )}^{2} - x^{2} - 4 x - \frac {16}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________