Optimal. Leaf size=20 \[ \log \left (-22+x-\left (\frac {1}{x}+x\right )^2+\left (x+x^2\right )^2\right ) \]
[Out]
________________________________________________________________________________________
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 = {2099, 1601}
\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 1601
Rule 2099
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]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 25, normalized size = 1.25
method | result | size |
default | \(\ln \left (x^{6}+2 x^{5}+x^{3}-24 x^{2}-1\right )-2 \ln \left (x \right )\) | \(25\) |
norman | \(\ln \left (x^{6}+2 x^{5}+x^{3}-24 x^{2}-1\right )-2 \ln \left (x \right )\) | \(25\) |
risch | \(\ln \left (x^{6}+2 x^{5}+x^{3}-24 x^{2}-1\right )-2 \ln \left (x \right )\) | \(25\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 24, normalized size = 1.20 \begin {gather*} \log \left (x^{6} + 2 \, x^{5} + x^{3} - 24 \, x^{2} - 1\right ) - 2 \, \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [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 \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 24, normalized size = 1.20 \begin {gather*} - 2 \log {\left (x \right )} + \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]
________________________________________________________________________________________
Giac [A]
time = 0.39, 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]
________________________________________________________________________________________
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 \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________