Optimal. Leaf size=25 \[ \frac {1}{4} \left (-\frac {4 (-4+x)^2 x}{1+5 x+x^2}+\log (5)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 24, normalized size of antiderivative = 0.96, number of steps used = 4, number of rules used = 4, integrand size = 41, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.098, Rules used = {1680, 1814, 21, 8} \begin {gather*} -\frac {4 (-80 x-13)}{21-4 \left (x+\frac {5}{2}\right )^2}-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 21
Rule 1680
Rule 1814
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\operatorname {Subst}\left (\int \frac {6279-5984 x+1448 x^2-16 x^4}{\left (21-4 x^2\right )^2} \, dx,x,\frac {5}{2}+x\right )\\ &=-\frac {4 (-13-80 x)}{21-4 \left (\frac {5}{2}+x\right )^2}-\frac {1}{42} \operatorname {Subst}\left (\int \frac {882-168 x^2}{21-4 x^2} \, dx,x,\frac {5}{2}+x\right )\\ &=-\frac {4 (-13-80 x)}{21-4 \left (\frac {5}{2}+x\right )^2}-\operatorname {Subst}\left (\int 1 \, dx,x,\frac {5}{2}+x\right )\\ &=-x-\frac {4 (-13-80 x)}{21-4 \left (\frac {5}{2}+x\right )^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 21, normalized size = 0.84 \begin {gather*} -x-\frac {13+80 x}{1+5 x+x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.87, size = 25, normalized size = 1.00 \begin {gather*} -\frac {x^{3} + 5 \, x^{2} + 81 \, x + 13}{x^{2} + 5 \, x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 21, normalized size = 0.84 \begin {gather*} -x - \frac {80 \, x + 13}{x^{2} + 5 \, x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 21, normalized size = 0.84
method | result | size |
gosper | \(-\frac {x^{3}+56 x +8}{x^{2}+5 x +1}\) | \(21\) |
default | \(-x +\frac {-80 x -13}{x^{2}+5 x +1}\) | \(21\) |
risch | \(-x +\frac {-80 x -13}{x^{2}+5 x +1}\) | \(21\) |
norman | \(\frac {-x^{3}-56 x -8}{x^{2}+5 x +1}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 21, normalized size = 0.84 \begin {gather*} -x - \frac {80 \, x + 13}{x^{2} + 5 \, x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.24, size = 21, normalized size = 0.84 \begin {gather*} -x-\frac {80\,x+13}{x^2+5\,x+1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 15, normalized size = 0.60 \begin {gather*} - x - \frac {80 x + 13}{x^{2} + 5 x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________