Optimal. Leaf size=31 \[ 2 x-\left (-16+\frac {1}{3} (-1+x) x\right ) \left (1-x^2\right )+\log \left (5+\frac {5}{x}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 35, normalized size of antiderivative = 1.13, number of steps used = 3, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {1593, 1620} \begin {gather*} \frac {x^4}{3}-\frac {x^3}{3}-\frac {49 x^2}{3}+\frac {7 x}{3}-\log (x)+\log (x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 1620
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-3+7 x-91 x^2-101 x^3+x^4+4 x^5}{x (3+3 x)} \, dx\\ &=\int \left (\frac {7}{3}-\frac {1}{x}-\frac {98 x}{3}-x^2+\frac {4 x^3}{3}+\frac {1}{1+x}\right ) \, dx\\ &=\frac {7 x}{3}-\frac {49 x^2}{3}-\frac {x^3}{3}+\frac {x^4}{3}-\log (x)+\log (1+x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 35, normalized size = 1.13 \begin {gather*} \frac {7 x}{3}-\frac {49 x^2}{3}-\frac {x^3}{3}+\frac {x^4}{3}-\log (x)+\log (1+x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.86, size = 27, normalized size = 0.87 \begin {gather*} \frac {1}{3} \, x^{4} - \frac {1}{3} \, x^{3} - \frac {49}{3} \, x^{2} + \frac {7}{3} \, x + \log \left (x + 1\right ) - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 29, normalized size = 0.94 \begin {gather*} \frac {1}{3} \, x^{4} - \frac {1}{3} \, x^{3} - \frac {49}{3} \, x^{2} + \frac {7}{3} \, x + \log \left ({\left | x + 1 \right |}\right ) - \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.45, size = 28, normalized size = 0.90
method | result | size |
default | \(\frac {x^{4}}{3}-\frac {x^{3}}{3}-\frac {49 x^{2}}{3}+\frac {7 x}{3}-\ln \relax (x )+\ln \left (x +1\right )\) | \(28\) |
norman | \(\frac {x^{4}}{3}-\frac {x^{3}}{3}-\frac {49 x^{2}}{3}+\frac {7 x}{3}-\ln \relax (x )+\ln \left (x +1\right )\) | \(28\) |
risch | \(\frac {x^{4}}{3}-\frac {x^{3}}{3}-\frac {49 x^{2}}{3}+\frac {7 x}{3}-\ln \relax (x )+\ln \left (x +1\right )\) | \(28\) |
meijerg | \(-\ln \relax (x )+\ln \left (x +1\right )-\frac {x \left (-15 x^{3}+20 x^{2}-30 x +60\right )}{45}+\frac {x \left (4 x^{2}-6 x +12\right )}{36}+\frac {101 x \left (-3 x +6\right )}{18}-\frac {91 x}{3}\) | \(52\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.54, size = 27, normalized size = 0.87 \begin {gather*} \frac {1}{3} \, x^{4} - \frac {1}{3} \, x^{3} - \frac {49}{3} \, x^{2} + \frac {7}{3} \, x + \log \left (x + 1\right ) - \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 30, normalized size = 0.97 \begin {gather*} \frac {7\,x}{3}-\frac {49\,x^2}{3}-\frac {x^3}{3}+\frac {x^4}{3}-\mathrm {atan}\left (x\,2{}\mathrm {i}+1{}\mathrm {i}\right )\,2{}\mathrm {i} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 29, normalized size = 0.94 \begin {gather*} \frac {x^{4}}{3} - \frac {x^{3}}{3} - \frac {49 x^{2}}{3} + \frac {7 x}{3} - \log {\relax (x )} + \log {\left (x + 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________