Optimal. Leaf size=29 \[ -4+2 x+x^3-\frac {1}{5} \left (x+\frac {x^2}{25}\right )^2-\log (2 x) \]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 29, normalized size of antiderivative = 1.00, 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 = {12, 14} \begin {gather*} -\frac {x^4}{3125}+\frac {123 x^3}{125}-\frac {x^2}{5}+2 x-\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \frac {-3125+6250 x-1250 x^2+9225 x^3-4 x^4}{x} \, dx}{3125}\\ &=\frac {\int \left (6250-\frac {3125}{x}-1250 x+9225 x^2-4 x^3\right ) \, dx}{3125}\\ &=2 x-\frac {x^2}{5}+\frac {123 x^3}{125}-\frac {x^4}{3125}-\log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 29, normalized size = 1.00 \begin {gather*} 2 x-\frac {x^2}{5}+\frac {123 x^3}{125}-\frac {x^4}{3125}-\log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.68, size = 23, normalized size = 0.79 \begin {gather*} -\frac {1}{3125} \, x^{4} + \frac {123}{125} \, x^{3} - \frac {1}{5} \, x^{2} + 2 \, x - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 24, normalized size = 0.83 \begin {gather*} -\frac {1}{3125} \, x^{4} + \frac {123}{125} \, x^{3} - \frac {1}{5} \, x^{2} + 2 \, x - \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 24, normalized size = 0.83
method | result | size |
default | \(-\frac {x^{4}}{3125}+\frac {123 x^{3}}{125}-\frac {x^{2}}{5}+2 x -\ln \relax (x )\) | \(24\) |
norman | \(-\frac {x^{4}}{3125}+\frac {123 x^{3}}{125}-\frac {x^{2}}{5}+2 x -\ln \relax (x )\) | \(24\) |
risch | \(-\frac {x^{4}}{3125}+\frac {123 x^{3}}{125}-\frac {x^{2}}{5}+2 x -\ln \relax (x )\) | \(24\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 23, normalized size = 0.79 \begin {gather*} -\frac {1}{3125} \, x^{4} + \frac {123}{125} \, x^{3} - \frac {1}{5} \, x^{2} + 2 \, x - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 23, normalized size = 0.79 \begin {gather*} 2\,x-\ln \relax (x)-\frac {x^2}{5}+\frac {123\,x^3}{125}-\frac {x^4}{3125} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.07, size = 22, normalized size = 0.76 \begin {gather*} - \frac {x^{4}}{3125} + \frac {123 x^{3}}{125} - \frac {x^{2}}{5} + 2 x - \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________