Optimal. Leaf size=20 \[ \log \left (-22+x-\left (\frac {1}{x}+x\right )^2+\left (x+x^2\right )^2\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 28, normalized size of antiderivative = 1.40, number of steps used = 3, number of rules used = 2, integrand size = 38, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {2074, 1587} \begin {gather*} \log \left (-x^6-2 x^5-x^3+24 x^2+1\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 (-48+3 x+10 x^3+6 x^4\right )}{-1-24 x^2+x^3+2 x^5+x^6}\right ) \, dx\\ &=-2 \log (x)+\int \frac {x \left (-48+3 x+10 x^3+6 x^4\right )}{-1-24 x^2+x^3+2 x^5+x^6} \, dx\\ &=-2 \log (x)+\log \left (1+24 x^2-x^3-2 x^5-x^6\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 28, normalized size = 1.40 \begin {gather*} -2 \log (x)+\log \left (1+24 x^2-x^3-2 x^5-x^6\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.72, size = 24, normalized size = 1.20 \begin {gather*} \log \left (x^{6} + 2 \, x^{5} + x^{3} - 24 \, x^{2} - 1\right ) - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 26, normalized size = 1.30 \begin {gather*} \log \left ({\left | x^{6} + 2 \, x^{5} + x^{3} - 24 \, x^{2} - 1 \right |}\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.03, size = 25, normalized size = 1.25
method | result | size |
default | \(-2 \ln \relax (x )+\ln \left (x^{6}+2 x^{5}+x^{3}-24 x^{2}-1\right )\) | \(25\) |
norman | \(-2 \ln \relax (x )+\ln \left (x^{6}+2 x^{5}+x^{3}-24 x^{2}-1\right )\) | \(25\) |
risch | \(-2 \ln \relax (x )+\ln \left (x^{6}+2 x^{5}+x^{3}-24 x^{2}-1\right )\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 24, normalized size = 1.20 \begin {gather*} \log \left (x^{6} + 2 \, x^{5} + x^{3} - 24 \, x^{2} - 1\right ) - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.10, size = 24, normalized size = 1.20 \begin {gather*} \ln \left (x^6+2\,x^5+x^3-24\,x^2-1\right )-2\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 24, normalized size = 1.20 \begin {gather*} - 2 \log {\relax (x )} + \log {\left (x^{6} + 2 x^{5} + x^{3} - 24 x^{2} - 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________