Optimal. Leaf size=30 \[ -\frac {-3+x}{x}+5 \left (x-x^2\right )-\left (-4-x+x^2\right ) \log (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 28, normalized size of antiderivative = 0.93, number of steps used = 6, number of rules used = 2, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.065, Rules used = {14, 2313} \begin {gather*} -5 x^2+\left (x-x^2\right ) \log (x)+5 x+\frac {3}{x}+4 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2313
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {-3+4 x+6 x^2-11 x^3}{x^2}-(-1+2 x) \log (x)\right ) \, dx\\ &=\int \frac {-3+4 x+6 x^2-11 x^3}{x^2} \, dx-\int (-1+2 x) \log (x) \, dx\\ &=\left (x-x^2\right ) \log (x)+\int \left (6-\frac {3}{x^2}+\frac {4}{x}-11 x\right ) \, dx+\int (-1+x) \, dx\\ &=\frac {3}{x}+5 x-5 x^2+4 \log (x)+\left (x-x^2\right ) \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 29, normalized size = 0.97 \begin {gather*} \frac {3}{x}+5 x-5 x^2+4 \log (x)+x \log (x)-x^2 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.04, size = 32, normalized size = 1.07 \begin {gather*} -\frac {5 \, x^{3} - 5 \, x^{2} + {\left (x^{3} - x^{2} - 4 \, x\right )} \log \relax (x) - 3}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 29, normalized size = 0.97 \begin {gather*} -5 \, x^{2} - {\left (x^{2} - x\right )} \log \relax (x) + 5 \, x + \frac {3}{x} + 4 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 30, normalized size = 1.00
method | result | size |
default | \(-x^{2} \ln \relax (x )-5 x^{2}+x \ln \relax (x )+5 x +4 \ln \relax (x )+\frac {3}{x}\) | \(30\) |
risch | \(\left (-x^{2}+x \right ) \ln \relax (x )+\frac {-5 x^{3}+4 x \ln \relax (x )+5 x^{2}+3}{x}\) | \(33\) |
norman | \(\frac {3+x^{2} \ln \relax (x )+4 x \ln \relax (x )+5 x^{2}-5 x^{3}-x^{3} \ln \relax (x )}{x}\) | \(35\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 29, normalized size = 0.97 \begin {gather*} -x^{2} \log \relax (x) - 5 \, x^{2} + x \log \relax (x) + 5 \, x + \frac {3}{x} + 4 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.21, size = 25, normalized size = 0.83 \begin {gather*} 4\,\ln \relax (x)+x\,\left (\ln \relax (x)+5\right )-x^2\,\left (\ln \relax (x)+5\right )+\frac {3}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.13, size = 24, normalized size = 0.80 \begin {gather*} - 5 x^{2} + 5 x + \left (- x^{2} + x\right ) \log {\relax (x )} + 4 \log {\relax (x )} + \frac {3}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________