Optimal. Leaf size=34 \[ -\frac {1}{4}-x+\log \left (5-x^4+\frac {-\frac {3}{1-x}+2 x}{7+x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.26, antiderivative size = 42, normalized size of antiderivative = 1.24, number of steps used = 3, number of rules used = 2, integrand size = 81, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.025, Rules used = {2074, 1587} \begin {gather*} \log \left (x^6+6 x^5-7 x^4-7 x^2-28 x+32\right )-x-\log (1-x)-\log (x+7) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1587
Rule 2074
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-1+\frac {1}{-7-x}+\frac {1}{1-x}+\frac {2 \left (-14-7 x-14 x^3+15 x^4+3 x^5\right )}{32-28 x-7 x^2-7 x^4+6 x^5+x^6}\right ) \, dx\\ &=-x-\log (1-x)-\log (7+x)+2 \int \frac {-14-7 x-14 x^3+15 x^4+3 x^5}{32-28 x-7 x^2-7 x^4+6 x^5+x^6} \, dx\\ &=-x-\log (1-x)-\log (7+x)+\log \left (32-28 x-7 x^2-7 x^4+6 x^5+x^6\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 41, normalized size = 1.21 \begin {gather*} -x-\log \left (7-6 x-x^2\right )+\log \left (32-28 x-7 x^2-7 x^4+6 x^5+x^6\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.86, size = 39, normalized size = 1.15 \begin {gather*} -x + \log \left (x^{6} + 6 \, x^{5} - 7 \, x^{4} - 7 \, x^{2} - 28 \, x + 32\right ) - \log \left (x^{2} + 6 \, x - 7\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 43, normalized size = 1.26 \begin {gather*} -x + \log \left ({\left | x^{6} + 6 \, x^{5} - 7 \, x^{4} - 7 \, x^{2} - 28 \, x + 32 \right |}\right ) - \log \left ({\left | x + 7 \right |}\right ) - \log \left ({\left | x - 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 40, normalized size = 1.18
method | result | size |
risch | \(-x -\ln \left (x^{2}+6 x -7\right )+\ln \left (x^{6}+6 x^{5}-7 x^{4}-7 x^{2}-28 x +32\right )\) | \(40\) |
default | \(-x +\ln \left (x^{6}+6 x^{5}-7 x^{4}-7 x^{2}-28 x +32\right )-\ln \left (x +7\right )-\ln \left (x -1\right )\) | \(41\) |
norman | \(-x +\ln \left (x^{6}+6 x^{5}-7 x^{4}-7 x^{2}-28 x +32\right )-\ln \left (x +7\right )-\ln \left (x -1\right )\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.43, size = 40, normalized size = 1.18 \begin {gather*} -x + \log \left (x^{6} + 6 \, x^{5} - 7 \, x^{4} - 7 \, x^{2} - 28 \, x + 32\right ) - \log \left (x + 7\right ) - \log \left (x - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.17, size = 39, normalized size = 1.15 \begin {gather*} \ln \left (x^6+6\,x^5-7\,x^4-7\,x^2-28\,x+32\right )-x-\ln \left (x^2+6\,x-7\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.16, size = 36, normalized size = 1.06 \begin {gather*} - x - \log {\left (x^{2} + 6 x - 7 \right )} + \log {\left (x^{6} + 6 x^{5} - 7 x^{4} - 7 x^{2} - 28 x + 32 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________