Optimal. Leaf size=16 \[ x \log \left (x^3+x\right )-3 x+2 \tan ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0071385, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 6, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {2523, 388, 203} \[ x \log \left (x^3+x\right )-3 x+2 \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2523
Rule 388
Rule 203
Rubi steps
\begin{align*} \int \log \left (x+x^3\right ) \, dx &=x \log \left (x+x^3\right )-\int \frac{1+3 x^2}{1+x^2} \, dx\\ &=-3 x+x \log \left (x+x^3\right )+2 \int \frac{1}{1+x^2} \, dx\\ &=-3 x+2 \tan ^{-1}(x)+x \log \left (x+x^3\right )\\ \end{align*}
Mathematica [A] time = 0.0023855, size = 16, normalized size = 1. \[ x \log \left (x^3+x\right )-3 x+2 \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 17, normalized size = 1.1 \begin{align*} -3\,x+2\,\arctan \left ( x \right ) +x\ln \left ({x}^{3}+x \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.49775, size = 22, normalized size = 1.38 \begin{align*} x \log \left (x^{3} + x\right ) - 3 \, x + 2 \, \arctan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.80446, size = 49, normalized size = 3.06 \begin{align*} x \log \left (x^{3} + x\right ) - 3 \, x + 2 \, \arctan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.133257, size = 15, normalized size = 0.94 \begin{align*} x \log{\left (x^{3} + x \right )} - 3 x + 2 \operatorname{atan}{\left (x \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.23416, size = 22, normalized size = 1.38 \begin{align*} x \log \left (x^{3} + x\right ) - 3 \, x + 2 \, \arctan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]