Optimal. Leaf size=18 \[ \frac {x}{\left (x+\frac {1}{x+\log \left (e^{2+4 x}\right )}\right )^2} \]
________________________________________________________________________________________
Rubi [B] time = 0.13, antiderivative size = 62, normalized size of antiderivative = 3.44, number of steps used = 11, number of rules used = 5, integrand size = 53, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.094, Rules used = {2074, 638, 614, 618, 204} \begin {gather*} -\frac {15 (5 x+1)}{8 \left (5 x^2+2 x+1\right )}+\frac {115 x+31}{8 \left (5 x^2+2 x+1\right )}-\frac {5 x+2}{\left (5 x^2+2 x+1\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 204
Rule 614
Rule 618
Rule 638
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {4 (-3+5 x)}{\left (1+2 x+5 x^2\right )^3}+\frac {21-10 x}{\left (1+2 x+5 x^2\right )^2}-\frac {5}{1+2 x+5 x^2}\right ) \, dx\\ &=4 \int \frac {-3+5 x}{\left (1+2 x+5 x^2\right )^3} \, dx-5 \int \frac {1}{1+2 x+5 x^2} \, dx+\int \frac {21-10 x}{\left (1+2 x+5 x^2\right )^2} \, dx\\ &=-\frac {2+5 x}{\left (1+2 x+5 x^2\right )^2}+\frac {31+115 x}{8 \left (1+2 x+5 x^2\right )}+10 \operatorname {Subst}\left (\int \frac {1}{-16-x^2} \, dx,x,2+10 x\right )+\frac {115}{8} \int \frac {1}{1+2 x+5 x^2} \, dx-15 \int \frac {1}{\left (1+2 x+5 x^2\right )^2} \, dx\\ &=-\frac {2+5 x}{\left (1+2 x+5 x^2\right )^2}-\frac {15 (1+5 x)}{8 \left (1+2 x+5 x^2\right )}+\frac {31+115 x}{8 \left (1+2 x+5 x^2\right )}-\frac {5}{2} \tan ^{-1}\left (\frac {1}{2} (1+5 x)\right )-\frac {75}{8} \int \frac {1}{1+2 x+5 x^2} \, dx-\frac {115}{4} \operatorname {Subst}\left (\int \frac {1}{-16-x^2} \, dx,x,2+10 x\right )\\ &=-\frac {2+5 x}{\left (1+2 x+5 x^2\right )^2}-\frac {15 (1+5 x)}{8 \left (1+2 x+5 x^2\right )}+\frac {31+115 x}{8 \left (1+2 x+5 x^2\right )}+\frac {75}{16} \tan ^{-1}\left (\frac {1}{2} (1+5 x)\right )+\frac {75}{4} \operatorname {Subst}\left (\int \frac {1}{-16-x^2} \, dx,x,2+10 x\right )\\ &=-\frac {2+5 x}{\left (1+2 x+5 x^2\right )^2}-\frac {15 (1+5 x)}{8 \left (1+2 x+5 x^2\right )}+\frac {31+115 x}{8 \left (1+2 x+5 x^2\right )}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 21, normalized size = 1.17 \begin {gather*} \frac {x (2+5 x)^2}{\left (1+2 x+5 x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.78, size = 37, normalized size = 2.06 \begin {gather*} \frac {25 \, x^{3} + 20 \, x^{2} + 4 \, x}{25 \, x^{4} + 20 \, x^{3} + 14 \, x^{2} + 4 \, x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 27, normalized size = 1.50 \begin {gather*} \frac {25 \, x^{3} + 20 \, x^{2} + 4 \, x}{{\left (5 \, x^{2} + 2 \, x + 1\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 28, normalized size = 1.56
method | result | size |
norman | \(\frac {25 x^{3}+20 x^{2}+4 x}{\left (5 x^{2}+2 x +1\right )^{2}}\) | \(28\) |
default | \(-\frac {25 \left (-x^{3}-\frac {4}{5} x^{2}-\frac {4}{25} x \right )}{\left (5 x^{2}+2 x +1\right )^{2}}\) | \(29\) |
gosper | \(\frac {x \left (5 x +2\right )^{2}}{25 x^{4}+20 x^{3}+14 x^{2}+4 x +1}\) | \(32\) |
risch | \(\frac {x^{3}+\frac {4}{5} x^{2}+\frac {4}{25} x}{x^{4}+\frac {4}{5} x^{3}+\frac {14}{25} x^{2}+\frac {4}{25} x +\frac {1}{25}}\) | \(34\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.36, size = 37, normalized size = 2.06 \begin {gather*} \frac {25 \, x^{3} + 20 \, x^{2} + 4 \, x}{25 \, x^{4} + 20 \, x^{3} + 14 \, x^{2} + 4 \, x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.71, size = 21, normalized size = 1.17 \begin {gather*} \frac {x\,{\left (5\,x+2\right )}^2}{{\left (5\,x^2+2\,x+1\right )}^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.12, size = 36, normalized size = 2.00 \begin {gather*} - \frac {- 25 x^{3} - 20 x^{2} - 4 x}{25 x^{4} + 20 x^{3} + 14 x^{2} + 4 x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________