Optimal. Leaf size=14 \[ \frac {1}{3 (x+1)^3}+\log (x+1) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {1594, 1680, 14} \begin {gather*} \frac {1}{3 (x+1)^3}+\log (x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 1594
Rule 1680
Rubi steps
\begin {align*} \int \frac {3 x+3 x^2+x^3}{1+4 x+6 x^2+4 x^3+x^4} \, dx &=\int \frac {x \left (3+3 x+x^2\right )}{1+4 x+6 x^2+4 x^3+x^4} \, dx\\ &=\operatorname {Subst}\left (\int \frac {-1+x^3}{x^4} \, dx,x,1+x\right )\\ &=\operatorname {Subst}\left (\int \left (-\frac {1}{x^4}+\frac {1}{x}\right ) \, dx,x,1+x\right )\\ &=\frac {1}{3 (1+x)^3}+\log (1+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 14, normalized size = 1.00 \begin {gather*} \frac {1}{3 (x+1)^3}+\log (x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {3 x+3 x^2+x^3}{1+4 x+6 x^2+4 x^3+x^4} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.17, size = 38, normalized size = 2.71 \begin {gather*} \frac {3 \, {\left (x^{3} + 3 \, x^{2} + 3 \, x + 1\right )} \log \left (x + 1\right ) + 1}{3 \, {\left (x^{3} + 3 \, x^{2} + 3 \, x + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.29, size = 13, normalized size = 0.93 \begin {gather*} \frac {1}{3 \, {\left (x + 1\right )}^{3}} + \log \left ({\left | x + 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 13, normalized size = 0.93 \begin {gather*} \ln \left (x +1\right )+\frac {1}{3 \left (x +1\right )^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 22, normalized size = 1.57 \begin {gather*} \frac {1}{3 \, {\left (x^{3} + 3 \, x^{2} + 3 \, x + 1\right )}} + \log \left (x + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 12, normalized size = 0.86 \begin {gather*} \ln \left (x+1\right )+\frac {1}{3\,{\left (x+1\right )}^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 20, normalized size = 1.43 \begin {gather*} \log {\left (x + 1 \right )} + \frac {1}{3 x^{3} + 9 x^{2} + 9 x + 3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________