Optimal. Leaf size=23 \[ \frac {3}{x+1}-\frac {5}{3 (x+1)^3}+2 \log (x+1) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {1850} \begin {gather*} \frac {3}{x+1}-\frac {5}{3 (x+1)^3}+2 \log (x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1850
Rubi steps
\begin {align*} \int \frac {4+3 x^2+2 x^3}{(1+x)^4} \, dx &=\int \left (\frac {5}{(1+x)^4}-\frac {3}{(1+x)^2}+\frac {2}{1+x}\right ) \, dx\\ &=-\frac {5}{3 (1+x)^3}+\frac {3}{1+x}+2 \log (1+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 23, normalized size = 1.00 \begin {gather*} \frac {3}{x+1}-\frac {5}{3 (x+1)^3}+2 \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 {4+3 x^2+2 x^3}{(1+x)^4} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.14, size = 46, normalized size = 2.00 \begin {gather*} \frac {9 \, x^{2} + 6 \, {\left (x^{3} + 3 \, x^{2} + 3 \, x + 1\right )} \log \left (x + 1\right ) + 18 \, x + 4}{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.37, size = 25, normalized size = 1.09 \begin {gather*} \frac {9 \, x^{2} + 18 \, x + 4}{3 \, {\left (x + 1\right )}^{3}} + 2 \, \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 = 22, normalized size = 0.96 \begin {gather*} 2 \ln \left (x +1\right )-\frac {5}{3 \left (x +1\right )^{3}}+\frac {3}{x +1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.74, size = 34, normalized size = 1.48 \begin {gather*} \frac {9 \, x^{2} + 18 \, x + 4}{3 \, {\left (x^{3} + 3 \, x^{2} + 3 \, x + 1\right )}} + 2 \, \log \left (x + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 23, normalized size = 1.00 \begin {gather*} 2\,\ln \left (x+1\right )+\frac {3\,x^2+6\,x+\frac {4}{3}}{{\left (x+1\right )}^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 31, normalized size = 1.35 \begin {gather*} \frac {9 x^{2} + 18 x + 4}{3 x^{3} + 9 x^{2} + 9 x + 3} + 2 \log {\left (x + 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________