Optimal. Leaf size=21 \[ 11+2 x+x^2+\frac {5}{\left (4-x^2+\log (5)\right )^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.16, antiderivative size = 20, normalized size of antiderivative = 0.95, number of steps used = 3, number of rules used = 2, integrand size = 144, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.014, Rules used = {2073, 261} \begin {gather*} x^2+\frac {5}{\left (-x^2+4+\log (5)\right )^2}+2 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 261
Rule 2073
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (2+2 x-\frac {20 x}{\left (-4+x^2-\log (5)\right )^3}\right ) \, dx\\ &=2 x+x^2-20 \int \frac {x}{\left (-4+x^2-\log (5)\right )^3} \, dx\\ &=2 x+x^2+\frac {5}{\left (4-x^2+\log (5)\right )^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 26, normalized size = 1.24 \begin {gather*} 2 \left (x+\frac {x^2}{2}+\frac {5}{2 \left (-4+x^2-\log (5)\right )^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.76, size = 87, normalized size = 4.14 \begin {gather*} \frac {x^{6} + 2 \, x^{5} - 8 \, x^{4} - 16 \, x^{3} + {\left (x^{2} + 2 \, x\right )} \log \relax (5)^{2} + 16 \, x^{2} - 2 \, {\left (x^{4} + 2 \, x^{3} - 4 \, x^{2} - 8 \, x\right )} \log \relax (5) + 32 \, x + 5}{x^{4} - 8 \, x^{2} - 2 \, {\left (x^{2} - 4\right )} \log \relax (5) + \log \relax (5)^{2} + 16} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 20, normalized size = 0.95 \begin {gather*} x^{2} + 2 \, x + \frac {5}{{\left (x^{2} - \log \relax (5) - 4\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 35, normalized size = 1.67
method | result | size |
default | \(x^{2}+2 x +\frac {-20 \ln \relax (5)-80}{\left (-4 \ln \relax (5)-16\right ) \left (-\ln \relax (5)-4+x^{2}\right )^{2}}\) | \(35\) |
risch | \(x^{2}+2 x +\frac {5}{x^{4}-2 x^{2} \ln \relax (5)+\ln \relax (5)^{2}-8 x^{2}+8 \ln \relax (5)+16}\) | \(37\) |
norman | \(\frac {x^{6}+\left (-4 \ln \relax (5)-16\right ) x^{3}+\left (2 \ln \relax (5)^{2}+16 \ln \relax (5)+32\right ) x +\left (-3 \ln \relax (5)^{2}-24 \ln \relax (5)-48\right ) x^{2}+2 x^{5}+2 \ln \relax (5)^{3}+24 \ln \relax (5)^{2}+96 \ln \relax (5)+133}{\left (\ln \relax (5)+4-x^{2}\right )^{2}}\) | \(79\) |
gosper | \(\frac {x^{6}+2 x^{5}-3 x^{2} \ln \relax (5)^{2}-4 x^{3} \ln \relax (5)+2 \ln \relax (5)^{3}+2 x \ln \relax (5)^{2}-24 x^{2} \ln \relax (5)-16 x^{3}+24 \ln \relax (5)^{2}+16 x \ln \relax (5)-48 x^{2}+96 \ln \relax (5)+32 x +133}{x^{4}-2 x^{2} \ln \relax (5)+\ln \relax (5)^{2}-8 x^{2}+8 \ln \relax (5)+16}\) | \(103\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 33, normalized size = 1.57 \begin {gather*} x^{2} + 2 \, x + \frac {5}{x^{4} - 2 \, x^{2} {\left (\log \relax (5) + 4\right )} + \log \relax (5)^{2} + 8 \, \log \relax (5) + 16} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.59, size = 108, normalized size = 5.14 \begin {gather*} 2\,x+x^2+\left (\sum _{k=1}^3\ln \left (-{\mathrm {root}\left (1,z,k\right )}^2\,\ln \relax (5)\,691200-\mathrm {root}\left (1,z,k\right )\,x^2\,48000-921600\,{\mathrm {root}\left (1,z,k\right )}^2-{\mathrm {root}\left (1,z,k\right )}^2\,{\ln \relax (5)}^2\,172800-{\mathrm {root}\left (1,z,k\right )}^2\,{\ln \relax (5)}^3\,14400+{\mathrm {root}\left (1,z,k\right )}^2\,x^2\,230400+{\mathrm {root}\left (1,z,k\right )}^2\,x^2\,\ln \relax (5)\,115200+{\mathrm {root}\left (1,z,k\right )}^2\,x^2\,{\ln \relax (5)}^2\,14400\right )\,\mathrm {root}\left (1,z,k\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.42, size = 34, normalized size = 1.62 \begin {gather*} x^{2} + 2 x + \frac {5}{x^{4} + x^{2} \left (-8 - 2 \log {\relax (5 )}\right ) + \log {\relax (5 )}^{2} + 8 \log {\relax (5 )} + 16} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________