Optimal. Leaf size=23 \[ x+\log \left (-x+x^2+x^4-\log (\log (\log (-x \log (x))))\right ) \]
________________________________________________________________________________________
Rubi [A] time = 1.72, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 126, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.024, Rules used = {6688, 6742, 6684} \begin {gather*} \log \left (-x^4-x^2+x+\log (\log (\log (-x \log (x))))\right )+x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6684
Rule 6688
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-1+\log (x) \left (-1+x \log (-x \log (x)) \log (\log (-x \log (x))) \left (-1+x+x^2+4 x^3+x^4-\log (\log (\log (-x \log (x))))\right )\right )}{x \log (x) \log (-x \log (x)) \log (\log (-x \log (x))) \left (x \left (-1+x+x^3\right )-\log (\log (\log (-x \log (x))))\right )} \, dx\\ &=\int \left (1+\frac {-1-\log (x)-x \log (x) \log (-x \log (x)) \log (\log (-x \log (x)))+2 x^2 \log (x) \log (-x \log (x)) \log (\log (-x \log (x)))+4 x^4 \log (x) \log (-x \log (x)) \log (\log (-x \log (x)))}{x \log (x) \log (-x \log (x)) \log (\log (-x \log (x))) \left (-x+x^2+x^4-\log (\log (\log (-x \log (x))))\right )}\right ) \, dx\\ &=x+\int \frac {-1-\log (x)-x \log (x) \log (-x \log (x)) \log (\log (-x \log (x)))+2 x^2 \log (x) \log (-x \log (x)) \log (\log (-x \log (x)))+4 x^4 \log (x) \log (-x \log (x)) \log (\log (-x \log (x)))}{x \log (x) \log (-x \log (x)) \log (\log (-x \log (x))) \left (-x+x^2+x^4-\log (\log (\log (-x \log (x))))\right )} \, dx\\ &=x+\log \left (x-x^2-x^4+\log (\log (\log (-x \log (x))))\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 23, normalized size = 1.00 \begin {gather*} x+\log \left (-x+x^2+x^4-\log (\log (\log (-x \log (x))))\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.88, size = 23, normalized size = 1.00 \begin {gather*} x + \log \left (-x^{4} - x^{2} + x + \log \left (\log \left (\log \left (-x \log \relax (x)\right )\right )\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 8.67, size = 25, normalized size = 1.09 \begin {gather*} x + \log \left (-x^{4} - x^{2} + x + \log \left (\log \left (\log \relax (x) + \log \left (-\log \relax (x)\right )\right )\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.16, size = 92, normalized size = 4.00
method | result | size |
risch | \(x +\ln \left (-x^{4}-x^{2}+x +\ln \left (\ln \left (i \pi +\ln \relax (x )+\ln \left (\ln \relax (x )\right )-\frac {i \pi \,\mathrm {csgn}\left (i x \ln \relax (x )\right ) \left (-\mathrm {csgn}\left (i x \ln \relax (x )\right )+\mathrm {csgn}\left (i x \right )\right ) \left (-\mathrm {csgn}\left (i x \ln \relax (x )\right )+\mathrm {csgn}\left (i \ln \relax (x )\right )\right )}{2}+i \pi \mathrm {csgn}\left (i x \ln \relax (x )\right )^{2} \left (\mathrm {csgn}\left (i x \ln \relax (x )\right )-1\right )\right )\right )\right )\) | \(92\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 25, normalized size = 1.09 \begin {gather*} x + \log \left (-x^{4} - x^{2} + x + \log \left (\log \left (\log \relax (x) + \log \left (-\log \relax (x)\right )\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.04 \begin {gather*} -\int \frac {\ln \relax (x)-\ln \left (-x\,\ln \relax (x)\right )\,\ln \left (\ln \left (-x\,\ln \relax (x)\right )\right )\,\ln \relax (x)\,\left (x^5+4\,x^4+x^3+x^2-x\right )+x\,\ln \left (\ln \left (\ln \left (-x\,\ln \relax (x)\right )\right )\right )\,\ln \left (-x\,\ln \relax (x)\right )\,\ln \left (\ln \left (-x\,\ln \relax (x)\right )\right )\,\ln \relax (x)+1}{\ln \left (-x\,\ln \relax (x)\right )\,\ln \left (\ln \left (-x\,\ln \relax (x)\right )\right )\,\ln \relax (x)\,\left (x^5+x^3-x^2\right )-x\,\ln \left (\ln \left (\ln \left (-x\,\ln \relax (x)\right )\right )\right )\,\ln \left (-x\,\ln \relax (x)\right )\,\ln \left (\ln \left (-x\,\ln \relax (x)\right )\right )\,\ln \relax (x)} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.29, size = 22, normalized size = 0.96 \begin {gather*} x + \log {\left (- x^{4} - x^{2} + x + \log {\left (\log {\left (\log {\left (- x \log {\relax (x )} \right )} \right )} \right )} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________