Optimal. Leaf size=25 \[ 7+2 x+\frac {x^2}{8}-\frac {x+\frac {x}{\log (x)}}{x} \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 17, normalized size of antiderivative = 0.68, number of steps used = 5, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {12, 6688, 2302, 30} \begin {gather*} \frac {x^2}{8}+2 x-\frac {1}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 30
Rule 2302
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{4} \int \frac {4+\left (8 x+x^2\right ) \log ^2(x)}{x \log ^2(x)} \, dx\\ &=\frac {1}{4} \int \left (8+x+\frac {4}{x \log ^2(x)}\right ) \, dx\\ &=2 x+\frac {x^2}{8}+\int \frac {1}{x \log ^2(x)} \, dx\\ &=2 x+\frac {x^2}{8}+\operatorname {Subst}\left (\int \frac {1}{x^2} \, dx,x,\log (x)\right )\\ &=2 x+\frac {x^2}{8}-\frac {1}{\log (x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 17, normalized size = 0.68 \begin {gather*} 2 x+\frac {x^2}{8}-\frac {1}{\log (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.01, size = 18, normalized size = 0.72 \begin {gather*} \frac {{\left (x^{2} + 16 \, x\right )} \log \relax (x) - 8}{8 \, \log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.26, size = 15, normalized size = 0.60 \begin {gather*} \frac {1}{8} \, x^{2} + 2 \, x - \frac {1}{\log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 16, normalized size = 0.64
method | result | size |
default | \(\frac {x^{2}}{8}+2 x -\frac {1}{\ln \relax (x )}\) | \(16\) |
risch | \(\frac {x^{2}}{8}+2 x -\frac {1}{\ln \relax (x )}\) | \(16\) |
norman | \(\frac {-1+2 x \ln \relax (x )+\frac {x^{2} \ln \relax (x )}{8}}{\ln \relax (x )}\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 15, normalized size = 0.60 \begin {gather*} \frac {1}{8} \, x^{2} + 2 \, x - \frac {1}{\log \relax (x)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.42, size = 15, normalized size = 0.60 \begin {gather*} 2\,x-\frac {1}{\ln \relax (x)}+\frac {x^2}{8} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 12, normalized size = 0.48 \begin {gather*} \frac {x^{2}}{8} + 2 x - \frac {1}{\log {\relax (x )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________