Optimal. Leaf size=15 \[ \frac{2}{3 x^3}-\frac{1}{x}+\log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0039203, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {14} \[ \frac{2}{3 x^3}-\frac{1}{x}+\log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rubi steps
\begin{align*} \int \frac{-2+x^2+x^3}{x^4} \, dx &=\int \left (-\frac{2}{x^4}+\frac{1}{x^2}+\frac{1}{x}\right ) \, dx\\ &=\frac{2}{3 x^3}-\frac{1}{x}+\log (x)\\ \end{align*}
Mathematica [A] time = 0.0018698, size = 15, normalized size = 1. \[ \frac{2}{3 x^3}-\frac{1}{x}+\log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 14, normalized size = 0.9 \begin{align*}{\frac{2}{3\,{x}^{3}}}-{x}^{-1}+\ln \left ( x \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.10812, size = 20, normalized size = 1.33 \begin{align*} -\frac{3 \, x^{2} - 2}{3 \, x^{3}} + \log \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.1896, size = 49, normalized size = 3.27 \begin{align*} \frac{3 \, x^{3} \log \left (x\right ) - 3 \, x^{2} + 2}{3 \, x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.084129, size = 14, normalized size = 0.93 \begin{align*} \log{\left (x \right )} - \frac{3 x^{2} - 2}{3 x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.16263, size = 22, normalized size = 1.47 \begin{align*} -\frac{3 \, x^{2} - 2}{3 \, x^{3}} + \log \left ({\left | x \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]