Optimal. Leaf size=23 \[ -\frac {3}{(1+2 x)^2}+\frac {3}{1+2 x}+\log (1+x) \]
[Out]
________________________________________________________________________________________
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 = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {1634}
\begin {gather*} \frac {3}{2 x+1}-\frac {3}{(2 x+1)^2}+\log (x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1634
Rubi steps
\begin {align*} \int \frac {7+8 x^3}{(1+x) (1+2 x)^3} \, dx &=\int \left (\frac {1}{1+x}+\frac {12}{(1+2 x)^3}-\frac {6}{(1+2 x)^2}\right ) \, dx\\ &=-\frac {3}{(1+2 x)^2}+\frac {3}{1+2 x}+\log (1+x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 24, normalized size = 1.04 \begin {gather*} \frac {6 x+(1+2 x)^2 \log (1+x)}{(1+2 x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.08, size = 24, normalized size = 1.04
method | result | size |
norman | \(\frac {6 x}{\left (1+2 x \right )^{2}}+\ln \left (1+x \right )\) | \(16\) |
risch | \(\frac {6 x}{\left (1+2 x \right )^{2}}+\ln \left (1+x \right )\) | \(16\) |
default | \(-\frac {3}{\left (1+2 x \right )^{2}}+\frac {3}{1+2 x}+\ln \left (1+x \right )\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.90, size = 20, normalized size = 0.87 \begin {gather*} \frac {6 \, x}{4 \, x^{2} + 4 \, x + 1} + \log \left (x + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.76, size = 32, normalized size = 1.39 \begin {gather*} \frac {{\left (4 \, x^{2} + 4 \, x + 1\right )} \log \left (x + 1\right ) + 6 \, x}{4 \, x^{2} + 4 \, x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.03, size = 17, normalized size = 0.74 \begin {gather*} \frac {6 x}{4 x^{2} + 4 x + 1} + \log {\left (x + 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 16, normalized size = 0.70 \begin {gather*} \frac {6 \, x}{{\left (2 \, x + 1\right )}^{2}} + \log \left ({\left | x + 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 15, normalized size = 0.65 \begin {gather*} \ln \left (x+1\right )+\frac {6\,x}{{\left (2\,x+1\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________