Optimal. Leaf size=12 \[ x+\log (1-x)-\log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {1593, 1802} \[ x+\log (1-x)-\log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 1802
Rubi steps
\begin {align*} \int \frac {1+x^3}{-x+x^3} \, dx &=\int \frac {1+x^3}{x \left (-1+x^2\right )} \, dx\\ &=\int \left (1+\frac {1}{-1+x}-\frac {1}{x}\right ) \, dx\\ &=x+\log (1-x)-\log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 12, normalized size = 1.00 \[ x+\log (1-x)-\log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 10, normalized size = 0.83 \[ x + \log \left (x - 1\right ) - \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.37, size = 12, normalized size = 1.00 \[ x + \log \left ({\left | x - 1 \right |}\right ) - \log \left ({\left | x \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 11, normalized size = 0.92 \[ x -\ln \relax (x )+\ln \left (x -1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.01, size = 10, normalized size = 0.83 \[ x + \log \left (x - 1\right ) - \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.14, size = 10, normalized size = 0.83 \[ x-2\,\mathrm {atanh}\left (2\,x-1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 8, normalized size = 0.67 \[ x - \log {\relax (x )} + \log {\left (x - 1 \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________