Optimal. Leaf size=21 \[ -8+\log \left (e^{-x} \left (3-\frac {16}{x^2}-x^4\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.16, antiderivative size = 19, normalized size of antiderivative = 0.90, number of steps used = 4, number of rules used = 3, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.086, Rules used = {1594, 6742, 1587} \begin {gather*} \log \left (x^6-3 x^2+16\right )-x-2 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1587
Rule 1594
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-32-16 x+3 x^3+4 x^6-x^7}{x \left (16-3 x^2+x^6\right )} \, dx\\ &=\int \left (-1-\frac {2}{x}+\frac {6 x \left (-1+x^4\right )}{16-3 x^2+x^6}\right ) \, dx\\ &=-x-2 \log (x)+6 \int \frac {x \left (-1+x^4\right )}{16-3 x^2+x^6} \, dx\\ &=-x-2 \log (x)+\log \left (16-3 x^2+x^6\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 19, normalized size = 0.90 \begin {gather*} -x-2 \log (x)+\log \left (16-3 x^2+x^6\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.27, size = 19, normalized size = 0.90 \begin {gather*} -x + \log \left (x^{6} - 3 \, x^{2} + 16\right ) - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 20, normalized size = 0.95 \begin {gather*} -x + \log \left (x^{6} - 3 \, x^{2} + 16\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 = 20, normalized size = 0.95
method | result | size |
default | \(-x -2 \ln \relax (x )+\ln \left (x^{6}-3 x^{2}+16\right )\) | \(20\) |
norman | \(-x -2 \ln \relax (x )+\ln \left (x^{6}-3 x^{2}+16\right )\) | \(20\) |
risch | \(-x -2 \ln \relax (x )+\ln \left (x^{6}-3 x^{2}+16\right )\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 19, normalized size = 0.90 \begin {gather*} -x + \log \left (x^{6} - 3 \, x^{2} + 16\right ) - 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.57, size = 19, normalized size = 0.90 \begin {gather*} \ln \left (x^6-3\,x^2+16\right )-x-2\,\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 17, normalized size = 0.81 \begin {gather*} - x - 2 \log {\relax (x )} + \log {\left (x^{6} - 3 x^{2} + 16 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________