Optimal. Leaf size=33 \[ 5 e^3-2 x+x^2-\frac {\left (3-4 \left (4-x+x^2\right )^2\right )^2}{x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 39, normalized size of antiderivative = 1.18, number of steps used = 2, number of rules used = 1, integrand size = 39, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.026, Rules used = {14} \begin {gather*} -16 x^6+64 x^5-352 x^4+832 x^3-2295 x^2-\frac {3721}{x^2}+3278 x+\frac {3904}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (3278+\frac {7442}{x^3}-\frac {3904}{x^2}-4590 x+2496 x^2-1408 x^3+320 x^4-96 x^5\right ) \, dx\\ &=-\frac {3721}{x^2}+\frac {3904}{x}+3278 x-2295 x^2+832 x^3-352 x^4+64 x^5-16 x^6\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 39, normalized size = 1.18 \begin {gather*} -\frac {3721}{x^2}+\frac {3904}{x}+3278 x-2295 x^2+832 x^3-352 x^4+64 x^5-16 x^6 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.03, size = 40, normalized size = 1.21 \begin {gather*} -\frac {16 \, x^{8} - 64 \, x^{7} + 352 \, x^{6} - 832 \, x^{5} + 2295 \, x^{4} - 3278 \, x^{3} - 3904 \, x + 3721}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.21, size = 39, normalized size = 1.18 \begin {gather*} -16 \, x^{6} + 64 \, x^{5} - 352 \, x^{4} + 832 \, x^{3} - 2295 \, x^{2} + 3278 \, x + \frac {61 \, {\left (64 \, x - 61\right )}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 39, normalized size = 1.18
method | result | size |
risch | \(-16 x^{6}+64 x^{5}-352 x^{4}+832 x^{3}-2295 x^{2}+3278 x +\frac {3904 x -3721}{x^{2}}\) | \(39\) |
default | \(-16 x^{6}+64 x^{5}-352 x^{4}+832 x^{3}-2295 x^{2}+3278 x +\frac {3904}{x}-\frac {3721}{x^{2}}\) | \(40\) |
norman | \(\frac {-16 x^{8}+64 x^{7}-352 x^{6}+832 x^{5}-2295 x^{4}+3278 x^{3}+3904 x -3721}{x^{2}}\) | \(40\) |
gosper | \(-\frac {16 x^{8}-64 x^{7}+352 x^{6}-832 x^{5}+2295 x^{4}-3278 x^{3}-3904 x +3721}{x^{2}}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 39, normalized size = 1.18 \begin {gather*} -16 \, x^{6} + 64 \, x^{5} - 352 \, x^{4} + 832 \, x^{3} - 2295 \, x^{2} + 3278 \, x + \frac {61 \, {\left (64 \, x - 61\right )}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.34, size = 38, normalized size = 1.15 \begin {gather*} 3278\,x+\frac {3904\,x-3721}{x^2}-2295\,x^2+832\,x^3-352\,x^4+64\,x^5-16\,x^6 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.07, size = 36, normalized size = 1.09 \begin {gather*} - 16 x^{6} + 64 x^{5} - 352 x^{4} + 832 x^{3} - 2295 x^{2} + 3278 x - \frac {3721 - 3904 x}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________