Optimal. Leaf size=34 \[ 1+\frac {1}{4} \log \left (x+x^2+\frac {\left (\frac {2+\frac {5}{x^2}-x}{x}+x\right )^2}{x^2}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.43, antiderivative size = 51, normalized size of antiderivative = 1.50, number of steps used = 3, number of rules used = 2, integrand size = 92, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.022, Rules used = {2074, 1587} \begin {gather*} \frac {1}{4} \log \left (x^{10}+x^9+x^8-2 x^7+5 x^6-4 x^5+14 x^4-10 x^3+20 x^2+25\right )-2 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1587
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {2}{x}+\frac {x \left (40-30 x+56 x^2-20 x^3+30 x^4-14 x^5+8 x^6+9 x^7+10 x^8\right )}{4 \left (25+20 x^2-10 x^3+14 x^4-4 x^5+5 x^6-2 x^7+x^8+x^9+x^{10}\right )}\right ) \, dx\\ &=-2 \log (x)+\frac {1}{4} \int \frac {x \left (40-30 x+56 x^2-20 x^3+30 x^4-14 x^5+8 x^6+9 x^7+10 x^8\right )}{25+20 x^2-10 x^3+14 x^4-4 x^5+5 x^6-2 x^7+x^8+x^9+x^{10}} \, dx\\ &=-2 \log (x)+\frac {1}{4} \log \left (25+20 x^2-10 x^3+14 x^4-4 x^5+5 x^6-2 x^7+x^8+x^9+x^{10}\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 51, normalized size = 1.50 \begin {gather*} \frac {1}{4} \left (-8 \log (x)+\log \left (25+20 x^2-10 x^3+14 x^4-4 x^5+5 x^6-2 x^7+x^8+x^9+x^{10}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.96, size = 49, normalized size = 1.44 \begin {gather*} \frac {1}{4} \, \log \left (x^{10} + x^{9} + x^{8} - 2 \, x^{7} + 5 \, x^{6} - 4 \, x^{5} + 14 \, x^{4} - 10 \, x^{3} + 20 \, x^{2} + 25\right ) - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.26, size = 50, normalized size = 1.47 \begin {gather*} \frac {1}{4} \, \log \left (x^{10} + x^{9} + x^{8} - 2 \, x^{7} + 5 \, x^{6} - 4 \, x^{5} + 14 \, x^{4} - 10 \, x^{3} + 20 \, x^{2} + 25\right ) - 2 \, \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 50, normalized size = 1.47
method | result | size |
default | \(-2 \ln \relax (x )+\frac {\ln \left (x^{10}+x^{9}+x^{8}-2 x^{7}+5 x^{6}-4 x^{5}+14 x^{4}-10 x^{3}+20 x^{2}+25\right )}{4}\) | \(50\) |
norman | \(-2 \ln \relax (x )+\frac {\ln \left (x^{10}+x^{9}+x^{8}-2 x^{7}+5 x^{6}-4 x^{5}+14 x^{4}-10 x^{3}+20 x^{2}+25\right )}{4}\) | \(50\) |
risch | \(-2 \ln \relax (x )+\frac {\ln \left (x^{10}+x^{9}+x^{8}-2 x^{7}+5 x^{6}-4 x^{5}+14 x^{4}-10 x^{3}+20 x^{2}+25\right )}{4}\) | \(50\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 49, normalized size = 1.44 \begin {gather*} \frac {1}{4} \, \log \left (x^{10} + x^{9} + x^{8} - 2 \, x^{7} + 5 \, x^{6} - 4 \, x^{5} + 14 \, x^{4} - 10 \, x^{3} + 20 \, x^{2} + 25\right ) - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.14, size = 49, normalized size = 1.44 \begin {gather*} \frac {\ln \left (x^{10}+x^9+x^8-2\,x^7+5\,x^6-4\,x^5+14\,x^4-10\,x^3+20\,x^2+25\right )}{4}-2\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.18, size = 49, normalized size = 1.44 \begin {gather*} - 2 \log {\relax (x )} + \frac {\log {\left (x^{10} + x^{9} + x^{8} - 2 x^{7} + 5 x^{6} - 4 x^{5} + 14 x^{4} - 10 x^{3} + 20 x^{2} + 25 \right )}}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________