Optimal. Leaf size=14 \[ \frac{1}{3 (x+1)^3}+\log (x+1) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0502709, antiderivative size = 14, normalized size of antiderivative = 1., 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} \[ \frac{1}{3 (x+1)^3}+\log (x+1) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1594
Rule 1680
Rule 14
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.0067934, size = 14, normalized size = 1. \[ \frac{1}{3 (x+1)^3}+\log (x+1) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 13, normalized size = 0.9 \begin{align*}{\frac{1}{3\, \left ( 1+x \right ) ^{3}}}+\ln \left ( 1+x \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.04856, size = 30, normalized size = 2.14 \begin{align*} \frac{1}{3 \,{\left (x^{3} + 3 \, x^{2} + 3 \, x + 1\right )}} + \log \left (x + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.49361, size = 97, normalized size = 6.93 \begin{align*} \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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.092009, size = 20, normalized size = 1.43 \begin{align*} \log{\left (x + 1 \right )} + \frac{1}{3 x^{3} + 9 x^{2} + 9 x + 3} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16372, size = 18, normalized size = 1.29 \begin{align*} \frac{1}{3 \,{\left (x + 1\right )}^{3}} + \log \left ({\left | x + 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]