Optimal. Leaf size=15 \[ \frac {81+(4+2 x+\log (x))^2}{x} \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 28, normalized size of antiderivative = 1.87, number of steps used = 7, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {14, 2304, 2305} \begin {gather*} 4 x+\frac {97}{x}+\frac {\log ^2(x)}{x}+\frac {8 \log (x)}{x}+4 \log (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 {-89+4 x+4 x^2}{x^2}-\frac {6 \log (x)}{x^2}-\frac {\log ^2(x)}{x^2}\right ) \, dx\\ &=-\left (6 \int \frac {\log (x)}{x^2} \, dx\right )+\int \frac {-89+4 x+4 x^2}{x^2} \, dx-\int \frac {\log ^2(x)}{x^2} \, dx\\ &=\frac {6}{x}+\frac {6 \log (x)}{x}+\frac {\log ^2(x)}{x}-2 \int \frac {\log (x)}{x^2} \, dx+\int \left (4-\frac {89}{x^2}+\frac {4}{x}\right ) \, dx\\ &=\frac {97}{x}+4 x+4 \log (x)+\frac {8 \log (x)}{x}+\frac {\log ^2(x)}{x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 28, normalized size = 1.87 \begin {gather*} \frac {97}{x}+4 x+4 \log (x)+\frac {8 \log (x)}{x}+\frac {\log ^2(x)}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.49, size = 22, normalized size = 1.47 \begin {gather*} \frac {4 \, x^{2} + 4 \, {\left (x + 2\right )} \log \relax (x) + \log \relax (x)^{2} + 97}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 28, normalized size = 1.87 \begin {gather*} 4 \, x + \frac {\log \relax (x)^{2}}{x} + \frac {8 \, \log \relax (x)}{x} + \frac {97}{x} + 4 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 25, normalized size = 1.67
method | result | size |
norman | \(\frac {97+\ln \relax (x )^{2}+4 x \ln \relax (x )+4 x^{2}+8 \ln \relax (x )}{x}\) | \(25\) |
default | \(\frac {\ln \relax (x )^{2}}{x}+\frac {8 \ln \relax (x )}{x}+\frac {97}{x}+4 x +4 \ln \relax (x )\) | \(29\) |
risch | \(\frac {\ln \relax (x )^{2}}{x}+\frac {8 \ln \relax (x )}{x}+\frac {4 x \ln \relax (x )+4 x^{2}+97}{x}\) | \(33\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.36, size = 34, normalized size = 2.27 \begin {gather*} 4 \, x + \frac {\log \relax (x)^{2} + 2 \, \log \relax (x) + 2}{x} + \frac {6 \, \log \relax (x)}{x} + \frac {95}{x} + 4 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.28, size = 22, normalized size = 1.47 \begin {gather*} 4\,x+4\,\ln \relax (x)+\frac {{\ln \relax (x)}^2+8\,\ln \relax (x)+97}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.14, size = 24, normalized size = 1.60 \begin {gather*} 4 x + 4 \log {\relax (x )} + \frac {\log {\relax (x )}^{2}}{x} + \frac {8 \log {\relax (x )}}{x} + \frac {97}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________