Optimal. Leaf size=14 \[ 2 \log \left (x^2+1\right )+x-\tan ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.353, Rules used = {1593, 1584, 774, 635, 203, 260} \[ 2 \log \left (x^2+1\right )+x-\tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 260
Rule 635
Rule 774
Rule 1584
Rule 1593
Rubi steps
\begin {align*} \int \frac {4 x^2+x^3}{x+x^3} \, dx &=\int \frac {4 x^2+x^3}{x \left (1+x^2\right )} \, dx\\ &=\int \frac {x (4+x)}{1+x^2} \, dx\\ &=x+\int \frac {-1+4 x}{1+x^2} \, dx\\ &=x+4 \int \frac {x}{1+x^2} \, dx-\int \frac {1}{1+x^2} \, dx\\ &=x-\tan ^{-1}(x)+2 \log \left (1+x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 14, normalized size = 1.00 \[ 2 \log \left (x^2+1\right )+x-\tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 14, normalized size = 1.00 \[ x - \arctan \relax (x) + 2 \, \log \left (x^{2} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 14, normalized size = 1.00 \[ x - \arctan \relax (x) + 2 \, \log \left (x^{2} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 15, normalized size = 1.07 \[ x -\arctan \relax (x )+2 \ln \left (x^{2}+1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.56, size = 14, normalized size = 1.00 \[ x - \arctan \relax (x) + 2 \, \log \left (x^{2} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.22, size = 14, normalized size = 1.00 \[ x+2\,\ln \left (x^2+1\right )-\mathrm {atan}\relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 12, normalized size = 0.86 \[ x + 2 \log {\left (x^{2} + 1 \right )} - \operatorname {atan}{\relax (x )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________