Optimal. Leaf size=12 \[ x+\log (1-x)-\log (x) \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0463124, antiderivative size = 12, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2 \[ x+\log (1-x)-\log (x) \]
Antiderivative was successfully verified.
[In] Int[(1 + x^3)/(-x + x^3),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 7.05429, size = 8, normalized size = 0.67 \[ x - \log{\left (x \right )} + \log{\left (- x + 1 \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((x**3+1)/(x**3-x),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.00727673, size = 12, normalized size = 1. \[ x+\log (1-x)-\log (x) \]
Antiderivative was successfully verified.
[In] Integrate[(1 + x^3)/(-x + x^3),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 11, normalized size = 0.9 \[ x+\ln \left ( -1+x \right ) -\ln \left ( x \right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((x^3+1)/(x^3-x),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.805075, size = 14, normalized size = 1.17 \[ x + \log \left (x - 1\right ) - \log \left (x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x^3 + 1)/(x^3 - x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.258767, size = 14, normalized size = 1.17 \[ x + \log \left (x - 1\right ) - \log \left (x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x^3 + 1)/(x^3 - x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.186061, size = 8, normalized size = 0.67 \[ x - \log{\left (x \right )} + \log{\left (x - 1 \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x**3+1)/(x**3-x),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.259719, size = 16, normalized size = 1.33 \[ x +{\rm ln}\left ({\left | x - 1 \right |}\right ) -{\rm ln}\left ({\left | x \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x^3 + 1)/(x^3 - x),x, algorithm="giac")
[Out]