Optimal. Leaf size=19 \[ e^2+x+x^2+\log \left (3 x^2 (3+2 x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 15, normalized size of antiderivative = 0.79, 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 = {1593, 1620} \begin {gather*} x^2+x+2 \log (x)+\log (2 x+3) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 1620
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {6+9 x+8 x^2+4 x^3}{x (3+2 x)} \, dx\\ &=\int \left (1+\frac {2}{x}+2 x+\frac {2}{3+2 x}\right ) \, dx\\ &=x+x^2+2 \log (x)+\log (3+2 x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 15, normalized size = 0.79 \begin {gather*} x+x^2+2 \log (x)+\log (3+2 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.23, size = 15, normalized size = 0.79 \begin {gather*} x^{2} + x + \log \left (2 \, x + 3\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 17, normalized size = 0.89 \begin {gather*} x^{2} + x + \log \left ({\left | 2 \, x + 3 \right |}\right ) + 2 \, \log \left ({\left | x \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.22, size = 16, normalized size = 0.84
method | result | size |
default | \(x^{2}+x +2 \ln \relax (x )+\ln \left (2 x +3\right )\) | \(16\) |
norman | \(x^{2}+x +2 \ln \relax (x )+\ln \left (2 x +3\right )\) | \(16\) |
risch | \(x^{2}+x +2 \ln \relax (x )+\ln \left (2 x +3\right )\) | \(16\) |
meijerg | \(2 \ln \relax (x )+2 \ln \relax (2)-2 \ln \relax (3)+\ln \left (1+\frac {2 x}{3}\right )-\frac {x \left (6-2 x \right )}{2}+4 x\) | \(31\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 15, normalized size = 0.79 \begin {gather*} x^{2} + x + \log \left (2 \, x + 3\right ) + 2 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 13, normalized size = 0.68 \begin {gather*} x+\ln \left (x+\frac {3}{2}\right )+2\,\ln \relax (x)+x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 15, normalized size = 0.79 \begin {gather*} x^{2} + x + 2 \log {\relax (x )} + \log {\left (x + \frac {3}{2} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________