Optimal. Leaf size=19 \[ -\frac {16}{x^4}-\frac {4}{x^2}+(5-e+x)^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 22, normalized size of antiderivative = 1.16, number of steps used = 3, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {6, 14} \begin {gather*} -\frac {16}{x^4}+x^2-\frac {4}{x^2}+2 (5-e) x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {64+8 x^2+(10-2 e) x^5+2 x^6}{x^5} \, dx\\ &=\int \left (-2 (-5+e)+\frac {64}{x^5}+\frac {8}{x^3}+2 x\right ) \, dx\\ &=-\frac {16}{x^4}-\frac {4}{x^2}+2 (5-e) x+x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 27, normalized size = 1.42 \begin {gather*} 2 \left (-\frac {8}{x^4}-\frac {2}{x^2}+5 x-e x+\frac {x^2}{2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.58, size = 26, normalized size = 1.37 \begin {gather*} \frac {x^{6} - 2 \, x^{5} e + 10 \, x^{5} - 4 \, x^{2} - 16}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.12, size = 22, normalized size = 1.16 \begin {gather*} x^{2} - 2 \, x e + 10 \, x - \frac {4 \, {\left (x^{2} + 4\right )}}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 23, normalized size = 1.21
method | result | size |
default | \(x^{2}-2 x \,{\mathrm e}+10 x -\frac {16}{x^{4}}-\frac {4}{x^{2}}\) | \(23\) |
risch | \(-2 x \,{\mathrm e}+x^{2}+10 x +\frac {-4 x^{2}-16}{x^{4}}\) | \(24\) |
norman | \(\frac {-16+x^{6}+\left (-2 \,{\mathrm e}+10\right ) x^{5}-4 x^{2}}{x^{4}}\) | \(25\) |
gosper | \(-\frac {2 x^{5} {\mathrm e}-x^{6}-10 x^{5}+4 x^{2}+16}{x^{4}}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 21, normalized size = 1.11 \begin {gather*} x^{2} - 2 \, x {\left (e - 5\right )} - \frac {4 \, {\left (x^{2} + 4\right )}}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 8.25, size = 25, normalized size = 1.32 \begin {gather*} x^2-\frac {4\,x^2+16}{x^4}-x\,\left (2\,\mathrm {e}-10\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 22, normalized size = 1.16 \begin {gather*} x^{2} + x \left (10 - 2 e\right ) + \frac {- 4 x^{2} - 16}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________