Optimal. Leaf size=17 \[ -11+x-x^2+\log (x)-\log (\log (5 x)) \]
[Out]
________________________________________________________________________________________
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 = {6874, 14, 2339,
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 2339
Rule 6874
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-\text {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]
________________________________________________________________________________________
Maple [A]
time = 0.18, size = 19, normalized size = 1.12
method | result | size |
risch | \(\ln \left (x \right )+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.27, size = 16, normalized size = 0.94 \begin {gather*} -x^{2} + x + \log \left (x\right ) - \log \left (\log \left (5 \, x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, 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]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 14, normalized size = 0.82 \begin {gather*} - x^{2} + x + \log {\left (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.39, size = 16, normalized size = 0.94 \begin {gather*} -x^{2} + x + \log \left (x\right ) - \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 \left (x\right )-x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________