Optimal. Leaf size=29 \[ -i \pi +\left (2+\frac {2}{x}-x+x^3\right )^2-\log (3-e) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 32, normalized size of antiderivative = 1.10, number of steps used = 2, number of rules used = 1, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.029, Rules used = {14} \begin {gather*} x^6-2 x^4+4 x^3+5 x^2+\frac {4}{x^2}-4 x+\frac {8}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-4-\frac {8}{x^3}-\frac {8}{x^2}+10 x+12 x^2-8 x^3+6 x^5\right ) \, dx\\ &=\frac {4}{x^2}+\frac {8}{x}-4 x+5 x^2+4 x^3-2 x^4+x^6\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 32, normalized size = 1.10 \begin {gather*} \frac {4}{x^2}+\frac {8}{x}-4 x+5 x^2+4 x^3-2 x^4+x^6 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 32, normalized size = 1.10 \begin {gather*} \frac {x^{8} - 2 \, x^{6} + 4 \, x^{5} + 5 \, x^{4} - 4 \, x^{3} + 8 \, x + 4}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 32, normalized size = 1.10 \begin {gather*} x^{6} - 2 \, x^{4} + 4 \, x^{3} + 5 \, x^{2} - 4 \, x + \frac {4 \, {\left (2 \, x + 1\right )}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 31, normalized size = 1.07
method | result | size |
gosper | \(\frac {\left (x^{6}+2 x^{5}+5 x^{2}+6 x +2\right ) \left (x^{2}-2 x +2\right )}{x^{2}}\) | \(31\) |
risch | \(x^{6}-2 x^{4}+4 x^{3}+5 x^{2}-4 x +\frac {8 x +4}{x^{2}}\) | \(32\) |
default | \(x^{6}-2 x^{4}+4 x^{3}+5 x^{2}-4 x +\frac {4}{x^{2}}+\frac {8}{x}\) | \(33\) |
norman | \(\frac {x^{8}-2 x^{6}+4 x^{5}+5 x^{4}-4 x^{3}+8 x +4}{x^{2}}\) | \(33\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 32, normalized size = 1.10 \begin {gather*} x^{6} - 2 \, x^{4} + 4 \, x^{3} + 5 \, x^{2} - 4 \, x + \frac {4 \, {\left (2 \, x + 1\right )}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 31, normalized size = 1.07 \begin {gather*} \frac {8\,x+4}{x^2}-4\,x+5\,x^2+4\,x^3-2\,x^4+x^6 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.07, size = 29, normalized size = 1.00 \begin {gather*} x^{6} - 2 x^{4} + 4 x^{3} + 5 x^{2} - 4 x + \frac {8 x + 4}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________