Optimal. Leaf size=27 \[ 4 \left (2+\left (1+\frac {4+x}{16 x}\right )^2\right ) \left (4+x-\log \left (x^2\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 38, normalized size of antiderivative = 1.41, number of steps used = 9, number of rules used = 5, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.156, Rules used = {12, 14, 37, 2334, 43} \begin {gather*} \frac {1}{x^2}-\frac {(17 x+4)^2 \log \left (x^2\right )}{64 x^2}+\frac {801 x}{64}+\frac {35}{4 x}-16 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 37
Rule 43
Rule 2334
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{64} \int \frac {-160-832 x-1602 x^2+801 x^3+(32+136 x) \log \left (x^2\right )}{x^3} \, dx\\ &=\frac {1}{64} \int \left (\frac {-160-832 x-1602 x^2+801 x^3}{x^3}+\frac {8 (4+17 x) \log \left (x^2\right )}{x^3}\right ) \, dx\\ &=\frac {1}{64} \int \frac {-160-832 x-1602 x^2+801 x^3}{x^3} \, dx+\frac {1}{8} \int \frac {(4+17 x) \log \left (x^2\right )}{x^3} \, dx\\ &=-\frac {(4+17 x)^2 \log \left (x^2\right )}{64 x^2}+\frac {1}{64} \int \left (801-\frac {160}{x^3}-\frac {832}{x^2}-\frac {1602}{x}\right ) \, dx-\frac {1}{4} \int -\frac {(4+17 x)^2}{8 x^3} \, dx\\ &=\frac {5}{4 x^2}+\frac {13}{x}+\frac {801 x}{64}-\frac {801 \log (x)}{32}-\frac {(4+17 x)^2 \log \left (x^2\right )}{64 x^2}+\frac {1}{32} \int \frac {(4+17 x)^2}{x^3} \, dx\\ &=\frac {5}{4 x^2}+\frac {13}{x}+\frac {801 x}{64}-\frac {801 \log (x)}{32}-\frac {(4+17 x)^2 \log \left (x^2\right )}{64 x^2}+\frac {1}{32} \int \left (\frac {16}{x^3}+\frac {136}{x^2}+\frac {289}{x}\right ) \, dx\\ &=\frac {1}{x^2}+\frac {35}{4 x}+\frac {801 x}{64}-16 \log (x)-\frac {(4+17 x)^2 \log \left (x^2\right )}{64 x^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 44, normalized size = 1.63 \begin {gather*} \frac {1}{x^2}+\frac {35}{4 x}+\frac {801 x}{64}-\frac {801 \log (x)}{32}-\frac {\log \left (x^2\right )}{4 x^2}-\frac {17 \log \left (x^2\right )}{8 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 31, normalized size = 1.15 \begin {gather*} \frac {801 \, x^{3} - {\left (801 \, x^{2} + 136 \, x + 16\right )} \log \left (x^{2}\right ) + 560 \, x + 64}{64 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.31, size = 32, normalized size = 1.19 \begin {gather*} \frac {801}{64} \, x - \frac {{\left (17 \, x + 2\right )} \log \left (x^{2}\right )}{8 \, x^{2}} + \frac {35 \, x + 4}{4 \, x^{2}} - \frac {801}{32} \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 33, normalized size = 1.22
method | result | size |
norman | \(\frac {1+\frac {35 x}{4}+\frac {801 x^{3}}{64}-\frac {17 x \ln \left (x^{2}\right )}{8}-\frac {\ln \left (x^{2}\right )}{4}}{x^{2}}-\frac {801 \ln \relax (x )}{32}\) | \(33\) |
default | \(\frac {801 x}{64}+\frac {35}{4 x}+\frac {1}{x^{2}}-\frac {801 \ln \relax (x )}{32}-\frac {17 \ln \left (x^{2}\right )}{8 x}-\frac {\ln \left (x^{2}\right )}{4 x^{2}}\) | \(35\) |
risch | \(-\frac {\left (17 x +2\right ) \ln \left (x^{2}\right )}{8 x^{2}}-\frac {1602 x^{2} \ln \relax (x )-801 x^{3}-560 x -64}{64 x^{2}}\) | \(38\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.69, size = 34, normalized size = 1.26 \begin {gather*} \frac {801}{64} \, x - \frac {17 \, \log \left (x^{2}\right )}{8 \, x} + \frac {35}{4 \, x} - \frac {\log \left (x^{2}\right )}{4 \, x^{2}} + \frac {1}{x^{2}} - \frac {801}{32} \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.02, size = 38, normalized size = 1.41 \begin {gather*} \frac {801\,x}{64}-\frac {801\,\ln \left (x^2\right )}{64}-\frac {x^2\,\left (\frac {17\,\ln \left (x^2\right )}{8}-\frac {35}{4}\right )+x\,\left (\frac {\ln \left (x^2\right )}{4}-1\right )}{x^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.16, size = 37, normalized size = 1.37 \begin {gather*} \frac {801 x}{64} - \frac {801 \log {\relax (x )}}{32} + \frac {\left (- 17 x - 2\right ) \log {\left (x^{2} \right )}}{8 x^{2}} + \frac {560 x + 64}{64 x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________