Optimal. Leaf size=18 \[ -4+x+\log \left (-x+x^2+\log \left (\frac {120}{\log (x)}\right )\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.44, antiderivative size = 19, normalized size of antiderivative = 1.06, number of steps
used = 5, number of rules used = 4, integrand size = 53, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.075, Rules used = {6873, 6820,
6874, 6816} \begin {gather*} \log \left (-x^2+x-\log \left (\frac {120}{\log (x)}\right )\right )+x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6816
Rule 6820
Rule 6873
Rule 6874
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {1-\left (-x+x^2+x^3\right ) \log (x)-x \log (x) \log \left (\frac {120}{\log (x)}\right )}{x \log (x) \left (x-x^2-\log \left (\frac {120}{\log (x)}\right )\right )} \, dx\\ &=\int \frac {-1+x \log (x) \left (-1+x+x^2+\log \left (\frac {120}{\log (x)}\right )\right )}{x \log (x) \left ((-1+x) x+\log \left (\frac {120}{\log (x)}\right )\right )} \, dx\\ &=\int \left (1+\frac {-1-x \log (x)+2 x^2 \log (x)}{x \log (x) \left (-x+x^2+\log \left (\frac {120}{\log (x)}\right )\right )}\right ) \, dx\\ &=x+\int \frac {-1-x \log (x)+2 x^2 \log (x)}{x \log (x) \left (-x+x^2+\log \left (\frac {120}{\log (x)}\right )\right )} \, dx\\ &=x+\log \left (x-x^2-\log \left (\frac {120}{\log (x)}\right )\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 17, normalized size = 0.94 \begin {gather*} x+\log \left (-x+x^2+\log \left (\frac {120}{\log (x)}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 2.26, size = 37, normalized size = 2.06
method | result | size |
risch | \(x +\ln \left (\ln \left (\ln \left (x \right )\right )+\frac {i \left (2 i x^{2}+2 i \ln \left (5\right )+2 i \ln \left (3\right )+6 i \ln \left (2\right )-2 i x \right )}{2}\right )\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.53, size = 25, normalized size = 1.39 \begin {gather*} x + \log \left (-x^{2} + x - \log \left (5\right ) - \log \left (3\right ) - 3 \, \log \left (2\right ) + \log \left (\log \left (x\right )\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 17, normalized size = 0.94 \begin {gather*} x + \log \left (x^{2} - x + \log \left (\frac {120}{\log \left (x\right )}\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.10, size = 14, normalized size = 0.78 \begin {gather*} x + \log {\left (x^{2} - x + \log {\left (\frac {120}{\log {\left (x \right )}} \right )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 17, normalized size = 0.94 \begin {gather*} x + \log \left (-x^{2} + x - \log \left (120\right ) + \log \left (\log \left (x\right )\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.06 \begin {gather*} -\int \frac {\ln \left (x\right )\,\left (x^3+x^2-x\right )+x\,\ln \left (\frac {120}{\ln \left (x\right )}\right )\,\ln \left (x\right )-1}{\ln \left (x\right )\,\left (x^2-x^3\right )-x\,\ln \left (\frac {120}{\ln \left (x\right )}\right )\,\ln \left (x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________