Optimal. Leaf size=10 \[ -\frac {2}{x (x+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 10, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {1594, 27, 74} \[ -\frac {2}{x (x+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 74
Rule 1594
Rubi steps
\begin {align*} \int \frac {2+4 x}{x^2+2 x^3+x^4} \, dx &=\int \frac {2+4 x}{x^2 \left (1+2 x+x^2\right )} \, dx\\ &=\int \frac {2+4 x}{x^2 (1+x)^2} \, dx\\ &=-\frac {2}{x (1+x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 9, normalized size = 0.90 \[ -\frac {2}{x^2+x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.70, size = 9, normalized size = 0.90 \[ -\frac {2}{x^{2} + x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.26, size = 9, normalized size = 0.90 \[ -\frac {2}{x^{2} + x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 14, normalized size = 1.40 \[ -\frac {2}{x}+\frac {2}{x +1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.78, size = 9, normalized size = 0.90 \[ -\frac {2}{x^{2} + x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.20, size = 10, normalized size = 1.00 \[ -\frac {2}{x\,\left (x+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 7, normalized size = 0.70 \[ - \frac {2}{x^{2} + x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________