Optimal. Leaf size=29 \[ -x^2+\frac {1}{3} \left (1+4 \left (\left (-4-\frac {3 (-2+x)}{x^2}\right )^2+\log (4)\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 26, normalized size of antiderivative = 0.90, number of steps used = 2, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {14} \begin {gather*} \frac {48}{x^4}-\frac {48}{x^3}-x^2-\frac {52}{x^2}+\frac {32}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {192}{x^5}+\frac {144}{x^4}+\frac {104}{x^3}-\frac {32}{x^2}-2 x\right ) \, dx\\ &=\frac {48}{x^4}-\frac {48}{x^3}-\frac {52}{x^2}+\frac {32}{x}-x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 30, normalized size = 1.03 \begin {gather*} -2 \left (-\frac {24}{x^4}+\frac {24}{x^3}+\frac {26}{x^2}-\frac {16}{x}+\frac {x^2}{2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 23, normalized size = 0.79 \begin {gather*} -\frac {x^{6} - 32 \, x^{3} + 52 \, x^{2} + 48 \, x - 48}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 26, normalized size = 0.90 \begin {gather*} -x^{2} + \frac {4 \, {\left (8 \, x^{3} - 13 \, x^{2} - 12 \, x + 12\right )}}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 24, normalized size = 0.83
method | result | size |
gosper | \(-\frac {x^{6}-32 x^{3}+52 x^{2}+48 x -48}{x^{4}}\) | \(24\) |
norman | \(\frac {-x^{6}+32 x^{3}-52 x^{2}-48 x +48}{x^{4}}\) | \(25\) |
risch | \(-x^{2}+\frac {32 x^{3}-52 x^{2}-48 x +48}{x^{4}}\) | \(26\) |
default | \(-x^{2}+\frac {48}{x^{4}}+\frac {32}{x}-\frac {52}{x^{2}}-\frac {48}{x^{3}}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 26, normalized size = 0.90 \begin {gather*} -x^{2} + \frac {4 \, {\left (8 \, x^{3} - 13 \, x^{2} - 12 \, x + 12\right )}}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 26, normalized size = 0.90 \begin {gather*} -x^2-\frac {-32\,x^3+52\,x^2+48\,x-48}{x^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 22, normalized size = 0.76 \begin {gather*} - x^{2} - \frac {- 32 x^{3} + 52 x^{2} + 48 x - 48}{x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________