Optimal. Leaf size=17 \[ -11+x-x^2+\log (x)-\log (\log (5 x)) \]
________________________________________________________________________________________
Rubi [A] time = 0.14, antiderivative size = 16, normalized size of antiderivative = 0.94, number of steps used = 6, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {6742, 14, 2302, 29} \begin {gather*} -x^2+x+\log (x)-\log (\log (5 x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 29
Rule 2302
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {1+x-2 x^2}{x}-\frac {1}{x \log (5 x)}\right ) \, dx\\ &=\int \frac {1+x-2 x^2}{x} \, dx-\int \frac {1}{x \log (5 x)} \, dx\\ &=\int \left (1+\frac {1}{x}-2 x\right ) \, dx-\operatorname {Subst}\left (\int \frac {1}{x} \, dx,x,\log (5 x)\right )\\ &=x-x^2+\log (x)-\log (\log (5 x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 16, normalized size = 0.94 \begin {gather*} x-x^2+\log (x)-\log (\log (5 x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.69, size = 18, normalized size = 1.06 \begin {gather*} -x^{2} + x + \log \left (5 \, x\right ) - \log \left (\log \left (5 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 16, normalized size = 0.94 \begin {gather*} -x^{2} + x + \log \relax (x) - \log \left (\log \left (5 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 17, normalized size = 1.00
method | result | size |
risch | \(\ln \relax (x )+x -x^{2}-\ln \left (\ln \left (5 x \right )\right )\) | \(17\) |
derivativedivides | \(-x^{2}+x +\ln \left (5 x \right )-\ln \left (\ln \left (5 x \right )\right )\) | \(19\) |
default | \(-x^{2}+x +\ln \left (5 x \right )-\ln \left (\ln \left (5 x \right )\right )\) | \(19\) |
norman | \(-x^{2}+x +\ln \left (5 x \right )-\ln \left (\ln \left (5 x \right )\right )\) | \(19\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 16, normalized size = 0.94 \begin {gather*} -x^{2} + x + \log \relax (x) - \log \left (\log \left (5 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.69, size = 16, normalized size = 0.94 \begin {gather*} x-\ln \left (\ln \left (5\,x\right )\right )+\ln \relax (x)-x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 14, normalized size = 0.82 \begin {gather*} - x^{2} + x + \log {\relax (x )} - \log {\left (\log {\left (5 x \right )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________